/**
 * SelectSpeak Landing Page Styles
 * Copyright (c) 2025 SelectSpeak. All rights reserved.
 * Unauthorized copying or reproduction is prohibited.
 */

:root {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --secondary: #14B8A6;
    --background: #F8FAFC;
    --surface: #FFFFFF;
    --error: #EF4444;
    --food: #EF4444;
    --people: #8B5CF6;
    --play: #3B82F6;
    --places: #10B981;
    --feelings: #F59E0B;
    --cell-bg: #E8EAF6;
    --cell-border: #C5CAE9;
    --text-dark: #1E293B;
    --text-medium: #475569;
    --text-light: #94A3B8;
}

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

body {
    font-family: 'Calibri', 'Carlito', -apple-system, BlinkMacSystemFont, sans-serif;
    font-style: italic;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 600;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--primary-dark);
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.hero {
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, #EEF2FF 0%, var(--background) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    max-width: 500px;
}

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-dark);
    padding: 16px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.hero-demo {
    position: relative;
}

/* Subtle wiggle animation for tablet */
@keyframes tabletWiggle {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    }
    25% {
        transform: perspective(1000px) rotateY(-3deg) rotateX(6deg);
    }
    50% {
        transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
    }
    75% {
        transform: perspective(1000px) rotateY(-4deg) rotateX(5.5deg);
    }
}

.phone-frame {
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    max-width: 420px;
    width: 100%;
    animation: tabletWiggle 5s ease-in-out infinite;
}

.phone-frame:hover {
    animation: none;
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.3s;
}

.phone-screen {
    background: var(--background);
    border-radius: 32px;
    padding: 18px;
    min-height: 520px;
}

/* App Top Bar - Minimalistic */
.app-top-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.app-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.app-btn:hover {
    transform: scale(1.05);
}

.app-btn.back-btn {
    background: #14B8A6;
    color: white;
}

.app-btn.home-btn {
    background: #3B82F6;
    color: white;
}

.app-btn.speak-btn {
    background: #14B8A6;
    color: white;
}

.phrase-bar {
    flex: 1;
    background: #F9FAFB;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    gap: 6px;
    align-items: center;
    min-height: 36px;
    overflow: hidden;
    max-width: 200px;
}

.word-pill {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: popIn 0.3s ease-out;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.word-pill span {
    font-size: 0.85rem;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


.aac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.aac-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.aac-cell {
    background: var(--cell-bg);
    border-radius: 14px;
    padding: 16px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.aac-cell:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.aac-cell.active {
    animation: cellPop 0.3s ease-out;
    background: var(--primary-light);
    border-color: var(--primary);
}

@keyframes cellPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1.05);
    }
}

.aac-cell .emoji {
    font-size: 2.2rem;
}

.aac-cell .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.aac-cell.food {
    background: #FEE2E2;
}

.aac-cell.people {
    background: #EDE9FE;
}

.aac-cell.play {
    background: #DBEAFE;
}

.aac-cell.places {
    background: #D1FAE5;
}

/* Social media cells */
.aac-cell.social {
    text-decoration: none;
    background: #F3F4F6;
}

.aac-cell.social:hover {
    transform: scale(1.05);
}

.aac-cell.tiktok-cell {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8f7f7 50%, #fce8ec 100%);
}

.aac-cell.youtube-cell {
    background: #FFE4E4;
}

.aac-cell.reddit-cell {
    background: #FFE8E0;
}

