/* ==========================================================================
   CSS SYSTEM - MOSQUITEROS EXPRESS PREMIUM (2026 REDESIGN)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&family=Outfit:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap');

/* Declare Cascade Layers for clean specificity management */
@layer reset, base, theme, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
}

@layer base {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    color-scheme: dark;
  }

  body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    
    /* Cyber Grid Mesh Background Pattern ( Mosquito Net Vibe ) */
    background-image: 
      linear-gradient(rgba(0, 240, 255, 0.012) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 240, 255, 0.012) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center top;
  }

  /* Custom Premium Scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--bg-dark);
  }
  ::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-full);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.6);
    box-shadow: 0 0 10px var(--primary);
  }

  /* Custom Text Selection */
  ::selection {
    background-color: rgba(var(--secondary-rgb), 0.3);
    color: #ffffff;
  }

  /* Typography */
  h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(var(--primary-rgb), 0.15);
  }

  h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    background: linear-gradient(135deg, #ffffff 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(var(--secondary-rgb), 0.1);
    margin-bottom: 1rem;
  }

  h3 {
    font-family: var(--font-sub);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    color: #ffffff;
    font-weight: 600;
  }

  h4 {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
  }

  p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    text-wrap: pretty;
  }

  a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  button {
    font-family: var(--font-sub);
  }
}

@layer theme {
  :root {
    /* Tier 1: Literal Design Tokens (Cyber Dark theme base) */
    --bg-dark: #050811;
    --bg-card: rgba(11, 16, 27, 0.5);
    --bg-card-hover: rgba(16, 24, 40, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 240, 255, 0.25);
    
    /* Tier 2: Color Variables */
    --primary: #ff6600; /* Neon Orange */
    --primary-hover: #ff8000;
    --primary-rgb: 255, 102, 0;
    
    --secondary: #00f0ff; /* Electric Cyan */
    --secondary-hover: #33f3ff;
    --secondary-rgb: 0, 240, 255;
    
    --accent-violet: #bd00ff; /* Electric Violet */
    --accent-violet-rgb: 189, 0, 255;
    
    /* WhatsApp Color */
    --accent-wa: #25d366;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Fonts */
    --font-title: 'Orbitron', sans-serif;
    --font-sub: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Sizes */
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Ambient Blur Glow Shadow */
    --neon-glow-primary: 0 0 15px rgba(255, 102, 0, 0.3);
    --neon-glow-secondary: 0 0 15px rgba(0, 240, 255, 0.3);
  }

  /* Custom Theme "Cyber" (Purple & Mint-Green Accent variant) */
  [data-theme="cyber"] {
    --primary: #bd00ff; /* Electric Violet */
    --primary-hover: #d033ff;
    --primary-rgb: 189, 0, 255;
    
    --secondary: #00ffaa; /* Neon Mint */
    --secondary-hover: #33ffbb;
    --secondary-rgb: 0, 255, 170;
    
    --accent-violet: #00f0ff;
    --bg-dark: #090613;
    --bg-card: rgba(22, 13, 35, 0.5);
    --bg-card-hover: rgba(30, 18, 48, 0.7);
  }

  /* Spatial Glow Blobs (Static decoration) */
  .glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.12;
    transition: background 0.8s ease;
  }
  
  .glow-blob-1 {
    top: 5%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  }
  
  .glow-blob-2 {
    top: 40%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  }
  
  .glow-blob-3 {
    bottom: 10%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  }
}

