﻿/* =========================================
   1. RESET & CORE STYLES
   ========================================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* Color Scheme Support */
    color-scheme: light dark;
  
    /* Palette - Primitives */
    --primary-blue: #4285f4;
    --gemini-purple: #9334e9;
    --gemini-pink: #ec4899;
    --gemini-orange: #f97316;
    --gemini-cyan: #06b6d4;
  
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85); /* Opacidad ajustada para performance */
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    
    --text-primary: #1f2937;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-subtle: #9ca3af;
    
    --border-primary: rgba(0, 0, 0, 0.1);
    --border-secondary: rgba(0, 0, 0, 0.05);
    --border-accent: rgba(66, 133, 244, 0.2);
    
    --gradient-primary: linear-gradient(
      135deg,
      #4285f4 0%,
      #9334e9 25%,
      #ec4899 50%,
      #f97316 75%,
      #06b6d4 100%
    );
    --gradient-card: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(248, 250, 252, 0.95) 100%
    );
  
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
      0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(66, 133, 244, 0.25);
    --shadow-glow: 0 0 20px rgba(66, 133, 244, 0.3);
  
    /* Animations Variables */
    --animation-rotate-duration: 120s;
    --animation-float-duration: 8s;
    --animation-float-scale: 1.05;
    --animation-float-translate: -10px;
    
    /* Hero Tweaks */
    --hero-bg-opacity-1: 0.08;
    --hero-bg-opacity-2: 0.08;
    --hero-bg-opacity-3: 0.05;
    --hero-bg-opacity-4: 0.05;
    --hero-after-opacity: 0.05;
    --hero-after-blur: 60px;
    --hero-after-size: 200px;
    
    /* Misc */
    --terminal-success-color: var(--gemini-cyan);
    --terminal-border-opacity: 0.3;
    --form-input-bg: var(--bg-primary);
    --form-focus-shadow: rgba(66, 133, 244, 0.1);
    --form-focus-bg: var(--bg-primary);
  }
  
  /* =========================================
     2. DARK THEME & SYSTEM PREFERENCE
     ========================================= */
     
  /* Variables para Modo Oscuro (Mixin removed - invalid CSS) */
  /* See [data-theme="dark"] and @media (prefers-color-scheme: dark) below for variables */
  
  /* Aplicar si el sistema prefiere oscuro (Soporte Nativo / Sin FOUC) */
  @media (prefers-color-scheme: dark) {
    :root {
      --primary-blue: #60a5fa;
      --gemini-purple: #a855f7;
      --gemini-pink: #ec4899;
      --gemini-orange: #f97316;
      --gemini-cyan: #06b6d4;
      --bg-primary: #0a0a0a;
      --bg-secondary: #111111;
      --bg-tertiary: #1a1a1a;
      --bg-card: rgba(30, 30, 30, 0.75);
      --bg-card-hover: rgba(37, 37, 37, 0.9);
      --text-primary: #ffffff;
      --text-secondary: #e4e4e7;
      --text-muted: #a1a1aa;
      --text-subtle: #71717a;
      --border-primary: #27272a;
      --border-secondary: #3f3f46;
      --border-accent: #52525b;
      --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a855f7 25%, #ec4899 50%, #f97316 75%, #06b6d4 100%);
      --gradient-card: linear-gradient(145deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(96, 165, 250, 0.1);
      --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.2);
      --hero-bg-opacity-1: 0.06;
      --hero-bg-opacity-2: 0.06;
      --hero-bg-opacity-3: 0.04;
      --hero-bg-opacity-4: 0.04;
      --hero-after-opacity: 0.04;
      --hero-after-blur: 60px;
      --hero-after-size: 200px;
      --terminal-success-color: #10b981;
      --form-input-bg: rgba(10, 10, 10, 0.8);
      --form-focus-shadow: rgba(96, 165, 250, 0.2);
      --form-focus-bg: rgba(10, 10, 10, 0.95);
    }
  }
  
  /* Aplicar mediante Toggle Manual (JS) */
  [data-theme="dark"] {
      --primary-blue: #60a5fa;
      --gemini-purple: #a855f7;
      --gemini-pink: #ec4899;
      --gemini-orange: #f97316;
      --gemini-cyan: #06b6d4;
      --bg-primary: #0a0a0a;
      --bg-secondary: #111111;
      --bg-tertiary: #1a1a1a;
      --bg-card: rgba(30, 30, 30, 0.75);
      --bg-card-hover: rgba(37, 37, 37, 0.9);
      --text-primary: #ffffff;
      --text-secondary: #e4e4e7;
      --text-muted: #a1a1aa;
      --text-subtle: #71717a;
      --border-primary: #27272a;
      --border-secondary: #3f3f46;
      --border-accent: #52525b;
      --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #a855f7 25%, #ec4899 50%, #f97316 75%, #06b6d4 100%);
      --gradient-card: linear-gradient(145deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
      --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
      --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
      --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
      --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(96, 165, 250, 0.1);
      --shadow-glow: 0 0 20px rgba(96, 165, 250, 0.2);
      --hero-bg-opacity-1: 0.06;
      --hero-bg-opacity-2: 0.06;
      --hero-bg-opacity-3: 0.04;
      --hero-bg-opacity-4: 0.04;
      --hero-after-opacity: 0.04;
      --hero-after-blur: 60px;
      --hero-after-size: 200px;
      --terminal-success-color: #10b981;
      --form-input-bg: rgba(10, 10, 10, 0.8);
      --form-focus-shadow: rgba(96, 165, 250, 0.2);
      --form-focus-bg: rgba(10, 10, 10, 0.95);
  }
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
    /* Solo animamos el color de fondo para evitar jank en redimensionamiento */
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  p {
    /* A11Y IMPROVEMENT: Justified text creates hard-to-read "rivers" of whitespace */
    text-align: left; 
  }
  
  .container {
    max-width: 1200px;
    margin-inline: auto; /* Logical Property */
    padding-inline: 1rem; /* Logical Property */
  }
  
  /* =========================================
     3. BUTTONS & INTERACTIVE
     ========================================= */
  .btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    min-height: 44px;
  }
  
  .btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
  }
  
  .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    );
    transition: left 0.5s ease;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
  }
  
  /* =========================================
     4. UTILITIES & ANIMATIONS
     ========================================= */
  .section-title {
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s ease;
  }
  
  .slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  .slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
  }
  
  .slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* =========================================
