/* ============================================
   How I Nom Landing Page Styles
   Design tokens matched to app's src/theme/
   Orange #FF6B35 primary, Teal #2EC4B6 secondary
   ============================================ */

/* CSS Variables */
:root {
    /* Primary - Orange (warm, energetic, appetizing) */
    --orange-50: #FFF8F5;
    --orange-100: #FFF3ED;
    --orange-200: #FFE0CC;
    --orange-300: #FFC299;
    --orange-400: #FF8F5E;
    --orange-500: #FF6B35;
    --orange-600: #E55A2B;
    --orange-700: #CC4F22;

    /* Secondary - Teal (fresh, complementary) */
    --teal-50: #F0FAF9;
    --teal-100: #E0F7F5;
    --teal-200: #B3EDE8;
    --teal-500: #2EC4B6;
    --teal-600: #26A69A;
    --teal-700: #1E8A80;

    /* Neutrals (warm, no blue tint) */
    --neutral-0: #FFFFFF;
    --neutral-50: #FAFAF7;
    --neutral-100: #F5F2ED;
    --neutral-200: #F0EDE8;
    --neutral-300: #EAE6DF;
    --neutral-400: #B0B0B0;
    --neutral-600: #7A7A7A;
    --neutral-800: #333333;
    --neutral-900: #1A1A1A;

    /* Semantic */
    --success: #2EC4B6;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

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

    /* Border radius (matches app: 18px default for cards/buttons) */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 18px;
    --radius-xl: 20px;
    --radius-2xl: 22px;
    --radius-full: 9999px;

    /* Shadows (warm, using #1A1A1A base) */
    --shadow-sm: 0 1px 2px rgba(26, 26, 26, 0.05);
    --shadow-md: 0 2px 4px rgba(26, 26, 26, 0.08);
    --shadow-lg: 0 4px 8px rgba(26, 26, 26, 0.1);
    --shadow-xl: 0 8px 16px rgba(26, 26, 26, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--neutral-900);
    background-color: var(--neutral-0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-900);
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--orange-500);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--orange-500);
    color: var(--neutral-0);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: background 0.2s ease;
}

.nav-cta:hover {
    background: var(--orange-600);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--neutral-0);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neutral-900);
    border: 2px solid var(--neutral-200);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: calc(70px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--orange-50) 0%, var(--teal-50) 50%, var(--orange-100) 100%);
    /* Subtle warm gradient using app brand tones */
    overflow: hidden;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-900);
    margin-bottom: var(--space-md);
}

.hero-title .highlight {
    color: var(--orange-500);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1A1A1A;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--neutral-800);
    border-radius: 12px;
}

.hero-phone-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 28px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 28px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ============================================
   Placeholder Images
   ============================================ */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange-200) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-lg);
}

.placeholder-text {
    font-weight: 600;
    color: var(--neutral-600);
    font-size: 0.875rem;
    text-align: center;
    padding: var(--space-sm);
}

.placeholder-icon {
    font-size: 2.5rem;
}

/* ============================================
   Sections Common
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--space-3xl) 0;
    background: var(--neutral-50);
}

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

.feature-card {
    background: var(--neutral-0);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--orange-100) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.feature-description {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: var(--neutral-0);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-lg);
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--orange-500);
    color: var(--neutral-0);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.step-image {
    margin-bottom: var(--space-md);
}

.step-placeholder {
    width: 100%;
    height: 180px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-xs);
}

.step-description {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

.step-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--orange-400);
    margin-top: 120px;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #FF8F5E 0%, #FF6B35 50%, #E55A2B 100%);
}

.download-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-0);
    margin-bottom: var(--space-sm);
}

.download-subtitle {
    font-size: 1.125rem;
    color: var(--orange-100);
    margin-bottom: var(--space-xl);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: #1A1A1A;
    color: var(--neutral-0);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-button-disabled {
    opacity: 0.7;
    cursor: default;
}

.store-button-disabled:hover {
    transform: none;
    box-shadow: none;
}

.store-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-xl) 0;
    background: #1A1A1A;
    color: var(--neutral-400);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-0);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--neutral-0);
}

.footer-copyright {
    font-size: 0.875rem;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--neutral-600);
    margin-top: var(--space-xs);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-container {
        gap: var(--space-xl);
    }

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

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-image {
        order: -1;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
        border-radius: 32px;
    }

    .phone-mockup::before {
        width: 60px;
        height: 18px;
        top: 14px;
    }

    .hero-phone-placeholder {
        border-radius: 22px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 320px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .download-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: calc(70px + var(--space-xl)) 0 var(--space-xl);
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 240px;
        justify-content: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
