/* ============================================
   CURIOUS CROW - Dark & Mystical Theme
   ============================================ */

:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #0f0f1a;
    --bg-card: #131320;
    --bg-card-hover: #1a1a2e;
    --gold: #d4a853;
    --gold-light: #e8c878;
    --gold-dark: #b8922e;
    --purple: #7b5ea7;
    --purple-light: #9b7ec7;
    --purple-dark: #5a3d86;
    --text-primary: #e8e6e3;
    --text-secondary: #9a9a9a;
    --text-muted: #6a6a7a;
    --border: #1e1e30;
    --wellness-green: #4a9e6a;
    --spirit-purple: #8b6ab7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    background-image: radial-gradient(ellipse at 50% 0%, rgba(80, 40, 140, 0.08) 0%, transparent 60%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.gold-text {
    color: var(--gold);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(8, 8, 16, 0.97);
    backdrop-filter: blur(24px) saturate(1.3);
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 168, 83, 0.12);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
}

.crow-icon {
    filter: drop-shadow(0 0 5px rgba(212, 168, 83, 0.35));
    transition: filter 0.4s ease;
}

.logo:hover .crow-icon {
    filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.65));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(212, 168, 83, 0.08);
}

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

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

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse at 50% 15%, rgba(107, 63, 185, 0.26) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(212, 168, 83, 0.09) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 60%, rgba(75, 0, 130, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(20, 10, 40, 0.8) 0%, transparent 60%),
        var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a853' fill-opacity='0.025'%3E%3Ccircle cx='40' cy='40' r='1'/%3E%3Ccircle cx='10' cy='10' r='0.6'/%3E%3Ccircle cx='70' cy='70' r='0.6'/%3E%3Ccircle cx='10' cy='70' r='0.4'/%3E%3Ccircle cx='70' cy='10' r='0.4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(0,0,0,0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 0 24px;
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 7.5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-description {
    font-family: 'Crimson Text', serif;
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
    z-index: 3;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212, 168, 83, 0.45), 0 0 0 1px rgba(212, 168, 83, 0.2);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
}

/* ============================================
   NICHE CARDS
   ============================================ */

.niches {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.niches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.niche-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.niche-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.niche-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.niche-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 168, 83, 0.1), 0 0 0 1px rgba(212, 168, 83, 0.12);
    background: linear-gradient(135deg, #1a1a2e 0%, rgba(107, 63, 185, 0.06) 100%);
}

.niche-card:hover::before {
    opacity: 1;
}

.niche-card.featured {
    border-color: rgba(212, 168, 83, 0.15);
}

.niche-icon {
    margin-bottom: 24px;
}

.niche-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gold-light);
}

.niche-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.niche-link {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.niche-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.niche-card:hover .niche-link span {
    transform: translateX(4px);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.featured-products {
    padding: 120px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(212, 168, 83, 0.2);
    color: var(--gold);
    z-index: 2;
}

.product-badge.wellness {
    background: rgba(74, 158, 106, 0.2);
    color: var(--wellness-green);
}

.product-badge.spirit {
    background: rgba(139, 106, 183, 0.2);
    color: var(--spirit-purple);
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card h4 {
    padding: 24px 24px 8px;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.product-card p {
    padding: 0 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-link {
    display: block;
    padding: 20px 24px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: var(--gold-light);
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.blog-card.blog-featured {
    grid-row: span 2;
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    position: relative;
}

.blog-featured .blog-image {
    height: 260px;
}

.blog-category {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(212, 168, 83, 0.2);
    color: var(--gold);
}

.blog-category.wellness {
    background: rgba(74, 158, 106, 0.2);
    color: var(--wellness-green);
}

.blog-category.spirit {
    background: rgba(139, 106, 183, 0.2);
    color: var(--spirit-purple);
}

.blog-content {
    padding: 24px;
}

.blog-content time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 8px 0 12px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.read-more {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--gold-light);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    padding: 100px 0;
}

.newsletter-inner {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(123, 94, 167, 0.08) 100%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.newsletter-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 12px;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 14px 20px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    width: 280px;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.affiliate-disclosure {
    font-style: italic;
}

/* ============================================
   NICHE PAGE STYLES
   ============================================ */

.page-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero.finance-hero {
    background: radial-gradient(ellipse at 50% 30%, rgba(212, 168, 83, 0.1) 0%, transparent 60%), var(--bg-primary);
}

.page-hero.health-hero {
    background: radial-gradient(ellipse at 50% 30%, rgba(74, 158, 106, 0.1) 0%, transparent 60%), var(--bg-primary);
}

.page-hero.spirit-hero {
    background: radial-gradient(ellipse at 50% 30%, rgba(139, 106, 183, 0.12) 0%, transparent 60%), var(--bg-primary);
}

.page-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero .subtitle {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Content Grid for Niche Pages */
.content-section {
    padding: 80px 0;
}

.content-section:nth-child(even) {
    background: var(--bg-secondary);
}

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

.content-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 168, 83, 0.15);
}

.content-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.content-card .card-icon.finance { background: rgba(212, 168, 83, 0.1); }
.content-card .card-icon.wellness { background: rgba(74, 158, 106, 0.1); }
.content-card .card-icon.spirit { background: rgba(139, 106, 183, 0.1); }

.content-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.content-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-card .card-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.content-card .card-link:hover {
    color: var(--gold-light);
}

/* Review Card (for product reviews) */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.review-header {
    padding: 32px 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-rating {
    display: flex;
    gap: 2px;
    color: var(--gold);
    font-size: 0.9rem;
}

.review-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    padding: 12px 32px 0;
}

.review-card p {
    padding: 8px 32px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-card .review-cta {
    display: flex;
    gap: 12px;
    padding: 24px 32px;
}

.review-card .review-cta a {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.review-card .review-cta .btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
}

.review-card .review-cta .btn-secondary {
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
    .niche-grid,
    .products-grid,
    .content-grid.three-col {
        grid-template-columns: 1fr;
    }

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

    .blog-card.blog-featured {
        grid-row: span 1;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        gap: 32px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

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

/* E-E-A-T Meta */
.article-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.article-meta .meta-author {
    color: #d4a853;
    font-weight: 500;
}
.article-meta .meta-separator {
    margin: 0 0.5rem;
    color: #555;
}
.article-meta .meta-date,
.article-meta .meta-updated {
    color: #888;
    font-size: 0.85rem;
}
