/* =============================================
   PETER HITSCHLER - AUTHOR WEBSITE
   Color Palette: Charcoal #2D2D2D, Gold #B8962E
   ============================================= */

/* --- CSS Variables --- */
:root {
    --gold: #B8962E;
    --gold-light: #d4b44a;
    --gold-dark: #9a7c24;
    --gold-glow: rgba(184, 150, 46, 0.3);
    --charcoal: #2D2D2D;
    --charcoal-dark: #1a1a1a;
    --charcoal-deeper: #111111;
    --charcoal-light: #3d3d3d;
    --white: #ffffff;
    --off-white: #f5f3ef;
    --cream: #faf8f4;
    --text-primary: #2D2D2D;
    --text-secondary: #6b6b6b;
    --text-light: #a0a0a0;
    --border: rgba(184, 150, 46, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-gold: 0 8px 30px rgba(184, 150, 46, 0.2);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

.section-padding { padding: 100px 0; }

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--charcoal-deeper);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }
.preloader-logo {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 20px;
}
.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--charcoal-light);
    border-radius: 3px;
    overflow: hidden;
}
.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    animation: preloaderFill 1.5s ease-in-out forwards;
}
@keyframes preloaderFill { to { width: 100%; } }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Nav Logo with Shine Slide Only --- */
.nav-logo {
    position: relative;
    display: inline-block;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.nav-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(184, 150, 46, 0.08),
        rgba(184, 150, 46, 0.25),
        rgba(212, 180, 74, 0.4),
        rgba(184, 150, 46, 0.25),
        rgba(184, 150, 46, 0.08),
        transparent
    );
    transform: skewX(-20deg);
    animation: logoShine 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}
.nav-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}
.nav-logo:hover img {
    transform: scale(1.05);
}
.navbar.scrolled .nav-logo img { height: 40px; }

@keyframes logoShine {
    0% { left: -60%; }
    40% { left: 120%; }
    100% { left: 120%; }
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}
.nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}
.nav-toggle span {
    width: 28px; height: 2px;
    background: var(--white);
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--charcoal-deeper);
    overflow: hidden;
}
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(184, 150, 46, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(184, 150, 46, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, var(--charcoal-deeper) 0%, #1a1a1a 50%, #222 100%);
}
.hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 100px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(184, 150, 46, 0.12);
    border: 1px solid rgba(184, 150, 46, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}
.hero-title {
    font-family: var(--font-display);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}
.hero-title-line {
    display: block;
    font-size: 64px;
    font-weight: 700;
}
.hero-title-accent {
    color: var(--gold);
    font-size: 80px;
    font-weight: 900;
    font-style: italic;
}
.hero-subtitle {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-subtitle strong { color: var(--gold); }
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-available {
    display: flex;
    align-items: center;
    gap: 16px;
}
.available-text {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.available-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--white);
    font-weight: 600;
}
.available-logo i { font-size: 24px; color: #FF9900; }

/* Book 3D */
.hero-book {
    display: flex;
    justify-content: center;
    align-items: center;
}
.book-3d-wrapper {
    position: relative;
    perspective: 1000px;
}
.book-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 400px;
    background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
    filter: blur(40px);
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}
.book-3d {
    position: relative;
    z-index: 2;
    transform: rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s ease;
    max-width: 350px;
}
.book-3d:hover { transform: rotateY(0deg) rotateX(0deg) scale(1.03); }
.book-3d img {
    border-radius: 4px;
    box-shadow: 
        20px 20px 60px rgba(0,0,0,0.5),
        -5px -5px 20px rgba(184, 150, 46, 0.1);
}
.book-shadow {
    position: absolute;
    bottom: -30px; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 20px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.4), transparent);
    filter: blur(10px);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
}
.scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
    0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}
.hero-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(184, 150, 46, 0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.btn-lg { padding: 18px 40px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Section Headers --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}
.section-tag::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 28px; height: 2px;
    background: var(--gold);
    transform: translateY(-50%);
}
.section-tag-light { color: var(--gold-light); }
.section-tag-light::before { background: var(--gold-light); }

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.2;
}
.section-title-light { color: var(--white); }
.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 60px; }

/* --- About Preview Section --- */
.about-preview { background: var(--cream); }
.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image-frame {
    position: relative;
    max-width: 400px;
}
.about-image-inner {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-accent {
    position: absolute;
    top: 20px; left: 20px;
    width: 100%; height: 100%;
    border: 3px solid var(--gold);
    border-radius: var(--radius-md);
    z-index: 1;
}
.about-preview-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-stats {
    display: flex;
    gap: 30px;
    margin: 36px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.stat-icon {
    width: 48px; height: 48px;
    background: rgba(184, 150, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
}
.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
}
.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Features Section --- */
.features { background: var(--off-white); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184, 150, 46, 0.3);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 70px; height: 70px;
    background: rgba(184, 150, 46, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 26px;
    color: var(--gold);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}
.feature-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--charcoal);
}
.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Quote Section --- */
.quote-section {
    position: relative;
    padding: 120px 0;
    background: var(--charcoal-deeper);
    overflow: hidden;
}
.quote-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(184, 150, 46, 0.06) 0%, transparent 70%);
}
.quote-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.quote-mark {
    font-size: 50px;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.6;
}
.quote-text {
    font-family: var(--font-accent);
    font-size: 32px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 24px;
}
.quote-author {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: normal;
}

/* --- Author Section --- */
.author-section { background: var(--cream); }
.author-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.author-bio {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}
.author-logo-display {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}
.author-logo-display img {
    max-width: 300px;
}

