/* ============================================
   TETHR WEBSITE - STYLES
   Theme: Dark mode with white/dark grey accents
   Font: Urbanist
   ============================================ */

/* Seasonal Effects - CSS-based falling particles */
.seasonal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    top: -50px;
    pointer-events: none;
    animation: particleFall var(--duration, 10s) linear var(--delay, 0s) forwards;
    opacity: var(--opacity, 0.7);
    transform: scale(var(--size, 1));
}

/* Snow - simple white dots and circles */
.particle.snowflake {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(200, 220, 255, 0.4);
}

/* Rain - thin streaks */
.particle.raindrop {
    width: 1px;
    height: 18px;
    background: linear-gradient(to bottom, transparent 0%, rgba(174, 194, 224, 0.3) 30%, rgba(174, 194, 224, 0.6) 100%);
    border-radius: 0 0 2px 2px;
}

/* Autumn leaves - organic teardrop shapes */
.particle.leaf {
    width: 12px;
    height: 16px;
    background: linear-gradient(135deg, #d4763a 0%, #c45c26 50%, #8b4513 100%);
    border-radius: 50% 0 50% 50%;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

.particle.leaf:nth-child(3n) {
    background: linear-gradient(135deg, #e8a849 0%, #d4763a 50%, #b8542a 100%);
}

.particle.leaf:nth-child(3n+1) {
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 50%, #cd5c5c 100%);
}

/* Spring petals - soft pink shapes */
.particle.petal {
    width: 8px;
    height: 10px;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.9) 0%, rgba(255, 182, 193, 0.8) 50%, rgba(255, 218, 233, 0.7) 100%);
    border-radius: 50% 0 50% 50%;
    box-shadow: 0 1px 4px rgba(255, 183, 197, 0.3);
}

.particle.petal:nth-child(2n) {
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.9) 0%, rgba(255, 228, 233, 0.8) 100%);
}

@keyframes particleFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(var(--size, 1));
        opacity: 0;
    }
    5% {
        opacity: var(--opacity, 0.7);
    }
    50% {
        transform: translateY(55vh) translateX(calc(var(--drift, 50px) * 0.6)) rotate(180deg) scale(var(--size, 1));
    }
    100% {
        transform: translateY(110vh) translateX(var(--drift, 50px)) rotate(360deg) scale(var(--size, 1));
        opacity: 0;
    }
}

/* Snow has gentler movement - less rotation */
.particle.snowflake {
    animation-name: snowFall;
}

@keyframes snowFall {
    0% {
        transform: translateY(0) translateX(0) scale(var(--size, 1));
        opacity: 0;
    }
    5% {
        opacity: var(--opacity, 0.7);
    }
    25% {
        transform: translateY(27vh) translateX(calc(var(--drift, 50px) * 0.3)) scale(var(--size, 1));
    }
    50% {
        transform: translateY(55vh) translateX(calc(var(--drift, 50px) * -0.2)) scale(var(--size, 1));
    }
    75% {
        transform: translateY(82vh) translateX(calc(var(--drift, 50px) * 0.5)) scale(var(--size, 1));
    }
    100% {
        transform: translateY(110vh) translateX(var(--drift, 50px)) scale(var(--size, 1));
        opacity: 0;
    }
}

/* Rain falls fast and straight */
.particle.raindrop {
    animation-name: rainFall;
}

@keyframes rainFall {
    0% {
        transform: translateY(0) translateX(0) scale(var(--size, 1));
        opacity: 0;
    }
    3% {
        opacity: var(--opacity, 0.5);
    }
    100% {
        transform: translateY(110vh) translateX(calc(var(--drift, 20px) * 0.3)) scale(var(--size, 1));
        opacity: 0;
    }
}

