/* 
    DESIGN TOKENS & VARIABLES
    Palette:
    Primary background: Deep space navy — #0D0820 to #1E0A46
    Accent / CTA: Electric purple — #DC50FF
    Headline text: White #FFFFFF
    Body text: Light grey #E0E0E0
    Rule / divider: Gold #F4A500
*/

:root {
    --bg-dark: #0D0820;
    --bg-light: #1E0A46;
    --accent-purple: #DC50FF;
    --accent-gold: #F4A500;
    --text-white: #FFFFFF;
    --text-grey: #E0E0E0;
    --text-muted: #A09BAA;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text-grey);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition-base);
}

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

.highlight {
    color: var(--accent-purple);
    position: relative;
    display: inline-block;
}

/* Highlight glow effect underneath */
.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-purple);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.rule-gold {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.rule-gold.center {
    margin: 1.5rem auto;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-primary {
    background-color: var(--accent-purple);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: #e573ff;
    /* Lighter purple */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 80, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-grey);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    left: 100%;
}

.icon-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .icon-arrow {
    transform: translateX(4px);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(13, 8, 32, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-white);
    font-size: 1.25rem;
    letter-spacing: 1px;
}

/* SECTIONS */
section {
    padding: 8rem 0;
    position: relative;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(244, 165, 0, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(244, 165, 0, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 500px;
}

.hero-cta {
    margin-top: 2.5rem;
}

.avail-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CSS Book Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}

.book-mockup {
    position: relative;
    width: 300px;
    height: 460px;
    transform-style: preserve-3d;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.book-mockup:hover {
    transform: rotateY(-5deg) rotateX(0deg);
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px 8px 8px 4px;
    box-shadow: inset 4px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 5;
    transform-origin: left center;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    /* Spine hinge */
}

.book-spine {
    position: absolute;
    width: 30px;
    height: 100%;
    background: #0A0618;
    transform: rotateY(-90deg) translateZ(15px);
    transform-origin: left;
    border-radius: 4px 0 0 4px;
    box-shadow: inset -2px 0 5px rgba(0, 0, 0, 0.5);
}

.book-pages {
    position: absolute;
    width: 96%;
    height: 96%;
    top: 2%;
    left: 20px;
    background: #fff;
    transform: translateZ(-20px);
    border-radius: 0 4px 4px 0;
    box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.6);
}

/* Decorative Blur background */
.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.5;
}

.blur-1 {
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(220, 80, 255, 0.2);
}

.blur-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(244, 165, 0, 0.1);
}

/* LAYOUT GRIDS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* PROBLEM SECTION */
.problem-section {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.problem-text h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.problem-text .lead {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-weight: 500;
}

.status-box {
    background: rgba(30, 10, 70, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.status-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.status-item:last-child {
    border-bottom: none;
}

.status-item.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-white);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 1rem;
}

.status-dot.red {
    background: #FF4B4B;
    box-shadow: 0 0 10px rgba(255, 75, 75, 0.5);
}

.status-dot.yellow {
    background: #F4A500;
    box-shadow: 0 0 10px rgba(244, 165, 0, 0.5);
}

.status-dot.green {
    background: #00E676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
}

/* CREW SECTION */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.crew-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.crew-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(220, 80, 255, 0.3);
}

.crew-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-purple) 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.crew-initial {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    opacity: 0.7;
}

.crew-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.crew-role {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.crew-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.crew-footer {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-white);
    font-weight: 500;
}

/* SILENCE SECTION */
.silence-section {
    background: linear-gradient(180deg, rgba(13, 8, 32, 0) 0%, rgba(220, 80, 255, 0.05) 50%, rgba(13, 8, 32, 0) 100%);
    position: relative;
}

.silence-container {
    max-width: 800px;
    margin: 0 auto;
}

.silence-content h2 {
    font-size: 3rem;
}

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

.highlight-text {
    color: var(--accent-purple);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    font-family: var(--font-heading);
}

/* AUTHOR SECTION */
.author-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.author-image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-purple) 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.author-initials {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--text-white);
    opacity: 0.5;
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-text h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* FEATURES SECTION */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 3rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(220, 80, 255, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(220, 80, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* RUNWAY / CTA SECTION */
.runway-section {
    text-align: center;
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.runway-container {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.runway-section h2 {
    font-size: 4rem;
    letter-spacing: -1px;
}

.runway-lead {
    font-size: 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.runway-sub {
    font-size: 1.25rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: rgba(20, 10, 40, 0.8);
    border: 1px solid rgba(220, 80, 255, 0.3);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-header h4 {
    margin: 0;
    font-size: 1.5rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
}

.includes-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.includes-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-white);
}

.secure-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.secure-text::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23A09BAA" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') no-repeat center;
}

/* Runway Decorative Lines */
.runway-lines {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) perspective(500px) rotateX(60deg);
    width: 100vw;
    height: 60vh;
    background:
        linear-gradient(90deg, transparent 48%, rgba(220, 80, 255, 0.2) 48%, rgba(220, 80, 255, 0.2) 52%, transparent 52%),
        linear-gradient(transparent 48%, rgba(220, 80, 255, 0.1) 48%, rgba(220, 80, 255, 0.1) 52%, transparent 52%);
    background-size: 100px 100px;
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.runway-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 100%);
}

/* FOOTER */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 10;
    background: var(--bg-dark);
}

.site-footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

/* ANIMATIONS & UTILITIES */
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in.is-visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .hero-lead-text {
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .badge {
        margin: 0 auto 1.5rem;
    }

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

    .rule-gold {
        margin: 1.5rem auto;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .status-box {
        text-align: left;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .feature-grid,
    .crew-grid {
        grid-template-columns: 1fr;
    }

    .runway-section h2 {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .price {
        font-size: 2.5rem;
    }
}