    /* ==========================================
       DESIGN SYSTEM & CSS CUSTOM PROPERTIES
       ========================================== */
    :root {
      --bg: #03020F;
      --primary: #7C3AED;      /* electric violet */
      --secondary: #06B6D4;    /* neon cyan */
      --surface: #0F0E2A;      /* dark navy */
      --text: #F1F0FF;         /* soft white */
      --muted: #7B7A99;        /* cool gray */
      --success: #10B981;      /* green */
      
      --primary-glow: rgba(124, 90, 237, 0.4);
      --secondary-glow: rgba(6, 182, 212, 0.4);
      --surface-glow: rgba(15, 14, 42, 0.8);
      
      --font-display: 'Orbitron', sans-serif;
      --font-body: 'Inter', sans-serif;
      
      --container-max: 1200px;
    }

    /* Core Resets */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    /* Typography Scale */
    h1, h2, h3, h4, h5, h6 {
      font-family: var(--font-display);
      font-weight: 700;
      letter-spacing: 1.5px;
      line-height: 1.2;
    }

    p {
      color: var(--muted);
      font-weight: 400;
    }

    a {
      color: var(--text);
      text-decoration: none;
      transition: all 0.3s ease;
    }

    /* Global SVG Defs (Invisible) */
    .global-svg-defs {
      position: absolute;
      width: 0;
      height: 0;
      overflow: hidden;
    }

    /* ==========================================
       LAYOUT UTILITIES
       ========================================== */
    .container {
      max-width: var(--container-max);
      width: 90%;
      margin: 0 auto;
      padding: 5rem 0;
    }

    .glass-card {
      background: rgba(15, 14, 42, 0.5);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(124, 58, 237, 0.15);
      border-radius: 16px;
      padding: 2.5rem;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                  border-color 0.3s ease, 
                  box-shadow 0.3s ease;
    }

    .glass-card:hover {
      transform: translateY(-5px);
      border-color: rgba(6, 182, 212, 0.3);
      box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.9rem 2rem;
      font-family: var(--font-display);
      font-size: 14px;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 700;
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
      gap: 0.6rem;
      border: none;
    }

    .btn-primary {
      background: var(--primary);
      color: var(--text);
      box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
    }

    .btn-primary:hover {
      background: transparent;
      color: var(--primary);
      box-shadow: 0 0 25px var(--primary);
      outline: 1.5px solid var(--primary);
    }

    .btn-outline {
      background: transparent;
      color: var(--text);
      outline: 1.5px solid rgba(241, 240, 255, 0.3);
    }

    .btn-outline:hover {
      outline-color: var(--secondary);
      color: var(--secondary);
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    }

    .btn-secondary {
      background: var(--secondary);
      color: var(--bg);
      box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
    }

    .btn-secondary:hover {
      background: transparent;
      color: var(--secondary);
      box-shadow: 0 0 25px var(--secondary);
      outline: 1.5px solid var(--secondary);
    }

    /* Section Headers */
    .section-header {
      text-align: center;
      max-width: 700px;
      margin: 0 auto 4rem auto;
    }

    .section-header h2 {
      font-size: 36px;
      margin-bottom: 1rem;
      position: relative;
    }

    .section-header h2::after {
      content: '';
      display: block;
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      margin: 10px auto 0 auto;
      border-radius: 2px;
    }

    .section-header p {
      font-size: 18px;
    }

    /* Scroll Reveal (CSS Transitions) */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                  transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* ==========================================
       STICKY NAVIGATION
       ========================================== */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 80px;
      background: rgba(3, 2, 15, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(124, 58, 237, 0.1);
      z-index: 1000;
      display: flex;
      align-items: center;
      transition: all 0.3s ease;
    }

    header.scrolled {
      background: rgba(3, 2, 15, 0.9);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      border-bottom-color: rgba(6, 182, 212, 0.15);
    }

    .nav-container {
      width: 90%;
      max-width: var(--container-max);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
    }

    .logo {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 900;
      letter-spacing: 2px;
      display: inline-flex;
      align-items: center;
    }

    .logo-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      background-color: var(--primary);
      border-radius: 50%;
      margin-left: 4px;
      box-shadow: 0 0 10px var(--primary);
    }

    .desktop-nav {
      display: flex;
      gap: 1.5rem;
    }

    .desktop-nav a {
      position: relative;
      font-family: var(--font-display);
      font-size: 14px;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.5rem 1rem;
      color: var(--muted);
      cursor: pointer;
    }

    .desktop-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 10%;
      width: 80%;
      height: 2px;
      background: transparent;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Hover Glow Navigation Link */
    .desktop-nav a:hover {
      color: var(--text);
    }

    .desktop-nav a:hover::after {
      background: var(--primary);
      box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary-glow);
    }

    /* Active Link Underline (Cyan Glow) */
    .desktop-nav a.active-nav {
      color: var(--text);
    }

    .desktop-nav a.active-nav::after {
      background: var(--secondary);
      box-shadow: 0 0 10px var(--secondary), 0 0 20px var(--secondary-glow);
    }

    /* Hamburger Toggle */
    .mobile-nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 1001;
    }

    .mobile-nav-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--text);
      transition: all 0.3s ease;
    }

    .mobile-nav-toggle.open span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.open span:nth-child(2) {
      opacity: 0;
    }

    .mobile-nav-toggle.open span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Slide-down Menu */
    .mobile-nav-menu {
      display: flex;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: rgba(15, 14, 42, 0.98);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(124, 58, 237, 0.2);
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      padding: 3rem 0;
      transform: translateY(-150%);
      transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
      opacity: 0;
      pointer-events: none;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
      z-index: 999;
    }

    .mobile-nav-menu.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-nav-menu a {
      font-family: var(--font-display);
      font-size: 18px;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      position: relative;
      padding: 0.5rem 2rem;
    }

    .mobile-nav-menu a.active-nav {
      color: var(--text);
    }

    .mobile-nav-menu a.active-nav::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 20%;
      width: 60%;
      height: 2px;
      background: var(--secondary);
      box-shadow: 0 0 10px var(--secondary);
    }

    /* ==========================================
       PAGE TRANSITION SYSTEM
       ========================================== */
    .page-container {
      margin-top: 80px;
      position: relative;
      width: 100%;
    }

    .page {
      display: none;
      opacity: 0;
      width: 100%;
      transition: opacity 300ms ease;
    }

    .page.active {
      display: block;
      opacity: 1;
    }

    .page.fade-out {
      opacity: 0;
      transition: opacity 200ms ease;
    }

    /* ==========================================
       PAGE 1 — HOME PAGE
       ========================================== */
    
    /* Hero Section */
    .hero-section {
      position: relative;
      min-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    #particle-canvas {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    .hero-container {
      display: grid;
      grid-template-columns: 1.2fr 0.8fr;
      align-items: center;
      gap: 3rem;
      position: relative;
      z-index: 1;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .hero-eyebrow {
      color: var(--secondary);
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
    }

    .hero-title {
      font-size: 72px;
      line-height: 1.1;
      color: var(--text);
    }

    .hero-title span {
      color: var(--primary);
      text-shadow: 0 0 15px var(--primary-glow);
    }

    .hero-subheading {
      font-size: 18px;
      max-width: 600px;
      line-height: 1.6;
    }

    .hero-ctas {
      display: flex;
      gap: 1.2rem;
      margin-top: 1rem;
    }

    .hero-stats {
      display: flex;
      gap: 2rem;
      margin-top: 2.5rem;
      border-top: 1px solid rgba(123, 122, 153, 0.2);
      padding-top: 2rem;
    }

    .hero-stat-item {
      display: flex;
      flex-direction: column;
    }

    .hero-stat-number {
      font-family: var(--font-display);
      font-size: 24px;
      color: var(--text);
      font-weight: 700;
      display: flex;
      align-items: center;
    }

    .hero-stat-label {
      font-size: 13px;
      color: var(--muted);
      margin-top: 4px;
    }

    /* 3D Scene Container (Right Column) */
    .hero-scene-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 400px;
      position: relative;
    }

    .scene3d {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      perspective: 1000px;
      transform-style: preserve-3d;
    }

    .icosahedron {
      position: absolute;
      width: 0;
      height: 0;
      transform-style: preserve-3d;
      will-change: transform;
    }

    .icosahedron-face {
      position: absolute;
      transform-style: preserve-3d;
      backface-visibility: visible;
      filter: drop-shadow(0 0 2px var(--primary-glow));
    }

    /* Orbiting rings */
    .orbit-ring {
      position: absolute;
      border-radius: 50%;
      background: transparent;
      transform-style: preserve-3d;
      pointer-events: none;
      will-change: transform;
    }

    .ring1 {
      width: 320px;
      height: 320px;
      border: 1.5px solid rgba(6, 182, 212, 0.35);
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.15), inset 0 0 15px rgba(6, 182, 212, 0.15);
    }

    .ring2 {
      width: 350px;
      height: 350px;
      border: 1.5px solid rgba(124, 58, 237, 0.35);
      box-shadow: 0 0 15px rgba(124, 58, 237, 0.15), inset 0 0 15px rgba(124, 58, 237, 0.15);
    }

    .ring3 {
      width: 380px;
      height: 380px;
      border: 1.5px solid rgba(6, 182, 212, 0.25);
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.1), inset 0 0 15px rgba(6, 182, 212, 0.1);
    }

    /* CSS Animations for 3D Scene */
    @media (prefers-reduced-motion: no-preference) {
      .icosahedron {
        animation: rotateIcosahedron 20s linear infinite;
      }
      .ring1 {
        animation: orbit1 8s linear infinite;
      }
      .ring2 {
        animation: orbit2 12s linear infinite;
      }
      .ring3 {
        animation: orbit3 16s linear infinite;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .icosahedron {
        transform: rotateX(20deg) rotateY(35deg);
      }
      .ring1 {
        transform: rotateX(15deg) rotateY(15deg);
      }
      .ring2 {
        transform: rotateX(45deg) rotateY(-15deg);
      }
      .ring3 {
        transform: rotateX(75deg) rotateY(30deg);
      }
    }

    @keyframes rotateIcosahedron {
      0% { transform: rotateX(0deg) rotateY(0deg); }
      100% { transform: rotateX(360deg) rotateY(360deg); }
    }

    @keyframes orbit1 {
      0% { transform: rotateX(15deg) rotateY(15deg) rotateZ(0deg); }
      100% { transform: rotateX(15deg) rotateY(15deg) rotateZ(360deg); }
    }

    @keyframes orbit2 {
      0% { transform: rotateX(45deg) rotateY(-15deg) rotateZ(0deg); }
      100% { transform: rotateX(45deg) rotateY(-15deg) rotateZ(-360deg); }
    }

    @keyframes orbit3 {
      0% { transform: rotateX(75deg) rotateY(30deg) rotateZ(0deg); }
      100% { transform: rotateX(75deg) rotateY(30deg) rotateZ(360deg); }
    }

    /* Services Section */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .service-card {
      perspective: 1000px;
      height: 320px;
      cursor: pointer;
    }

    .service-card-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transform-style: preserve-3d;
      transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-card:hover .service-card-inner {
      transform: rotateY(180deg);
    }

    .service-card-front, .service-card-back {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      border-radius: 12px;
      background: var(--surface);
      border: 1px solid rgba(124, 58, 237, 0.15);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      text-align: center;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card-front {
      z-index: 2;
      transform: rotateY(0deg);
      gap: 1rem;
    }

    .service-icon {
      stroke-linecap: round;
      stroke-linejoin: round;
      filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.3));
    }

    .service-card-front h3 {
      font-size: 16px;
      color: var(--text);
    }

    .service-tagline {
      font-size: 13px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .service-card-back {
      transform: rotateY(180deg);
      z-index: 1;
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-card-back h3 {
      font-size: 18px;
      color: var(--text);
    }

    .service-desc {
      font-size: 14px;
      line-height: 1.5;
      color: var(--muted);
    }

    .service-link {
      color: var(--secondary);
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }

    .service-link:hover {
      text-shadow: 0 0 10px var(--secondary-glow);
    }

    .service-card:hover .service-card-front {
      border-color: var(--secondary);
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    }

    .service-card:hover .service-card-back {
      border-color: var(--primary);
      box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
    }

    /* Why Choose Us Section */
    .why-choose-us-section {
      background: radial-gradient(circle at bottom, rgba(15, 14, 42, 0.4) 0%, transparent 70%);
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .why-card {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .why-number {
      font-family: var(--font-display);
      font-size: 48px;
      font-weight: 900;
      color: var(--primary);
      text-shadow: 0 0 15px var(--primary-glow);
      line-height: 1;
    }

    .why-title {
      font-size: 20px;
      color: var(--text);
    }

    .why-desc {
      font-size: 15px;
      line-height: 1.6;
    }

    /* Testimonials Section */
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .testimonial-card {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
    }

    .testimonial-quote {
      font-size: 15px;
      font-style: italic;
      color: var(--text);
      line-height: 1.7;
      margin-bottom: 2rem;
      position: relative;
    }

    .testimonial-quote::before {
      content: '“';
      font-family: var(--font-display);
      font-size: 50px;
      color: rgba(124, 58, 237, 0.15);
      position: absolute;
      top: -25px;
      left: -10px;
    }

    .testimonial-stars {
      display: flex;
      gap: 0.2rem;
      margin-bottom: 1rem;
      color: var(--secondary);
    }

    .testimonial-user {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .testimonial-avatar {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 14px;
      font-weight: 700;
      color: var(--bg);
      box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
    }

    .testimonial-info h4 {
      font-size: 14px;
      font-family: var(--font-body);
      color: var(--text);
      font-weight: 700;
    }

    .testimonial-info p {
      font-size: 12px;
      color: var(--muted);
    }

    /* Call To Action Banner */
    .cta-banner {
      margin: 4rem auto;
      text-align: center;
      background: linear-gradient(135deg, rgba(15, 14, 42, 0.9) 0%, rgba(3, 2, 15, 0.95) 100%);
      border: 1px solid rgba(124, 58, 237, 0.25);
      box-shadow: 0 0 40px rgba(124, 58, 237, 0.1);
      border-radius: 20px;
      padding: 4rem 2rem;
      position: relative;
      overflow: hidden;
    }

    .cta-banner::before {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
      pointer-events: none;
    }

    .cta-banner h2 {
      font-size: 36px;
      margin-bottom: 1.5rem;
      color: var(--text);
    }

    /* Industries */
    .industries-section {
      padding: 4rem 0;
    }

    .industries-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }

    .industry-card {
      padding: 1.75rem 1.5rem;
      border-radius: 14px;
    }

    .industry-card h3 {
      font-size: 17px;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .industry-card p {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }

    .section-lead {
      max-width: 780px;
      margin: -2rem auto 0 auto;
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted);
    }

    /* How We Work */
    .how-we-work-section {
      padding: 4rem 0;
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }

    .process-step {
      padding: 1.75rem 1.5rem;
      border-radius: 14px;
    }

    .process-number {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--secondary);
      margin-bottom: 0.75rem;
    }

    .process-step h3 {
      font-size: 18px;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .process-step p {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }

    /* FAQ Section */
    .faq-section {
      padding: 4rem 0;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .faq-card {
      padding: 1.75rem 1.5rem;
      border-radius: 14px;
    }

    .faq-card h3 {
      font-size: 17px;
      color: var(--text);
      margin-bottom: 0.6rem;
    }

    .faq-card p {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }

    /* Contact next-steps content */
    .contact-next {
      margin: 3rem 0 1rem;
      max-width: 860px;
    }

    .contact-next h2 {
      font-size: 24px;
      color: var(--text);
      margin: 2rem 0 1rem;
    }

    .contact-next p,
    .contact-next li {
      font-size: 15px;
      line-height: 1.75;
      color: var(--muted);
    }

    .contact-next ul,
    .contact-next ol {
      margin: 0 0 1rem 1.25rem;
    }

    .contact-next li {
      margin-bottom: 0.4rem;
    }

    .contact-next a {
      color: var(--secondary);
    }

    /* Library intro text */
    .library-intro {
      margin: -2rem 0 2rem;
    }

    .library-intro h2 {
      font-size: 26px;
      color: var(--text);
      margin-bottom: 1rem;
    }

    .library-intro ul {
      margin: 0 0 1rem 1.25rem;
    }

    .library-intro li {
      font-size: 15px;
      line-height: 1.75;
      color: var(--muted);
      margin-bottom: 0.4rem;
    }

    .library-intro p {
      font-size: 15px;
      line-height: 1.75;
      color: var(--muted);
      margin-bottom: 1rem;
    }

    .library-intro a {
      color: var(--secondary);
    }

    /* ==========================================
       PAGE 2 — ABOUT PAGE
       ========================================== */
    .about-hero {
      position: relative;
      text-align: center;
      padding: 6rem 0 4rem 0;
      overflow: hidden;
    }

    .about-hero h1 {
      font-size: 48px;
      margin-bottom: 1rem;
      text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    .about-hero p {
      font-size: 20px;
      max-width: 800px;
      margin: 0 auto;
    }

    /* Ambient shapes layer */
    .ambient-3d-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
      perspective: 1000px;
    }

    .css3d-shape {
      position: absolute;
      opacity: 0.1;
      transform-style: preserve-3d;
      will-change: transform;
    }

    /* Cube Construction */
    .css3d-shape.cube {
      width: 50px;
      height: 50px;
    }

    .css3d-shape.cube .face {
      position: absolute;
      width: 50px;
      height: 50px;
      background: rgba(124, 58, 237, 0.1);
      border: 1px solid var(--primary);
    }

    .css3d-shape.cube .front  { transform: rotateY(0deg) translateZ(25px); }
    .css3d-shape.cube .back   { transform: rotateY(180deg) translateZ(25px); }
    .css3d-shape.cube .left   { transform: rotateY(-90deg) translateZ(25px); }
    .css3d-shape.cube .right  { transform: rotateY(90deg) translateZ(25px); }
    .css3d-shape.cube .top    { transform: rotateX(90deg) translateZ(25px); }
    .css3d-shape.cube .bottom { transform: rotateX(-90deg) translateZ(25px); }

    /* Pyramid Construction */
    .css3d-shape.pyramid {
      width: 50px;
      height: 50px;
    }

    .css3d-shape.pyramid .face-p {
      position: absolute;
      width: 50px;
      height: 50px;
    }

    .css3d-shape.pyramid .base {
      background: rgba(6, 182, 212, 0.1);
      border: 1px solid var(--secondary);
      transform: rotateX(90deg) translateZ(-25px);
    }

    .css3d-shape.pyramid .side {
      clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
      -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
      background: rgba(124, 58, 237, 0.15);
      border: 1px solid var(--primary);
    }

    .css3d-shape.pyramid .side1 { transform: rotateX(30deg) translateZ(14.4px) translateY(-7.2px); }
    .css3d-shape.pyramid .side2 { transform: rotateY(90deg) rotateX(30deg) translateZ(14.4px) translateY(-7.2px); }
    .css3d-shape.pyramid .side3 { transform: rotateY(180deg) rotateX(30deg) translateZ(14.4px) translateY(-7.2px); }
    .css3d-shape.pyramid .side4 { transform: rotateY(-90deg) rotateX(30deg) translateZ(14.4px) translateY(-7.2px); }

    /* Positioning and Ambient Floating animations */
    .shape1 { top: 15%; left: 10%; }
    .shape2 { top: 25%; right: 12%; }
    .shape3 { top: 55%; left: 8%; }
    .shape4 { top: 75%; right: 15%; }
    .shape5 { top: 85%; left: 45%; }

    @media (prefers-reduced-motion: no-preference) {
      .shape1 { animation: floatShape1 24s ease-in-out infinite; }
      .shape2 { animation: floatShape2 30s ease-in-out infinite; }
      .shape3 { animation: floatShape3 28s ease-in-out infinite; }
      .shape4 { animation: floatShape4 32s ease-in-out infinite; }
      .shape5 { animation: floatShape1 26s ease-in-out infinite; }
    }

    @keyframes floatShape1 {
      0% { transform: translate(0, 0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
      50% { transform: translate(15px, -20px) rotateX(180deg) rotateY(90deg) rotateZ(45deg); }
      100% { transform: translate(0, 0) rotateX(360deg) rotateY(360deg) rotateZ(90deg); }
    }

    @keyframes floatShape2 {
      0% { transform: translate(0, 0) rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
      50% { transform: translate(-20px, 15px) rotateX(-135deg) rotateY(225deg) rotateZ(180deg); }
      100% { transform: translate(0, 0) rotateX(-225deg) rotateY(405deg) rotateZ(360deg); }
    }

    @keyframes floatShape3 {
      0% { transform: translate(0, 0) rotateX(10deg) rotateY(80deg) rotateZ(0deg); }
      50% { transform: translate(-10px, -25px) rotateX(90deg) rotateY(190deg) rotateZ(-180deg); }
      100% { transform: translate(0, 0) rotateX(170deg) rotateY(260deg) rotateZ(-360deg); }
    }

    @keyframes floatShape4 {
      0% { transform: translate(0, 0) rotateX(120deg) rotateY(-20deg) rotateZ(0deg); }
      50% { transform: translate(25px, 10px) rotateX(300deg) rotateY(160deg) rotateZ(180deg); }
      100% { transform: translate(0, 0) rotateX(480deg) rotateY(340deg) rotateZ(360deg); }
    }

    /* About Story Section */
    .story-section .container {
      display: grid;
      grid-template-columns: 1fr 1.2fr;
      gap: 4rem;
      align-items: center;
    }

    .pull-quote {
      font-family: var(--font-display);
      font-size: 32px;
      line-height: 1.3;
      color: var(--text);
      border-left: 4px solid var(--secondary);
      padding-left: 1.5rem;
      text-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
    }

    .story-text {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .story-text p {
      font-size: 16px;
    }

    /* Team Stats Row */
    .team-stats-row {
      background: var(--surface);
      border-top: 1px solid rgba(124, 58, 237, 0.15);
      border-bottom: 1px solid rgba(124, 58, 237, 0.15);
      padding: 3rem 0;
    }

    .stats-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .stat-card h3 {
      font-size: 48px;
      color: var(--secondary);
      font-family: var(--font-display);
      text-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
      margin-bottom: 0.5rem;
    }

    .stat-card p {
      font-size: 14px;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 1.5px;
    }

    /* Journey */
    .journey-section {
      padding: 4rem 0;
    }

    .journey-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }

    .journey-item {
      padding: 1.75rem 1.5rem;
      border-radius: 14px;
    }

    .journey-year {
      display: inline-block;
      font-family: var(--font-display);
      font-size: 13px;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 0.75rem;
    }

    .journey-item h3 {
      font-size: 18px;
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    .journey-item p {
      font-size: 14px;
      line-height: 1.65;
      color: var(--muted);
    }

    /* Core Values */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .value-card {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .value-icon {
      filter: drop-shadow(0 0 6px var(--primary-glow));
    }

    .value-card h3 {
      font-size: 20px;
      color: var(--text);
    }

    /* Team Members */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }

    .team-card {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .team-avatar {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-size: 36px;
      font-weight: 700;
      color: var(--bg);
      border: 3px solid rgba(241, 240, 255, 0.15);
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(124, 58, 237, 0.2);
    }

    .team-card:hover .team-avatar {
      transform: scale(1.05);
      border-color: var(--secondary);
      box-shadow: 0 0 25px var(--secondary-glow);
    }

    .team-card h3 {
      font-size: 18px;
      color: var(--text);
    }

    .team-role {
      font-size: 13px;
      color: var(--secondary);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-top: -5px;
    }

    .team-bio {
      font-size: 14px;
      line-height: 1.5;
    }

    /* Tech Stack Badge Section */
    .tech-stack-section {
      background: radial-gradient(circle at top, rgba(15, 14, 42, 0.3) 0%, transparent 70%);
      text-align: center;
    }

    .tech-stack-section h2 {
      margin-bottom: 2rem;
    }

    .tech-badges {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1.2rem;
      max-width: 800px;
      margin: 0 auto;
    }

    .badge {
      background: rgba(15, 14, 42, 0.7);
      border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: 30px;
      padding: 0.6rem 1.8rem;
      font-family: var(--font-display);
      font-size: 14px;
      letter-spacing: 1px;
      color: var(--text);
      transition: all 0.3s ease;
    }

    .badge:hover {
      border-color: var(--secondary);
      color: var(--secondary);
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
      transform: translateY(-2px);
    }

    /* ==========================================
       PAGE 3 — CONTACT PAGE
       ========================================== */
    .contact-hero {
      text-align: center;
      padding: 5rem 0 3rem 0;
    }

    .contact-hero h1 {
      font-size: 48px;
      margin-bottom: 1rem;
      text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    .contact-hero p {
      font-size: 20px;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 4rem;
      align-items: flex-start;
      margin-bottom: 4rem;
    }

    .contact-info-list {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .info-item-card {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }

    .info-item-icon {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: rgba(124, 58, 237, 0.1);
      border: 1px solid rgba(124, 58, 237, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary);
      flex-shrink: 0;
      box-shadow: 0 0 10px rgba(124, 58, 237, 0.1);
    }

    .info-item-content h3 {
      font-size: 14px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .info-item-content p {
      font-size: 16px;
      color: var(--text);
      margin-top: 3px;
    }

    /* Contact Form Styles */
    .contact-form-container {
      position: relative;
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      font-family: var(--font-display);
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 0.5rem;
    }

    .form-control {
      width: 100%;
      background: rgba(3, 2, 15, 0.6);
      border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: 8px;
      padding: 0.9rem 1.2rem;
      color: var(--text);
      font-family: var(--font-body);
      font-size: 15px;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--secondary);
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
      background: rgba(15, 14, 42, 0.8);
    }

    select.form-control {
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237B7A99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
      background-repeat: no-repeat;
      background-position: right 1.2rem center;
      background-size: 1.2rem;
      padding-right: 3rem;
    }

    select.form-control option {
      background: var(--surface);
      color: var(--text);
    }

    textarea.form-control {
      resize: vertical;
    }

    .form-note {
      text-align: center;
      font-size: 13px;
      color: var(--muted);
      margin-top: 1rem;
    }

    .loader {
      width: 16px;
      height: 16px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: var(--text);
      animation: spin 0.8s linear infinite;
      display: inline-block;
      margin-left: 10px;
      vertical-align: middle;
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Submit success banner */
    .success-banner {
      display: none;
      background: rgba(16, 185, 129, 0.15);
      border: 1.5px solid var(--success);
      color: var(--text);
      border-radius: 12px;
      padding: 2.5rem;
      text-align: center;
      box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
      margin-bottom: 2rem;
      animation: fadeIn 0.4s ease forwards;
    }

    .success-banner h3 {
      font-size: 20px;
      color: var(--success);
      margin-bottom: 0.5rem;
    }

    .success-banner p {
      color: var(--text);
      opacity: 0.9;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ==========================================
       PAGE 4 — PDF UPLOAD PAGE
       ========================================== */
    .page-hero {
      text-align: center;
      padding: 5rem 0 3rem 0;
    }

    .page-hero h1 {
      font-size: 48px;
      margin-bottom: 1rem;
      text-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    }

    .page-hero p {
      font-size: 20px;
    }

    .upload-layout {
      max-width: 720px;
      margin: 0 auto;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .file-upload-box {
      width: 100%;
      border: 2px dashed rgba(124, 58, 237, 0.35);
      border-radius: 12px;
      padding: 2.5rem 1.5rem;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      background: rgba(15, 14, 42, 0.3);
    }

    .file-upload-box:hover, .file-upload-box.dragover {
      border-color: var(--secondary);
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
    }

    .file-upload-box input[type="file"] {
      display: none;
    }

    .file-upload-icon {
      color: var(--secondary);
      margin-bottom: 0.8rem;
    }

    .file-upload-box p {
      font-size: 14px;
    }

    .file-upload-box .file-name {
      color: var(--secondary);
      font-family: var(--font-display);
      font-size: 13px;
      margin-top: 0.5rem;
      word-break: break-all;
    }

    /* ==========================================
       PAGE 5 — PDF LIBRARY PAGE
       ========================================== */
    .library-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      justify-content: center;
      margin-bottom: 3rem;
    }

    .filter-chip {
      font-family: var(--font-display);
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.5rem 1.2rem;
      border-radius: 30px;
      background: rgba(15, 14, 42, 0.7);
      border: 1px solid rgba(124, 58, 237, 0.2);
      color: var(--muted);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .filter-chip:hover, .filter-chip.active {
      color: var(--secondary);
      border-color: var(--secondary);
      box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
    }

    .library-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 2rem;
    }

    .pdf-card {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 0 !important;
    }

    .pdf-thumb {
      position: relative;
      aspect-ratio: 16/10;
      background: linear-gradient(135deg, var(--surface), #1a1640);
      display: flex;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid rgba(124, 58, 237, 0.15);
      overflow: hidden;
    }

    .pdf-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .pdf-thumb svg {
      color: var(--primary);
      opacity: 0.9;
      filter: drop-shadow(0 0 10px var(--primary-glow));
    }

    .pdf-category-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      font-family: var(--font-display);
      font-size: 10px;
      letter-spacing: 1px;
      text-transform: uppercase;
      background: rgba(3, 2, 15, 0.75);
      border: 1px solid rgba(6, 182, 212, 0.4);
      color: var(--secondary);
      padding: 0.3rem 0.8rem;
      border-radius: 30px;
      backdrop-filter: blur(6px);
    }

    .pdf-body {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      flex: 1;
    }

    .pdf-title {
      font-size: 18px;
      color: var(--text);
      line-height: 1.3;
    }

    .pdf-desc {
      font-size: 14px;
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      flex: 1;
    }

    .pdf-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(124, 58, 237, 0.12);
    }

    .pdf-price {
      font-family: var(--font-display);
      font-size: 20px;
      font-weight: 700;
    }

    .pdf-price.free {
      color: var(--success);
      text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }

    .pdf-price.paid {
      color: var(--secondary);
      text-shadow: 0 0 10px var(--secondary-glow);
    }

    .pdf-actions {
      display: flex;
      gap: 0.6rem;
    }

    .btn-sm {
      padding: 0.55rem 1.1rem;
      font-size: 12px;
    }

    .empty-state {
      text-align: center;
      padding: 4rem 1rem;
      color: var(--muted);
    }

    .empty-state svg {
      opacity: 0.4;
      margin-bottom: 1rem;
    }

    .empty-state h3 {
      color: var(--text);
      margin-bottom: 0.5rem;
    }

    /* Payment Modal */
    .pay-modal-content {
      max-width: 420px;
      padding: 2rem !important;
    }

    .pay-modal-content h3 {
      font-size: 22px;
      margin-bottom: 0.5rem;
    }

    .pay-summary {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      background: rgba(3, 2, 15, 0.6);
      border: 1px solid rgba(124, 58, 237, 0.2);
      border-radius: 10px;
      padding: 0.9rem 1.2rem;
      margin: 1.2rem 0;
    }

    .pay-summary .pay-doc-title {
      font-size: 14px;
      color: var(--text);
    }

    .pay-summary .pay-doc-price {
      font-family: var(--font-display);
      font-size: 20px;
      color: var(--secondary);
      white-space: nowrap;
    }

    .pay-note {
      font-size: 12px;
      color: var(--muted);
      text-align: center;
      margin-top: 1rem;
    }

    /* ==========================================
       SHOWREEL MODAL WINDOW
       ========================================== */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(3, 2, 15, 0.9);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      opacity: 0;
      transition: opacity 0.35s ease;
    }
    
    .modal-overlay.open {
      display: flex;
      opacity: 1;
    }
    
    .modal-content {
      position: relative;
      width: 90%;
      max-width: 800px;
      background: var(--surface);
      border: 1.5px solid rgba(124, 58, 237, 0.3);
      padding: 0.8rem !important;
      box-shadow: 0 0 40px var(--primary-glow);
      transform: scale(0.9);
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .modal-overlay.open .modal-content {
      transform: scale(1);
    }
    
    .modal-close {
      position: absolute;
      top: -45px;
      right: 0;
      background: transparent;
      border: none;
      color: var(--text);
      font-size: 36px;
      cursor: pointer;
      line-height: 1;
      transition: color 0.3s ease;
    }
    
    .modal-close:hover {
      color: var(--secondary);
      text-shadow: 0 0 10px var(--secondary-glow);
    }
    
    .modal-video-wrapper {
      position: relative;
      width: 100%;
      aspect-ratio: 16/9;
      border-radius: 8px;
      overflow: hidden;
    }
    
    .modal-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    
    .play-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(15, 14, 42, 0.45);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      color: var(--text);
      font-family: var(--font-display);
      font-size: 14px;
      letter-spacing: 2px;
      text-transform: uppercase;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    
    .play-overlay:hover {
      background: rgba(15, 14, 42, 0.25);
    }
    
    .play-overlay svg {
      transition: transform 0.3s ease;
      filter: drop-shadow(0 0 10px var(--secondary-glow));
    }
    
    .play-overlay:hover svg {
      transform: scale(1.1);
    }

    /* ==========================================
       GLOBAL FOOTER
       ========================================== */
    footer {
      background: #02010A;
      border-top: 1px solid rgba(124, 58, 237, 0.1);
      padding: 5rem 0 2.5rem 0;
      position: relative;
      z-index: 10;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 4rem;
    }

    .footer-col {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .footer-col p {
      font-size: 14px;
      line-height: 1.6;
    }

    .footer-col h4 {
      font-size: 15px;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 0.5rem;
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .footer-links a {
      font-size: 14px;
      color: var(--muted);
      cursor: pointer;
    }

    .footer-links a:hover {
      color: var(--secondary);
      padding-left: 5px;
    }

    .social-links {
      display: flex;
      gap: 1rem;
      margin-top: 0.5rem;
    }

    .social-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(15, 14, 42, 0.8);
      border: 1px solid rgba(124, 58, 237, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      color: var(--secondary);
      border-color: var(--secondary);
      box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
      transform: translateY(-3px);
    }

    .footer-bottom {
      border-top: 1px solid rgba(123, 122, 153, 0.1);
      padding-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-bottom p {
      font-size: 13px;
    }

    .footer-legal-links {
      display: flex;
      gap: 1.5rem;
    }

    .footer-legal-links a {
      font-size: 13px;
      color: var(--muted);
    }

    .footer-legal-links a:hover {
      color: var(--text);
    }

    /* ==========================================
       RESPONSIVE BREAKPOINTS
       ========================================== */
    @media (max-width: 1024px) {
      /* Tablet */
      .hero-title {
        font-size: 56px;
      }
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .why-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .about-hero h1 {
        font-size: 42px;
      }
      .story-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
      .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
      }
      .values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }
      .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
      }
      .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
      }
      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      /* Mobile Menu Toggle Activates */
      .mobile-nav-toggle {
        display: flex;
      }
      .desktop-nav {
        display: none;
      }
      
      .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-title {
        font-size: 42px;
      }
      .hero-subheading {
        margin: 0 auto;
      }
      .hero-ctas {
        justify-content: center;
      }
      .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
      }
      .hero-scene-container {
        height: 350px;
        order: -1; /* Place 3D object on top of text in mobile */
      }
      .ring1 { width: 260px; height: 260px; }
      .ring2 { width: 290px; height: 290px; }
      .ring3 { width: 320px; height: 320px; }

      .services-grid {
        grid-template-columns: 1fr;
      }
      .industries-grid {
        grid-template-columns: 1fr;
      }
      .process-grid {
        grid-template-columns: 1fr;
      }
      .journey-grid {
        grid-template-columns: 1fr;
      }
      .faq-grid {
        grid-template-columns: 1fr;
      }
      .why-grid {
        grid-template-columns: 1fr;
      }
      .team-grid {
        grid-template-columns: 1fr;
      }
      .form-row {
        grid-template-columns: 1fr;
      }
      .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }
    }

    /* ==========================================
       PRODUCT UPLOAD — TOASTS, PROGRESS, LOGIN
       ========================================== */
    .toast-container {
      position: fixed;
      top: 90px;
      right: 20px;
      z-index: 3000;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      max-width: 360px;
      pointer-events: none;
    }

    .toast {
      pointer-events: auto;
      padding: 1rem 1.2rem;
      border-radius: 10px;
      background: var(--surface);
      border: 1px solid rgba(124, 58, 237, 0.35);
      color: var(--text);
      font-size: 14px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      display: flex;
      align-items: center;
      gap: 0.6rem;
      word-break: break-word;
    }

    .toast.leaving {
      animation: toastOut 0.3s ease forwards;
    }

    .toast.success { border-color: var(--success); box-shadow: 0 0 18px rgba(16, 185, 129, 0.25); }
    .toast.error { border-color: #EF4444; box-shadow: 0 0 18px rgba(239, 68, 68, 0.25); }

    @keyframes toastIn {
      from { opacity: 0; transform: translateX(40px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes toastOut {
      from { opacity: 1; transform: translateX(0); }
      to { opacity: 0; transform: translateX(40px); }
    }

    .field-error {
      border-color: #EF4444 !important;
      box-shadow: 0 0 12px rgba(239, 68, 68, 0.2) !important;
    }
    .field-error-msg {
      color: #EF4444;
      font-size: 12px;
      margin-top: 0.4rem;
      display: block;
    }

    .progress-wrap {
      display: none;
      margin-top: 1.2rem;
    }
    .progress-wrap.visible {
      display: block;
    }
    .progress-track {
      height: 10px;
      border-radius: 20px;
      background: rgba(3, 2, 15, 0.8);
      border: 1px solid rgba(124, 58, 237, 0.3);
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      width: 0%;
      border-radius: 20px;
      background: linear-gradient(90deg, var(--primary), var(--secondary));
      box-shadow: 0 0 12px var(--secondary-glow);
      transition: width 0.2s ease;
    }
    .progress-label {
      display: flex;
      justify-content: space-between;
      font-family: var(--font-display);
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted);
      margin-top: 0.5rem;
    }

    .thumb-preview {
      width: 100%;
      max-height: 240px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid rgba(124, 58, 237, 0.35);
      margin-top: 1rem;
      box-shadow: 0 5px 20px rgba(124, 58, 237, 0.15);
      display: none;
    }
    .thumb-preview.visible { display: block; }

    .file-type-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-family: var(--font-display);
      font-size: 11px;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 0.35rem 0.9rem;
      border-radius: 30px;
      border: 1px solid var(--secondary);
      color: var(--secondary);
      background: rgba(6, 182, 212, 0.08);
    }

    /* Product badges on library cards */
    .badge-major {
      position: absolute;
      bottom: 12px;
      left: 12px;
      font-family: var(--font-display);
      font-size: 10px;
      letter-spacing: 1px;
      text-transform: uppercase;
      background: rgba(124, 58, 237, 0.8);
      border: 1px solid rgba(124, 58, 237, 0.9);
      color: var(--text);
      padding: 0.3rem 0.8rem;
      border-radius: 30px;
      backdrop-filter: blur(6px);
    }
    .file-type-tag {
      font-family: var(--font-display);
      font-size: 10px;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid rgba(123, 122, 153, 0.4);
      padding: 0.25rem 0.7rem;
      border-radius: 30px;
    }
    .status-draft-badge {
      color: #F59E0B;
      border-color: rgba(245, 158, 11, 0.5);
    }

    .upload-success-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 1.5rem;
      flex-wrap: wrap;
    }

    /* ==========================================
       PRODUCT DETAIL PAGE
       ========================================== */
    .detail-layout {
      display: grid;
      grid-template-columns: 0.9fr 1.1fr;
      gap: 3rem;
      align-items: start;
      max-width: 960px;
      margin: 0 auto;
    }
    .detail-thumb {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(124, 58, 237, 0.25);
      box-shadow: 0 15px 40px rgba(124, 58, 237, 0.15);
      aspect-ratio: 16/10;
      background: linear-gradient(135deg, var(--surface), #1a1640);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .detail-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .detail-thumb svg { color: var(--primary); filter: drop-shadow(0 0 12px var(--primary-glow)); }
    .detail-info h1 {
      font-size: 34px;
      margin-bottom: 0.6rem;
    }
    .detail-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin: 0.8rem 0 1.4rem;
    }
    .detail-price {
      font-family: var(--font-display);
      font-size: 32px;
      font-weight: 700;
      color: var(--secondary);
      text-shadow: 0 0 14px var(--secondary-glow);
      margin-bottom: 1.4rem;
    }
    .detail-price.free { color: var(--success); text-shadow: 0 0 14px rgba(16, 185, 129, 0.4); }
    .detail-desc {
      font-size: 15px;
      line-height: 1.7;
      margin-bottom: 2rem;
      white-space: pre-wrap;
    }
    .detail-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }
    .detail-meta {
      margin-top: 1.6rem;
      padding-top: 1.2rem;
      border-top: 1px solid rgba(124, 58, 237, 0.15);
      font-size: 13px;
      color: var(--muted);
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }
    .detail-back {
      margin-bottom: 2rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--muted);
      font-family: var(--font-display);
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      cursor: pointer;
    }
    .detail-back:hover { color: var(--secondary); }
