/* ===================================
   Snugsyy Landing Page Styles
   Mobile-First Responsive Design
   =================================== */

/* ===================================
   CSS Variables / Design Tokens
   =================================== */
:root {
    /* Colors */
    --color-cyan: #E0F2FE;
    --color-lavender: #F3E8FF;
    --color-purple-soft: #A78BFA;
    --color-purple-light: #C7D2FE;
    --color-blue-light: #BAE6FD;
    --color-indigo-light: #C7D2FE;
    
    /* Text Colors */
    --color-text-primary: #374151;
    --color-text-secondary: #4B5563;
    --color-text-tertiary: #6B7280;
    
    /* Functional Colors */
    --color-success: #86EFAC;
    --color-warning: #FCD34D;
    --color-error: #FDA4AF;
    --color-info: #7DD3FC;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(167, 139, 250, 0.1);
    --shadow-md: 0 4px 16px rgba(167, 139, 250, 0.15);
    --shadow-lg: 0 8px 32px rgba(167, 139, 250, 0.2);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-lavender) 100%);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--space-sm);
}

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

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: var(--space-2xl);
    color: var(--color-text-primary);
}

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

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

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

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.fade-in.visible {
    animation: fadeIn 0.8s ease forwards;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

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

.nav-links {
    display: none;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}

.nav-links li {
    width: 100%;
}

.nav-links.active li a {
    display: block;
    width: 100%;
    padding: var(--space-sm);
    text-align: center;
}

.nav-links li a {
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links li a:hover {
    color: var(--color-purple-soft);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary,
.btn-primary-small,
.btn-cta {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary,
.btn-cta {
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-purple-soft);
    border: 2px solid var(--color-purple-light);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.btn-primary-small {
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    color: white;
    min-height: 40px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(60px + var(--space-2xl)) 0 var(--space-2xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-lavender) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
}

.floating-1 {
    width: 300px;
    height: 300px;
    background: var(--color-purple-soft);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.floating-2 {
    width: 200px;
    height: 200px;
    background: var(--color-purple-light);
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite 1s;
}

.floating-3 {
    width: 150px;
    height: 150px;
    background: var(--color-cyan);
    top: 50%;
    left: 15%;
    animation: float 7s ease-in-out infinite 2s;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    animation-delay: 0.1s;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
    animation-delay: 0.2s;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    animation-delay: 0.3s;
}

.trust-indicator {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
    animation-delay: 0.4s;
}

/* Phone Mockup */
.hero-phone {
    animation-delay: 0.5s;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1F2937;
    border-radius: 32px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-lavender) 100%);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.chat-interface {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    height: 100%;
}

.chat-message {
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

.chat-message.ai-message {
    justify-content: flex-start;
}

.chat-message.user-message {
    justify-content: flex-end;
}

.message-bubble {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    max-width: 80%;
    font-size: 0.875rem;
    line-height: 1.4;
}

.ai-message .message-bubble {
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-sm);
}

.user-message .message-bubble {
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-indigo-light));
    color: var(--color-text-primary);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-md);
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--color-purple-soft);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===================================
   Problem Statement Section
   =================================== */
.problem-statement {
    padding: var(--space-3xl) 0;
    background: rgba(255, 255, 255, 0.5);
}

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

.problem-text {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.problem-highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-purple-soft);
    margin-top: var(--space-lg);
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(167, 139, 250, 0.1);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    color: var(--color-purple-soft);
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    color: var(--color-purple-light);
    transform: scale(1.1);
}

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

.feature-card p {
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-lavender) 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

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

.step-content p {
    margin: 0;
    color: var(--color-text-secondary);
}

.cta-center {
    text-align: center;
}

/* ===================================
   Screenshots Section
   =================================== */
.screenshots {
    padding: var(--space-3xl) 0;
    background: white;
}

.screenshots-carousel {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--space-md) 0;
    -webkit-overflow-scrolling: touch;
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(167, 139, 250, 0.1);
    border-radius: 4px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: var(--color-purple-light);
    border-radius: 4px;
}

.screenshot-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    text-align: center;
}

.phone-preview {
    width: 280px;
    height: 480px;
    background: #F3F4F6;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-sm);
    transition: var(--transition-normal);
}

.phone-preview:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.phone-screen-preview {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.preview-header {
    font-weight: 600;
    color: var(--color-purple-soft);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-purple-light);
}