/* CSS Variables */
:root {
    /* Brand Colors - Updated to white/dark grey theme */
    --primary: #FFFFFF;
    --primary-dark: #E5E5E5;
    --secondary: #4A4A4A;
    --accent-pink: #FF46A2;
    
    /* Background Colors */
    --bg-dark: #000000;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    
    /* Liquid Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Text Colors */
    --text-primary: #F9FAFB;
    --text-secondary: #A0A0A0;
    --text-muted: #6B7280;
    
    /* Border Colors */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFFFFF 0%, #A0A0A0 100%);
    --gradient-text: linear-gradient(135deg, #FFFFFF 0%, #E5E5E5 100%);
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --card-radius: 20px;
    --btn-radius: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1100px;
    z-index: 1000;
    padding: 12px 24px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
}

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

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

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

.nav-cta {
    padding: 10px 24px;
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000000;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid #FFFFFF;
    border-radius: var(--btn-radius);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: #E5E5E5;
    border-color: #E5E5E5;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

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

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

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

.mobile-menu a {
    font-size: 18px;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-cta {
    margin-top: 16px;
    padding: 16px;
    background: var(--primary);
    color: #000;
    text-align: center;
    border-radius: var(--btn-radius);
    font-weight: 600;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: #FFFFFF;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: #000000;
    border: 1px solid #FFFFFF;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.3), 
                0 0 20px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
}

.btn-primary:hover {
    background: #E5E5E5;
    border-color: #E5E5E5;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4), 
                0 0 30px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 
                0 0 15px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 25px rgba(255, 255, 255, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-full {
    width: 100%;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Behind video, acts as fallback */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-badge-text {
    font-weight: 700;
    color: #ffffff;
}

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

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 18px;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
}

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

.feature-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.feature-name {
    letter-spacing: 0.05em;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
}

/* ============================================
   COMPANIONS CAROUSEL
   ============================================ */
.companions {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: visible;
    margin: 40px 0;
    padding: 30px 0;
}

.companions {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 24px;
    animation: scroll 60s linear infinite;
    width: max-content;
    will-change: transform;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-track {
    animation-timing-function: linear;
}

.companion-card {
    flex-shrink: 0;
    width: 200px;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: transparent;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    box-sizing: border-box;
}

.companion-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.companion-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.companion-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 16px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    text-align: center;
}

.companion-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.companion-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.companions-cta {
    text-align: center;
    margin-top: 40px;
}

.companions-cta p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.companions-monthly {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 24px !important;
}

/* ============================================
   EMOTIONS SECTION
   ============================================ */
.emotions {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
}

.emotions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.emotion-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
}

.emotion-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.emotion-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: block;
    object-fit: contain;
    transition: all var(--transition-normal);
}

.emotion-card:hover .emotion-image {
    transform: scale(1.1);
}

.emotion-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.emotion-card:hover .emotion-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.emotion-name {
    letter-spacing: 0.05em;
}

.emotion-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.emotions-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.emotions-note p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   AFFINITY PROGRESSION SECTION
   ============================================ */
.affinity {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.affinity-journey {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.affinity-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    position: relative;
}

.affinity-row-reverse {
    flex-direction: row;
}

.affinity-level {
    flex: 1;
    max-width: 280px;
    min-height: 320px;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.affinity-level:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.affinity-level-final {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.affinity-level-final:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.affinity-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    overflow: hidden;
}

.affinity-level:hover .affinity-icon {
    transform: scale(1.1);
}

.affinity-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.affinity-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.affinity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
}

.affinity-level:hover .affinity-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.affinity-name {
    letter-spacing: 0.05em;
}

.affinity-level h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    flex-shrink: 0;
}

.affinity-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.affinity-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    flex-shrink: 0;
}

.topic-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.affinity-level:hover .topic-tag {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.affinity-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    font-weight: 300;
    padding: 0 12px;
    flex-shrink: 0;
    align-self: center;
}

.affinity-arrow-down {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 0;
}

.affinity-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

.affinity-note p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-dark) 100%);
}

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

