@charset "UTF-8";

/* =======================================
   CSS RESET & VARIABLES
   ======================================= */
:root {
    --bg-dark: #070B19;
    --bg-card: rgba(18, 23, 44, 0.7);
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-purple: #b77df7;
    --accent-cyan: #4aeffe;
    --glow-purple: rgba(183, 125, 247, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =======================================
   UTILITIES & TYPOGRAPHY
   ======================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1, h2, h3, h4, .logo {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

strong {
    font-weight: 600;
    color: #fff;
}

/* =======================================
   ANIMATIONS
   ======================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--glow-purple); }
    70% { box-shadow: 0 0 20px 10px rgba(183,125,247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(183,125,247, 0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =======================================
   BUTTONS
   ======================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-primary);
}

.btn-small:hover {
    background: rgba(255,255,255,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple), #8B5CF6);
    color: #fff;
    box-shadow: 0 4px 15px var(--glow-purple);
}

.btn-primary:hover, .btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow-purple);
    filter: brightness(1.1);
}

.btn-checkout {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-size: 1.25rem;
    padding: 1.2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}

.pulse-btn {
    animation: pulse-glow 2s infinite;
}

/* =======================================
   COMPONENTS
   ======================================= */
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.8rem 0;
}

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

.logo {
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(183, 125, 247, 0.3);
}

/* =======================================
   SECTIONS
   ======================================= */
/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: url('hero_bg.png') no-repeat center center/cover;
    text-align: center;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,11,25,0.3) 0%, rgba(7,11,25,1) 100%);
    z-index: -1;
}

.bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(183,125,247,0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(183, 125, 247, 0.1);
    color: var(--accent-purple);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 30px;
    border: 1px solid rgba(183, 125, 247, 0.3);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--accent-cyan);
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-text p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.alert-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-purple);
    background: rgba(183, 125, 247, 0.05);
    border-radius: 0 8px 8px 0;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.alert-box em {
    color: var(--accent-purple);
    font-style: normal;
    font-weight: 700;
}

.problem-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.sleeping-illustration {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,239,254,0.1) 0%, rgba(0,0,0,0) 70%);
    border: 1px dashed rgba(74,239,254,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

/* Science Section */
.science-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0f25 100%);
}

.stats-box {
    text-align: center;
    margin-bottom: 4rem;
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-head);
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(74, 239, 254, 0.4);
    line-height: 1;
}

.stat-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.science-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.science-grid p {
    color: var(--text-muted);
}

.summary-text {
    font-size: 1.25rem;
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    display: inline-block;
    background: var(--bg-card);
    max-width: 800px;
    margin: 0 auto;
}

.summary-text strong {
    color: var(--accent-purple);
}

/* Book Section */
.book-section {
    padding: 8rem 0;
}

.book-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.book-cover-container {
    flex: 0 0 45%;
    position: relative;
}

.floating {
    animation: float 5s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    border-radius: 12px;
}

.book-info {
    flex: 1;
}

.book-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s;
}

.features-list li:hover {
    background: rgba(255,255,255,0.06);
}

.features-list img {
    width: 24px;
    margin-top: 3px;
    flex-shrink: 0;
}

.features-list div {
    color: var(--text-muted);
}

.features-list strong {
    color: #fff;
    display: block;
    margin-bottom: 0.2rem;
}

/* Offer Section */
.offer-section {
    padding: 5rem 0 8rem;
}

.glass-panel {
    background: rgba(183, 125, 247, 0.03);
    border: 1px solid rgba(183, 125, 247, 0.2);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.glass-panel p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing {
    margin: 3rem 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    font-size: 1.2rem;
    color: #64748b;
    text-decoration: line-through;
}

.new-price {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.new-price strong {
    font-size: 3.5rem;
    color: #10B981;
    display: block;
    line-height: 1;
    margin-top: 0.5rem;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    color: var(--text-muted);
}

footer .logo {
    margin-bottom: 1rem;
    color: #fff;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* =======================================
   RESPONSIVE DESIGN
   ======================================= */
@media (max-width: 992px) {
    .problem-grid, .book-flex {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .book-cover-container {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .glass-panel {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    .hero {
        padding-top: 10rem;
    }
    .nav-container .btn-small {
        display: none;
    }
    .btn-checkout {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
    .new-price strong {
        font-size: 2.5rem;
    }
}