.preview-chat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.preview-message {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.preview-message.ai {
    background: rgba(167, 139, 250, 0.1);
    align-self: flex-start;
    max-width: 80%;
}

.preview-message.user {
    background: linear-gradient(135deg, var(--color-blue-light), var(--color-indigo-light));
    align-self: flex-end;
    max-width: 80%;
}

.preview-suggestions {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.suggestion-btn {
    padding: var(--space-sm);
    background: var(--color-purple-light);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.suggestion-btn:hover {
    background: var(--color-purple-soft);
    color: white;
}

.preview-chart {
    display: flex;
    align-items: flex-end;
    gap: var(--space-xs);
    height: 200px;
    padding: var(--space-md);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--color-purple-soft), var(--color-purple-light));
    border-radius: 4px 4px 0 0;
    transition: var(--transition-normal);
}

.chart-bar:hover {
    opacity: 0.8;
}

.preview-family {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.family-member {
    padding: var(--space-sm);
    background: rgba(167, 139, 250, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.screenshot-caption {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.5) 0%, rgba(243, 232, 255, 0.5) 100%);
}

.benefit-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-3xl);
}

.benefit-row:last-child {
    margin-bottom: 0;
}

.benefit-image {
    flex: 1;
}

.illustration-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.brain-illustration::before {
    content: '🧠';
    font-size: 6rem;
    opacity: 0.3;
}

.learning-illustration::before {
    content: '📚';
    font-size: 6rem;
    opacity: 0.3;
}

.clock-illustration::before {
    content: '🌙';
    font-size: 6rem;
    opacity: 0.3;
}

.heart-illustration::before {
    content: '💜';
    font-size: 6rem;
    opacity: 0.3;
}

.benefit-text {
    flex: 1;
    max-width: 500px;
}

.benefit-text h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

.benefit-text p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: var(--space-3xl) 0;
    background: white;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(167, 139, 250, 0.1);
    transition: all var(--transition-normal);
}

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

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: var(--space-md);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--color-purple-light);
    font-family: Georgia, serif;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--color-text-primary);
}

.author-detail {
    font-size: 0.875rem;
    color: var(--color-text-tertiary);
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-lavender) 100%);
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-primary);
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-purple-soft);
    transition: transform var(--transition-normal);
}

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

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

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

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

.cta-buttons {
    margin-bottom: var(--space-xl);
}

.btn-cta {
    background: white;
    color: var(--color-purple-soft);
    font-size: 1.25rem;
    padding: var(--space-md) var(--space-2xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.badge-placeholder {
    transition: var(--transition-normal);
}

.badge-placeholder:hover {
    transform: scale(1.05);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: #1F2937;
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(167, 139, 250, 0.2);
    border-radius: 50%;
    transition: var(--transition-normal);
}

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

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

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

.footer-column h4 {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.footer-column ul li a:hover {
    color: var(--color-purple-light);
}

.newsletter-form {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-purple-soft);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: var(--color-purple-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-xs);
}

.medical-disclaimer {
    font-size: 0.75rem;
    font-style: italic;
}

/* ===================================
   Responsive Design - Tablet (768px+)
   =================================== */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: row;
    }
    
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefit-row {
        flex-direction: row;
    }
    
    .benefit-row.reverse {
        flex-direction: row-reverse;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   Responsive Design - Desktop (1024px+)
   =================================== */
@media (min-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero {
        padding: calc(60px + var(--space-3xl)) 0 var(--space-3xl);
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .phone-mockup {
        width: 320px;
        height: 640px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .screenshots-carousel {
        justify-content: center;
        overflow-x: visible;
    }
    
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-brand {
        text-align: left;
        flex: 0 0 250px;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

/* ===================================
   Responsive Design - Large Desktop (1280px+)
   =================================== */
@media (min-width: 1280px) {
    .container {
        padding: 0 var(--space-xl);
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
}

/* ===================================
   Early Access Modal
   =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: var(--space-md);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-tertiary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(167, 139, 250, 0.1);
    color: var(--color-purple-soft);
    transform: rotate(90deg);
}

.modal-header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
    text-align: center;
    border-bottom: 1px solid rgba(167, 139, 250, 0.1);
}

.modal-header h2 {
    color: var(--color-text-primary);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.modal-header p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.early-access-form {
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid rgba(167, 139, 250, 0.2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-purple-soft);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-tertiary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    margin-top: var(--space-xs);
}

.btn-submit {
    width: 100%;
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-purple-soft), var(--color-purple-light));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-spinner {
    opacity: 1;
}

.btn-spinner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-message.show {
    display: block;
}

.success-message {
    background: rgba(134, 239, 172, 0.2);
    color: #16A34A;
    border: 1px solid rgba(134, 239, 172, 0.4);
}

.error-message {
    background: rgba(253, 164, 175, 0.2);
    color: #DC2626;
    border: 1px solid rgba(253, 164, 175, 0.4);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

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

/* Focus Styles for Keyboard Navigation */
a:focus,
button:focus,
input:focus,
label:focus {
    outline: 2px solid var(--color-purple-soft);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .nav,
    .floating-element,
    .final-cta,
    .footer {
        display: none;
    }
    
    body {
        background: white;
    }
}

