/* Cognary.ai - Quiet Tech Design for the Caretaker CEO */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Color System - Warm, Calm, Clarity-Focused */
    --primary: #364558;
    --primary-soft: #4A5568;
    --accent: #14B8A6;
    --accent-dark: #0D9488;
    --accent-light: #5EEAD4;
    --cta: #14B8A6;
    --cta-hover: #0D9488;
    --success: #10B981;

    /* Backgrounds - Warm tones */
    --bg-primary: #FAFBF8;
    --bg-secondary: #F5F3F0;
    --bg-tertiary: #EDE9E4;

    /* Text - Warmer charcoal */
    --text-primary: #364558;
    --text-secondary: #5A6B7D;
    --text-tertiary: #8B9AA9;

    /* Borders */
    --border: #E2E8F0;
    --border-focus: #14B8A6;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 24px 48px rgba(15, 23, 42, 0.12);

    /* Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Spacing */
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography - Poppins for warmth */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(250, 251, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

header.scrolled {
    background-color: rgba(250, 251, 248, 0.96);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.02em;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    height: 42px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

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

.nav-links a[style*="color"] {
    color: var(--accent) !important;
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(135deg, var(--cta) 0%, #0D9488 100%);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    padding: calc(var(--nav-height) + 6rem) 0 3rem;
    background: linear-gradient(180deg, #FAFBF8 0%, #F5F3F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.06) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

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

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Hero Scenario - "The 3:00 AM Brain Stops Here" */
.hero-scenario {
    margin-top: 4rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.03) 100%);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.scenario-hook {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1rem;
}

.scenario-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cta) 0%, #0D9488 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(20, 184, 166, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid var(--border);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out both;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Features Section */
.features-section {
    padding: 2rem 0 8rem;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.06) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(20, 184, 166, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Products Section */
.products-section {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #0D9488 100%);
    opacity: 0;
    transition: opacity 0.5s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(20, 184, 166, 0.3);
}

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

.product-image {
    height: 320px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
    transition: transform 0.8s ease;
}

.product-card:hover .product-image::after {
    transform: scale(1.3) rotate(30deg);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.15));
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1) translateY(-8px);
}

.product-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    flex: 1;
}

.product-link {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-link:hover {
    gap: 1rem;
    color: var(--accent-dark);
}

/* Built for Real Life Section */
.real-life-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(20, 184, 166, 0.3);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.author-info p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.day-in-life {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(20, 184, 166, 0.04) 100%);
    border: 1px solid rgba(20, 184, 166, 0.25);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.day-in-life-header {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 1.25rem;
}

.day-in-life-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.day-in-life-result {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.day-in-life-tagline {
    font-style: italic;
    color: var(--text-tertiary);
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #364558 0%, #2D3748 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
}

.final-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
}

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.final-cta-subtitle {
    font-size: 1.4rem;
    color: #CBD5E1;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.final-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-white {
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.35);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(20, 184, 166, 0.45);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
}

.footer-description {
    color: #94A3B8;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748B;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.875rem;
}

.footer-links a {
    color: #CBD5E1;
    transition: all 0.2s;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent) 0%, #0D9488 100%);
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
    color: #64748B;
    font-size: 0.9rem;
}

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

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

    .final-cta-title {
        font-size: 3rem;
    }

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-links {
        display: none;
    }

    .navbar {
        height: 70px;
    }

    :root {
        --nav-height: 70px;
    }

    .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
        gap: 0.375rem;
    }

    .cta-button svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding: calc(var(--nav-height) + 3rem) 0 4rem;
    }

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

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

    .btn-primary, .btn-secondary, .btn-white, .btn-outline {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

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

    .final-cta-title {
        font-size: 2.25rem;
    }

    .final-cta-subtitle {
        font-size: 1.1rem;
    }

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

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

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .day-in-life {
        padding: 2rem;
    }

    .real-life-section {
        padding: 5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .final-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .final-cta-buttons .btn-white,
    .final-cta-buttons .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Header fixes for small phones */
    .navbar {
        height: 60px;
        padding: 0;
    }

    :root {
        --nav-height: 60px;
    }

    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .logo-icon {
        height: 32px;
    }

    /* Compact CTA button - icon only on very small screens */
    .cta-button {
        padding: 0.5rem;
        font-size: 0;
        gap: 0;
        min-width: 40px;
        min-height: 40px;
        justify-content: center;
    }

    .cta-button svg {
        width: 20px;
        height: 20px;
    }

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

    .stat-number {
        font-size: 2.25rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .final-cta-title {
        font-size: 1.875rem;
    }

    .hero-scenario {
        padding: 1.5rem;
        margin-top: 2.5rem;
    }

    .scenario-hook {
        font-size: 1.25rem;
    }

    .scenario-text {
        font-size: 1rem;
    }
}

/* Download Page Compatibility */
.hidden {
    display: none !important;
}

.qr-toggle {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.qr-toggle:hover {
    background: white;
    border-color: var(--accent);
    color: var(--accent);
}

.app-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 1rem;
}

.store-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.store-button:hover {
    background-color: white;
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}
