/* ============================================
   FRIENTA LANDING PAGE - MODERN CSS
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Primary Colors - Matching Flutter App Theme */
    --color-primary: #14B8A6;        /* Teal */
    --color-primary-dark: #0F766E;   /* Deep teal */
    --color-primary-light: #5EEAD4;  /* Light teal */
    --color-secondary: #F97316;      /* Orange */
    --color-accent: #F59E0B;         /* Gold */
    
    /* Semantic Colors */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    
    /* Neutrals */
    --color-white: #FFFFFF;
    --color-paper: #FAFAFA;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;
    --color-charcoal: #424242;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #5EEAD4 100%);
    --gradient-warm: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
    --gradient-text: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Typography */
    --font-display: 'Nunito', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Font Sizes - Fluid */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 4.5rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Borders */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px -10px var(--color-primary);
    --shadow-glow-lg: 0 0 60px -15px var(--color-primary);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-800);
    border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-xl {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-primary);
    transition: opacity var(--transition-base);
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: var(--space-3) var(--space-6);
    font-weight: 600;
    color: var(--color-white);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-800);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    flex-direction: column;
    gap: var(--space-4);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: var(--space-3) 0;
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
}

.mobile-menu-cta {
    padding: var(--space-4) var(--space-6) !important;
    background: var(--gradient-primary);
    color: var(--color-white) !important;
    border-radius: var(--radius-full);
    text-align: center;
    border: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(20, 184, 166, 0.05) 0%, 
        rgba(249, 115, 22, 0.03) 50%,
        rgba(255, 255, 255, 1) 100%
    );
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--color-primary-light);
    top: -200px;
    right: -200px;
    opacity: 0.3;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    bottom: -100px;
    left: -100px;
    opacity: 0.2;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    top: 40%;
    left: 30%;
    opacity: 0.15;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -10px) scale(1.02); }
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-16);
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-gray-900);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-200);
}

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

/* Hero Visual (Phone Mockup) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    padding: var(--space-6) var(--space-4) var(--space-3);
}

.preview-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 800;
}

.preview-logo svg {
    width: 24px;
    height: 24px;
}

.preview-card {
    flex: 1;
    margin: 0 var(--space-3);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.card-image {
    height: 280px;
    background: linear-gradient(135deg, var(--color-gray-200), var(--color-gray-300));
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

.card-info {
    padding: var(--space-4);
    background: var(--color-white);
}

.card-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.card-distance {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin-bottom: var(--space-3);
}

.card-interests {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.interest-tag {
    padding: var(--space-1) var(--space-3);
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-primary-dark);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.preview-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    padding: var(--space-4);
}

.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.action-pass {
    background: var(--color-white);
    color: var(--color-error);
    border: 2px solid var(--color-gray-100);
}

.action-connect {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.action-btn:hover {
    transform: scale(1.1);
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-3) var(--space-4);
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-match {
    top: 60px;
    left: -60px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation-delay: 0.5s;
}

.match-avatars {
    display: flex;
}

.match-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    object-fit: cover;
    background: var(--color-gray-200);
}

.match-avatars img:last-child {
    margin-left: -12px;
}

.floating-match span {
    font-weight: 600;
    font-size: var(--text-sm);
}

.floating-notification {
    bottom: 120px;
    right: -40px;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation-delay: 1s;
}

.notification-icon {
    font-size: 24px;
}

.notification-content {
    display: flex;
    flex-direction: column;
}

.notification-title {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

.notification-text {
    font-weight: 500;
    font-size: var(--text-sm);
}

/* Hero Scroll Indicator */
.hero-scroll {
    padding-bottom: var(--space-8);
    text-align: center;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-gray-400);
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

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

/* ============================================
   SECTION STYLES
   ============================================ */

.section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(20, 184, 166, 0.1);
    color: var(--color-primary-dark);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ============================================
   WHY FRIENTA SECTION
   ============================================ */

.why-section {
    background: var(--color-gray-50);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.problem-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.problem-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.problem-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.problem-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* Solution Banner */
.solution-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-10);
    align-items: center;
    padding: var(--space-10);
    background: var(--gradient-primary);
    border-radius: var(--radius-3xl);
    color: var(--color-white);
}

