@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #fefcf9;       /* Bright warm cream background */
    --bg-card: rgba(255, 255, 255, 0.75); /* Warm white card */
    --border-color: rgba(234, 88, 12, 0.1); /* Subtle warm orange border */
    --border-glow: rgba(192, 132, 252, 0.25);
    
    /* Calming gradients and palette - matching the logo */
    --primary: #c084fc;       /* Soft Lotus Purple */
    --primary-light: #f472b6; /* Soft Face Pink */
    --secondary: #f97316;     /* Warm Infinity Orange */
    --accent: #fb7185;        /* Rose/Peach Accent */
    --accent-gold: #fbbf24;   /* Star Amber Gold */
    
    --text-main: #2d241e;     /* Warm dark brown for readability */
    --text-muted: #6e655f;    /* Cozy medium brown-gray */
    --text-inverse: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-sm: 0 2px 10px -2px rgba(120, 80, 50, 0.05);
    --shadow-md: 0 10px 35px -5px rgba(120, 80, 50, 0.08);
    --shadow-glow: 0 0 30px rgba(249, 115, 22, 0.08);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Auroras (Bright & Warm Light Theme) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: float-aurora 25s infinite alternate ease-in-out;
}

body::after {
    top: 50vh;
    left: -10vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation: float-aurora-reverse 30s infinite alternate ease-in-out;
}

@keyframes float-aurora {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-8%, 10%) scale(1.15); }
}

@keyframes float-aurora-reverse {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, -8%) scale(1.2); }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.2);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.35);
}

/* Common Typography & Links */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Utilities */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
}

.glass-interactive {
    transition: var(--transition-smooth);
}

.glass-interactive:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow), var(--shadow-md);
    transform: translateY(-4px);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 20%, var(--secondary) 80%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(254, 252, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
}

.logo svg, .logo img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px;
    object-fit: cover;
    filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.35));
}



.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    color: var(--text-inverse);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.35);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    color: var(--text-inverse);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px rgba(167, 139, 250, 0.55), 0 0 15px rgba(45, 212, 191, 0.3);
}

.btn-download svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Menu (Mobile Only) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-badge span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    box-shadow: 0 0 8px var(--secondary);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 800;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Play Store Badge styling */
.play-store-btn {
    display: inline-flex;
    align-items: center;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.6rem 1.25rem;
    gap: 0.75rem;
    color: #ffffff;
    transition: var(--transition-smooth);
}

.play-store-btn:hover {
    border-color: var(--primary);
    background: #0d0c15;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5), 0 0 15px rgba(167, 139, 250, 0.25);
}

.play-store-btn svg {
    width: 24px;
    height: 24px;
}

.play-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.play-store-text .subtext {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.play-store-text .maintext {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
}

/* Phone Mockup Frame */
.hero-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-frame {
    width: 310px;
    height: 630px;
    background: #fdfbf7;
    border: 12px solid #e7dfcc;
    border-radius: 42px;
    box-shadow: 0 25px 60px -10px rgba(120, 80, 50, 0.12), 0 0 40px rgba(249, 115, 22, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* Phone Dynamic Island / Camera punch */
.phone-island {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000000;
    border-radius: 20px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.phone-island::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #0d2847;
    border-radius: 50%;
}

/* Phone Status Bar */
.phone-status-bar {
    height: 38px;
    padding: 12px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    z-index: 40;
    background: linear-gradient(to bottom, rgba(254, 252, 249, 0.5), transparent);
}

.phone-status-icons {
    display: flex;
    gap: 4px;
    align-items: center;
}

.phone-status-icons svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Phone App Content */
.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
}

.phone-content::-webkit-scrollbar {
    display: none;
}

/* App Header inside phone */
.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.phone-user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-inverse);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.phone-welcome h4 {
    font-size: 0.85rem;
    line-height: 1.2;
}

.phone-welcome p {
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Phone Cards & Widgets */
.phone-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(234, 88, 12, 0.08);
    border-radius: 18px;
    padding: 1rem;
    margin-bottom: 0.85rem;
    transition: var(--transition-smooth);
}

.phone-card-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-affirmation-card {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.15) 0%, rgba(244, 114, 182, 0.1) 100%);
    border: 1px solid rgba(192, 132, 252, 0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.phone-affirmation-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-main);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0;
}

.phone-mood-selector {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.phone-mood-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    padding: 4px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.phone-mood-btn span {
    font-size: 0.55rem;
    color: var(--text-muted);
    font-weight: 600;
}

.phone-mood-btn.active {
    background: rgba(167, 139, 250, 0.15);
    transform: scale(1.15);
}

.phone-mood-btn.active span {
    color: var(--primary-light);
}

/* Water simulator widget inside phone */
.phone-water-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: center;
}

.phone-water-glass-container {
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-top: none;
    border-radius: 0 0 16px 16px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.phone-water-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 37.5%;
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.7), rgba(59, 130, 246, 0.8));
    transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.phone-water-liquid::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 200%;
    height: 8px;
    background: rgba(45, 212, 191, 0.4);
    border-radius: 40%;
    animation: wave 4s linear infinite;
    transform: translateX(0);
}

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

