/* ==========================================================================
   JoyBuddy - Modern Landing Page Styles
   Award-winning design for mobile app showcase
   ========================================================================== */

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

:root {
    /* Brand Colors */
    --primary-teal: #6BB6B9;
    --deep-teal: #4A9B9E;
    --light-teal: #A8D5D7;
    --very-light-teal: #E8F4F4;

    /* Accent Colors */
    --purple: #A78BFA;
    --pink: #EC4899;
    --blue: #5B8DEF;
    --coral: #FFB3BA;
    --amber: #FFB700;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-teal: linear-gradient(135deg, #4A9B9E 0%, #6BB6B9 100%);
    --gradient-hero: linear-gradient(135deg, #E8F4F4 0%, #F9FAFB 50%, #E8F4F4 100%);
    --gradient-cta: linear-gradient(135deg, #4A9B9E 0%, #5B8DEF 50%, #A78BFA 100%);
    --gradient-dark: linear-gradient(135deg, #1F2937 0%, #374151 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-teal: 0 10px 40px rgba(107, 182, 185, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #A8D5D7 0%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.finn-logo-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--very-light-teal) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.finn-logo-wrapper:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-teal);
}

.finn-logo-wrapper-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--light-teal) 0%, var(--very-light-teal) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.finn-logo {
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
}

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

.nav-cta {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.nav-cta svg {
    transition: transform var(--transition-fast);
}

.nav-cta:hover svg {
    transform: translateX(4px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

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

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    display: block;
    padding: 16px 0;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 18px;
    border-bottom: 1px solid var(--gray-100);
}

.mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-teal);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

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

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gray-900);
    color: var(--white);
    padding: 18px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    background: var(--gray-800);
}

.btn-hero-primary .apple-icon {
    width: 22px;
    height: 22px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--gray-700);
    padding: 18px 32px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    border: 2px solid var(--gray-200);
    transition: var(--transition-base);
}

.btn-hero-secondary:hover {
    border-color: var(--primary-teal);
    color: var(--deep-teal);
    transform: translateY(-2px);
}

.btn-hero-secondary svg {
    transition: transform var(--transition-base);
}

.btn-hero-secondary:hover svg {
    transform: translateY(4px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(168, 213, 215, 0.3) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 60%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
                var(--white);
    z-index: -1;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--very-light-teal);
    color: var(--deep-teal);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.finn-highlight {
    color: var(--deep-teal);
    position: relative;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    font-size: 14px;
    font-weight: 500;
}

.trust-item svg {
    color: var(--primary-teal);
}

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

.phone-showcase {
    position: relative;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 182, 185, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.screenshot-stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
}

.screenshot {
    border-radius: 32px;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition-slow);
}

.screenshot-main {
    width: 280px;
    height: auto;
    z-index: 2;
    position: relative;
}

.screenshot-back-left {
    position: absolute;
    width: 240px;
    left: -120px;
    transform: rotateY(15deg) translateZ(-50px);
    opacity: 0.8;
    z-index: 1;
}

.screenshot-back-right {
    position: absolute;
    width: 240px;
    right: -120px;
    transform: rotateY(-15deg) translateZ(-50px);
    opacity: 0.8;
    z-index: 1;
}

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

.screenshot-stack:hover .screenshot-back-left {
    transform: rotateY(10deg) translateZ(-30px) translateX(-20px);
}

.screenshot-stack:hover .screenshot-back-right {
    transform: rotateY(-10deg) translateZ(-30px) translateX(20px);
}

/* Finn Floating Element */
.finn-floating {
    position: absolute;
    bottom: 20%;
    right: -40px;
    animation: floatBounce 4s ease-in-out infinite;
}

.finn-mascot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: var(--shadow-xl);
}

.finn-speech {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    margin-bottom: 12px;
}

.finn-speech::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--white);
}

.finn-speech p {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
}

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

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Social Proof Bar
   ========================================================================== */

.social-proof {
    background: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-100);
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--deep-teal);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

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

.section-badge {
    display: inline-block;
    background: var(--very-light-teal);
    color: var(--deep-teal);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

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

.feature-hero-card {
    grid-column: span 3;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--very-light-teal) 100%);
    border: 2px solid var(--light-teal);
}