.solution-content h3 {
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.solution-content p {
    opacity: 0.9;
    line-height: 1.7;
    max-width: 600px;
}

.connection-animation {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulseRing 2s infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.connection-icon {
    font-size: 48px;
    z-index: 1;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-section {
    background: var(--color-white);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-20);
}

.step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-content {
    max-width: 500px;
}

.step-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--color-gray-100);
    margin-bottom: var(--space-4);
}

.step-content h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.step-content p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.step-phone {
    width: 260px;
    height: 480px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 36px;
    padding: 10px;
    box-shadow: var(--shadow-2xl);
}

.step-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 28px;
    overflow: hidden;
    padding: var(--space-6);
}

.step-screen h4 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
    text-align: center;
}

/* Interests Screen */
.interests-screen .interest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.chip {
    padding: var(--space-2) var(--space-4);
    background: var(--color-gray-100);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.chip.selected {
    background: var(--gradient-primary);
    color: var(--color-white);
}

/* Location Screen */
.location-screen {
    display: flex;
    flex-direction: column;
}

.radius-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.radius-map {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-center {
    font-size: 24px;
    z-index: 2;
}

.radius-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px dashed var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulseRadius 2s infinite;
}

@keyframes pulseRadius {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.radius-dots .dot {
    position: absolute;
    font-size: 16px;
    transform: rotate(calc(var(--angle))) translateY(calc(-70px * var(--distance) / 50%));
    animation: dotPulse 2s infinite;
}

.radius-slider {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    width: 100%;
}

.radius-slider span {
    font-weight: 600;
    color: var(--color-primary);
}

.radius-slider input {
    flex: 1;
    accent-color: var(--color-primary);
}

/* Swipe Screen */
.swipe-screen {
    display: flex;
    flex-direction: column;
    padding: var(--space-4);
}

.swipe-cards {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swipe-card {
    position: absolute;
    width: 180px;
    height: 240px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.swipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--color-gray-200);
}

.card-back {
    transform: rotate(-5deg) translateX(-15px);
    z-index: 1;
}

.card-front {
    transform: rotate(3deg);
    z-index: 2;
}

.swipe-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-3);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--color-white);
}

.swipe-info strong {
    display: block;
    font-size: var(--text-sm);
}

.swipe-info span {
    font-size: var(--text-xs);
    opacity: 0.8;
}

.swipe-hint {
    display: flex;
    justify-content: space-between;
    padding: var(--space-4) 0 0;
    font-size: var(--text-sm);
}

.hint-pass {
    color: var(--color-error);
}

.hint-connect {
    color: var(--color-success);
}

/* Chat Screen */
.chat-screen {
    display: flex;
    flex-direction: column;
    padding: var(--space-3);
    gap: var(--space-3);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-gray-100);
}

.chat-header img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-gray-200);
}

.chat-header span:first-of-type {
    font-weight: 600;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    margin-left: auto;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    overflow: hidden;
}

.message {
    max-width: 80%;
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    line-height: 1.4;
}

.message.received {
    align-self: flex-start;
    background: var(--color-gray-100);
}

.message.sent {
    align-self: flex-end;
    background: var(--gradient-primary);
    color: var(--color-white);
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    background: var(--color-gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.feature-card.featured {
    grid-column: span 2;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
}

.feature-card.featured h3 {
    color: var(--color-white);
}

.feature-card.featured p {
    opacity: 0.9;
}

.feature-icon,
.feature-icon-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-xl);
    color: var(--color-primary);
    margin-bottom: var(--space-5);
}

.feature-icon svg,
.feature-icon-large svg {
    width: 28px;
    height: 28px;
}

.feature-card.featured .feature-icon-large {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.feature-card h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-3);
}

.feature-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

.feature-card.featured p {
    color: rgba(255, 255, 255, 0.9);
}

.feature-list {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: var(--text-xs);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-16);
}

.testimonial-card {
    background: var(--color-white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-gray-100);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.testimonial-stars {
    color: var(--color-accent);
    letter-spacing: 2px;
}

.testimonial-content p {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--color-gray-700);
}

.testimonial-content blockquote {
    font-size: var(--text-xl);
    font-weight: 500;
    font-style: italic;
    color: var(--color-gray-700);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--color-gray-200);
}

.testimonial-author strong {
    display: block;
    font-weight: 600;
}

