/* ========== INDEX HOMEPAGE-SPECIFIC STYLES & OVERRIDES ========== */

/* Global font overrides to ensure Roboto is used throughout */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, select, textarea, li, td, th {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
}

p, span, div, a, li, td, th {
  font-weight: 400 !important;
}

/* Special handling for gradient text elements */
.gradient-text, 
[style*="background-clip:text"], 
[style*="-webkit-background-clip:text"] {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}

/* Hero section specific overrides */
.hero-heading {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.hero-paragraph {
  font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
  font-weight: 300 !important;
}

/* Example: override hero background just for homepage */
.home .hero-section {
    /* Homepage-specific background or enhancements */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../assets/images/ai-diamond-gradient.jpeg') center center / cover no-repeat;
  }
  
  /* Example: homepage-only banner */
  .home .homepage-banner {
    background: linear-gradient(90deg, #08b6b9, #2e4456);
    color: #fff;
    padding: 2rem 1rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Example: homepage-specific animation or effect */
  .home .homepage-animated {
    animation: homepageFadeIn 1s ease-in;
  }
  
  @keyframes homepageFadeIn {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* SVG Maze Animation */
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  
  .maze-line {
    stroke: #00fff7;
    stroke-width: 2px;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    /* These properties are crucial for the animation to work */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 1.5s forwards;
  }
  
  /* Stagger the animation timing */
  .maze-line:nth-child(2n) {
    animation-delay: 0.1s;
  }
  
  .maze-line:nth-child(3n) {
    animation-delay: 0.2s;
  }
  
  .maze-line:nth-child(4n) {
    animation-delay: 0.3s;
  }
  
  .maze-svg-container {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Add more homepage-specific rules below as needed */
  
  
  
  /* ========== CUSTOM COMPONENT & CHART STYLES ========== */
  
  /* SVG/Chart Containers */
  .svg-container {
      width: 100%;
      overflow-x: auto;
      display: block;
      padding: 0;
    }
    svg {
      display: block;
      max-width: 100%;
      height: auto;
    }
    
    /* Interactive/ROI/Decision Tree Components */
    .audio-container {
      background-color: #dbeafe;
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 30px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .key-highlight {
      background-color: #eff6ff;
      border-left: 4px solid #3b82f6;
      padding: 15px;
      margin: 20px 0;
      border-radius: 0 5px 5px 0;
    }
    .takeaway-box {
      background-color: #e0f2fe;
      border-radius: 8px;
      padding: 20px;
      margin: 30px 0;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    .takeaway-title {
      font-weight: 600;
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: #0369a1;
    }
    .decision-tree-container {
      margin: 40px 0;
      background-color: #f0f9ff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .result-box {
      background-color: #dbeafe;
      border-radius: 8px;
      padding: 15px;
      margin-top: 20px;
      border: 1px solid #93c5fd;
    }
    .emoji {
      font-size: 1.2rem;
      margin-right: 5px;
    }
    .highlight {
      background-color: #dbeafe;
      padding: 0 3px;
      border-radius: 3px;
    }
    
    /* Decision Tree/Chart Nodes */
    .node circle {
      fill: #93c5fd;
      stroke: #3b82f6;
      stroke-width: 2px;
      transition: all 0.3s ease;
    }
    .node:hover circle {
      fill: #bfdbfe;
      cursor: pointer;
    }
    .node text {
      font-size: 14px;
      font-family: sans-serif;
    }
    .link {
      fill: none;
      stroke: #93c5fd;
      stroke-width: 2px;
    }
    .active-node circle {
      fill: #3b82f6;
    }
    .active-node text {
      font-weight: bold;
    }
    
    /* ========== END CUSTOM COMPONENT STYLES ========== */
    
    :root {
        --color-primary: #08b6b9;
        --color-secondary: #2e4456;
        --color-accent: #5eead4;
        --color-text-light: #e5f6f7;
        --color-text-light-muted: #b5dbe3;
        --color-bg-dark: #181f23;
        --color-bg-darker: #101418;
        --color-gradient-start: #181f23;
        --color-gradient-end: #101418;
    }
    
    /* --- ARTICLE-SPECIFIC STYLES --- */
    
    .getting-started-card {
        background: #0a1126 !important;
        color: #e5f6f7 !important;
        border-radius: 14px;
        padding: 2.2rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 6px 20px rgba(10,17,38,0.16);
        border: 1.5px solid #2563eb;
        position: relative;
        z-index: 1;
        transition: box-shadow 0.2s;
    }
    
    .getting-started-card:hover {
        box-shadow: 0 10px 32px 0 rgba(30,56,219,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    }
    
    .getting-started-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    @media (min-width: 800px) {
        .getting-started-grid {
            grid-template-columns: 1fr 1fr;
        }
    }
    
    .industry-blue-card {
        background: #0a1126;
        color: #fff;
        border-radius: 14px;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 6px 20px rgba(10,17,38,0.12);
        border: 1.5px solid #2563eb;
        position: relative;
        z-index: 1;
    }
    
    .industry-blue-card h4 {
        color: #38bdf8;
        margin-top: 0;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
    }
    
    .industry-blue-card ul.feature-list li,
    .industry-blue-card ul.feature-list li:before {
        color: #fff !important;
    }
    
    .info-blue-card {
        background: #0a1126;
        color: #fff;
        border-radius: 14px;
        padding: 2rem 1.5rem 1.5rem 1.5rem;
        margin-bottom: 2rem;
        box-shadow: 0 6px 20px rgba(10,17,38,0.10);
        border: 1.5px solid #2563eb;
        position: relative;
        z-index: 1;
    }
    
    .info-blue-card p,
    .info-blue-card ul.feature-list li,
    .info-blue-card ul.feature-list li:before {
        color: #fff !important;
    }
    
    .svg-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 auto 2rem auto;
    }
    
    svg {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        height: auto;
    }
    
    
    .getting-started-card h3 {
        color: #38bdf8 !important;
        margin-top: 0;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: unset !important;
        background-clip: unset !important;
    }
    
    .getting-started-card ul.feature-list li,
    .getting-started-card ul.feature-list li:before {
        color: #fff !important;
    }
    
    
    /* === OVERRIDES: FORCE ALL BACKGROUNDS BLACK === */
    body,
    .bg-gray-900,
    .section-fade,
    .section-gradient,
    .feature-card,
    .card,
    .network-line,
    .hero,
    .bg-gradient-section,
    input[type="text"],
    input[type="email"],
    textarea,
    .contact-form {
        background-color: #000 !important;
    }
    
    
    
    /* Custom hero background image */
    .hero-bg-image {
        background-image: url('/assets/images/ai-diamond-gradient.jpeg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: #000; /* fallback */
        min-height: 100vh; /* Make it take up the entire screen when page first loads */
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    
    
    
    /* The gradient effect is now applied globally to all h1, h2, h3, h4 headings. The .gradient-text utility is no longer needed. */
    
    h1, .hero-section h1 {
        background: linear-gradient(90deg, #00fff7 0%, #5efcf1 18%, #4eead4 36%, #24e0e0 60%, #06b6d4 85%, #178ca4 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        color: transparent !important;
        display: inline-block !important;
        font-family: 'Playfair Display', serif !important;
        font-weight: 700 !important;
        margin-bottom: 1rem !important;
    }
    
    h2, h3, h4, h5, h6, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6 {
        background: linear-gradient(90deg, #00fff7 0%, #5efcf1 18%, #4eead4 36%, #24e0e0 60%, #06b6d4 85%, #178ca4 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        color: transparent !important;
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-family: 'Playfair Display', serif !important;
        font-weight: 700 !important;
        margin-bottom: 1rem !important;
    }
    
    
    h1 { font-size: 3rem; }
    
    h2 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
    
    h3 { font-size: 2rem; }
    h4 { font-size: 1.15rem; }
    h5 { font-size: 1rem; }
    h6 { font-size: 0.9rem; }
    
    @media (min-width: 768px) {
      h1 { font-size: 5rem; }
      h2 { font-size: 2.25rem; /* 4xl */ }
      h3 { font-size: 2rem; }
      h4 { font-size: 1.2rem; }
      h5 { font-size: 1rem; }
      h6 { font-size: 0.9rem; }
    }
    
    
    
    
    
    p {
        margin-bottom: 1rem;
    }
    
    a {
        color: var(--color-accent);
        text-decoration: none;
        transition: color 0.3s;
    }
    
    a:hover {
        color: #0d9488;
    }
    
    /* Layout */
    .container {
        width: 100%;
    }
    
    .items-end {
        align-items: flex-end;
    }
    
    .justify-center {
        justify-content: center;
    }
    
    .justify-start {
        justify-content: flex-start;
    }
    
    .justify-end {
        justify-content: flex-end;
    }
    
    .justify-between {
        justify-content: space-between;
    }
    
    .grid {
        display: grid;
    }
    
    .gap-8 {
        gap: 2rem;
    }
    
    .gap-16 {
        gap: 4rem;
    }
    
    .gap-6 {
        gap: 1.5rem;
    }
    
    .gap-12 {
        gap: 3rem;
    }
    
    .gap-y-16 {
        row-gap: 4rem;
    }
    
    .mx-auto {
        margin-left: auto;
        margin-right: auto;
    }
    
    .my-auto {
        margin-top: auto;
        margin-bottom: auto;
    }
    
    .mt-4 {
        margin-top: 1rem;
    }
    
    .mt-8 {
        margin-top: 2rem;
    }
    
    .mt-16 {
        margin-top: 4rem;
    }
    
    .mb-4 {
        margin-bottom: 1rem;
    }
    
    .mb-6 {
        margin-bottom: 1.5rem;
    }
    
    .mb-8 {
        margin-bottom: 2rem;
    }
    
    .mb-12 {
        margin-bottom: 3rem;
    }
    
    .mb-16 {
        margin-bottom: 4rem;
    }
    
    .ml-auto {
        margin-left: auto;
    }
    
    .mr-4 {
        margin-right: 1rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    
    .py-2 {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .py-3 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .py-10 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .py-20 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    
    .py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .p-1 {
        padding: 0.25rem;
    }
    
    .p-4 {
        padding: 1rem;
    }
    
    .p-6 {
        padding: 1.5rem;
    }
    
    .p-8 {
        padding: 2rem;
    }
    
    .w-full {
        width: 100%;
    }
    
    .h-full {
        height: 100%;
    }
    
    .min-h-screen {
        min-height: 100vh;
    }
    
    .relative {
        position: relative;
    }
    
    .absolute {
        position: absolute;
    }
    
    .z-10 {
        z-index: 10;
    }
    
    .rounded-md {
        border-radius: 0.375rem;
    }
    
    .rounded-lg {
        border-radius: 0.5rem;
    }
    
    .rounded-xl {
        border-radius: 0.75rem;
    }
    
    .rounded-2xl {
        border-radius: 1rem;
    }
    
    .rounded-full {
        border-radius: 9999px;
    }
    
    .shadow-lg {
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }
    
    .shadow-md {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    
    .text-center {
        text-align: center;
    }
    
    .text-justify {
        text-align: justify;
    }
    
    .text-white {
        color: white;
    }
    
    .text-gray-300 {
        color: #d1d5db;
    }
    
    .text-gray-400 {
        color: #9ca3af;
    }
    
    .text-gray-600 {
        color: #4b5563;
    }
    
    .text-teal-400 {
        color: #2dd4bf;
    }
    
    .text-teal-600 {
        color: #0d9488;
    }
    
    .text-red-500 {
        color: #ef4444;
    }
    
    .bg-black {
        background-color: #000000;
    }
    
    .bg-gray-900 {
        background-color: #000 !important;
    }
    
    .bg-teal-100 {
        background-color: #ccfbf1;
    }
    
    .bg-teal-400 {
        background-color: #2dd4bf;
    }
    
    .bg-teal-500 {
        background-color: #14b8a6;
    }
    
    .text-sm {
        font-size: 0.875rem;
    }
    
    .text-lg {
        font-size: 1.125rem;
    }
    
    .text-xl {
        font-size: 1.25rem;
    }
    
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .text-3xl {
        font-size: 1.875rem;
    }
    
    .text-4xl {
        font-size: 2.25rem;
    }
    
    .text-5xl {
        font-size: 3rem;
    }
    
    .font-medium {
        font-weight: 500;
    }
    
    .font-semibold {
        font-weight: 600;
    }
    
    .font-bold {
        font-weight: 700;
    }
    
    .font-extrabold {
        font-weight: 800;
    }
    
    .leading-relaxed {
        line-height: 1.625;
    }
    
    .tracking-wide {
        letter-spacing: 0.025em;
    }
    
    .space-y-4 > * + * {
        margin-top: 1rem;
    }
    
    .space-y-5 > * + * {
        margin-top: 1.25rem;
    }
    
    .space-y-6 > * + * {
        margin-top: 1.5rem;
    }
    
    .flex-shrink-0 {
        flex-shrink: 0;
    }
    
    .h-1 {
        height: 0.25rem;
    }
    
    .h-4 {
        height: 1rem;
    }
    
    .h-5 {
        height: 1.25rem;
    }
    
    .h-6 {
        height: 1.5rem;
    }
    
    .h-8 {
        height: 2rem;
    }
    
    .h-10 {
        height: 2.5rem;
    }
    
    .h-12 {
        height: 3rem;
    }
    
    .h-14 {
        height: 3.5rem;
    }
    
    .h-96 {
        height: 24rem;
    }
    
    .w-4 {
        width: 1rem;
    }
    
    .w-5 {
        width: 1.25rem;
    }
    
    .w-6 {
        width: 1.5rem;
    }
    
    .w-8 {
        width: 2rem;
    }
    
    .w-10 {
        width: 2.5rem;
    }
    
    .w-12 {
        width: 3rem;
    }
    
    .w-14 {
        width: 3.5rem;
    }
    
    .w-24 {
        width: 6rem;
    }
    
    /* Custom scrollbar */
    ::-webkit-scrollbar {
        width: 12px;
        height: 12px;
    }
    
    ::-webkit-scrollbar-track {
        background: #111827;
        border-radius: 6px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #00fff7;
        border-radius: 6px;
        border: 2px solid #111827;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: #5eead4;
    }
    
    /* Counter animation */
    .counter-value {
        transition: all 2s ease;
    }
    
    /* Section styles */
    .section-title {
        position: relative;
        display: inline-block;
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--color-accent);
        border-radius: 2px;
    }
    
    /* Animation for maze box */
    @keyframes draw {
        to {
            stroke-dashoffset: 0;
        }
    }
    
    .maze-line {
        stroke: url(#lineGradientPinkBlue);
        stroke-width: 1.5;
        stroke-linecap: round;
    }
    
    /* Animation for patent network */
    @keyframes networkPulse {
        0%,
        100% {
            opacity: 0.5;
        }
    
        50% {
            opacity: 0.9;
        }
    }
    
    @keyframes nodePulse {
        0%,
        100% {
            opacity: 0.6;
            transform: scale(1);
        }
    
        50% {
            opacity: 0.9;
            transform: scale(1.05);
        }
    }
    
    .network-line {
        stroke-width: 0.3;
        animation: networkPulse 5s ease-in-out infinite;
    }
    
    .network-line:nth-of-type(3n+1) {
        animation-delay: 0s;
    }
    
    .network-line:nth-of-type(3n+2) {
        animation-delay: -1.7s;
    }
    
    .network-line:nth-of-type(3n+3) {
        animation-delay: -3.4s;
    }
    
    .network-node {
        fill: #99f6e4;
        stroke: none;
        transform-origin: center;
        animation: nodePulse 3.5s ease-in-out infinite;
    }
    
    .network-node:nth-of-type(4n+1) {
        animation-delay: -0.5s;
    }
    
    .network-node:nth-of-type(4n+2) {
        animation-delay: -1.4s;
    }
    
    .network-node:nth-of-type(4n+3) {
        animation-delay: -2.3s;
    }
    
    .network-node:nth-of-type(4n+4) {
        animation-delay: -3.2s;
    }
    
    .gradient-title {
        background: linear-gradient(90deg, #00ffd0 0%, #06b6d4 50%, #17677a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        display: inline-block;
        font-family: 'Playfair Display', serif;
        font-weight: 300;
    }
    
    /* Make all section backgrounds black */
    .section-fade,
    .section-gradient {
        background-color: #0B3954 !important;
    }
    
    /* Make all card backgrounds black */
    .feature-card {
        background-color: #0a1733 !important;
        transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s cubic-bezier(0.4,0,0.2,1);
    }
    
    .feature-card:hover {
        transform: scale(1.06);
        box-shadow: 0 8px 32px 0 rgba(10,23,51,0.4), 0 1.5px 8px 0 rgba(0,0,0,0.15);
        background-color: #11204a !important;
    }
    
    /* Apply gradient to all headings */
    h2,
    h3,
    h4 {
        background: linear-gradient(90deg, #00ffd0 0%, #06b6d4 50%, #17677a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        display: inline-block;
        font-family: 'Playfair Display', serif;
        font-weight: 300;
    }
    
    /* Form styles */
    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
        border: 1px solid #374151;
        border-radius: 0.375rem;
        padding: 0.5rem 1rem;
        background-color: #1f2937;
        color: white;
        transition: border-color 0.3s, box-shadow 0.3s;
    }
    
    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus {
        outline: none;
        border-color: #2dd4bf;
        box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.25);
    }
    
    button[type="submit"] {
        width: 100%;
        background-color: #2dd4bf;
        color: black;
        font-weight: 700;
        padding: 0.75rem 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s;
        border: none;
        cursor: pointer;
        font-size: 1.125rem;
    }
    
    button[type="submit"]:hover {
        background-color: #14b8a6;
    }
    
    /* Media Queries */
    @media (min-width: 640px) {
        .sm\:text-4xl {
            font-size: 2.25rem;
        }
    
        .sm\:pt-32 {
            padding-top: 8rem;
        }
    
        .sm\:px-6 {
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
    }
    
    @media (min-width: 768px) {
        .md\:flex-row {
            flex-direction: row;
        }
    
        .md\:grid-cols-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    
        .md\:grid-cols-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    
        .md\:text-4xl {
            font-size: 2.25rem;
        }
    
        .md\:text-5xl {
            font-size: 3rem;
        }
    
        .md\:text-6xl {
            font-size: 3.75rem;
        }
    
        .md\:text-xl {
            font-size: 1.25rem;
        }
    
        .md\:pt-28 {
            padding-top: 7rem;
        }
    
        .md\:pt-36 {
            padding-top: 9rem;
        }
    
        .md\:px-8 {
            padding-left: 2rem;
            padding-right: 2rem;
        }
    
        .md\:px-12 {
            padding-left: 3rem;
            padding-right: 3rem;
        }
    
        .md\:pl-8 {
            padding-left: 2rem;
        }
    
        .md\:pr-7 {
            padding-right: 1.75rem;
        }
    
        .md\:pr-12 {
            padding-right: 3rem;
        }
    
        .md\:mt-0 {
            margin-top: 0;
        }
    
        .md\:mb-0 {
            margin-bottom: 0;
        }
    
        .md\:mt-12 {
            margin-top: 3rem;
        }
    
        .md\:order-1 {
            order: 1;
        }
    
        .md\:w-5\/12 {
            width: 41.666667%;
        }
    }
    
    @media (min-width: 1024px) {
        .lg\:text-7xl {
            font-size: 4.5rem;
        }
    
        .lg\:pt-32 {
            padding-top: 8rem;
        }
    
        .lg\:px-8 {
            padding-left: 2rem;
            padding-right: 2rem;
        }
    
        .lg\:px-16 {
            padding-left: 4rem;
            padding-right: 4rem;
        }
    
        .lg\:pl-14 {
            padding-left: 3.5rem;
        }
    
        .lg\:pr-14 {
            padding-right: 3.5rem;
        }
    
        .lg\:pr-20 {
            padding-right: 5rem;
        }
    
        .lg\:pr-24 {
            padding-right: 6rem;
        }
    
        .lg\:order-1 {
            order: 1;
        }
    
        .lg\:w-5\/12 {
            width: 41.666667%;
        }
    }
    
    @media (min-width: 1280px) {
        .xl\:text-8xl {
            font-size: 6rem;
        }
    }
    
    /* Additional custom styles */
    .intro-box {
        background-color: #000000;
        border: 1px solid #1e293b;
    }
    
    .card-hover {
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .maze-svg-container {
        max-width: 320px;
        height: 320px;
        margin-bottom: 32px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #galaxy-container {
        width: 100%;
        height: 100%;
        background-color: #000000;
    }
    
    #galaxyCanvas {
        width: 100%;
        height: 100%;
    }
    
    .flex-1 {
        flex: 1 1 0%;
    }
    
    .flex-2 {
        flex: 2 2 0%;
    }
    
    .flex-wrap {
        flex-wrap: wrap;
    }
    
    .-mx-4 {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .min-w-0 {
        min-width: 0;
    }
    
    .min-w-340px {
        min-width: 340px;
    }
    
    .break-words {
        overflow-wrap: break-word;
    }
    
    .block {
        display: block;
    }
    
    .hover\:underline:hover {
        text-decoration: underline;
    }
    
    .transition-all {
        transition-property: all;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
        transition-duration: 300ms;
    }
    
    .duration-300 {
        transition-duration: 300ms;
    }
        /* Button styles */
    .btn {
        display: inline-block;
        padding: 0.75rem 1.5rem;
        border-radius: 0.375rem;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s;
        cursor: pointer;
    }
    
    .btn-primary {
        background-color: var(--color-accent);
        color: black;
    }
    
    .btn-primary:hover {
        background-color: #0d9488;
    }
    
    .btn-secondary {
        background-color: transparent;
        color: white;
        border: 1px solid var(--color-accent);
    }
    
    .btn-secondary:hover {
        background-color: rgba(20, 184, 166, 0.1);
    }
    
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Card styles */
    .roi-calculator {
        background-color: #f0f9ff;
        border-radius: 18px;
        padding: 2.5rem 2rem;
        margin: 2.5rem 0;
        text-align: left;
        font-size: 1.25rem;
        box-shadow: 0 6px 24px rgba(0,0,0,0.10);
        color: #1e293b !important;
    }
    
    .results-container {
        background-color: white;
        border-radius: 18px;
        padding: 2.5rem 2rem;
        font-size: 1.25rem;
        box-shadow: 0 6px 24px rgba(0,0,0,0.10);
        color: #1e293b !important;
        line-height: 2.1;
    }
    
    .results-container h4 {
        font-size: 2.1rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        color: #2563eb !important;
    }
    
    .roi-calculator h3, .roi-calculator h4,
    .results-container h3, .results-container h4 {
        color: #2563eb !important;
    }
    
    .roi-calculator a, .results-container a,
    .roi-calculator span, .results-container span {
        color: #1e293b !important;
    }
    
    .results-container {
        background-color: white;
        border-radius: 18px;
        padding: 2.5rem 2rem;
        font-size: 1.25rem;
        box-shadow: 0 6px 24px rgba(0,0,0,0.10);
    }
    
    @media (min-width: 900px) {
        .roi-calculator, .results-container {
            font-size: 1.375rem;
            padding: 3rem 2.5rem;
        }
    }
    
    /* === Unified Slider Styles: .slider and input[type=range] === */
  .slider,
  input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 1.25rem;
    background: #222c36;
    border-radius: 3px;
    outline: none;
    box-shadow: 0 1px 4px rgba(8,182,185,0.16);
    accent-color: var(--color-primary, #08b6b9);
  }
  
  .slider::-webkit-slider-thumb,
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary, #08b6b9);
    border: 2px solid #5eead4;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8,182,185,0.18);
    transition: background 0.2s;
  }
  
  .slider:focus::-webkit-slider-thumb,
  input[type=range]:focus::-webkit-slider-thumb {
    outline: 2px solid #5eead4;
  }
  
  .slider::-moz-range-thumb,
  input[type=range]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary, #08b6b9);
    border: 2px solid #5eead4;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8,182,185,0.18);
    transition: background 0.2s;
  }
  
  .slider:focus::-moz-range-thumb,
  input[type=range]:focus::-moz-range-thumb {
    outline: 2px solid #5eead4;
  }
  
  .slider::-ms-thumb,
  input[type=range]::-ms-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary, #08b6b9);
    border: 2px solid #5eead4;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(8,182,185,0.18);
    transition: background 0.2s;
  }
  
  .slider::-webkit-slider-runnable-track,
  input[type=range]::-webkit-slider-runnable-track {
    height: 6px;
    background: #222c36;
    border-radius: 3px;
  }
  
  .slider::-moz-range-track,
  input[type=range]::-moz-range-track {
    background: #222c36;
    border-radius: 3px;
    height: 6px;
  }
  
  .slider::-ms-fill-lower,
  input[type=range]::-ms-fill-lower {
    background: #222c36;
    border-radius: 3px;
  }
  
  .slider::-ms-fill-upper,
  input[type=range]::-ms-fill-upper {
    background: #222c36;
    border-radius: 3px;
  }
  
  .slider:focus::-ms-fill-lower,
  input[type=range]:focus::-ms-fill-lower {
    background: #2dd4bf;
  }
  
  .slider:focus::-ms-fill-upper,
  input[type=range]:focus::-ms-fill-upper {
    background: #2dd4bf;
  }
  
  .slider::-ms-tooltip,
  input[type=range]::-ms-tooltip {
    display: none;
  }
  
  /* End Unified Slider Styles */
    
    .slider-value {
        font-size: 1.3em;
        font-weight: 700;
        min-width: 100px;
    }
    
    .card {
        background-color: #050c1b !important;
        border-radius: 0.5rem;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .card-header {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-footer {
        padding: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Hero section styles */
    .hero-section {
        display: flex;
        flex-direction: column;
        padding: 0;
        padding-bottom: 4rem;
        width: 100%;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        gap: 2rem;
    }
    
    @media (min-width: 768px) {
        .hero-container {
            flex-direction: row;
            align-items: flex-start;
            gap: 3rem;
        }
    }
    
    .hero-maze-box {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .maze-svg-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1.5rem;
        position: relative;
    }
    
    .hero-intro-content {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .hero-paragraph {
        margin-bottom: 2.5rem;
    }
    
    .hero-heading {
        margin-bottom: 2.5rem;
    }
    
    @media (min-width: 1024px) {
        .hero-section {
            min-height: 800px;
        }
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        height: 100%;
        position: relative;
    }
    
    .hero-content {
        width: 100%;
        position: absolute;
        top: 33.333%;
        transform: translateY(-50%);
        padding: 0;
        z-index: 10;
    }
    
    .hero-intro-box {
        width: 100%;
        position: absolute;
        top: 33.333%;
        padding: 0;
    }
    
    .gradient-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin: 0;
    }
    
    .maze-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .maze-svg-container {
        margin-bottom: 20px;
    }
    
    .intro-text-content {
        padding-top: 20px;
    }
    
    /* Footer styles */
    .footer {
        background-color: #0a1733;
        padding: 4rem 0 2rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        list-style: none;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        color: var(--color-text-light-muted);
        transition: color 0.3s;
    }
    
    .footer-links a:hover {
        color: var(--color-accent);
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem;
        margin-top: 2rem;
        text-align: center;
        color: var(--color-text-light-muted);
        font-size: 0.875rem;
    }
    
    /* Utility classes */
    .hidden {
        display: none;
    }
    
    .visible {
        display: block;
    }
    
    .hero-maze-box {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    
        /* remove any possible shadow utility */
    }
    
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }
    
    /* Hero content spacing */
    .hero-content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-heading {
        margin-bottom: 2rem;
    }
    
    .hero-paragraph {
        margin-bottom: 2.5rem;
    }
    
    .hero-button {
        margin-top: 1rem;
    }
    
    /* Ensure hero paragraph/intro stays in header and doesn't wrap out of place */
    .hero-section .flex-col > div {
      width: 100%;
      max-width: 100vw;
      word-break: break-word;
      box-sizing: border-box;
    }
    
    .hero-intro-content {
      margin-bottom: 3.5rem;
    }
    
    @media (max-width: 767px) {
      .hero-section .flex-col > div {
        align-items: flex-start !important;
        margin-bottom: 2.5rem;
      }
    }
    
    /* Hero maze box styles */
    
    /* --- OVERRIDE: Center ALL h2s globally --- */
    h2 {
      display: block !important;
      text-align: center !important;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
      /* Fix for descenders (g,j,p,q,y) getting cut off */
      line-height: 1.5 !important;
      padding-bottom: 0.5em !important;
      margin-bottom: 0.5em !important;
      /* Ensure gradient text remains visible */
      background: linear-gradient(90deg, #00ffd0 0%, #06b6d4 50%, #17677a 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }
    
    .hero-maze-box {
        padding: 1.5rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 10;
    }
    
    .maze-svg-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 1.5rem;
        position: relative;
    max-width: 300px;
    margin: 0 auto 1.5rem;
    position: relative;
    }
    
    .maze-svg-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    z-index: -1;
    }
    
    /* Contact info item styles */
    .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    }
    
    .contact-info-icon {
        flex-shrink: 0;
        width: 2rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(20, 184, 166, 0.1);
        border-radius: 50%;
        padding: 0.5rem;
    }
    
    .contact-info-content {
        flex-grow: 1;
    }
    
    /* SVG animations */
    @keyframes draw {
        to {
            stroke-dashoffset: 0;
        }
    }
    
    .maze-line {
        stroke: #5eead4;
        stroke-width: 2;
        fill: none;
        filter: drop-shadow(0px 0px 2px rgba(94, 234, 212, 0.7));
    }
    
    #hero-maze-svg .maze-line {
        stroke: #5eead4;
        stroke-width: 3;
    }
    
    .network-line {
        stroke-width: 1.5;
        fill: none;
        opacity: 0.6;
    }
    
    .network-node {
        fill: #5eead4;
        opacity: 0.8;
    }
    
    /* Maze text styles */
    .maze-text {
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0, 0, 0, 0.6);
        font-weight: 600;
    }
    .maze-element, 
    .maze-container,
    .maze-wrapper,
    .maze-section {
        font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
        max-width: 100%;
        overflow: hidden;
        display: block;
        position: relative;
    }