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

:root {
    --bg-primary: #fce7f3;
    --bg-surface: #fdf2f8;
    --accent-red: #dc2626;
    --accent-red-bright: #ef4444;
    --text-primary: #1a1a1a;
    --text-muted: #000000;
    --accent-green: #4ade80;
    --border-subtle: #f9a8d4;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: url('./polka-dots.jpg') center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 300;
}

.pink-box {
    display: inline-block;
    background: rgba(252, 231, 243, 0.93);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--accent-green);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

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

.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
}

.logo .accent {
    color: var(--accent-red);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
}

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

.btn-nav {
    padding: 0.4rem 1rem;
    background: var(--accent-red);
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
}

.btn-nav:hover {
    background: #b91c1c;
    color: white !important;
}

.btn-live-news {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    background: #000;
    color: #4ade80 !important;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-live-news:hover {
    background: #111;
    color: #4ade80 !important;
}

.live-dot {
    width: 9px;
    height: 9px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: livepulse 1.2s infinite;
}

@keyframes livepulse {
    0%, 100% { background: #fff; box-shadow: 0 0 0 0 rgba(74,222,128,0); }
    50% { background: #4ade80; box-shadow: 0 0 6px 2px rgba(74,222,128,0.6); }
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.accent-italic {
    font-style: italic;
    color: var(--accent-red-bright);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.revenue-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.revenue-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.revenue-amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    color: #4ade80;
    font-weight: 500;
}

.revenue-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: -2.5rem auto 3rem;
    line-height: 1.7;
}

/* Product Section */
.product-section {
    padding: 6rem 2rem;
}

/* Files Grid */
.files-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.file-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.file-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.featured-card {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, #fdf2f8 0%, #fff5f7 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background: var(--accent-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.file-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-red-bright);
    background: rgba(220, 38, 38, 0.1);
    display: inline-block;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.08em;
    width: fit-content;
}

.file-ext {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -0.5rem;
}

.file-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.file-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.file-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-red-bright);
    margin-top: 0.5rem;
}

.file-price-was {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 0.5rem;
}

.btn-file {
    width: 100%;
    margin-top: auto;
}

/* CTA additions */
.cta-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.product-badge {
    display: inline-block;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.product-title {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.product-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-price {
    font-size: 2rem;
    color: var(--accent-red-bright);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Book Mockup */
.product-visual {
    position: relative;
}

.book-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-8deg);
}

.book-cover {
    background: linear-gradient(135deg, #ffffff 0%, #fdf2f8 100%);
    border: 2px solid var(--accent-red);
    padding: 4rem 3rem;
    border-radius: 8px;
    box-shadow:
        20px 0 30px rgba(220, 38, 38, 0.2),
        inset 0 0 100px rgba(220, 38, 38, 0.05);
}

.book-title {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-red-bright);
}

.book-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-red);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
    background: var(--accent-red-bright);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* What's Inside Section */
.whats-inside {
    padding: 6rem 2rem;
    background: var(--bg-surface);
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 4rem;
}

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

.content-card {
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.content-card:hover {
    border-color: #333333;
}

.chapter-number {
    color: var(--accent-red-bright);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.content-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.content-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 100%;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Resources Section */
.resources {
    padding: 6rem 2rem;
    background: var(--bg-primary);
}

.resources-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

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

.resource-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem;
    transition: border-color 0.2s, transform 0.2s;
}

.resource-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-2px);
}

.resource-category {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-red-bright);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.resource-title {
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.resource-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.resource-source {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.resource-date {
    font-size: 0.85rem;
    color: var(--accent-red-bright);
    font-weight: 500;
}

.resources-note {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-surface);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.resources-note p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--bg-surface);
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Dashboard Section */
.dashboard {
    padding: 6rem 2rem;
    text-align: center;
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.dashboard-link {
    color: var(--accent-red-bright);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dashboard-link:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 32px !important;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        font-size: 0.75rem;
    }

    .nav-links a {
        padding: 0.25rem 0;
    }

    .btn-nav {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .hamburger {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .product-buttons {
        flex-direction: column;
    }

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

    .btn {
        width: 100%;
    }
}