@layer components {
  /* Layout utilities */
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .section-padding {
    padding: 7rem 0;
  }

  .text-center {
    text-align: center;
  }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.85rem;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
  }

  .btn-outline {
    background: transparent;
    border-color: rgba(var(--secondary-rgb), 0.5);
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(var(--secondary-rgb), 0.05);
  }

  .btn-outline:hover {
    border-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.25);
    transform: translateY(-2px);
  }

  .btn-wa {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn-wa:hover {
    background: linear-gradient(135deg, #2ae870 0%, #15a494 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 0 15px rgba(37, 211, 102, 0.2);
    transform: translateY(-3px);
  }

  /* Glassmorphism Panel styles */
  .glass-card, .service-card, .faq-item, .contact-form-wrapper, .bento-item {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.4s ease;
  }

  /* Mouse Glow Border (Cursor Glow Effect) */
  .glass-card::before, .service-card::before, .bento-item::before, .contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
      450px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(255, 255, 255, 0.08),
      transparent 50%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .glass-card:hover::before, .service-card:hover::before, .bento-item:hover::before, .contact-form-wrapper:hover::before {
    opacity: 1;
  }

  .glass-card:hover, .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(var(--secondary-rgb), 0.18);
    border-color: rgba(var(--secondary-rgb), 0.35);
  }

  .glass-card {
    padding: 2.5rem;
  }

  /* Header & Navigation */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 8, 17, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s;
  }

  header.scrolled {
    background: rgba(5, 8, 17, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 
                0 1px 0 rgba(var(--secondary-rgb), 0.1);
    border-bottom: 1px solid rgba(var(--secondary-rgb), 0.15);
  }

  header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: -0.01em;
  }

  .logo-img {
    height: 44px;
    width: auto;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
  }

  nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
  }

  .nav-link {
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
  }

  .nav-link:hover, .nav-link.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.3);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
    transition: width 0.3s ease;
  }

  .nav-link:hover::after, .nav-link.active::after {
    width: 100%;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
  }

  /* Theme Toggle Button */
  .theme-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .theme-toggle:hover {
    background: rgba(var(--secondary-rgb), 0.1);
    border-color: var(--secondary);
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.3);
    transform: rotate(15deg);
  }

  /* Menu button for mobile */
  .menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0.5rem;
  }

  .menu-btn-icon {
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    display: block;
    position: relative;
    transition: all 0.3s ease;
  }

  .menu-btn-icon::before,
  .menu-btn-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
  }

  .menu-btn-icon::before { top: -8px; }
  .menu-btn-icon::after { bottom: -8px; }

  .menu-btn.open .menu-btn-icon { background-color: transparent; }
  .menu-btn.open .menu-btn-icon::before { transform: rotate(45deg); top: 0; }
  .menu-btn.open .menu-btn-icon::after { transform: rotate(-45deg); bottom: 0; }

  /* Reading Progress Bar */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
  }

  /* Hero Section */
  .hero {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  /* Canvas Particle Grid Background */
  .hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero .container {
    position: relative;
    z-index: 1;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-tag {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-title);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.05);
  }

  .hero-title span {
    color: var(--secondary);
    position: relative;
    display: inline-block;
  }

  .hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(var(--secondary-rgb), 0.15);
    z-index: -1;
  }

  .hero-subtitle {
    margin-bottom: 1rem;
  }

  .hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
  }

  .hero-microcopy {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 2px solid var(--primary);
    padding-left: 0.8rem;
  }

  .hero-visual {
    position: relative;
    width: 100%;
  }

  .hero-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(var(--primary-rgb), 0.15);
    border: 1px solid var(--border-color);
    aspect-ratio: 1.05 / 1;
    position: relative;
  }

  .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .hero-img-wrapper:hover .hero-img {
    transform: scale(1.04);
  }

  .hero-badge {
    position: absolute;
    bottom: 2rem;
    left: -2.5rem;
    background: rgba(11, 16, 27, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(var(--secondary-rgb), 0.25);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                0 0 15px rgba(var(--secondary-rgb), 0.1);
    max-width: 300px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
  }

  @keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
  }

  .hero-badge-icon {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
  }

  .hero-badge-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
  }

  .hero-badge-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
  }

  /* Features/Beneficios Section */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4.5rem;
  }

  .feature-card {
    text-align: left;
  }

  .feature-icon-wrapper {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5);
    transform: scale(1.08) rotate(5deg);
  }

  /* Comparison (Problem/Solution) */
  .comparison {
    background-color: #060911;
    position: relative;
    z-index: 1;
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-top: 4.5rem;
  }

  .comparison-card {
    background: rgba(11, 16, 27, 0.35);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
  }

  .card-problem::before {
    background-color: #ef4444;
    box-shadow: 0 0 10px #ef4444;
  }

  .card-solution::before {
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
  }

  .card-problem:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(239, 68, 68, 0.1);
    transform: translateY(-4px);
  }

  .card-solution:hover {
    border-color: rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 25px rgba(var(--secondary-rgb), 0.15);
    transform: translateY(-4px);
  }

  .comparison-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-title);
  }

  .card-problem .comparison-tag {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
  }

  .card-solution .comparison-tag {
    background: rgba(var(--secondary-rgb), 0.1);
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    color: var(--secondary);
  }

  .comparison-list {
    list-style: none;
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .comparison-list li svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
  }

  .comparison-list li span {
    color: var(--text-secondary);
  }

  /* Bento Grid (Tipos de Mosquiteros) */
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
    margin-top: 4.5rem;
  }

  .bento-item {
    display: flex;
    flex-direction: column;
    z-index: 2;
  }

  .bento-col-2 {
    grid-column: span 2;
  }

  .bento-row-2 {
    grid-row: span 2;
  }

  .bento-img-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .bento-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5, 8, 17, 0.9) 0%, rgba(5, 8, 17, 0.45) 50%, rgba(5, 8, 17, 0.15) 100%);
    z-index: 1;
  }

  .bento-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .bento-item:hover .bento-img-container img {
    transform: scale(1.05);
  }

  .bento-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .bento-content h3 {
    margin-bottom: 0.2rem;
  }

  .bento-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
  }

  .bento-text-only {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 0.8rem;
    position: relative;
    z-index: 2;
  }

  .bento-ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }

  .bento-ul li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
  }

  .bento-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 
                0 0 25px rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.35);
  }

  /* Services Grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4.5rem;
  }

  .service-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .service-icon {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
  }

  .service-card:hover .service-icon {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.4);
    transform: scale(1.05);
  }

  /* Work Process Section (Timeline) */
  .timeline {
    position: relative;
    max-width: 1000px;
    margin: 5rem auto 0 auto;
    padding: 1rem 0;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(var(--secondary-rgb), 0.25) 50%, transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(var(--primary-rgb), 0.2);
  }

  .timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3.5rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
  }

  .timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
  }

  .timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
  }

  .timeline-dot {
    position: absolute;
    top: 2.5rem;
    left: 100%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 10px var(--primary);
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.4s ease;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
  }

  .timeline-item:hover .timeline-dot {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: var(--secondary);
    box-shadow: 0 0 12px var(--secondary);
  }

  .timeline-num {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    -webkit-text-stroke: 1px rgba(var(--primary-rgb), 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
  }

  .timeline-item:hover .timeline-num {
    color: rgba(var(--secondary-rgb), 0.05);
    -webkit-text-stroke: 1px var(--secondary);
  }

  /* Coverage radar and zones */
  .coverage-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: center;
    margin-top: 4.5rem;
  }

  .zones-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-top: 2rem;
  }

  .zone-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.35rem;
    font-family: var(--font-sub);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .zone-tag:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
    transform: translateX(5px);
  }

  .coverage-visual {
    position: relative;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.08) 0%, transparent 70%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
  }

  .coverage-map-mock {
    width: 100%;
    height: 320px;
    background-color: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  }

  /* Tech Radar Sweep animation */
  .map-radar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(var(--primary-rgb), 0.1);
    position: relative;
    animation: radarPulse 3.5s infinite linear;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .map-radar::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
  }

  @keyframes radarPulse {
    0% { 
      transform: scale(0.6); 
      opacity: 0.9; 
      box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.3),
                  inset 0 0 0 0 rgba(var(--primary-rgb), 0.3); 
    }
    100% { 
      transform: scale(2.4); 
      opacity: 0; 
      box-shadow: 0 0 0 40px transparent,
                  inset 0 0 0 40px transparent; 
    }
  }

  .coverage-text-overlay {
    margin-top: 1.5rem;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3);
  }

  /* FAQ Accordion Section */
  .faq-accordion {
    max-width: 800px;
    margin: 4.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  .faq-item {
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .faq-header {
    padding: 1.6rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
  }

  .faq-header h3 {
    font-size: 1.08rem;
    margin-bottom: 0;
    transition: color 0.3s;
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), color 0.4s ease;
  }

  .faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2.2rem;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                padding 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .faq-content p {
    padding-bottom: 1.6rem;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Active states for FAQs */
  .faq-item.active {
    border-color: rgba(var(--secondary-rgb), 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 
                0 0 15px rgba(var(--secondary-rgb), 0.08);
  }

  .faq-item.active .faq-header h3 {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.2);
  }

  .faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--secondary);
  }

  /* Contact Form Section */
  .contact {
    background-color: #050811;
    position: relative;
    z-index: 1;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4.5rem;
    align-items: flex-start;
    margin-top: 4.5rem;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
  }

  .contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .contact-meta-item {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .contact-meta-icon {
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
  }

  .contact-meta-text h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-family: var(--font-title);
  }

  .contact-meta-text p {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 500;
  }

  .contact-form-wrapper {
    padding: 3rem;
  }

  .form-group {
    margin-bottom: 1.6rem;
  }

  .form-label {
    display: block;
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
  }

  .form-input, .form-textarea, .form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 0.9rem 1.35rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .form-select option {
    background-color: #0b0f19;
    color: #ffffff;
  }

  .form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.3);
    transform: scale(1.005);
  }

  .form-textarea {
    min-height: 130px;
    resize: vertical;
  }

  /* Form Feedback animations */
  .form-feedback {
    display: none;
    padding: 1.1rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    margin-bottom: 1.6rem;
    font-weight: 500;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s allow-discrete;
  }

  .form-feedback.success {
    background-color: rgba(37, 211, 102, 0.1);
    border: 1px solid var(--accent-wa);
    color: #a7f3d0;
  }

  .form-feedback.error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
  }

  .form-feedback.show {
    display: block;
    opacity: 1;
    transform: scale(1);
  }

  @starting-style {
    .form-feedback.show {
      opacity: 0;
      transform: scale(0.95);
    }
  }

  /* Floating WhatsApp Button */
  .wa-float {
    position: fixed;
    bottom: 2.2rem;
    right: 2.2rem;
    width: 58px;
    height: 58px;
    background: radial-gradient(circle at 30% 30%, #29e872 0%, #15bb55 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(21, 187, 85, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .wa-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(21, 187, 85, 0.65);
  }

  .wa-float-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent-wa);
    opacity: 0.35;
    z-index: -1;
    animation: waPulse 2s infinite ease-out;
  }

  @keyframes waPulse {
    0% { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(1.75); opacity: 0; }
  }

  /* Footer Section */
  footer {
    background-color: #03050a;
    color: var(--text-secondary);
    padding: 6rem 0 2.5rem 0;
    border-top: 1px solid var(--border-color);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 0.8fr 1.15fr;
    gap: 3.5rem;
    margin-bottom: 5rem;
  }

  .footer-col h4 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 1.8rem;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .footer-links a {
    color: var(--text-secondary);
  }

  .footer-links a:hover {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(var(--secondary-rgb), 0.3);
    padding-left: 4px;
  }

  .footer-seo-text {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
  }

  .footer-bottom p a {
    color: var(--primary);
    font-weight: 500;
  }

  .footer-bottom p a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(var(--primary-rgb), 0.3);
  }

  .footer-legal-links {
    display: flex;
    gap: 1.8rem;
  }

  .footer-legal-links a {
    color: var(--text-secondary);
  }

  .footer-legal-links a:hover {
    color: #ffffff;
  }
}