/* --- Newsletter Section --- */
.newsletter-section {
    background: var(--off-white);
    padding: 80px 0;
}
.newsletter-box {
    background: var(--charcoal-deeper);
    padding: 60px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.newsletter-box::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(184, 150, 46, 0.1), transparent 70%);
}
.newsletter-title {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--white);
    margin-bottom: 12px;
}
.newsletter-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
.newsletter-input-wrapper {
    display: flex;
    gap: 12px;
}
.newsletter-input-wrapper input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--charcoal-light);
    background: var(--charcoal);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}
.newsletter-input-wrapper input:focus {
    border-color: var(--gold);
}
.newsletter-input-wrapper input::placeholder { color: var(--text-light); }

/* --- Page Hero (Inner Pages) --- */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: var(--charcoal-deeper);
    text-align: center;
    overflow: hidden;
}
.page-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(184, 150, 46, 0.06) 0%, transparent 60%),
        linear-gradient(135deg, var(--charcoal-deeper), #1a1a1a);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-light);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { font-size: 10px; color: var(--text-light); }

/* --- About Full Page --- */
.about-full { background: var(--cream); }
.about-full-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}
.about-full-image-frame {
    position: relative;
}
.about-full-image-frame img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}
.about-full-accent-box {
    position: absolute;
    bottom: -15px; right: -15px;
    width: 100px; height: 100px;
    border: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    z-index: 1;
}
.about-full-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.8;
}
.about-highlights { margin-top: 40px; }
.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
}
.highlight-icon {
    width: 50px; height: 50px;
    min-width: 50px;
    background: rgba(184, 150, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
}
.highlight-item h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--charcoal);
}
.highlight-item p {
    font-size: 14px !important;
    margin-bottom: 0 !important;
}

/* --- Mission Section --- */
.mission-section {
    position: relative;
    background: var(--charcoal-deeper);
    text-align: center;
    overflow: hidden;
}
.mission-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(184, 150, 46, 0.06) 0%, transparent 60%);
}
.mission-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.mission-text {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.9;
}

/* --- Book Detail Page --- */
.book-detail { background: var(--cream); }
.book-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.book-detail-3d {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.book-detail-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 250px; height: 350px;
    background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
    filter: blur(30px);
}
.book-detail-3d img {
    position: relative;
    z-index: 2;
    border-radius: 6px;
    box-shadow: 
        15px 15px 50px rgba(0,0,0,0.3),
        -5px -5px 20px rgba(184, 150, 46, 0.08);
    transition: transform 0.5s ease;
}
.book-detail-3d:hover img { transform: scale(1.02); }
.book-detail-shadow {
    position: absolute;
    bottom: -20px; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 15px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.3), transparent);
    filter: blur(8px);
}
.book-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.book-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(184, 150, 46, 0.12);
    color: var(--gold);
    border: 1px solid rgba(184, 150, 46, 0.3);
}
.book-badge-genre {
    background: rgba(45, 45, 45, 0.08);
    color: var(--charcoal);
    border-color: rgba(45, 45, 45, 0.2);
}
.book-detail-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}
.book-detail-author {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.book-detail-author strong { color: var(--gold); }
.book-detail-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 24px;
    border-radius: 3px;
}
.book-detail-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
}
.book-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.book-meta-item {}
.meta-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 4px;
}
.meta-value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
}
.book-buy-section { margin-top: 30px; }
.buy-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

/* --- Readers Expect Section --- */
.readers-expect { background: var(--off-white); }
.expect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.expect-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.expect-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.expect-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    color: rgba(184, 150, 46, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}
.expect-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}
.expect-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Contact Page --- */
.contact-section { background: var(--cream); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.contact-intro {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(184, 150, 46, 0.3);
}
.contact-card-icon {
    width: 50px; height: 50px;
    min-width: 50px;
    background: rgba(184, 150, 46, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
}
.contact-card-info h4 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--charcoal);
}
.contact-card-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Contact Form --- */
.contact-form-box {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.form-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 28px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-group .required { color: var(--gold); }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0ddd6;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--charcoal);
    background: var(--cream);
    outline: none;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 150, 46, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}
.form-alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}
.form-alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-deeper);
    color: var(--text-light);
}
.footer-top {
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}
.footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}
.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}
.footer-heading {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 24px;
    font-weight: 700;
}
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
}
.footer-contact i {
    color: var(--gold);
    font-size: 14px;
    width: 16px;
}
.footer-bottom {
    border-top: 1px solid var(--charcoal-light);
    padding: 24px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--gold-dark);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-content { order: 1; }
    .hero-book { order: 0; }
    .hero-subtitle { margin: 0 auto 36px; }
    .hero-buttons { justify-content: center; }
    .hero-available { justify-content: center; }
    .hero-title-line { font-size: 48px; }
    .hero-title-accent { font-size: 60px; }
    .about-preview-grid,
    .author-grid,
    .about-full-grid,
    .book-detail-grid,
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid,
    .expect-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-box { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-image-frame { max-width: 350px; margin: 0 auto; }
    .book-detail-3d { max-width: 300px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 32px; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--charcoal-deeper);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    .nav-menu.active { right: 0; }
    .nav-toggle { display: flex; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-title-line { font-size: 36px; }
    .hero-title-accent { font-size: 48px; }
    .hero-scroll-indicator { display: none; }
    .features-grid,
    .expect-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 20px; }
    .newsletter-box { padding: 36px 24px; }
    .newsletter-input-wrapper { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .page-hero-title { font-size: 40px; }
    .page-hero { padding: 130px 0 60px; }
    .book-detail-title { font-size: 32px; }
    .book-meta-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-box { padding: 32px 24px; }
    .quote-text { font-size: 24px; }
    .quote-section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .hero-title-line { font-size: 30px; }
    .hero-title-accent { font-size: 38px; }
    .btn { padding: 12px 24px; font-size: 13px; }
    .book-3d { max-width: 250px; }
}