.pricing-card {
    position: relative;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    transition: all var(--transition-normal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--primary);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .price {
    font-size: 48px;
    font-weight: 800;
}

.pricing-price .period {
    font-size: 16px;
    color: var(--text-secondary);
}

.pricing-annual {
    font-size: 14px;
    color: var(--primary);
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn {
    margin-bottom: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

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

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-note {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.pricing-note-placeholder {
    visibility: hidden;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.author-source {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.review-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.review-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
}

.author-name {
    font-weight: 600;
    font-size: 15px;
}

.author-source {
    font-size: 13px;
    color: var(--text-muted);
}

/* Social Section */
.social-section {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.social-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--btn-radius);
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0a0a0a 0%, var(--bg-dark) 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newsletter-text {
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 500px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.newsletter-input-group input::placeholder {
    color: var(--text-secondary);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-input-group button {
    flex-shrink: 0;
    padding: 16px 32px;
}

.newsletter-privacy {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.newsletter-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
}

.newsletter-success svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

.newsletter-success p {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Brevo form theming - match site design system */
.brevo-form-wrapper,
.brevo-form-wrapper * {
    font-family: 'Urbanist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.brevo-form-wrapper .sib-form {
    background: transparent !important;
}

.brevo-form-wrapper #sib-container {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    max-width: 540px !important;
    padding: 32px !important;
    text-align: left !important;
}

/* Labels */
.brevo-form-wrapper .entry__label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Helper text */
.brevo-form-wrapper .entry__specification {
    color: var(--text-secondary) !important;
    font-size: 13px !important;
    margin-top: 6px !important;
}

/* Opt-in text */
.brevo-form-wrapper .optin-text,
.brevo-form-wrapper .optin-text p,
.brevo-form-wrapper .entry__choice span,
.brevo-form-wrapper .entry__choice p {
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Email input field - white background, dark text, rounded pill */
.brevo-form-wrapper .input,
.brevo-form-wrapper input[type="text"],
.brevo-form-wrapper input[type="email"] {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    color: #1a1a1a !important;
    -webkit-text-fill-color: #1a1a1a !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 16px !important;
    padding: 16px 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.brevo-form-wrapper .input:focus,
.brevo-form-wrapper input[type="text"]:focus,
.brevo-form-wrapper input[type="email"]:focus {
    outline: none !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
}

.brevo-form-wrapper .input::placeholder,
.brevo-form-wrapper input::placeholder {
    color: #888888 !important;
    font-family: 'Urbanist', sans-serif !important;
}

/* Subscribe button - solid green */
.brevo-form-wrapper .sib-form-block__button {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'Urbanist', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.brevo-form-wrapper .sib-form-block__button:hover {
    background: #E5E5E5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3) !important;
}

/* Hide the loading spinner icon by default */
.brevo-form-wrapper .sib-hide-loader-icon {
    display: none !important;
}

/* Error messages */
.brevo-form-wrapper .entry__error {
    color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    font-size: 14px !important;
}

/* Success/error message panels */
.brevo-form-wrapper .sib-form-message-panel {
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
}

@media (max-width: 600px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group button {
        width: 100%;
    }
}

/* ============================================
   BACKGROUND MUSIC TOGGLE
   ============================================ */
.audio-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-secondary);
    cursor: pointer;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    transition: all 0.2s ease;
}

.audio-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.audio-toggle-icon {
    width: 22px;
    height: 22px;
}

/* Show off icon by default, hide on icon */
.audio-toggle .audio-icon-on {
    display: none;
}

.audio-toggle .audio-icon-off {
    display: block;
}

/* When music is on: show on icon, hide off icon */
.audio-toggle.audio-toggle-on .audio-icon-on {
    display: block;
    color: var(--primary);
}

.audio-toggle.audio-toggle-on .audio-icon-off {
    display: none;
}

.audio-toggle.audio-toggle-on {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile: larger touch target, better positioning */
@media (max-width: 768px) {
    .audio-toggle {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
    
    .audio-toggle-icon {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--text-secondary);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--btn-radius);
    color: var(--text-primary);
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

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

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 40px;
    background: #0a0a0a;
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emotions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .affinity-row {
        gap: 16px;
    }
    
    .affinity-level {
        max-width: 240px;
        min-height: 340px;
    }
    
    .affinity-arrow {
        padding: 0 8px;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .companion-card {
        width: 160px;
    }
    
    .companion-card img {
        height: 220px;
    }
    
    .navbar {
        top: 8px;
        width: calc(100% - 32px);
        padding: 10px 16px;
    }
    
    .logo-img {
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .emotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .affinity-row {
        flex-direction: column;
        align-items: center;
    }
    
    .affinity-level {
        max-width: 100%;
        width: 100%;
    }
    
    .affinity-arrow {
        transform: rotate(90deg);
        padding: 12px 0;
    }
    
    .affinity-arrow-down {
        transform: rotate(0deg);
    }
    
    .affinity-row-reverse {
        flex-direction: column;
    }
}
