.text-cy-gradient {
  background: linear-gradient(
    135deg,
    #ff4b2b 0%,
    #ff416c 25%,
    #d81b60 55%,
    #9c27b0 80%,
    #7b1fa2 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-cy-gradient {
  background: linear-gradient(135deg, #e52d27 0%, #b02a5b 45%, #7b1fa2 100%);
}

.glass-panel {
  background: rgba(21, 16, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 45, 39, 0.18);
}

.light .glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(123, 31, 162, 0.15);
}

#flameCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0813;
}

.light ::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #e52d27, #7b1fa2);
  border-radius: 4px;
}

.logo-text-inline {
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  background: linear-gradient(
    135deg,
    #ff4b2b 0%,
    #e52d27 30%,
    #d81b60 65%,
    #7b1fa2 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Drawer Overlay */
.drawer-overlay {
  transition: opacity 0.3s ease-in-out;
}

.drawer-panel {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pulse Animations */
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.animate-pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}

/* Interlocking Tile Container */
.tech-logo-tile {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 100px;
  padding: 0.85rem;
  border-radius: 12px;
  background-color: rgba(15, 23, 42, 0.4);
  /* Muted slate glass */
  border: 1px solid rgba(51, 65, 85, 0.3);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SVG/PNG Icon Image Sizing */
.tech-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Tooltip design on hover */
.tech-tooltip {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  background-color: #0f172a;
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 69, 0, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  z-index: 100;
}

/* Tile Hover Animation */
.tech-logo-tile:hover {
  z-index: 50;
  background-color: rgba(30, 41, 59, 0.95);
  border-color: rgba(255, 69, 0, 0.6);
  transform: scale(1.15) translateY(-4px);
  box-shadow:
    0 12px 25px -5px rgba(255, 69, 0, 0.25),
    0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

.tech-logo-tile:hover .tech-icon-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

/* Tooltip activation */
.tech-logo-tile:hover .tech-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Marquee Keyframes */
@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

.animate-marquee-left {
  animation: marquee-left 35s linear infinite;
}

.animate-marquee-right {
  animation: marquee-right 35s linear infinite;
}

.tech-logo-row {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

/* Testimonial Card Fixed Width & Styling */
.testimonial-card {
  width: 360px;
  flex-shrink: 0;
  background-color: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
  border-color: rgba(255, 69, 0, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 69, 0, 0.15);
}

/* Right-to-Left Marquee Keyframes */
@keyframes testimonial-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-testimonial-marquee {
  animation: testimonial-marquee 40s linear infinite;
}

/* Mask gradient for smooth side fading */
#testimonials-marquee .overflow-hidden {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* SVG Paths draw over 5.5 seconds to match item pacing */
.doodle-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: drawDoodle 5.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes drawDoodle {
  0% {
    stroke-dashoffset: 1200;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* Bottom text and breadcrumbs reveal smoothly as the drawing finishes */
@keyframes syncReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  70% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-sync-reveal {
  animation: syncReveal 5.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.ck-content h2 {
  @class = "text-3xl sm:text-4xl font-black text-slate-100 mt-8 mb-4 tracking-tight";
}
.ck-content h3 {
  @class = "text-2xl font-bold text-slate-100 mt-6 mb-3";
}
.ck-content h4 {
  @class = "text-xl font-bold text-slate-200 mt-5 mb-2";
}
.ck-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: #cbd5e1;
}
.ck-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.ck-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.ck-content li {
  margin-bottom: 0.5rem;
  color: #cbd5e1;
}
.ck-content blockquote {
  border-left: 4px solid #e52d27;
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #cbd5e1;
  background: rgba(21, 16, 36, 0.5);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-radius: 0 0.75rem 0.75rem 0;
}
.ck-content a {
  color: #ff416c;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ck-content a:hover {
  color: #e52d27;
}

#cyburningQuoteForm .is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.15);
}

#cyburningQuoteForm .invalid-feedback {
  display: block;
  color: #f87171;
  font-size: 11px;
  margin-top: 6px;
  font-family: monospace;
}

#quoteSubmitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* =========================================
   CYBURNING CONTACT MODAL
========================================= */

.cb-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 25px;
  font-family: inherit;
}

.cb-modal.cb-active {
  display: flex;
  animation: cbModalFade 0.25s ease;
}

.cb-modal *,
.cb-modal *::before,
.cb-modal *::after {
  box-sizing: border-box;
}

@keyframes cbModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cbModalSlide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Overlay */

.cb-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Main dialog */

.cb-modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  width: 100%;
  max-width: 900px;
  max-height: min(720px, 90vh);
  overflow: hidden;
  border-radius: 20px;
  background: #101522;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(255, 106, 26, 0.06);
  animation: cbModalSlide 0.35s ease;
}

/* Close button */

.cb-modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #a1a8b8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 0.25s ease;
}

.cb-modal-close:hover {
  color: #fff;
  background: #7b1fa2;
  border-color: #7b1fa2;
  transform: rotate(90deg);
}

/* =========================================
   LEFT PANEL
========================================= */

.cb-modal-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  overflow: hidden;
  padding: 38px 32px 27px;

  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.cb-aside-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  right: -150px;
  top: 25%;
  border-radius: 50%;
  background: rgba(190, 26, 255, 0.12);
  filter: blur(75px);
  pointer-events: none;
}

.cb-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}

.cb-brand > span:last-child > span {
  color: #7B1FA2;
}

.cb-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #7B1FA2, #E52D27);
  box-shadow: 0 5px 20px rgba(255, 106, 26, 0.25);
  font-size: 17px;
}

