/* ============================================
   KitchenMate AI - Landing Page Styles
   Modern Cooking Theme
   ============================================ */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #FF6B35;
    --primary-dark: #E85A2A;
    --primary-light: #FF8F66;
    --secondary: #2D3436;
    --accent: #00B894;

    /* Warm Cooking Palette */
    --warm-orange: #FF9800;
    --warm-red: #FF5722;
    --warm-yellow: #FFC107;
    --warm-brown: #795548;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --light-gray: #F5F5F5;
    --gray: #9E9E9E;
    --dark-gray: #616161;
    --charcoal: #2D3436;
    --black: #1A1A1A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF9800 100%);
    --gradient-warm: linear-gradient(135deg, #FF5722 0%, #FFC107 100%);
    --gradient-dark: linear-gradient(135deg, #2D3436 0%, #636E72 100%);
    --gradient-hero: linear-gradient(135deg, #FFF5F0 0%, #FFF8E7 50%, #F0FFF4 100%);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.highlight {
    color: var(--primary);
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 4px 15px rgba(255, 107, 53, 0.3);
}

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

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Section Styling */
section {
    padding: var(--space-4xl) 0;
}

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

.section-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.125rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    margin-left: var(--space-xs);
    vertical-align: super;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--dark-gray);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: 0.625rem 1.25rem !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.float-1 { top: 15%; left: 10%; color: var(--warm-red); animation-delay: 0s; }
.float-2 { top: 25%; right: 15%; color: var(--accent); animation-delay: 1s; }
.float-3 { top: 60%; left: 5%; color: var(--warm-orange); animation-delay: 2s; }
.float-4 { bottom: 30%; right: 10%; color: var(--warm-red); animation-delay: 3s; }
.float-5 { bottom: 20%; left: 20%; color: var(--primary); animation-delay: 4s; }

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

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

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

.hero h1 {
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: var(--charcoal);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: var(--black);
    border-radius: 15px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

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

.screen-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--gray);
    font-size: 0.875rem;
}

.screen-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.screen-img:not([src=""]):not([src="#"]) + .screen-placeholder {
    display: none;
}

/* Wireframe Styles */
.wireframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.phone-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
}

/* Floating Recipe Card */
.floating-card {
    position: absolute;
    bottom: 80px;
    right: -40px;
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: floatCard 3s ease-in-out infinite;
}

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

.recipe-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.recipe-card-body strong {
    display: block;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.recipe-card-body p {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--white);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: var(--space-2xl) 0;
    background: var(--white);
    text-align: center;
}

.social-proof-text {
    color: var(--gray);
    margin-bottom: var(--space-lg);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.lang-badge {
    padding: var(--space-sm) var(--space-md);
    background: var(--light-gray);
    color: var(--dark-gray);
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.lang-badge:hover {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    background: var(--off-white);
}

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

.feature-card {
    position: relative;
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

.feature-highlight {
    grid-column: span 1;
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-highlight h3,
.feature-highlight p {
    color: var(--white);
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary);
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

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

.feature-card p {
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.feature-tag {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.step-visual {
    margin-bottom: var(--space-lg);
}

.step-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--light-gray);
    border-radius: var(--radius-2xl);
    font-size: 2.5rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.step:hover .step-icon-wrapper {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.05);
}

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

.step-content p {
    color: var(--dark-gray);
    font-size: 0.9375rem;
}

.step-connector {
    flex: 0 0 80px;
    padding-top: 100px;
    color: var(--gray);
}

.step-connector svg {
    width: 100%;
    height: 20px;
}

.how-it-works-cta {
    text-align: center;
}

.cta-note {
    display: block;
    margin-top: var(--space-sm);
    color: var(--gray);
    font-size: 0.875rem;
}

/* ============================================
   APP SHOWCASE
   ============================================ */
.app-showcase {
    background: var(--charcoal);
    color: var(--white);
    overflow: hidden;
}

.app-showcase .section-header h2,
.app-showcase .section-header p {
    color: var(--white);
}

.app-showcase .section-header p {
    opacity: 0.7;
}

.app-showcase .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--warm-orange);
}

.screenshots-carousel {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

.screenshot-item {
    flex: 0 0 auto;
    text-align: center;
    transition: all var(--transition-base);
}

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-item.featured {
    transform: scale(1.1);
}

.screenshot-item.featured:hover {
    transform: scale(1.1) translateY(-10px);
}

.screenshot-frame {
    position: relative;
    width: 180px;
    height: 380px;
    background: var(--dark-gray);
    border-radius: 25px;
    padding: 8px;
    overflow: hidden;
}

.screenshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.screenshot-frame .screenshot-placeholder {
    position: absolute;
    inset: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: var(--secondary);
    border-radius: 18px;
    color: var(--gray);
    font-size: 0.75rem;
}

.screenshot-frame .screenshot-placeholder i {
    font-size: 2rem;
    opacity: 0.5;
}

.screenshot-frame img:not([src=""]):not([src="#"]) + .screenshot-placeholder {
    display: none;
}

.screenshot-frame .wireframe {
    border-radius: 18px;
}

.screenshot-label {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    background: var(--off-white);
}

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

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

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

.pricing-card.featured {
    background: var(--charcoal);
    color: var(--white);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: var(--space-xl);
}

.pricing-card.featured .pricing-header {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    margin-bottom: var(--space-md);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-xs);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.amount {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray);
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.pricing-card.featured .period {
    color: rgba(255, 255, 255, 0.6);
}

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

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

.pricing-features li i {
    width: 20px;
    color: var(--accent);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--gray);
}

.pricing-card.featured .pricing-features li i {
    color: var(--warm-orange);
}

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

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--white);
}

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

.testimonial-card {
    background: var(--off-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    color: var(--warm-yellow);
}

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

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

.author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--off-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

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

.faq-question i {
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

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

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

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

/* ============================================
   DOWNLOAD CTA
   ============================================ */
.download-cta {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

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

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-btn i {
    font-size: 2rem;
}

.store-text {
    text-align: left;
}

.store-text span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.store-text strong {
    font-size: 1.125rem;
}

.download-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    opacity: 0.9;
}

.cta-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-stack {
    position: relative;
}

.phone-back {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 220px;
    height: 450px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 35px;
}

.phone-front {
    position: relative;
    width: 220px;
    height: 450px;
    background: var(--charcoal);
    border-radius: 35px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
}

.phone-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 26px;
}

.phone-front .screenshot-placeholder {
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border-radius: 26px;
    color: var(--gray);
    font-size: 3rem;
}

.phone-front img:not([src=""]):not([src="#"]) + .screenshot-placeholder {
    display: none;
}

.phone-front .wireframe {
    border-radius: 26px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.made-with i {
    color: var(--warm-red);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .hero-visual {
        display: none;
    }

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

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

    .step-connector {
        display: none;
    }

    .download-cta .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .cta-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    section {
        padding: var(--space-3xl) 0;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

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

    .navbar.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }

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

    .feature-highlight {
        grid-column: span 1;
    }

    .screenshots-carousel {
        overflow-x: auto;
        justify-content: flex-start;
        padding: var(--space-xl);
        margin: 0 calc(-1 * var(--container-padding));
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .screenshots-carousel::-webkit-scrollbar {
        display: none;
    }

    .screenshot-item.featured {
        transform: none;
    }

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

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .stat {
        flex: 0 0 calc(50% - var(--space-md));
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .download-buttons {
        flex-direction: column;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling for anchor links */
html {
    scroll-padding-top: 100px;
}
