:root {
    --deep-purple: #2d1b4e;
    --royal-purple: #4a2c7a;
    --medium-purple: #6b4d8a;
    --soft-purple: #9b7bb8;
    --light-lavender: #c9b8db;
    --pale-lavender: #e8e0f0;
    --whisper-lavender: #f5f1f9;
    --gold-accent: #d4a84b;
    --soft-gold: #e8c97a;
    --pale-gold: #f5e6b8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background: linear-gradient(180deg, var(--whisper-lavender) 0%, #fff 50%, var(--pale-lavender) 100%);
    min-height: 100vh;
    color: var(--deep-purple);
    overflow-x: hidden;
}

/* Floating gold particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; top: 60%; animation-delay: 1s; }
.particle:nth-child(5) { left: 70%; top: 30%; animation-delay: 3s; }
.particle:nth-child(6) { left: 80%; top: 70%; animation-delay: 5s; }
.particle:nth-child(7) { left: 90%; top: 15%; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 15%; top: 55%; animation-delay: 4.5s; }
.particle:nth-child(9) { left: 60%; top: 85%; animation-delay: 1.5s; }
.particle:nth-child(10) { left: 45%; top: 25%; animation-delay: 3.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.7; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(245, 241, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pale-lavender);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--royal-purple);
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    align-items: center;
    margin-left: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--medium-purple);
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--deep-purple);
}

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

.nav-checkout {
    background: var(--gold-accent);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-weight: 600 !important;
}

.nav-checkout::after {
    display: none !important;
}

.nav-checkout:hover {
    background: var(--soft-gold);
    color: var(--deep-purple) !important;
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--royal-purple);
    margin: 5px 0;
    transition: 0.3s;
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.shame-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4.2rem, 14.4vw, 12rem);
    font-weight: 300;
    font-style: italic;
    background: linear-gradient(180deg, var(--deep-purple) 0%, var(--soft-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1rem;
    animation: fadeInUp 1.2s ease-out, shamePulse 3s ease-in-out infinite 1.2s;
}

@keyframes shamePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold-accent);
    margin: 2rem auto;
    animation: fadeInUp 1.2s ease-out 0.2s both;
}

.tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--royal-purple);
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.tagline-emphasis {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    color: var(--gold-accent);
    text-transform: none;
    letter-spacing: 0.05em;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--soft-purple) 0%, transparent 100%);
}

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

/* Page Header (for non-home pages) */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--whisper-lavender) 0%, white 100%);
    position: relative;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--deep-purple);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.page-header .subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--gold-accent);
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Content Sections */
section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--royal-purple);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--medium-purple);
    font-weight: 300;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--deep-purple);
    font-weight: 400;
}

.gold-text {
    color: var(--gold-accent);
    font-style: italic;
}

/* Quote Block */
.quote-block {
    background: linear-gradient(135deg, var(--pale-lavender) 0%, var(--whisper-lavender) 100%);
    padding: 2.5rem;
    margin: 2.5rem 0;
    border-left: 3px solid var(--gold-accent);
    position: relative;
}

.quote-block::before {
    content: '"';
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--light-lavender);
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    line-height: 1;
}

.quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--royal-purple);
    position: relative;
    z-index: 1;
}

/* Home Page CTA Grid */
.home-intro {
    padding-top: 0;
}

.home-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.home-cta-card {
    background: white;
    padding: 2rem;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid var(--pale-lavender);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.home-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gold-accent);
    transition: height 0.3s ease;
}

.home-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(45, 27, 78, 0.1);
}

.home-cta-card:hover::before {
    height: 100%;
}

.home-cta-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--deep-purple);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.home-cta-card p {
    font-size: 0.9rem;
    color: var(--medium-purple);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-cta-card .cta-arrow {
    color: var(--gold-accent);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.home-cta-card:hover .cta-arrow {
    transform: translateX(5px);
}

/* Book Section */
.book-section {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--royal-purple) 100%);
    padding: 5rem 2rem;
    max-width: 100%;
}

.book-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.book-cover {
    position: relative;
}