@layer utilities {
  /* Native Scroll-Driven Animations (2026 Baseline YYYY standard) */
  @media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
      @keyframes reveal-up {
        from {
          opacity: 0;
          transform: translateY(50px) scale(0.96);
        }
        to {
          opacity: 1;
          transform: translateY(0) scale(1);
        }
      }
      
      .scroll-reveal {
        animation: reveal-up auto linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
      }
    }
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1150px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-microcopy {
    border-left: none;
    border-top: 2px solid var(--primary);
    padding-left: 0;
    padding-top: 0.8rem;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-badge {
    left: -1.5rem;
    bottom: 1.5rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }

  .bento-col-2 {
    grid-column: span 2;
  }

  .bento-row-2 {
    grid-row: span 2;
  }

  .timeline::before {
    left: 2rem;
  }

  .timeline-item {
    width: 100%;
    padding-left: 5rem;
    padding-right: 2rem;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 2rem !important;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  /* Mobile drawer navigation styling using starting-style */
  nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(5, 8, 17, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 4rem 2rem;
    gap: 2rem;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s allow-discrete;
  }

  nav.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  @starting-style {
    nav.open {
      opacity: 0;
      transform: translateY(-20px);
    }
  }

  .menu-btn {
    display: block;
  }

  .nav-link {
    font-size: 1.25rem;
    width: 100%;
    text-align: center;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1.5rem;
    gap: 1.2rem;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .theme-toggle {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-col-2 {
    grid-column: span 1;
  }

  .bento-row-2 {
    grid-row: span 1;
  }

  .bento-item {
    min-height: 280px;
  }

  .bento-img-container {
    position: relative;
    height: 200px;
  }

  .bento-content {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
  }

  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .zones-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