.cb-aside-content {
  position: relative;
  z-index: 1;
  margin-top: 35px;
  margin-bottom: auto;
  padding-top: 55px;
}

.cb-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #7B1FA2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.cb-status-dot {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #55d98a;
  box-shadow: 0 0 10px rgba(85, 217, 138, 0.6);
}

.cb-aside-content h2 {
  margin: 23px 0 16px;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -1.7px;
}

.cb-aside-content h2 span {
  display: block;
  color: #7B1FA2;
}

.cb-aside-content > p {
  max-width: 290px;
  margin: 0;
  color: #a2a9b9;
  font-size: 13px;
  line-height: 1.9;
}

.cb-contact-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 43px;
}

.cb-contact-point {
  display: flex;
  align-items: center;
  gap: 13px;
}

.cb-point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: rgba(255, 106, 26, 0.09);
  border: 1px solid rgba(255, 106, 26, 0.16);
  color: #7B1FA2;
  font-size: 14px;
}

.cb-contact-point strong {
  display: block;
  color: #e8eaf0;
  font-size: 12px;
  font-weight: 600;
}

.cb-contact-point small {
  display: block;
  margin-top: 4px;
  color: #7f899d;
  font-size: 10px;
}

.cb-aside-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #717b8d;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1px;
}

/* =========================================
   RIGHT FORM PANEL
========================================= */

.cb-modal-main {
  padding: 48px 40px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #343d50 transparent;
}

.cb-form-heading {
  margin-bottom: 31px;
}

.cb-form-label {
  color: #7B1FA2;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.cb-form-heading h3 {
  margin: 11px 0 8px;
  color: #fff;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1px;
}

.cb-form-heading p {
  margin: 0;
  color: #8790a3;
  font-size: 12px;
  line-height: 1.7;
}

/* Fields */

#quoteForm {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.cb-field {
  min-width: 0;
}

.cb-field label,
.cb-label-row label {
  display: block;
  margin-bottom: 9px;
  color: #d8dce5;
  font-size: 11px;
  font-weight: 600;
}

.cb-field label span,
.cb-label-row label span {
  color: #7B1FA2;
}

.cb-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.cb-input-wrap {
  position: relative;
}

.cb-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #69758a;
  font-size: 13px;
  pointer-events: none;
  transition: color 0.2s ease;
}

.cb-input-wrap input,
#quoteForm textarea {
  width: 100%;
  border: 1px solid #283145;
  border-radius: 9px;
  outline: none;
  background: #151d2d;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}

.cb-input-wrap input {
  height: 47px;
  padding: 0 13px 0 40px;
}

.cb-input-wrap input::placeholder,
#quoteForm textarea::placeholder {
  color: #687389;
}

.cb-input-wrap:focus-within > i {
  color: #7B1FA2;
}

.cb-input-wrap input:focus,
#quoteForm textarea:focus {
  border-color: #7B1FA2;
  background: #192337;
  box-shadow: 0 0 0 3px rgba(255, 106, 26, 0.09);
}

.cb-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cb-label-row label {
  margin-bottom: 9px;
}

.cb-label-row small {
  color: #727e93;
  font-size: 9px;
  margin-bottom: 9px;
}

#quoteForm textarea {
  display: block;
  min-height: 125px;
  padding: 14px;
  resize: vertical;
  line-height: 1.7;
}

.cb-message-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #6e788d;
  font-size: 9px;
}

/* Submit button */

.cb-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 49px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #E52D27 0%, #B02A5B 40%, #7B1FA2 75%, #4A148C 100%);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 106, 26, 0.15);
  transition: 0.25s ease;
}

.cb-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 106, 26, 0.28);
}

.cb-submit-btn i {
  transition: transform 0.25s;
}

.cb-submit-btn:hover i {
  transform: translateX(5px);
}

.cb-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Security text */

.cb-form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7e899d;
  font-size: 10px;
}

.cb-form-security i {
  color: #50c98b;
  font-size: 10px;
}

/* Validation */

#quoteForm input.is-invalid,
#quoteForm textarea.is-invalid {
  border-color: #ef5555 !important;
  box-shadow: 0 0 0 2px rgba(239, 85, 85, 0.08);
}

#quoteForm .invalid-feedback {
  display: block;
  margin-top: 6px;
  color: #ff7373;
  font-size: 10px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 760px) {
  .cb-modal {
    padding: 15px;
  }

  .cb-modal-dialog {
    grid-template-columns: 1fr;
    max-width: 520px;
    max-height: 92vh;
    overflow-y: auto;
  }

  .cb-modal-aside {
    min-height: auto;
    padding: 24px 25px;
  }

  .cb-aside-content {
    padding-top: 32px;
    margin-top: 0;
  }

  .cb-aside-content h2 {
    font-size: 30px;
    margin: 15px 0 10px;
  }

  .cb-aside-content > p {
    max-width: 400px;
    font-size: 12px;
  }

  .cb-contact-points {
    display: none;
  }

  .cb-aside-footer {
    margin-top: 25px;
    padding-top: 14px;
  }

  .cb-modal-main {
    padding: 29px 25px 25px;
    overflow: visible;
  }

  .cb-form-heading {
    margin-bottom: 23px;
  }

  .cb-form-heading h3 {
    font-size: 25px;
  }

  .cb-modal-close {
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 420px) {
  .cb-modal {
    padding: 10px;
  }

  .cb-modal-dialog {
    border-radius: 15px;
  }

  .cb-modal-aside {
    padding: 21px 19px;
  }

  .cb-modal-main {
    padding: 25px 19px 22px;
  }

  .cb-field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cb-aside-content h2 {
    font-size: 27px;
  }

  .cb-modal-close {
    width: 32px;
    height: 32px;
  }
}
