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

:root {
    --primary-color: #007AFF;
    --secondary-color: #34C759;
    --orange-accent: #FF9500;
    --text-dark: #1D1D1F;
    --text-light: #5E5E62; /* Improved from #6E6E73 for better contrast */
    --bg-light: #F5F5F7;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;
    --border-color: #D2D2D7;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Screen reader only class for announcements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip navigation link */
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: #0066CC;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 4px 0;
    transform: translateY(-100%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid var(--orange-accent);
    outline-offset: 2px;
}

/* iOS App Install Banner */
.app-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.app-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.app-banner-text strong {
    font-size: 15px;
    font-weight: 600;
    color: white;
}

.app-banner-text span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.app-banner-button {
    background: white;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.app-banner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-banner-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.app-banner-close:hover {
    opacity: 1;
}

/* Adjust body padding when banner is visible */
body.banner-visible {
    padding-top: 72px;
}

@media (max-width: 640px) {
    .app-banner-content {
        padding: 10px 12px;
        gap: 10px;
    }

    .app-banner-icon {
        width: 40px;
        height: 40px;
    }

    .app-banner-text strong {
        font-size: 14px;
    }

    .app-banner-text span {
        font-size: 12px;
    }

    .app-banner-button {
        padding: 6px 16px;
        font-size: 13px;
    }

    body.banner-visible {
        padding-top: 62px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-icon {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-links a:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Hamburger menu button (mobile) */
.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

.hamburger-btn svg {
    display: block;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background-color: #0066DD;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 1;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
}

.benefit-item svg {
    flex-shrink: 0;
    stroke-width: 3;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--bg-white);
    color: #0055B3;
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

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

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

/* Focus styles for all interactive elements */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-video-container {
    max-width: 400px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background-color: #000;
    border: 3px solid #000;
}

.hero-video-container video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.video-transcript {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    font-style: italic;
}

.app-preview {
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.animated-character {
    width: 380px;
    height: 380px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.character-caption {
    margin-top: 20px;
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

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

.preview-text {
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.preview-text p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.preview-text small {
    font-size: 1rem;
    opacity: 0.95; /* Improved from 0.8 for better contrast */
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

/* Meet the Team Section */
.team-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    color: white;
}

.team-section .section-title {
    color: white;
}

.team-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.team-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.team-image-wrapper img.smaller {
    max-width: 82%;
    max-height: 82%;
}

.team-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-section {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .team-card h3 {
        font-size: 1.5rem;
    }
}

/* Screenshots Showcase */
.screenshots-showcase {
    background-color: var(--bg-white);
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -40px;
    margin-bottom: 40px;
}

.mode-toggle {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.mode-btn {
    padding: 12px 32px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mode-btn svg {
    flex-shrink: 0;
}

.mode-btn.active {
    background-color: #0066CC;
    color: white;
    border-color: #0066CC;
}

.mode-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.screenshot-group {
    display: contents;
}

.screenshot-group[data-mode="light"] {
    display: none;
}

.screenshot-card {
    text-align: center;
}

.phone-mockup {
    perspective: 1000px;
    margin-bottom: 16px;
}

.screenshot-placeholder {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 9/19.5;
    margin: 0 auto;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 8px solid #1d1d1f;
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background-color: #1d1d1f;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.screenshot-placeholder.light-mode {
    background-color: #f5f5f7;
}

.screenshot-placeholder.dark-mode {
    background-color: #1c1c1e;
}

.mockup-content {
    padding: 50px 16px 16px;
    height: 100%;
    overflow: hidden;
}

.mockup-header {
    margin-bottom: 20px;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.dark-mode .status-bar {
    color: #ffffff;
}

.status-icons {
    letter-spacing: 2px;
}

.mockup-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    margin: 0;
    color: var(--text-dark);
}

.dark-mode .mockup-header h3 {
    color: #ffffff;
}

.mockup-card {
    background-color: white;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mockup-card.dark {
    background-color: #2c2c2e;
    color: #ffffff;
}

.card-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-text {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.mockup-card.dark .card-text {
    color: #ffffff;
}

.nutrient-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.dark-mode .nutrient-row {
    color: #ffffff;
}

.nutrient-value {
    color: var(--text-light);
    font-size: 0.75rem;
}

.dark-mode .nutrient-value {
    color: #98989d;
}

.progress-bar {
    height: 6px;
    background-color: #e5e5ea;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar.dark {
    background-color: #3a3a3c;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: width 1s ease;
}

.progress-fill.green {
    background-color: var(--secondary-color);
}

.screenshot-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features {
    background-color: var(--bg-light);
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    margin-bottom: 16px;
    color: var(--primary-color);
}

.feature-icon svg {
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* How It Works */
.how-it-works {
    background-color: var(--bg-white);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
}

/* Pricing Section */
.pricing {
    background-color: var(--bg-light);
}

.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -40px;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.pricing-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

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

.pricing-card.featured {
    border: 3px solid var(--primary-color);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.tier-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 24px;
    min-height: 24px;
}

.price-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
    min-height: 48px;
}

.everything-in {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    margin-top: 24px;
    text-align: left;
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 16px;
    font-style: italic;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 28px;
    text-align: left;
    flex-grow: 1;
}

.features-list li {
    padding: 12px 0;
    color: var(--text-dark);
    border-bottom: none;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5em;
    position: relative;
}

.features-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.features-list li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-subtitle {
    font-size: 1.125rem;
    opacity: 1; /* Changed from 0.95 for better contrast */
    margin-top: -40px;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: transform 0.3s;
    position: relative;
}

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

.store-badge.coming-soon {
    opacity: 0.6;
    position: relative;
}

.coming-soon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}

.requirements {
    opacity: 0.9; /* Improved from 0.8 for better contrast */
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 16px;
    font-size: 1.125rem;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8; /* Improved from 0.6 for better contrast */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-benefits {
        font-size: 0.9rem;
    }

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

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        gap: 0;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

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

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .hamburger-btn {
        display: flex;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

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

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

    .animated-character {
        width: 280px;
        height: 280px;
    }
}

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

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

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

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

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

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.cookie-links {
    margin-top: 8px;
}

.cookie-links a {
    color: #81ecec;
    text-decoration: underline;
    font-size: 0.875rem;
}

.cookie-links a:hover {
    color: #a29bfe;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 12px 32px;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.cookie-consent-buttons .btn-secondary-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-buttons .btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 20px 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cookie-consent-buttons {
        width: 100%;
    }

    .cookie-consent-buttons .btn {
        flex: 1;
    }
}