.feature-icon-large {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-large svg {
    width: 80px;
    height: 80px;
}

.feature-content h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.feature-content p {
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
}

.feature-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-teal);
    border-radius: 50%;
}

.feature-visual {
    width: 320px;
}

.chat-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 280px;
}

.chat-bubble.user {
    background: var(--gray-100);
    color: var(--gray-700);
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.chat-bubble.finn {
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-bottom-left-radius: 6px;
}

.finn-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.chat-bubble.finn span {
    color: var(--gray-700);
}

/* Sleep Preview (for feature card) */
.sleep-preview {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 16px;
}

.sleep-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.sleep-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.sleep-label {
    font-size: 14px;
    color: var(--gray-600);
}

.sleep-quality {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    background: var(--gray-200);
    border-radius: 8px;
    height: 24px;
    overflow: hidden;
}

.quality-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 8px;
}

.quality-text {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 24px;
}

/* Regular Feature Cards */
.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card > p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    background: var(--very-light-teal);
    color: var(--deep-teal);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Cultural Intelligence Section
   ========================================================================== */

.cultural-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cultural-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cultural-text h2 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.cultural-text > p {
    font-size: 18px;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cultural-mentors {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.mentor {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

.mentor-flag {
    font-size: 20px;
}

.cultural-note {
    font-size: 14px;
    color: var(--gray-400);
    font-style: italic;
}

/* Globe Illustration */
.cultural-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-illustration {
    position: relative;
    width: 300px;
    height: 300px;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rotateGlobe 20s linear infinite;
}

.globe-ring:nth-child(1) {
    width: 200px;
    height: 200px;
}

.globe-ring:nth-child(2) {
    width: 280px;
    height: 280px;
    animation-direction: reverse;
    animation-duration: 30s;
}

.globe-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--deep-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(107, 182, 185, 0.5);
}

.globe-finn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

@keyframes rotateGlobe {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--gray-50);
    border-radius: 24px;
    flex: 1;
    max-width: 320px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--deep-teal);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

/* Animated Finn icon for step 2 */
.step-icon-finn {
    position: relative;
}

.finn-mini-globe {
    position: relative;
    width: 80px;
    height: 80px;
}

.finn-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(107, 182, 185, 0.3);
    border-radius: 50%;
    animation: rotateGlobe 20s linear infinite;
}

.finn-ring:nth-child(1) {
    width: 60px;
    height: 60px;
}

.finn-ring:nth-child(2) {
    width: 80px;
    height: 80px;
    animation-direction: reverse;
    animation-duration: 30s;
}

.finn-step-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(107, 182, 185, 0.4);
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    color: var(--gray-300);
    flex-shrink: 0;
}

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

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.toggle-label.active {
    color: var(--gray-800);
}

.save-badge {
    background: var(--primary-teal);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.toggle-switch {
    width: 56px;
    height: 32px;
    background: var(--gray-200);
    border-radius: 16px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition-base);
}

.toggle-switch.active {
    background: var(--primary-teal);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.toggle-switch.active .toggle-slider {
    left: 28px;
}

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

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 2px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--light-teal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-teal);
    background: linear-gradient(180deg, var(--white) 0%, var(--very-light-teal) 100%);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.plan-header h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.plan-price {
    margin-bottom: 8px;
}

.plan-price .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
}

.plan-price .period {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 500;
}

.plan-desc {
    font-size: 14px;
    color: var(--gray-500);
}

.plan-features {
    list-style: none;
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--gray-700);
}

.plan-features li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
    flex-shrink: 0;
    margin-top: 1px;
}

.btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    background: var(--gray-100);
    color: var(--gray-700);
    transition: var(--transition-base);
}

.btn-plan:hover {
    background: var(--gray-200);
}

.btn-plan-featured {
    background: var(--gradient-teal);
    color: var(--white);
}

.btn-plan-featured:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
    background: var(--gradient-teal);
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    color: var(--gray-500);
    font-size: 14px;
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */

.comparison {
    padding: 80px 0;
    background: var(--white);
}

.comparison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.comparison-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.comparison-text > p {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.comparison-stats {
    display: flex;
    gap: 48px;
}

.comp-stat {
    display: flex;
    flex-direction: column;
}

.comp-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--deep-teal);
}