.testimonial-author span {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.featured-testimonial {
    background: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
}

.press-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    color: var(--color-gray-600);
}

.press-logo svg {
    width: 24px;
    height: 24px;
}

/* Stats Banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    padding: var(--space-10);
    background: var(--color-gray-50);
    border-radius: var(--radius-3xl);
}

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

.stat-icon {
    font-size: 32px;
    margin-bottom: var(--space-3);
}

.stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: var(--space-1);
}

.stat-desc {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-section {
    background: var(--color-white);
    overflow: hidden;
}

.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.download-content {
    max-width: 500px;
}

.download-title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-6);
}

.download-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.download-buttons {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.store-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    background: var(--color-gray-900);
    color: var(--color-white);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.store-badge:hover {
    background: var(--color-gray-800);
    transform: translateY(-2px);
}

.store-badge svg {
    width: 28px;
    height: 28px;
}

.store-badge span {
    font-size: var(--text-xs);
    opacity: 0.8;
}

.store-badge strong {
    display: block;
    font-size: var(--text-base);
}

.download-note {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-gray-500);
}

.download-note svg {
    color: var(--color-success);
}

.download-visual {
    position: relative;
}

.download-phones {
    display: flex;
    justify-content: center;
    position: relative;
}

.download-phone {
    width: 220px;
    height: 450px;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-2xl);
}

.download-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
    background: var(--color-gray-200);
}

.phone-1 {
    transform: rotate(-5deg);
    z-index: 1;
}

.phone-2 {
    transform: rotate(5deg) translateX(-40px);
    z-index: 2;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    background: var(--color-gray-50);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    font-weight: 600;
    text-align: left;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.final-cta-section {
    background: var(--gradient-primary);
    text-align: center;
    padding: var(--space-20) 0;
}

.final-cta h2 {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.final-cta p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
}

.final-cta .btn {
    background: var(--color-white);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-xl);
}

.final-cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.footer-logo svg {
    width: 28px;
    height: 28px;
}

.footer-brand p {
    margin-bottom: var(--space-6);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-800);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-4);
}

.footer-column a {
    display: block;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-gray-800);
}

.footer-bottom p {
    font-size: var(--text-sm);
}

.footer-badges {
    display: flex;
    gap: var(--space-6);
    font-size: var(--text-sm);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--space-20) + 80px);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .solution-visual {
        order: -1;
    }
    
    .step {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step:nth-child(even) {
        direction: ltr;
    }
    
    .step-content {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.featured {
        grid-column: span 2;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-content {
        max-width: 100%;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .download-note {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: var(--text-4xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        grid-column: span 1;
    }
    
    .stats-banner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .store-badge {
        justify-content: center;
    }
    
    .download-phones {
        transform: scale(0.9);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .step-phone {
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--space-16) 0;
    }
    
    .section-title {
        font-size: var(--text-3xl);
    }
    
    .hero-badge {
        font-size: var(--text-xs);
    }
    
    .problem-card {
        padding: var(--space-6);
    }
    
    .solution-banner {
        padding: var(--space-6);
    }
    
    .faq-question {
        padding: var(--space-4);
        font-size: var(--text-sm);
    }
    
    .faq-answer p {
        padding: 0 var(--space-4) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .testimonial-card {
        padding: var(--space-6);
    }
    
    .final-cta h2 {
        font-size: var(--text-3xl);
    }
}

/* ============================================
   ANIMATIONS & INTERACTIONS
   ============================================ */

/* Intersection Observer animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for cards */
@media (hover: hover) {
    .problem-card,
    .feature-card,
    .testimonial-card {
        cursor: default;
    }
}

/* Print styles */
@media print {
    .nav,
    .hero-visual,
    .mobile-menu,
    .download-visual,
    .footer-social,
    .step-visual {
        display: none !important;
    }
    
    .section {
        padding: var(--space-8) 0;
    }
    
    .hero {
        min-height: auto;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    /* Uncomment to enable dark mode
    :root {
        --color-white: #111827;
        --color-paper: #1F2937;
        --color-gray-50: #1F2937;
        --color-gray-100: #374151;
        --color-gray-800: #F3F4F6;
        --color-gray-900: #F9FAFB;
    }
    */
}
