/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-dark: #111;
    --text: #e8e8e8;
    --text-muted: #888;
    --accent: #f97316;
    --accent-glow: rgba(249, 115, 22, 0.15);
    --border: #222;
    --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* === NAV === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 700;
    color: var(--accent) !important;
    letter-spacing: 2px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: var(--text-muted); font-size: 14px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.menu-btn {
    display: none; background: none; border: none;
    color: var(--text); font-size: 24px; cursor: pointer;
}

/* === HERO === */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: 64px;
}
.hero-inner {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    width: 100%;
}
.hero-tag {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.15; font-weight: 700; margin-bottom: 24px;
}
.accent { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.brain-glow { position: relative; width: 300px; height: 300px; }
.brain-svg { width: 100%; height: 100%; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* === BUTTONS === */
.btn {
    display: inline-block; padding: 14px 28px; border-radius: 8px;
    font-size: 15px; font-weight: 600; transition: all 0.2s;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent); color: #fff;
}
.btn-primary:hover { background: #ea6c0a; opacity: 1; }
.btn-secondary {
    border: 1px solid var(--border); color: var(--text);
    background: transparent;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

/* === SECTIONS === */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-dark); }
.section-cta {
    background: linear-gradient(135deg, #1a0f00, #0a0a0a);
    border-top: 1px solid var(--border);
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    text-align: center; margin-bottom: 60px;
}
.overline {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 3px; color: var(--accent); margin-bottom: 8px;
}

/* === GRIDS === */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* === CARDS === */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    transition: border-color 0.3s;
}
.card:hover { border-color: var(--accent); }
.card-icon { font-size: 32px; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; }

.persona-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
}
.persona-card h3 { font-size: 18px; margin-bottom: 12px; }
.persona-card p { color: var(--text-muted); font-size: 15px; }

/* === BOOK FEATURE === */
.book-feature {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: center;
}
.book-cover-img {
    width: 260px; height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(249,115,22,0.2);
    display: block; margin: 0 auto;
}
.book-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px; margin-bottom: 8px;
}
.book-subtitle { font-size: 16px; color: var(--text-muted); margin-bottom: 20px; }
.book-info p { margin-bottom: 20px; color: var(--text-muted); }
.check-list { list-style: none; margin-bottom: 28px; }
.check-list li { padding: 4px 0; font-size: 15px; }

/* === BOOK GRID (books.html) === */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.book-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 32px;
    transition: border-color 0.3s, transform 0.3s;
}
.book-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.book-card h3 { font-size: 20px; margin-bottom: 8px; }
.book-card .price { color: var(--accent); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.book-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.tag { display: inline-block; background: var(--accent-glow); color: var(--accent); padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }

/* === ABOUT === */
.about-grid {
    display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start;
}
.avatar-circle {
    width: 200px; height: 200px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-glow), var(--bg-card));
    border: 2px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
}
.avatar-circle span {
    font-family: 'Playfair Display', serif;
    font-size: 64px; font-weight: 700; color: var(--accent);
}
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 32px; margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; font-size: 16px; line-height: 1.8; }

/* === CONTACT === */
.contact-box {
    max-width: 600px; margin: 0 auto; text-align: center;
}
.contact-box p { color: var(--text-muted); margin-bottom: 24px; font-size: 16px; }
.contact-email {
    font-size: 22px; font-weight: 600; color: var(--accent);
    display: inline-block; padding: 16px 32px;
    border: 1px solid var(--accent); border-radius: var(--radius);
}

/* === FREE RESOURCES === */
.resource-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 40px; text-align: center;
    max-width: 600px; margin: 0 auto;
}
.resource-card h3 { font-size: 24px; margin-bottom: 12px; }
.resource-card p { color: var(--text-muted); margin-bottom: 24px; }

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 13px; text-align: center; }

/* === MOBILE === */
@media (max-width: 768px) {
    .menu-btn { display: block; }
    .nav-links {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--bg); flex-direction: column;
        padding: 24px; gap: 20px; border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-sub { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .book-feature { grid-template-columns: 1fr; text-align: center; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
}