.aac-cell.instagram-cell {
    background: linear-gradient(135deg, #fdf2f8 0%, #fef3e2 50%, #f0e6ff 100%);
}

/* Social cell and feed cell pop animation */
.aac-cell.social,
.aac-cell.feed-cell {
    cursor: pointer;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.aac-cell.social:active,
.aac-cell.social.popping,
.aac-cell.feed-cell:active,
.aac-cell.feed-cell.popping {
    transform: scale(0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.aac-cell.social.pop-up,
.aac-cell.feed-cell.pop-up {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.aac-cell.feelings {
    background: #FEF3C7;
}

.aac-cell.core {
    background: #E0E7FF;
}

/* Brand row styling */
.aac-cell.brand {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    border: 2px solid var(--primary-light);
}

/* Feed cell styling */
.aac-cell.feed-cell {
    background: #F8FAFC;
    border: 2px dashed #E2E8F0;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

.aac-cell.feed-cell:hover {
    border-color: var(--primary-light);
    background: #F1F5F9;
}

.aac-cell.feed-cell .feed-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.aac-cell.feed-cell[data-platform="tiktok"] .feed-icon {
    background: #000;
    color: #fff;
}

.aac-cell.feed-cell[data-platform="youtube"] .feed-icon {
    background: #FF0000;
    color: #fff;
}

.aac-cell.feed-cell[data-platform="reddit"] .feed-icon {
    background: #FF4500;
    color: #fff;
}

.aac-cell.feed-cell[data-platform="instagram"] .feed-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.aac-cell.feed-cell[data-platform="discord"] .feed-icon {
    background: #5865F2;
    color: #fff;
}

.aac-cell.feed-cell[data-platform="twitter"] .feed-icon {
    background: #000;
    color: #fff;
}

/* Download cell styling */
.aac-cell.feed-cell.download-cell {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border: 2px solid #10B981;
    border-style: solid;
}

/* Subtle pulse animation for social feed cells */
@keyframes socialPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0);
        border-color: #E2E8F0;
    }
    50% {
        box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
        border-color: rgba(99, 102, 241, 0.4);
    }
}

.aac-cell.feed-cell[data-platform="tiktok"],
.aac-cell.feed-cell[data-platform="youtube"],
.aac-cell.feed-cell[data-platform="reddit"] {
    animation: socialPulse 3s ease-in-out infinite;
}

/* Stagger the animations for visual interest */
.aac-cell.feed-cell[data-platform="youtube"] {
    animation-delay: 1s;
}

.aac-cell.feed-cell[data-platform="reddit"] {
    animation-delay: 2s;
}

.features {
    padding: 70px 24px;
    background: white;
}

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

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--background);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-icon.purple {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
}

.feature-icon.green {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.feature-icon.orange {
    background: linear-gradient(135deg, #F97316, #FB923C);
}

.feature-icon.pink {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.feature-icon.teal {
    background: linear-gradient(135deg, #14B8A6, #2DD4BF);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.voice-nav {
    padding: 70px 24px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.voice-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.voice-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.voice-nav h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.voice-nav p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.7;
}

.voice-examples {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.voice-example {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.voice-example:last-child {
    margin-bottom: 0;
}

.voice-example:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.voice-example .mic {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.voice-example .text {
    flex: 1;
}

.voice-example .question {
    font-weight: 700;
    margin-bottom: 4px;
}

.voice-example .result {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing {
    padding: 70px 24px;
    background: var(--background);
}

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

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

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

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

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-medium);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-medium);
}

.pricing-features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: #D1FAE5;
    color: var(--places);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.pricing-features li.locked::before {
    content: '✕';
    background: #FEE2E2;
    color: var(--error);
}

.cta {
    padding: 70px 24px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-badge {
    background: white;
    color: var(--text-dark);
    padding: 12px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.app-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-badge .icon {
    font-size: 2rem;
}

.app-badge .text {
    text-align: left;
}

.app-badge .small {
    font-size: 0.75rem;
    color: var(--text-medium);
}

.app-badge .big {
    font-size: 1.1rem;
    font-weight: 700;
}

.app-badge.coming-soon {
    position: relative;
    cursor: default;
    opacity: 0.95;
}

.app-badge .soon-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-dark);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 10px;
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 30px;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.beta-icon {
    font-size: 1.5rem;
}

.beta-text {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Social CTA - Prominent */
.social-cta {
    margin-top: 40px;
    margin-bottom: 32px;
}

.social-cta-text {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.social-cta-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    color: white;
}

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

.social-cta-btn.tiktok {
    background: linear-gradient(135deg, #000000 0%, #25F4EE 50%, #FE2C55 100%);
    background-size: 200% 200%;
    animation: tiktokGradient 3s ease infinite;
}

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

.social-cta-btn.youtube {
    background: #CC0000;
}

.social-cta-btn.reddit {
    background: #CC3700;
}

.beta-note {
    margin-top: 32px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.notify-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 450px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.notify-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.notify-form input:focus {
    outline: 3px solid var(--primary-light);
}

.notify-form button {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.notify-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.footer {
    background: #0F172A;
    color: white;
    padding: 60px 24px 30px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.7;
}

.footer h4,
.footer .footer-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

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

.social-links a.tiktok:hover {
    background: #000000;
}

.social-links a.youtube:hover {
    background: #FF0000;
}

.social-links a.reddit:hover {
    background: #FF4500;
}

.social-links a.twitter:hover {
    background: #000000;
}

.social-links a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ========================================
   FULLSCREEN AAC DEMO
   ======================================== */

.fullscreen-demo {
    min-height: 100vh;
    background: var(--background);
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Account for fixed nav */
}

/* Demo Header */
.demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: white;
    border-bottom: 1px solid #E5E7EB;
}

.demo-header-left {
    flex: 1;
}

.demo-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.demo-back-link:hover {
    opacity: 0.8;
}

.demo-header-center {
    flex: 1;
    text-align: center;
}

.demo-header-center h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.demo-header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.demo-edit-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #F3F4F6;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.demo-edit-toggle:hover {
    background: #E5E7EB;
}

.demo-edit-toggle.active {
    background: #F59E0B;
    color: white;
}

.demo-reset-btn-small {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    border: none;
    border-radius: 10px;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s;
}

.demo-reset-btn-small:hover {
    background: #E5E7EB;
    color: var(--text-dark);
}

/* Phrase Bar */
.demo-phrase-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    border-bottom: 1px solid #E5E7EB;
    min-height: 70px;
}

.demo-phrase-content {
    flex: 1;
    display: flex;
    gap: 8px;
    align-items: center;
    overflow-x: auto;
    padding: 4px 0;
}

.demo-phrase-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    animation: pillPop 0.2s ease-out;
}

.demo-phrase-pill img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

@keyframes pillPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.demo-phrase-actions {
    display: flex;
    gap: 8px;
}

.demo-action-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.demo-action-btn.clear {
    background: #FEF3C7;
    color: #D97706;
}

.demo-action-btn.speak {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.demo-action-btn:hover {
    transform: scale(1.05);
}

/* Grid Area */
.demo-grid-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--background);
}

.demo-grid-wrapper {
    width: 100%;
    max-width: 700px;
}

.demo-aac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Demo Cell - Match Hero Style */
.demo-cell {
    background: var(--cell-bg);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    aspect-ratio: 1;
    position: relative;
}

.demo-cell:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}

.demo-cell:active {
    transform: scale(0.98);
}

/* Category Colors - Match Hero */
.demo-cell.core { background: #E0E7FF; }
.demo-cell.food { background: #FEE2E2; }
.demo-cell.feelings { background: #FEF3C7; }
.demo-cell.play { background: #DBEAFE; }
.demo-cell.places { background: #D1FAE5; }

.demo-cell .cell-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.demo-cell .cell-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 12px;
}

.demo-cell .cell-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-transform: lowercase;
}

/* Edit button on cells */
.demo-cell .edit-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: #F59E0B;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.demo-cell .edit-btn svg {
    width: 16px;
    height: 16px;
    color: white;
}

.fullscreen-demo.edit-mode .demo-cell .edit-btn {
    display: flex;
}

.fullscreen-demo.edit-mode .demo-cell {
    border-color: rgba(245, 158, 11, 0.4);
}

/* Add Card Cell */
.demo-cell.add-cell {
    background: transparent;
    border: 3px dashed #C5CAE9;
    display: none;
}

.demo-cell.add-cell .add-icon {
    font-size: 2.5rem;
    color: #94A3B8;
}

.fullscreen-demo.edit-mode .demo-cell.add-cell {
    display: flex;
}

.demo-cell.add-cell:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.demo-cell.add-cell:hover .add-icon {
    color: var(--primary);
}

/* Page Navigation */
.demo-page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 24px;
    background: white;
    border-top: 1px solid #E5E7EB;
}

.demo-page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.demo-page-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.demo-page-btn:disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
}

.demo-page-btn.prev svg {
    order: -1;
}

/* Page Dots */
.demo-page-dots {
    display: flex;
    gap: 10px;
}

.demo-page-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-page-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.demo-page-dot:hover:not(.active) {
    background: #9CA3AF;
}

/* Edit Hint */
.demo-edit-hint {
    text-align: center;
    padding: 12px 24px;
    background: #FEF3C7;
    color: #92400E;
    font-size: 0.9rem;
    display: none;
}

.fullscreen-demo.edit-mode .demo-edit-hint {
    display: block;
}

.hint-icon {
    font-weight: 700;
    color: #F59E0B;
}

.hint-icon.add {
    color: var(--primary);
}

/* Modals */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.demo-modal-overlay.active {
    display: flex;
}

.demo-modal-box {
    background: white;
    border-radius: 20px;
    padding: 24px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.demo-modal-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.demo-modal-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.demo-modal-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #F9FAFB;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-family: inherit;
}

.demo-modal-option:hover {
    background: #F3F4F6;
    border-color: #E5E7EB;
}

.demo-modal-option div {
    flex: 1;
}

.demo-modal-option strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.demo-modal-option span {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.demo-modal-cancel {
    width: 100%;
    padding: 12px;
    background: none;
    border: none;
    color: #6366F1;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.demo-modal-cancel:hover {
    text-decoration: underline;
}

/* Edit Modal */
.demo-modal-box.edit-modal {
    max-width: 400px;
}

.demo-edit-form {
    margin-bottom: 20px;
}

.demo-form-row {
    margin-bottom: 16px;
}

.demo-form-row label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.demo-form-row input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.demo-form-row input[type="text"]:focus {
    outline: none;
    border-color: #6366F1;
}

.demo-image-selector {
    display: flex;
    gap: 16px;
    align-items: center;
}

.demo-current-image {
    width: 80px;
    height: 80px;
    background: #F3F4F6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.demo-current-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-image-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-img-btn {
    padding: 10px 16px;
    background: #F3F4F6;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
}

.demo-img-btn:hover {
    background: #E5E7EB;
}

.demo-img-btn.upload {
    background: #6366F1;
    color: white;
}

.demo-img-btn.upload:hover {
    background: #4F46E5;
}

.demo-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.demo-color-opt {
    width: 36px;
    height: 36px;
    border: 3px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-color-opt:hover {
    transform: scale(1.1);
}

.demo-color-opt.active {
    border-color: #1F2937;
    box-shadow: 0 0 0 2px white, 0 0 0 4px #1F2937;
}

.demo-modal-actions {
    display: flex;
    gap: 12px;
}

.demo-modal-actions .demo-modal-cancel {
    width: auto;
    flex: 1;
    padding: 12px 20px;
    background: #F3F4F6;
    border-radius: 10px;
    color: var(--text-medium);
}

.demo-modal-save {
    flex: 1;
    padding: 12px 20px;
    background: #6366F1;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.demo-modal-save:hover {
    background: #4F46E5;
}

/* Emoji Picker Modal */
.demo-modal-box.emoji-modal {
    max-width: 340px;
}

.demo-emoji-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.demo-emoji-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: #F9FAFB;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
}

.demo-emoji-item:hover {
    background: #E5E7EB;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 800px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .demo-controls-panel {
        order: -1;
    }
}

@media (max-width: 480px) {
    .demo-device {
        padding: 8px;
    }

    .demo-top-btn {
        width: 38px;
        height: 38px;
    }

    .demo-cell .cell-emoji {
        font-size: 2rem;
    }

    .demo-cell .cell-label {
        font-size: 0.75rem;
    }
}

/* Fullscreen Demo Responsive */
@media (max-width: 768px) {
    .demo-header {
        padding: 12px 16px;
    }

    .demo-back-link span {
        display: none;
    }

    .demo-header-center h2 {
        font-size: 1.1rem;
    }

    .demo-edit-toggle span {
        display: none;
    }

    .demo-edit-toggle {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .demo-phrase-bar {
        padding: 10px 16px;
        min-height: 60px;
    }

    .demo-action-btn {
        width: 42px;
        height: 42px;
    }

    .demo-grid-area {
        padding: 16px;
    }

    .demo-aac-grid {
        gap: 8px;
    }

    .demo-cell .cell-emoji {
        font-size: 2rem;
    }

    .demo-cell .cell-label {
        font-size: 0.7rem;
    }

    .demo-page-nav {
        padding: 16px;
        gap: 16px;
    }

    .demo-page-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

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

    .demo-cell .cell-emoji {
        font-size: 1.8rem;
    }

    .demo-cell .cell-label {
        font-size: 0.65rem;
    }

    .demo-page-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .demo-page-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Responsive - Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .phone-frame {
        transform: perspective(1000px) rotateY(-3deg);
    }

    .phone-screen {
        min-height: 420px;
        padding: 12px;
    }

    .aac-cell .emoji {
        font-size: 1.6rem;
    }

    .aac-cell .label {
        font-size: 0.7rem;
    }

    .aac-grid {
        gap: 8px;
    }

    .phrase-bar {
        padding: 10px 12px;
        min-height: 50px;
    }

    .word-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .speak-btn {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .voice-nav-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .voice-nav h2 {
        font-size: 2rem;
    }

    .voice-nav p {
        font-size: 1.1rem;
    }

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

    .feature-card {
        padding: 24px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pricing-card {
        padding: 30px 24px;
    }

    .pricing-card.featured {
        transform: scale(1.02);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 30px;
    }
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        padding: 120px 24px 60px;
    }

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

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-demo {
        max-width: 350px;
        margin: 0 auto;
    }

    .phone-frame {
        transform: none;
    }

    .section-header h2,
    .voice-nav h2,
    .cta h2 {
        font-size: 2rem;
    }

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

    .voice-nav-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Responsive - Small screens */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

/* Responsive - Mobile */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

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

    .hero-demo {
        max-width: 320px;
    }

    .aac-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .aac-cell .emoji {
        font-size: 1.5rem;
    }

    .aac-cell .label {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .hero-demo {
        max-width: 280px;
    }

    .aac-cell .emoji {
        font-size: 1.3rem;
    }

    .aac-cell .label {
        font-size: 0.6rem;
    }
}