/* === conversion.css — page-specific styles === */

:root {
      --color-bg: #0f1419;
      --color-surface: #1a2236;
      --color-text: #e8e6e1;
      --color-primary: #22d3ee;
      --color-secondary: #a78bfa;
      --color-accent1: #06b6d4;
      --color-accent2: #7c3aed;
    }
    * { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; height: 100%; }
    body { font-family: 'Outfit', sans-serif; }
    .font-display { font-family: 'Syne', sans-serif; }
    
    .gradient-text {
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 700;
    }
    
    h1, h2, h3, h4, h5, h6 {
      letter-spacing: -0.02em;
      font-weight: 700;
      line-height: 1.2;
    }
    
    p {
      line-height: 1.6;
      letter-spacing: 0px;
      font-size: 1rem;
    }
    
    .nav-link {
      position: relative;
      transition: color 0.3s ease;
      color: #9ca3af;
    }
    .nav-link:hover {
      color: white;
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
      transition: width 0.3s ease;
    }
    .nav-link:hover::after {
      width: 100%;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--color-primary) 0%, #06b6d4 100%);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      color: #0f1419;
      font-weight: 600;
    }
    .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: scale(1.05);
      box-shadow: 0 10px 40px -10px rgba(34, 211, 238, 0.5);
    }
    
    .pattern-bg {
      background-color: #0f1419;
      background-image: 
        radial-gradient(circle at 25% 25%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
    }
    
    .mobile-menu {
      transform: translateX(100%);
      transition: transform 0.3s ease;
    }
    .mobile-menu.active {
      transform: translateX(0);
    }

    @keyframes slideInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(20px); }
    }

    .policy-section {
      animation: slideInUp 0.6s ease-out both;
    }

    /* ===== MOBILE FIXES ===== */
    
    /* Prevent horizontal overflow on all pages */
    html {
      overflow-x: hidden;
      max-width: 100vw;
    }
    
    /* Touch-friendly tap targets */
    a, button, [onclick] {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
    }
    
    /* Carousel: add touch scroll fallback on mobile */
    @media (max-width: 768px) {
      .carousel-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
      }
      .carousel-container::-webkit-scrollbar { display: none; }
      .carousel-track {
        animation: none !important;
        display: flex;
        width: max-content;
      }
      .testimonial-card {
        flex: 0 0 85vw;
        min-width: 85vw;
        scroll-snap-align: start;
      }
      
      /* Badges scroll on mobile too */
      .badges-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .badges-container::-webkit-scrollbar { display: none; }
      .badges-track {
        animation: none !important;
        display: flex;
        gap: 1rem;
        width: max-content;
        padding-bottom: 4px;
      }
      
      /* Reduce section vertical padding on mobile */
      section { padding-top: 3rem !important; padding-bottom: 3rem !important; }
      
      /* Framework cards: single column on mobile */
      .framework-card { margin-bottom: 1rem; }
      
      /* Stat numbers: prevent overflow */
      .stat-number { font-size: 1.5rem !important; }
      
      /* Fix nav height on mobile */
      nav .h-20 { height: 4rem; }
      
      /* Hero: remove min-h-screen on mobile for faster LCP */
      #home { min-height: auto !important; padding-top: 2rem; }
    }
    
    /* Improve touch targets for FAQ items */
    .faq-item .p-5 {
      padding: 1.25rem;
      cursor: pointer;
    }
    
    /* Swipe hint on carousel for mobile */
    @media (max-width: 768px) {
      .carousel-container::after {
        content: '← Swipe →';
        display: block;
        text-align: center;
        color: rgba(255,255,255,0.3);
        font-size: 0.75rem;
        padding-top: 0.5rem;
      }
    }
    /* ===== END MOBILE FIXES ===== */