.comp-label {
    font-size: 14px;
    color: var(--gray-500);
}

.comparison-bar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bar-item {
    position: relative;
}

.bar-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.bar-fill {
    height: 48px;
    border-radius: 12px;
    background: var(--gray-200);
    transition: var(--transition-slow);
}

.bar-item.therapy .bar-fill {
    background: var(--gray-300);
}

.bar-item.joybuddy .bar-fill {
    background: var(--gradient-teal);
}

.bar-value {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(8px);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
}

.bar-item.joybuddy .bar-value {
    right: auto;
    left: calc(7% + 16px);
    color: var(--deep-teal);
}

.comparison-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
}

/* ==========================================================================
   Privacy Section
   ========================================================================== */

.privacy-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.privacy-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-icon {
    width: 120px;
    height: 120px;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.privacy-icon svg {
    width: 100%;
    height: 100%;
}

.privacy-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.privacy-text > p {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.privacy-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}

.privacy-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-700);
    font-weight: 500;
}

.privacy-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-teal);
}

.privacy-link {
    color: var(--deep-teal);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta {
    padding: var(--section-padding) 0;
    background: var(--gradient-cta);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    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");
    opacity: 0.5;
}

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

.cta-finn {
    margin-bottom: 32px;
}

.cta-finn-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: floatBounce 4s ease-in-out infinite;
}

.cta h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta h2 span {
    opacity: 0.9;
}

.cta > .container > .cta-content > p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    color: var(--gray-900);
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-xl);
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.btn-cta-primary .apple-icon {
    width: 22px;
    height: 22px;
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 15px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-teal);
    color: var(--white);
}

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

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-disclaimer {
    margin-top: 12px;
    font-size: 12px !important;
    color: var(--gray-600) !important;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1200px) {
    .hero .container {
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .screenshot-main {
        width: 240px;
    }

    .screenshot-back-left,
    .screenshot-back-right {
        width: 200px;
    }

    .screenshot-back-left {
        left: -100px;
    }

    .screenshot-back-right {
        right: -100px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

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

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

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

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

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

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

    .hero-visual {
        order: -1;
    }

    .finn-floating {
        right: 0;
    }

    .feature-hero-card {
        grid-column: span 3;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-icon-large {
        margin: 0 auto;
    }

    .feature-visual {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

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

    .cultural-mentors {
        justify-content: center;
    }

    .steps-container {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
        width: 40px;
    }

    .comparison-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

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

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }

    .screenshot-back-left,
    .screenshot-back-right {
        display: none;
    }

    .screenshot-main {
        width: 260px;
    }

    .finn-floating {
        bottom: 10%;
        right: 10%;
    }

    .proof-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

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

    .feature-hero-card {
        grid-column: span 1;
    }

    .cultural-text h2 {
        font-size: 32px;
    }

    .globe-illustration {
        width: 200px;
        height: 200px;
    }

    .globe-ring:nth-child(1) {
        width: 140px;
        height: 140px;
    }

    .globe-ring:nth-child(2) {
        width: 180px;
        height: 180px;
    }

    .globe-center {
        width: 80px;
        height: 80px;
    }

    .globe-finn {
        width: 50px;
        height: 50px;
    }

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

    .comparison-stats {
        flex-direction: column;
        gap: 24px;
    }

    .privacy-content {
        flex-direction: column;
        text-align: center;
    }

    .privacy-features {
        justify-content: center;
    }

    .cta h2 {
        font-size: 32px;
    }

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

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

    .footer-brand p {
        max-width: 100%;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-title {
        font-size: 32px;
    }

    .screenshot-main {
        width: 220px;
    }

    .finn-mascot {
        width: 60px;
        height: 60px;
    }

    .finn-speech {
        display: none;
    }

    .feature-card {
        padding: 24px;
    }

    .step-card {
        padding: 32px 24px;
    }

    .pricing-card {
        padding: 24px;
    }

    .plan-price .price {
        font-size: 32px;
    }
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */

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

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

/* Selection styling */
::selection {
    background: var(--primary-teal);
    color: var(--white);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cta,
    .footer {
        display: none;
    }
}