.book-cover img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.book-cover:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.preorder-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--gold-accent);
    color: var(--deep-purple);
    padding: 1rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.75rem;
    text-align: center;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(212, 168, 75, 0.4);
    animation: pulse 2s infinite;
}

.preorder-badge .price {
    font-size: 1.1rem;
    display: block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.book-info {
    color: var(--whisper-lavender);
}

.book-info h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: white;
}

.book-info .subtitle {
    font-style: italic;
    color: var(--soft-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.book-info .author {
    font-size: 1rem;
    color: var(--light-lavender);
    margin-bottom: 1.5rem;
}

.book-info p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--pale-lavender);
}

.signed-note {
    background: rgba(212, 168, 75, 0.15);
    border: 1px solid var(--gold-accent);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signed-note .icon {
    font-size: 1.5rem;
}

.signed-note span {
    color: var(--soft-gold);
    font-weight: 400;
}

.preorder-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold-accent);
    color: var(--deep-purple);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 168, 75, 0.3);
}

.preorder-btn:hover {
    background: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 75, 0.4);
}

/* Blog Section */
.blog-section {
    padding: 5rem 2rem;
    background: var(--whisper-lavender);
    max-width: 100%;
}

.blog-container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.blog-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--royal-purple);
    margin-bottom: 0.5rem;
}

.blog-header p {
    color: var(--soft-purple);
    font-style: italic;
}

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

.blog-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(45, 27, 78, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(45, 27, 78, 0.12);
}

.blog-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--royal-purple) 0%, var(--medium-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--gold-accent);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--soft-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--deep-purple);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--medium-purple);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card a {
    color: var(--gold-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.blog-card a:hover {
    color: var(--royal-purple);
}

.substack-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--pale-lavender) 0%, white 100%);
    border-radius: 4px;
}

.substack-cta h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--royal-purple);
    margin-bottom: 0.5rem;
}

.substack-cta p {
    color: var(--soft-purple);
    margin-bottom: 1.5rem;
}

.substack-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--royal-purple);
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.substack-btn:hover {
    background: var(--deep-purple);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    border: 1px solid var(--pale-lavender);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(45, 27, 78, 0.1);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold-accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--soft-purple);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* Checkout Banner */
.checkout-banner {
    background: linear-gradient(90deg, var(--deep-purple) 0%, var(--royal-purple) 50%, var(--deep-purple) 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.checkout-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 75, 0.1), transparent);
    animation: shimmer 3s infinite;
}

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

.checkout-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.checkout-banner p {
    color: var(--pale-lavender);
    font-size: 0.95rem;
}

.checkout-banner .price-highlight {
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 1.2rem;
}

.checkout-banner-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--gold-accent);
    color: var(--deep-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.checkout-banner-btn:hover {
    background: var(--soft-gold);
    transform: scale(1.05);
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--medium-purple);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-accent);
}

.footer-text {
    font-size: 0.85rem;
    color: var(--soft-purple);
    font-weight: 300;
}

.footer-gold {
    color: var(--gold-accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.2rem;
        margin-left: 2rem;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
}

@media (max-width: 900px) {
    .book-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .book-cover {
        display: flex;
        justify-content: center;
    }

    .book-cover img {
        transform: none;
        max-width: 280px;
    }

    .book-cover:hover img {
        transform: scale(1.02);
    }

    .preorder-badge {
        right: calc(50% - 170px);
    }

    .signed-note {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 0.95rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(245, 241, 249, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--pale-lavender);
        margin-left: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .page-header {
        padding: 8rem 1.5rem 3rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::before {
        left: -15px;
        width: 6px;
        height: 6px;
    }

    .book-section {
        padding: 3rem 1.5rem;
    }

    .book-info h2 {
        font-size: 2rem;
    }

    .checkout-banner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .blog-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .shame-title {
        font-size: 3.6rem;
    }

    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.1em;
    }

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

    .stat-number {
        font-size: 2rem;
    }

    .preorder-badge {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
        right: 10px;
        top: -10px;
    }

    .preorder-badge .price {
        font-size: 1rem;
    }

    .home-cta-grid {
        grid-template-columns: 1fr;
    }
}