5. HEADER
     ========================================= */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Performance fix: reduced opacity for less repaint */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari Support */
    border-bottom: 1px solid var(--border-primary);
    padding: 0.5rem 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }
  
  /* Support check for backdrop-filter fallback */
  @supports not (backdrop-filter: blur(12px)) {
    header {
      background: var(--bg-card-hover);
    }
  }
  
  [data-theme="dark"] header {
    background: rgba(10, 10, 10, 0.85);
  }
  
@media (prefers-color-scheme: dark) {
    header {
      background: rgba(10, 10, 10, 0.85);
    }
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  
  /* Desktop Navigation Styles */
  .desktop-nav {
    display: none;
  }
  
  @media (min-width: 1024px) {
    .desktop-nav {
      display: block;
    }
    .mobile-menu-toggle {
      display: none;
    }
    .nav-menu {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 2rem;
      align-items: center;
    }
    .nav-item {
      position: relative;
    }
    .nav-link {
      color: var(--text-primary);
      text-decoration: none;
      font-weight: 500;
      font-size: 1rem;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      transition: all 0.3s ease;
      position: relative;
    }
    .nav-link:hover {
      color: var(--primary-blue);
      background: var(--bg-secondary);
      transform: translateY(-2px);
    }
    .nav-link.active {
      color: var(--primary-blue);
      background: var(--bg-secondary);
      border: 2px solid var(--border-accent);
    }
    .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      background: var(--bg-card);
      border: 2px solid var(--border-secondary);
      border-radius: 12px;
      padding: 1rem 0;
      min-width: 200px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all 0.3s ease;
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(10px);
      z-index: 1001;
    }
    .nav-item:hover .nav-dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    .nav-dropdown a {
      display: block;
      padding: 0.75rem 1.5rem;
      color: var(--text-primary);
      text-decoration: none;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border-left: 3px solid transparent;
    }
    .nav-dropdown a:hover {
      background: var(--bg-secondary);
      color: var(--primary-blue);
      border-left-color: var(--primary-blue);
      transform: translateX(5px);
    }
    .nav-dropdown a.active {
      color: var(--primary-blue);
      background: var(--bg-secondary);
      border-left-color: var(--primary-blue);
    }
  }
  
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .theme-toggle {
    background: transparent;
    border: 2px solid var(--border-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
  }
  
  .theme-toggle:hover {
    border-color: var(--primary-blue);
    transform: scale(1.1);
  }
  
  .theme-toggle .sun-icon {
    display: block;
  }
  
  .theme-toggle .moon-icon {
    display: none;
  }
  
  [data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
  }
  
  [data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
  }
  
  .logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  .logo-image:hover {
    transform: scale(1.05);
  }
  
  .logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }
  
  .mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    transform: translateX(0);
  }
  
  .mobile-menu-content {
    padding: 2rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
  }
  
  .mobile-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .mobile-logo .logo-image {
    height: 24px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
  }
  
  .mobile-logo .logo-text {
    font-size: 1rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .mobile-menu-close:hover {
    background: var(--bg-secondary);
  }
  
  .mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
  }
  
  .mobile-menu-items li {
    margin-bottom: 0.5rem;
  }
  
  .mobile-menu-link {
    display: block;
    padding: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  
  .mobile-menu-link:hover {
    background: var(--bg-secondary);
    border-color: var(--border-accent);
    transform: translateX(8px);
  }
  
  .mobile-menu-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-primary);
  }
  
  .mobile-contact-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  .desktop-only {
    display: inline-flex;
  }
  
  /* =========================================
     6. HERO SECTION
     ========================================= */
  .hero {
    min-height: auto;
    display: flex;
    align-items: center;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(66, 133, 244, var(--hero-bg-opacity-1)) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(147, 52, 233, var(--hero-bg-opacity-2)) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 40% 40%,
        rgba(236, 72, 153, var(--hero-bg-opacity-3)) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 60% 80%,
        rgba(249, 115, 22, var(--hero-bg-opacity-4)) 0,
        transparent 50%
      ),
      linear-gradient(135deg, var(--bg-primary) 0, var(--bg-secondary) 100%);
    padding: 2rem 0 2rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(66, 133, 244, 0.03) 45deg,
      transparent 90deg
    );
    animation: rotate var(--animation-rotate-duration) linear infinite;
    pointer-events: none;
  }
  
  [data-theme="dark"] .hero::before {
    background: repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      rgba(96, 165, 250, 0.02) 45deg,
      transparent 90deg
    );
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 10%;
    width: var(--hero-after-size);
    height: var(--hero-after-size);
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: var(--hero-after-opacity);
    filter: blur(var(--hero-after-blur));
    animation: float var(--animation-float-duration) ease-in-out infinite;
    /* PERF: Hint browser to optimize this moving element */
    will-change: transform;
  }
  
  @keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(var(--animation-float-translate)) scale(var(--animation-float-scale)); }
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
  
  .hero-text h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
  }
  
  .hero-text .subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
  }
  
  .hero-text .tagline {
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--gemini-cyan), var(--gemini-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: "Fira Code", monospace;
    position: relative;
    z-index: 2;
  }
  
  .hero-text .tagline::before {
    content: "// ";
    color: var(--text-subtle);
  }
  
  /* Terminal Component */
  .terminal {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 1rem;
    font-family: "Fira Code", monospace;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    z-index: 2;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 400px;
    font-size: 0.75rem;
  }
  
  .terminal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.3;
  }
  
  .terminal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
  }
  
  .terminal-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
  }
  
  .terminal-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .terminal-btn.red { background: linear-gradient(135deg, #ef4444, #dc2626); }
  .terminal-btn.yellow { background: linear-gradient(135deg, #f59e0b, #d97706); }
  .terminal-btn.green { background: linear-gradient(135deg, #10b981, #059669); }
  
  .terminal-title {
    margin-left: auto;
    font-size: 13px;
    color: var(--text-muted);
    font-family: "Fira Code", monospace;
    background: linear-gradient(135deg, var(--gemini-purple), var(--gemini-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .terminal-content {
    color: var(--primary-blue);
    font-size: 0.75rem;
    line-height: 1.4;
    min-height: 150px;
    height: auto;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
  }
  
  .terminal-content .success { color: var(--terminal-success-color); }
  .terminal-content .warning { color: var(--gemini-orange); }
  .terminal-content .error { color: var(--gemini-pink); }
  .terminal-content .comment { color: var(--text-subtle); }
  
  .typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--gradient-primary);
    animation: blink 1s infinite, glow 2s ease-in-out infinite alternate;
  }
  
  @keyframes glow {
    from { box-shadow: 0 0 5px rgba(66, 133, 244, 0.5); }
    to { box-shadow: 0 0 20px rgba(66, 133, 244, 0.8); }
  }
  
  [data-theme="dark"] .typing-cursor {
    animation: blink 1s infinite, glow-dark 2s ease-in-out infinite alternate;
  }
  
  @keyframes glow-dark {
    from { box-shadow: 0 0 5px rgba(96, 165, 250, 0.5); }
    to { box-shadow: 0 0 20px rgba(96, 165, 250, 0.8); }
  }
  
  @keyframes blink {
    0%, 50% { opacity: 1; }
    100%, 51% { opacity: 0; }
  }
  
  /* =========================================
     7. FEATURE SECTIONS
     ========================================= */
  .how-it-works {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
  }
  
  .how-it-works::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 15% 30%,
        rgba(147, 52, 233, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(66, 133, 244, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .how-it-works::before {
    background: radial-gradient(
        circle at 15% 30%,
        rgba(168, 85, 247, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(96, 165, 250, 0.06) 0,
        transparent 50%
      );
  }
  
  .steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .step {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    z-index: 1;
  }
  
  .step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .step:hover::before { opacity: 1; }
  
  .step:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
  }
  
  .step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
  }
  
  .step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  .step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
  }
  
  .step p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.6;
  }
  
  /* Examples Section */
  .examples {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
  }
  
  .examples::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .examples::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .examples-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .example-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .example-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .example-card::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  }
  
  .example-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .example-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
  }
  
  .example-card h3::before {
    content: "class ";
    color: var(--gemini-pink);
    font-weight: 400;
  }
  
  .example-card h3::after {
    content: " {";
    color: var(--gemini-cyan);
  }
  
  [data-theme="dark"] .example-card h3::after {
    color: #10b981;
  }
  
  .example-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    position: relative;
  }
  
  .example-card p::before {
    content: "//";
    position: absolute;
    left: 0;
    color: var(--text-subtle);
    font-family: "Fira Code", monospace;
  }
  
  .example-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tech-tag {
    background: linear-gradient(
      135deg,
      rgba(66, 133, 244, 0.2),
      rgba(6, 182, 212, 0.2)
    );
    color: var(--primary-blue);
    border: 1px solid rgba(66, 133, 244, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: "Fira Code", monospace;
    transition: all 0.3s ease;
  }
  
  [data-theme="dark"] .tech-tag {
    background: linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.2),
      rgba(16, 185, 129, 0.2)
    );
    color: var(--primary-blue);
    border: 1px solid rgba(96, 165, 250, 0.3);
  }
  
  .tech-tag:hover {
    background: linear-gradient(
      135deg,
      rgba(66, 133, 244, 0.3),
      rgba(6, 182, 212, 0.3)
    );
    border-color: rgba(66, 133, 244, 0.5);
    transform: translateY(-2px);
  }
  
  [data-theme="dark"] .tech-tag:hover {
    background: linear-gradient(
      135deg,
      rgba(96, 165, 250, 0.3),
      rgba(16, 185, 129, 0.3)
    );
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: var(--shadow-md);
  }
  
  /* Contact Section */
  .contact {
    padding: 4rem 0;
    background: var(--bg-secondary);
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-xl);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
  }
  
  .form-group label::before {
    content: "const ";
    color: var(--gemini-pink);
  }
  
  .form-group label::after {
    content: " = ";
    color: var(--gemini-cyan);
  }
  
  [data-theme="dark"] .form-group label::after {
    color: #10b981;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--form-input-bg);
    border: 2px solid var(--border-secondary);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: "Fira Code", monospace;
  }
  
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: var(--text-subtle);
    font-family: Inter, sans-serif;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: 0;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--form-focus-shadow);
    background: var(--form-focus-bg);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .form-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideInDown 0.3s ease-out;
  }
  
  .form-message-success {
    background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.1),
      rgba(6, 182, 212, 0.1)
    );
    border: 2px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
  }
  
  [data-theme="dark"] .form-message-success {
    background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.2),
      rgba(6, 182, 212, 0.2)
    );
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
  }
  
  .form-message-error {
    background: linear-gradient(
      135deg,
      rgba(239, 68, 68, 0.1),
      rgba(245, 101, 101, 0.1)
    );
    border: 2px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
  }
  
  [data-theme="dark"] .form-message-error {
    background: linear-gradient(
      135deg,
      rgba(239, 68, 68, 0.2),
      rgba(245, 101, 101, 0.2)
    );
    border-color: rgba(239, 68, 68, 0.5);
    color: #f87171;
  }
  
  @keyframes slideInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* =========================================
     8. FOOTER
     ========================================= */
  footer {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-primary);
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
  }
  
  .footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
  }
  
  .footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .footer-section a:hover {
    color: var(--text-primary);
  }
  
  .footer-bottom {
    text-align: left;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-muted);
  }
  
  /* =========================================
     9. MEDIA QUERIES
     ========================================= */
  @media (max-width: 767px) {
    .container {
      padding-inline: 1rem;
    }
    .mobile-menu-toggle {
      display: flex;
    }
    .desktop-only {
      display: none;
    }
    .hero {
      padding: 1.5rem 0;
      margin-top: 60px;
    }
    .logo-image {
      height: 24px;
      max-width: 100px;
    }
    .logo-text {
      font-size: 1.25rem;
    }
    .hero-text h1 {
      font-size: 1.75rem;
    }
    .hero-text .subtitle {
      font-size: 0.9rem;
    }
    .hero-text .tagline {
      font-size: 0.8rem;
    }
    .terminal {
      max-width: 100%;
      padding: 0.75rem;
      font-size: 0.625rem;
    }
    .terminal-content {
      font-size: 0.625rem;
      min-height: 120px;
    }
    .section-title {
      font-size: 1.5rem;
    }
    .section-subtitle {
      font-size: 0.9rem;
    }
    .step {
      padding: 1.5rem;
    }
    .step-icon {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
    }
    .step h3 {
      font-size: 1.125rem;
    }
    .step p {
      font-size: 0.9rem;
    }
    .example-card {
      padding: 1.5rem;
    }
    .example-card h3 {
      font-size: 1.125rem;
    }
    .example-card p {
      font-size: 0.9rem;
    }
    .tech-tag {
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
    }
    .contact-form {
      padding: 1.5rem;
      margin: 0;
    }
    .contact,
    .examples,
    .how-it-works {
      padding: 3rem 0;
    }
  }
  
  @media (min-width: 768px) {
    .container {
      padding-inline: 2rem;
    }
    .hero {
      padding: 3rem 0;
      margin-top: 70px;
    }
    .hero-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      text-align: left;
      align-items: center;
    }
    .hero-text h1 {
      font-size: 2.5rem;
    }
    .hero-text .subtitle {
      font-size: 1.125rem;
    }
    .hero-text .tagline {
      font-size: 1rem;
    }
    .terminal {
      max-width: 350px;
      padding: 1rem;
      font-size: 0.875rem;
    }
    .terminal-content {
      font-size: 0.875rem;
      min-height: 150px;
    }
    .section-title {
      font-size: 2.25rem;
    }
    .section-subtitle {
      font-size: 1.125rem;
    }
    .steps {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }
    .step {
      padding: 2rem;
    }
    .step-icon {
      width: 70px;
      height: 70px;
      font-size: 1.8rem;
    }
    .step h3 {
      font-size: 1.25rem;
    }
    .step p {
      font-size: 1rem;
    }
    .examples-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
    .example-card {
      padding: 2rem;
    }
    .example-card h3 {
      font-size: 1.25rem;
    }
    .example-card p {
      font-size: 1rem;
    }
    .tech-tag {
      font-size: 0.875rem;
      padding: 0.375rem 0.75rem;
    }
    .contact-form {
      padding: 2.5rem;
      margin: 0 2rem;
    }
    .footer-content {
      flex-direction: row;
      justify-content: space-between;
    }
    .contact,
    .examples,
    .how-it-works {
      padding: 4rem 0;
    }
  }
  
  @media (min-width: 1024px) {
    .hero {
      padding: 4rem 0;
      margin-top: 80px;
    }
    .hero-content {
      gap: 4rem;
    }
    .hero-text h1 {
      font-size: 3rem;
    }
    .hero-text .subtitle {
      font-size: 1.25rem;
    }
    .hero-text .tagline {
      font-size: 1.125rem;
    }
    .terminal {
      max-width: 400px;
      padding: 1.5rem;
      font-size: 1rem;
    }
    .terminal-content {
      font-size: 1rem;
      min-height: 180px;
    }
    .section-title {
      font-size: 2.75rem;
    }
    .section-subtitle {
      font-size: 1.25rem;
    }
    .steps {
      gap: 3rem;
    }
    .step {
      padding: 2.5rem;
    }
    .step-icon {
      width: 80px;
      height: 80px;
      font-size: 2rem;
    }
    .step h3 {
      font-size: 1.5rem;
    }
    .step p {
      font-size: 1.125rem;
    }
    .examples-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }
    .example-card {
      padding: 2.5rem;
    }
    .example-card h3 {
      font-size: 1.5rem;
    }
    .example-card p {
      font-size: 1.125rem;
    }
    .tech-tag {
      font-size: 0.875rem;
      padding: 0.5rem 1rem;
    }
    .contact-form {
      padding: 3rem;
      margin: 0 4rem;
    }
    .contact,
    .examples,
    .how-it-works {
      padding: 5rem 0;
    }
  }
  
  @media (min-width: 1200px) {
    .hero-text h1 {
      font-size: 3.5rem;
    }
    .section-title {
      font-size: 3rem;
    }
    .contact,
    .examples,
    .how-it-works {
      padding: 6rem 0;
    }
  }
  
  /* Improved Reduced Motion Query */
  @media (prefers-reduced-motion: reduce) {
    *,
    ::after,
    ::before {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    
    /* Explicitly pause infinite animations */
    .hero::before, 
    .hero::after {
      animation-play-state: paused !important;
    }
  }
  
  @media (prefers-contrast: high) {
    /* 1. Configuración base para alto contraste (Modo Claro por defecto) */
    :root {
      --border-primary: #000000;
      --border-secondary: #000000;
      --text-muted: #000000;
    }
  
    /* 2. Sobrescritura para Modo Oscuro del Sistema */
    @media (prefers-color-scheme: dark) {
      :root {
        --border-primary: #ffffff;
        --border-secondary: #ffffff;
        --text-muted: #ffffff;
      }
    }
  
    /* 3. Sobrescritura para Modo Oscuro Manual (Botón) */
    [data-theme="dark"] {
      --border-primary: #ffffff;
      --border-secondary: #ffffff;
      --text-muted: #ffffff;
    }
  }
  
  @media (hover: none) and (pointer: coarse) {
    .btn {
      min-height: 48px;
      padding: 1rem 2rem;
    }
    .example-card,
    .step {
      cursor: default;
    }
    .example-card:hover,
    .step:hover {
      transform: none;
      box-shadow: var(--shadow-md);
    }
    .tech-tag {
      min-height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .theme-toggle {
      min-width: 48px;
      min-height: 48px;
    }
    .mobile-menu-toggle {
      min-width: 44px;
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
  
  /* =========================================
     10. ADDITIONAL SECTIONS
     ========================================= */
  .hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-buttons .btn {
    min-width: 140px;
  }
  
  .btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-accent);
    position: relative;
    overflow: hidden;
  }
  
  .btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.5s ease;
    z-index: -1;
  }
  
  .btn-secondary:hover::before {
    left: 0;
  }
  
  .btn-secondary:hover {
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
  }
  
  .features {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
  }
  
  .features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(66, 133, 244, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(147, 52, 233, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .features::before {
    background: radial-gradient(
        circle at 20% 80%,
        rgba(96, 165, 250, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(168, 85, 247, 0.06) 0,
        transparent 50%
      );
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .feature-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
  }
  
  .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .feature-card:hover::before {
    opacity: 1;
  }
  
  .feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
  }
  
  .feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
  }
  
  .feature-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.6;
  }
  
  .technologies {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
  }
  
  .technologies::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .technologies::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .technology-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .technology-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .technology-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .technology-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
  }
  
  .technology-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .functionality {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
  }
  
  .functionality::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 15% 30%,
        rgba(147, 52, 233, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(66, 133, 244, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .functionality::before {
    background: radial-gradient(
        circle at 15% 30%,
        rgba(168, 85, 247, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(96, 165, 250, 0.06) 0,
        transparent 50%
      );
  }
  
  .functionality-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .functionality-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
  }
  
  .functionality-item.reverse {
    grid-template-columns: 1fr 1fr;
  }
  
  .functionality-item.reverse .functionality-content {
    order: 2;
  }
  
  .functionality-item.reverse .functionality-image {
    order: 1;
  }
  
  .functionality-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .functionality-item:hover::before {
    opacity: 1;
  }
  
  .functionality-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
  }
  
  .functionality-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
  }
  
  .functionality-content p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.6;
  }
  
  .functionality-image {
    position: relative;
    z-index: 1;
    text-align: center;
  }
  
  .functionality-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
  }
  
  .improvements {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
  }
  
  .improvements::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .improvements::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .improvements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .improvement-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .improvement-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .improvement-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .improvement-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .improvement-card p {
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
  }
  
  .contact-info {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
  }
  
  .contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .contact-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
  }
  
  .contact-icon {
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
  }
  
  .contact-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .terminal-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    align-items: center;
  }
  
  .project-description {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
  }
  
  .project-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 15% 30%,
        rgba(147, 52, 233, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(66, 133, 244, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .project-description::before {
    background: radial-gradient(
        circle at 15% 30%,
        rgba(168, 85, 247, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(96, 165, 250, 0.06) 0,
        transparent 50%
      );
  }
  
  .project-description-content {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
  }
  
  .project-description-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .project-description-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
  }
  
  .description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .description-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .description-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .description-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .description-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
  }
  
  .description-card p {
    color: var(--text-secondary);
    line-height: 1.6;
  }
  
  .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .tech-grid .technology-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .tech-grid .technology-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .tech-grid .technology-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .tech-grid .technology-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
  }
  
  .tech-grid .technology-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .functionality-content {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
  }
  
  .functionality-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .functionality-content:hover::before {
    opacity: 1;
  }
  
  .functionality-content:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
  }
  
  .functionality-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    font-weight: 700;
  }
  
  .functionality-content p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    line-height: 1.6;
  }
  
  .screenshots {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
  }
  
  .screenshots::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .screenshots::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .screenshot-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .screenshot-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .screenshot-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }
  
  .screenshot-card h3 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
  }
  
  .screenshot-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .download-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
  }
  
  .download-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 15% 30%,
        rgba(147, 52, 233, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(66, 133, 244, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .download-section::before {
    background: radial-gradient(
        circle at 15% 30%,
        rgba(168, 85, 247, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 85% 70%,
        rgba(96, 165, 250, 0.06) 0,
        transparent 50%
      );
  }
  
  .download-content {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
    z-index: 1;
  }
  
  .download-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .download-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.1rem;
  }
  
  .download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .commands-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
  }
  
  .commands-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .commands-section::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .command-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .command-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .command-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .command-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    font-family: "Fira Code", monospace;
  }
  
  .command-card .command {
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 1rem;
    font-family: "Fira Code", monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
  }
  
  .command-card .command::before {
    content: "$ ";
    color: var(--gemini-cyan);
    font-weight: 700;
  }
  
  .command-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  @media (max-width: 767px) {
    .hero-buttons {
      flex-direction: column;
      align-items: center;
    }
    .hero-buttons .btn {
      width: 100%;
      max-width: 300px;
    }
    .commands-grid,
    .description-grid,
    .features-grid,
    .improvements-grid,
    .screenshots-grid,
    .tech-grid,
    .technologies-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .functionality-item {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .functionality-item.reverse {
      grid-template-columns: 1fr;
    }
    .functionality-item.reverse .functionality-content,
    .functionality-item.reverse .functionality-image {
      order: unset;
    }
    .contact-content {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .download-buttons {
      flex-direction: column;
      align-items: center;
    }
    .download-buttons .btn {
      width: 100%;
      max-width: 300px;
    }
    .command-card,
    .description-card,
    .feature-card,
    .improvement-card,
    .screenshot-card,
    .technology-card {
      padding: 1.5rem;
    }
    .functionality-item {
      padding: 1.5rem;
    }
    .contact-info {
      padding: 1.5rem;
    }
    .download-content,
    .project-description-content {
      padding: 1.5rem;
    }
  }
  
  @media (min-width: 768px) {
    .features-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .technologies-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .improvements-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .screenshots-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .commands-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .description-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .tech-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media (min-width: 1024px) {
    .features-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .technologies-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    .improvements-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .screenshots-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .commands-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .description-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .tech-grid {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  
  .process-section {
    position: relative;
    padding: 80px 0;
    background: var(--bg-secondary);
    overflow: hidden;
  }
  
  .process-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 20% 80%,
        rgba(66, 133, 244, 0.1) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 80% 20%,
        rgba(147, 52, 233, 0.1) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 40% 40%,
        rgba(236, 72, 153, 0.05) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  .process-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-primary);
  }
  
  .process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-accent);
  }
  
  .process-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      135deg,
      rgba(66, 133, 244, 0.02) 0,
      rgba(147, 52, 233, 0.02) 50%,
      rgba(236, 72, 153, 0.02) 100%
    );
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .process-step:hover::before {
    opacity: 1;
  }
  
  .step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
  }
  
  .step-number::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
  }
  
  .step-content {
    flex: 1;
    position: relative;
    z-index: 2;
  }
  
  .step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .step-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    position: relative;
  }
  
  .typing-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
  }
  
  @keyframes typing {
    from { width: 0; }
    to { width: 100%; }
  }
  
  @keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-blue); }
  }
  
  .code-icon {
    font-size: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  }
  
  .step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
  }
  
  .code-snippet {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-secondary);
    border-radius: 8px;
    padding: 20px;
    font-family: Monaco, Menlo, "Ubuntu Mono", monospace;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
  }
  
  .code-snippet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
  }
  
  .code-snippet .comment {
    color: var(--text-muted);
    font-style: italic;
  }
  
  .code-snippet .keyword {
    color: #d73a49;
    font-weight: 600;
  }
  
  .code-snippet .variable {
    color: #6f42c1;
    font-weight: 500;
  }
  
  .code-snippet .function {
    color: #6f42c1;
    font-weight: 600;
  }
  
  .code-snippet .type {
    color: #e36209;
    font-weight: 600;
  }
  
  .code-snippet .property {
    color: #005cc5;
    font-weight: 500;
  }
  
  .code-snippet .string {
    color: #032f62;
  }
  
  @media (max-width: 767px) {
    .process-section {
      padding: 60px 0;
    }
    .process-step {
      flex-direction: column;
      gap: 20px;
      padding: 25px;
    }
    .step-number {
      width: 50px;
      height: 50px;
      font-size: 18px;
    }
    .step-header h3 {
      font-size: 20px;
    }
    .code-snippet {
      font-size: 12px;
      padding: 15px;
    }
  }
  
  @media (min-width: 768px) {
    .process-step {
      padding: 40px;
    }
    .step-number {
      width: 70px;
      height: 70px;
      font-size: 22px;
    }
  }
  
  @media (min-width: 1024px) {
    .process-timeline {
      gap: 50px;
    }
    .process-step {
      padding: 50px;
    }
  }
  
  /* Portfolio Carousel Styles */
  .portfolio-carousel {
    padding: 4rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
  }
  
  .portfolio-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.08) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.08) 0,
        transparent 50%
      );
    pointer-events: none;
  }
  
  [data-theme="dark"] .portfolio-carousel::before {
    background: radial-gradient(
        circle at 25% 75%,
        rgba(236, 72, 153, 0.06) 0,
        transparent 50%
      ),
      radial-gradient(
        circle at 75% 25%,
        rgba(249, 115, 22, 0.06) 0,
        transparent 50%
      );
  }
  
  .carousel-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
    padding: 0 1rem;
  }
  
  .carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    /* PERF: GPU Acceleration for smoother sliding */
    will-change: transform;
  }
  
  .carousel-card {
    flex: 0 0 350px;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .carousel-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .carousel-card:hover::before {
    opacity: 1;
  }
  
  .carousel-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
  }
  
  .carousel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  
  .carousel-card-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
    margin: 0;
    position: relative;
    z-index: 1;
  }
  
  .carousel-card-header h3::before {
    content: "class ";
    color: var(--gemini-pink);
    font-weight: 400;
  }
  
  .carousel-card-header h3::after {
    content: " {";
    color: var(--gemini-cyan);
  }
  
  [data-theme="dark"] .carousel-card-header h3::after {
    color: #10b981;
  }
  
  .project-status {
    background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.2),
      rgba(6, 182, 212, 0.2)
    );
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: "Fira Code", monospace;
    position: relative;
    z-index: 1;
  }
  
  [data-theme="dark"] .project-status {
    background: linear-gradient(
      135deg,
      rgba(16, 185, 129, 0.3),
      rgba(6, 182, 212, 0.3)
    );
    border-color: rgba(16, 185, 129, 0.5);
    color: #34d399;
  }
  
  .carousel-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
  }
  
  .carousel-card p::before {
    content: "//";
    position: absolute;
    left: 0;
    color: var(--text-subtle);
    font-family: "Fira Code", monospace;
  }
  
  .carousel-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
  }
  
  .carousel-actions {
    position: relative;
    z-index: 1;
  }
  
  @media (max-width: 767px) {
    .carousel-container {
      padding: 0 0.5rem;
    }
    .carousel-card {
      flex: 0 0 300px;
      padding: 1.5rem;
    }
    .carousel-card-header h3 {
      font-size: 1.125rem;
    }
    .carousel-card p {
      font-size: 0.9rem;
    }
  }
  
  @media (min-width: 768px) {
    .carousel-container {
      padding: 0 2rem;
    }
    .carousel-card {
      flex: 0 0 400px;
      padding: 2rem;
    }
  }
  
  @media (min-width: 1024px) {
    .carousel-container {
      padding: 0 4rem;
    }
    .carousel-card {
      flex: 0 0 450px;
      padding: 2.5rem;
    }
  }
  
  /* Pricing Page Specific Styles */
  .price-info {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-secondary);
  }
  
  .price-range {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .price-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .price-features li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .price-monthly {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 1rem 0;
    text-align: center;
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }
  
  .feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .carousel-actions {
    margin-top: 1.5rem;
  }
  
  .carousel-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-md);
  }
  
  .price-card {
    position: relative;
    overflow: hidden;
  }
  
  .price-card.popular {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-glow);
  }
  
  .price-card.popular::before {
    opacity: 0.1;
  }
  
  .price-comparison {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
  }
  
  .price-comparison h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
  }
  
  .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-secondary);
  }
  
  .comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .comparison-table td {
    color: var(--text-secondary);
  }
  
  .comparison-table .check {
    color: #10b981;
    font-weight: 700;
  }
  
  .comparison-table .cross {
    color: var(--gemini-pink);
    font-weight: 700;
  }
  
  /* Wide card for advanced solutions */
  .wide-card {
    grid-column: 1/-1;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .wide-card .carousel-tech {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .wide-card .price-features ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
  }
  
  /* FAQ List Styles */
  .faq-list {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    margin-bottom: 1rem;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .faq-item:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
  }
  
  .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .faq-question:hover {
    background: var(--bg-secondary);
  }
  
  .faq-question h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
  }
  
  .faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: all 0.3s ease;
  }
  
  .faq-item.active .faq-toggle {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
  }
  
  .faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
  }
  
  @media (max-width: 767px) {
    .price-range {
      font-size: 1.25rem;
    }
    .price-monthly {
      font-size: 1.125rem;
    }
    .comparison-table {
      font-size: 0.875rem;
    }
    .comparison-table th,
    .comparison-table td {
      padding: 0.75rem;
    }
    .faq-item {
      padding: 1rem;
    }
    .faq-item h3 {
      font-size: 1.125rem;
    }
  }
  
  /* Features Compact Styles */
  .features-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 12px 12px 0 0;
  }
  
  .feature-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg);
  }
  
  .feature-bullet {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
  }
  
  .feature-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
  }
  
  /* Competitive Advantage Styles */
  .competitive-advantage {
    margin-top: 3rem;
    text-align: center;
  }
  
  .advantage-card {
    background: var(--gradient-card);
    border: 2px solid var(--border-accent);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .advantage-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.4s ease;
  }
  
  .advantage-card:hover::before {
    opacity: 0.2;
  }
  
  .advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
  }
  
  .advantage-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
  }
  
  .advantage-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
  }
  
  @media (max-width: 767px) {
    .features-compact {
      gap: 0.75rem;
      margin-top: 1.5rem;
    }
    .feature-item {
      padding: 1.25rem;
    }
    .feature-text {
      font-size: 0.9rem;
    }
    .advantage-card {
      padding: 2rem;
      margin: 0 1rem;
    }
    .advantage-card h3 {
      font-size: 1.5rem;
    }
    .advantage-card p {
      font-size: 1rem;
    }
  }
  
  /* Project Pages Specific Styles */
  .project-showcase {
    position: relative;
    z-index: 2;
    text-align: center;
  }
  
  .project-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
  }
  
  .project-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-xl);
  }
  
  .tech-item {
    background: var(--gradient-card);
    border: 2px solid var(--border-secondary);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  
  .tech-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
  }
  
  .tech-item:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-xl);
  }
  
  .tech-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .tech-item:hover .tech-icon {
    transform: scale(1.1);
  }
  
  .tech-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: "Fira Code", monospace;
  }
  
  .tech-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .functionality-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .functionality-item li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
  }
  
  .functionality-item li::before {
    content: "âœ“";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
  }
  
  .functionality-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
  }
  
  @media (max-width: 767px) {
    .tech-item {
      padding: 1.25rem;
    }
    .tech-icon {
      width: 40px;
      height: 40px;
    }
    .tech-item h3 {
      font-size: 1rem;
    }
    .tech-item p {
      font-size: 0.85rem;
    }
    .functionality-item h3 {
      font-size: 1.125rem;
    }
    .functionality-item li {
      font-size: 0.9rem;
    }
  }
