/* ============================================
   Tally - Premium Landing Page Styles
   ============================================ */

/* CSS Reset & Variables */
:root {
    /* Colors - refined palette */
    --color-primary: #7C3AED;
    --color-primary-dark: #6D28D9;
    --color-primary-light: #A78BFA;
    --color-primary-subtle: #EDE9FE;
    --color-secondary: #EC4899;
    --color-secondary-light: #F472B6;
    --color-accent: #06B6D4;

    --color-background: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-text: #1F2937;
    --color-text-secondary: #374151;
    --color-text-muted: #6B7280;
    --color-text-light: #9CA3AF;
    --color-border: #E5E7EB;
    --color-border-light: #F3F4F6;

    --color-gradient-start: #7C3AED;
    --color-gradient-middle: #A855F7;
    --color-gradient-end: #EC4899;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows - layered for depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(124, 58, 237, 0.25);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* 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);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    letter-spacing: -0.01em;
}

p {
    color: var(--color-text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-middle) 50%, var(--color-gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Buttons - larger touch targets */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    min-height: 48px; /* Touch target */
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    box-shadow: var(--shadow-md), 0 4px 14px rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 6px 20px rgba(124, 58, 237, 0.35);
}

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

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    min-height: 40px;
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.125rem;
    min-height: 56px;
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.logo-text {
    font-weight: 700;
    font-size: 1.375rem;
    letter-spacing: -0.02em;
}

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

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    transition: width var(--transition-base);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #F5F3FF 0%, #FDF4FF 30%, var(--color-background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.hero-badge-icon {
    font-size: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin: var(--space-lg) 0 var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-note {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-note svg {
    color: var(--color-primary);
}

/* Phone Mockup with Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2D3748 0%, #1A202C 100%);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        var(--shadow-2xl),
        inset 0 1px 0 rgba(255,255,255,0.1),
        0 0 0 1px rgba(0,0,0,0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-surface);
    border-radius: 36px;
    overflow: hidden;
    position: relative;
}

.phone-status-bar {
    height: 44px;
    background: var(--color-surface);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

.phone-status-bar span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text);
}

.chat-demo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    height: calc(100% - 44px);
    overflow: hidden;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    line-height: 1.5;
    animation: messageIn 0.5s ease-out backwards;
}

.chat-message:nth-child(1) { animation-delay: 0.5s; }
.chat-message:nth-child(2) { animation-delay: 1.5s; }
.chat-message:nth-child(3) { animation-delay: 2.5s; }
.chat-message:nth-child(4) { animation-delay: 3.5s; }

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-message.user {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.chat-message.assistant {
    background: var(--color-border-light);
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 6px;
}

/* Trust Badges */
.trust-section {
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
}

.trust-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.trust-text {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge svg {
    color: var(--color-primary);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--color-text-secondary);
    margin-top: var(--space-md);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: var(--space-4xl) 0;
    background: var(--color-background);
}

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

.feature-card {
    background: var(--color-surface);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gradient-start), var(--color-gradient-end));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary-subtle), #FCE7F3);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
    transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, #F5F3FF 0%, #FDF4FF 50%, var(--color-background) 100%);
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    max-width: 640px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-subtle);
}

.step-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.step-content h3 {
    margin-bottom: var(--space-sm);
}

.step-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-surface);
}

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

.testimonial-card {
    background: var(--color-background);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-md);
    color: #FBBF24;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary-subtle), #FCE7F3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-primary);
}

.testimonial-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Pricing Section */
.pricing {
    padding: var(--space-4xl) 0;
    background: var(--color-background);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-border);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--space-lg);
}

.pricing-header h3 {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price .period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.savings {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: var(--space-sm);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-md) 0;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9375rem;
}

.pricing-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--color-primary-subtle);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: var(--space-xl);
}

/* Final CTA */
.final-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-gradient-start) 0%, var(--color-gradient-middle) 50%, var(--color-gradient-end) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 40%);
}

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

.final-cta h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.final-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
    font-size: 1.125rem;
}

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

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

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-md);
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-md);
    font-size: 0.9375rem;
}

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-icon {
    background: white;
    color: var(--color-primary);
}

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

.footer-column h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ============================================
   Responsive Design - Mobile First Approach
   ============================================ */

/* Small phones (320px - 479px) */
@media (max-width: 479px) {
    :root {
        --space-lg: 20px;
        --space-xl: 28px;
        --space-2xl: 40px;
        --space-3xl: 56px;
        --space-4xl: 80px;
    }

    h1 {
        font-size: 2rem;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .feature-card, .step, .pricing-card {
        padding: var(--space-lg);
    }

    .price .amount {
        font-size: 2.75rem;
    }
}

/* Phones (480px - 767px) */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-surface);
        padding: var(--space-lg);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a:not(.btn) {
        padding: var(--space-md);
        width: 100%;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .nav-links .btn {
        margin-top: var(--space-md);
        width: 100%;
    }

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 120px 0 var(--space-3xl);
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-md);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-column a {
        justify-content: center;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

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

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

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

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

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

    .phone-wrapper {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --color-border: #374151;
        --color-text-muted: #4B5563;
    }
}

/* Print styles */
@media print {
    .nav, .final-cta, .footer {
        display: none;
    }

    .hero {
        padding-top: 0;
    }
}