.phone-water-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.phone-water-count {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.phone-water-btn {
    background: var(--secondary);
    color: var(--text-inverse);
    border: none;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
}

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

/* Checklist widget inside phone */
.phone-checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    cursor: pointer;
}

.phone-checklist-item:last-child {
    margin-bottom: 0;
}

.phone-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1.5px solid var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.phone-checklist-item.checked .phone-checkbox {
    background-color: var(--accent);
    border-color: var(--accent);
}

.phone-checkbox svg {
    width: 8px;
    height: 8px;
    fill: #ffffff;
    display: none;
}

.phone-checklist-item.checked .phone-checkbox svg {
    display: block;
}

.phone-checklist-item span {
    transition: var(--transition-smooth);
}

.phone-checklist-item.checked span {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Gamified Challenges inside phone */
.phone-challenge-card {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(167, 139, 250, 0.08) 100%);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.phone-progress-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 4px 0 8px;
}

.phone-progress-bar {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--accent-gold), var(--primary));
    border-radius: 10px;
    transition: width 0.6s ease;
}

.phone-streak-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.phone-streak-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Phone Navigation Bar */
.phone-nav {
    height: 52px;
    background: #faf6f0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 6px;
    z-index: 40;
}

.phone-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.55rem;
    font-weight: 600;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 50px;
}

.phone-nav-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.phone-nav-btn.active {
    color: var(--primary-light);
}

/* Float Animation for mockup */
.hero-mockup-animation {
    animation: floating-phone 6s ease-in-out infinite;
}

@keyframes floating-phone {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Features Grid Section */
.features {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

.feature-card {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}

.feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.1);
}

.icon-affirmation {
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: var(--primary);
}

.icon-mood {
    background: rgba(45, 212, 191, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.25);
    color: var(--secondary);
}

.icon-water {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #60a5fa;
}

.icon-sleep {
    background: rgba(192, 132, 252, 0.15);
    border: 1px solid rgba(192, 132, 252, 0.25);
    color: #e879f9;
}

.icon-selfcare {
    background: rgba(251, 113, 133, 0.15);
    border: 1px solid rgba(251, 113, 133, 0.25);
    color: var(--accent);
}

.icon-challenge {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.25);
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Feature Showcase Details (Split features) */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 7rem;
}

.showcase-row:nth-child(even) {
    direction: rtl;
}

.showcase-row:nth-child(even) .showcase-text {
    direction: ltr;
}

.showcase-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-text h3 {
    font-size: 2.2rem;
    line-height: 1.25;
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.showcase-list li svg {
    width: 20px;
    height: 20px;
    fill: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Interactive preview box in Showcase */
.showcase-visual {
    position: relative;
    border-radius: 28px;
    padding: 3rem;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.sleep-visual-bg {
    background: radial-gradient(circle at top right, rgba(192, 132, 252, 0.15), transparent 70%), 
                radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.15), transparent 70%),
                rgba(255, 255, 255, 0.7);
}

.streak-visual-bg {
    background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.15), transparent 70%), 
                radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.15), transparent 70%),
                rgba(255, 255, 255, 0.7);
}

/* Sleep Log Interactive Mini Widget */
.mini-sleep-log {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sleep-clock {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.05);
    border-top-color: var(--primary-light);
    border-right-color: var(--primary);
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate-clock 20s linear infinite;
}

@keyframes rotate-clock {
    100% { transform: rotate(360deg); }
}

.sleep-clock::after {
    content: '🌙';
    font-size: 2rem;
    transform: rotate(0deg);
    animation: anti-rotate 20s linear infinite;
}

@keyframes anti-rotate {
    100% { transform: rotate(-360deg); }
}

.sleep-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
}

.sleep-stat-item {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sleep-stat-val {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

.sleep-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Streak / Challenge Interactive Widget */
.mini-streak-widget {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.streak-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.streak-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.streak-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(251, 113, 133, 0.2) 100%);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
    transition: var(--transition-smooth);
}

.streak-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.45);
}

.streak-badge-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.challenge-row-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.challenge-row-info h5 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.challenge-row-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.challenge-xp {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent));
    color: var(--text-inverse);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(251, 191, 36, 0.3);
}

/* Call To Action (CTA) Section */
.cta {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    text-align: center;
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cta-content h2 {
    font-size: 3rem;
    line-height: 1.15;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cta-store-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border-color);
    background: #faf6ee;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links-group {
    display: flex;
    justify-content: flex-end;
    gap: 4rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h5 {
    color: var(--text-main);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

/* Privacy Policy Layout */
.policy-page {
    padding-top: 8rem;
    padding-bottom: 6rem;
    min-height: 100vh;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.policy-header {
    margin-bottom: 3rem;
    text-align: center;
}

.policy-header h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.policy-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.policy-content {
    padding: 3rem;
}

.policy-content section {
    margin-bottom: 2.5rem;
}

.policy-content section:last-child {
    margin-bottom: 0;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.policy-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.policy-content ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    padding-left: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-row {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(11, 10, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-badge {
        align-self: center;
    }
    
    .hero-content p {
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }
    
    .showcase-row:nth-child(even) {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-links-group {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
}

/* Language Switcher Styling */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 1.5rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: var(--primary-light);
    background: rgba(167, 139, 250, 0.1);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

