/* ============================================================
   DBQ Field Guide - Military-Tactical Design System
   Olive Drab / Army Green / Tactical UI
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* Core palette */
    --olive:        #556B2F;
    --olive-light:  #6B8A3E;
    --army-green:   #3B4A2F;
    --charcoal:     #1A1D1A;
    --charcoal-mid: #232823;
    --charcoal-lt:  #2C322C;
    --khaki:        #C2B280;
    --tan:          #8B7D6B;
    --amber:        #C4841D;
    --amber-light:  #D4960F;
    --cream:        #E8E4DD;
    --offwhite:     #F2EFE9;

    /* Semantic */
    --bg-primary:   #1A1D1A;
    --bg-secondary: #232823;
    --bg-elevated:  #2C322C;
    --bg-card:      rgba(44, 50, 44, 0.6);
    --text-primary: #E8E4DD;
    --text-muted:   #A0998E;
    --text-dim:     #6B6560;
    --accent:       #C2B280;
    --cta:          #C4841D;
    --cta-hover:    #D4960F;
    --success:      #6B8A3E;
    --error:        #B34040;
    --border:       rgba(194, 178, 128, 0.12);
    --border-hover: rgba(194, 178, 128, 0.3);

    /* Shadows */
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md:    0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg:    0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow:  0 0 20px rgba(85, 107, 47, 0.2);

    /* Layout */
    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    18px;

    /* Transitions */
    --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast:       0.2s;
    --t-normal:     0.35s;
    --t-slow:       0.5s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--t-fast) var(--ease-out);
}

a:hover {
    color: var(--cta);
}

img {
    max-width: 100%;
    display: block;
}

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

/* --- Section Labels (stencil style) --- */
.section-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--olive-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--olive-light);
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: rgba(26, 29, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background var(--t-normal) var(--ease-out),
                box-shadow var(--t-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(26, 29, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

/* Logo */
a.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--t-fast) var(--ease-spring);
}

a.logo:hover .logo-icon {
    transform: scale(1.08);
}

.logo-text h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--khaki);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    line-height: 1.1;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 1px;
}

/* Nav Links */
.nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav a {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 8px 16px;
    position: relative;
    transition: color var(--t-fast) var(--ease-out);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-normal) var(--ease-out);
}

.nav a:hover,
.nav a.active {
    color: var(--cream);
}

.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-nav {
    background: var(--cta) !important;
    color: var(--charcoal) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.05em !important;
    transition: all var(--t-fast) var(--ease-out) !important;
}

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

.btn-nav:hover {
    background: var(--cta-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196, 132, 29, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    color: var(--cream);
    font-size: 20px;
    transition: border-color var(--t-fast) var(--ease-out);
}

.menu-toggle:hover {
    border-color: var(--accent);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--charcoal);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Topo background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23556B2F' stroke-width='0.5' opacity='0.12'%3E%3Cellipse cx='200' cy='200' rx='180' ry='120'/%3E%3Cellipse cx='200' cy='200' rx='150' ry='100'/%3E%3Cellipse cx='200' cy='200' rx='120' ry='80'/%3E%3Cellipse cx='200' cy='200' rx='90' ry='60'/%3E%3Cellipse cx='200' cy='200' rx='60' ry='40'/%3E%3Cellipse cx='200' cy='200' rx='30' ry='20'/%3E%3Cellipse cx='80' cy='80' rx='70' ry='50' transform='rotate(-30 80 80)'/%3E%3Cellipse cx='80' cy='80' rx='50' ry='35' transform='rotate(-30 80 80)'/%3E%3Cellipse cx='80' cy='80' rx='30' ry='20' transform='rotate(-30 80 80)'/%3E%3Cellipse cx='340' cy='340' rx='60' ry='45' transform='rotate(20 340 340)'/%3E%3Cellipse cx='340' cy='340' rx='40' ry='30' transform='rotate(20 340 340)'/%3E%3Cellipse cx='340' cy='340' rx='20' ry='15' transform='rotate(20 340 340)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 1;
    pointer-events: none;
}

/* Grid overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(85, 107, 47, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 107, 47, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Radial gradient overlay for depth */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(85, 107, 47, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 74, 47, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(85, 107, 47, 0.15);
    border: 1px solid rgba(85, 107, 47, 0.3);
    color: var(--olive-light);
    padding: 6px 16px;
    border-radius: 4px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    color: var(--cream);
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.hero h1 span {
    color: var(--khaki);
}

.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 520px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--text-primary);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(85, 107, 47, 0.2);
    color: var(--olive-light);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cta);
    color: var(--charcoal);
    border: none;
    padding: 16px 36px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease-out);
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(196, 132, 29, 0.25);
}

.btn-primary:hover {
    background: var(--cta-hover);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 132, 29, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 12px;
    transition: color var(--t-fast) var(--ease-out);
    text-decoration: none;
}

.btn-secondary:hover {
    color: var(--cream);
}

.btn-secondary svg {
    transition: transform var(--t-fast) var(--ease-out);
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dim);
}

.trust-item span:first-child {
    color: var(--olive-light);
    font-size: 16px;
}

/* Hero Book Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup {
    perspective: 1200px;
}

.book-cover {
    width: 280px;
    height: 380px;
    background: linear-gradient(160deg, var(--army-green) 0%, #2A3620 50%, var(--charcoal) 100%);
    border-radius: 4px 12px 12px 4px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow:
        20px 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(0, 0, 0, 0.2);
    transform: rotateY(-12deg) rotateX(2deg);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
    border-left: 6px solid rgba(194, 178, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.book-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23C2B280' stroke-width='0.3' opacity='0.08'%3E%3Cellipse cx='100' cy='100' rx='90' ry='60'/%3E%3Cellipse cx='100' cy='100' rx='70' ry='46'/%3E%3Cellipse cx='100' cy='100' rx='50' ry='33'/%3E%3Cellipse cx='100' cy='100' rx='30' ry='20'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.book-cover:hover {
    transform: rotateY(-6deg) rotateX(1deg) translateY(-8px);
    box-shadow:
        28px 14px 50px rgba(0, 0, 0, 0.6),
        inset 0 0 60px rgba(0, 0, 0, 0.2);
}

.book-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--khaki);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.book-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.book-author {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--olive-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-top: 1px solid rgba(194, 178, 128, 0.2);
    padding-top: 14px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Price section (homepage hero) */
.price-section {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--khaki);
    line-height: 1;
}

.price-note {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================================
   SECTIONS — SHARED
   ============================================================ */
section {
    position: relative;
}

.section-dark {
    background: var(--bg-primary);
}

.section-medium {
    background: var(--bg-secondary);
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

/* ============================================================
   GUIDES SECTION (Homepage product grid)
   ============================================================ */
.guides-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.guides-section h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--t-normal) var(--ease-out);
    backdrop-filter: blur(8px);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.product-card-body {
    padding: 32px 28px 24px;
    flex: 1;
}

.product-card-category {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--olive-light);
    background: rgba(85, 107, 47, 0.12);
    border: 1px solid rgba(85, 107, 47, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.product-card-title {
    font-size: 22px;
    color: var(--cream);
    margin-bottom: 10px;
    text-transform: none;
}

.product-card-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    border-top: 1px solid var(--border);
    background: rgba(26, 29, 26, 0.4);
}

.product-card-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--khaki);
}

.product-card-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cta);
    transition: all var(--t-fast) var(--ease-out);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-card-link:hover {
    color: var(--cta-hover);
    gap: 10px;
}

/* Coming soon cards */
.product-card.coming-soon {
    background: rgba(44, 50, 44, 0.3);
    border: 1px dashed rgba(194, 178, 128, 0.15);
    opacity: 0.7;
}

.product-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* Category Filter */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.category-btn {
    font-family: 'Rajdhani', sans-serif;
    padding: 8px 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all var(--t-fast) var(--ease-out);
}

.category-btn:hover,
.category-btn.active {
    background: var(--olive);
    color: var(--cream);
    border-color: var(--olive);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-primary);
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 12px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    position: relative;
}

.step-number {
    font-family: 'Rajdhani', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--olive);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Connector lines between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--olive), transparent);
    opacity: 0.3;
}

/* ============================================================
   ABOUT / WHY TRUST
   ============================================================ */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 48px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.credentials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.credential {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(85, 107, 47, 0.15);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--olive);
    transition: all var(--t-fast) var(--ease-out);
}

.credential:hover {
    background: rgba(85, 107, 47, 0.12);
    border-color: rgba(85, 107, 47, 0.25);
}

.credential-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.credential h4 {
    font-size: 15px;
    color: var(--cream);
    margin-bottom: 3px;
    text-transform: none;
}

.credential p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(85, 107, 47, 0.1) 0%, rgba(59, 74, 47, 0.15) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-family: 'Rajdhani', sans-serif;
    color: var(--olive-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 14px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
    padding: 100px 0;
    background: var(--bg-primary);
}

.faq h2 {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 60px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 28px;
    transition: all var(--t-fast) var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item h3 {
    font-size: 17px;
    color: var(--cream);
    margin-bottom: 12px;
    text-transform: none;
    line-height: 1.35;
}

.faq-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.faq-item strong {
    color: var(--accent);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--army-green) 0%, var(--charcoal) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(85, 107, 47, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(85, 107, 47, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--charcoal);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

.footer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--khaki);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--olive-light);
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--t-fast) var(--ease-out);
}

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

.footer-contact p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 11px !important;
    color: var(--text-dim) !important;
    opacity: 0.7 !important;
    margin: 16px 0 !important;
    line-height: 1.6;
}

.footer-links-small {
    margin-top: 16px;
}

.footer-links-small a {
    color: var(--text-dim);
    font-size: 13px;
    margin: 0 10px;
    transition: color var(--t-fast) var(--ease-out);
}

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

/* ============================================================
   CHECKOUT MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s var(--ease-out);
}

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

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

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--cream);
    text-transform: none;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dim);
    line-height: 1;
    padding: 4px;
    transition: color var(--t-fast) var(--ease-out);
}

.modal-close:hover {
    color: var(--error);
}

.modal-body {
    padding: 28px 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    color: var(--cream);
}

.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    transition: border-color var(--t-fast) var(--ease-out);
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group input[type="email"]::placeholder {
    color: var(--text-dim);
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-dim);
}

#card-element {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--t-fast) var(--ease-out);
}

#card-element.StripeElement--focus {
    border-color: var(--accent);
}

#card-errors {
    color: var(--error);
    font-size: 13px;
    margin-top: 8px;
    min-height: 20px;
}

.btn-payment {
    width: 100%;
    padding: 16px;
    background: var(--cta);
    color: var(--charcoal);
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--t-fast) var(--ease-out);
}

.btn-payment:hover {
    background: var(--cta-hover);
}

.btn-payment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secure-payment {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-dim);
}

.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--olive);
    color: var(--cream);
    border-radius: 50%;
    font-size: 24px;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 22px;
    margin-bottom: 10px;
    text-transform: none;
}

.success-message p {
    color: var(--text-muted);
}

/* ============================================================
   PRODUCT PAGE (guide.php)
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    margin-top: 72px; /* offset for fixed header */
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumbs li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.4;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span[aria-current] {
    color: var(--text-dim);
}

/* Product Hero */
.product-hero {
    padding: 60px 0 80px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23556B2F' stroke-width='0.5' opacity='0.08'%3E%3Cellipse cx='200' cy='200' rx='180' ry='120'/%3E%3Cellipse cx='200' cy='200' rx='150' ry='100'/%3E%3Cellipse cx='200' cy='200' rx='120' ry='80'/%3E%3Cellipse cx='200' cy='200' rx='90' ry='60'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
}

.product-hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-hero-info .badge {
    margin-bottom: 16px;
}

.product-hero-info h1 {
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 16px;
}

.product-hero-info .subtitle {
    font-size: 16px;
    margin-bottom: 28px;
}

.product-hero-price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.product-hero-price .price {
    font-size: 52px;
}

.product-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

/* Purchase button */
.btn-purchase {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--cta);
    color: var(--charcoal);
    border: none;
    padding: 18px 36px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease-out);
    box-shadow: 0 4px 16px rgba(196, 132, 29, 0.25);
    width: auto;
}

.btn-purchase:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 132, 29, 0.35);
}

/* Product Features */
.product-features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.product-features h2 {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 48px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--olive);
    transition: all var(--t-fast) var(--ease-out);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: rgba(44, 50, 44, 0.8);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.feature-card strong {
    color: var(--olive-light);
}

/* Product Description */
.product-description {
    padding: 80px 0;
    background: var(--bg-primary);
}

.product-description .container {
    max-width: 800px;
}

.product-description h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 24px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Purchase Card */
.purchase {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.purchase-card {
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    backdrop-filter: blur(8px);
}

.purchase-header {
    text-align: center;
    margin-bottom: 32px;
}

.purchase-header h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.edition {
    font-family: 'Rajdhani', sans-serif;
    color: var(--olive-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.purchase-features {
    margin-bottom: 32px;
}

.purchase-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.feature-check {
    color: var(--olive-light);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.price-display {
    text-align: center;
    margin: 28px 0;
    padding: 24px;
    background: rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(85, 107, 47, 0.15);
    border-radius: var(--radius-sm);
}

.final-price {
    font-family: 'Rajdhani', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--khaki);
    line-height: 1;
}

.price-breakdown {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 6px;
}

.guarantee {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(85, 107, 47, 0.08);
    border: 1px solid rgba(85, 107, 47, 0.15);
    border-left: 3px solid var(--olive);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.guarantee-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.guarantee strong {
    display: block;
    color: var(--cream);
    font-size: 14px;
    margin-bottom: 4px;
}

.guarantee p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.payment-methods {
    text-align: center;
    margin-top: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.secure-note {
    font-size: 12px;
    color: var(--text-dim);
}

/* Related Guides */
.related-guides {
    padding: 80px 0;
    background: var(--bg-primary);
}

.related-guides h2 {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 48px;
}

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

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

/* Tablet */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-features {
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .trust-signals {
        justify-content: center;
    }

    .product-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .product-hero .hero-image {
        order: -1;
    }

    .product-hero-actions {
        justify-content: center;
    }

    .product-hero-price {
        justify-content: center;
    }

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

    .about-image { display: none; }

    .features-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 29, 26, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px 0;
        font-size: 16px;
        width: 100%;
    }

    .nav a::after {
        display: none;
    }

    .btn-nav {
        margin-top: 8px;
        text-align: center;
        display: block;
        padding: 14px 24px !important;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .price {
        font-size: 48px;
    }

    .price-section {
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary {
        width: 100%;
        max-width: 340px;
    }

    .book-cover {
        width: 220px;
        height: 300px;
        padding: 28px 24px;
    }

    .book-title {
        font-size: 22px;
    }

    .product-hero-info h1 {
        font-size: 28px;
    }

    .product-hero-price .price {
        font-size: 44px;
    }

    .btn-purchase {
        width: 100%;
    }

    .guides-section,
    .how-it-works,
    .about,
    .faq,
    .product-features,
    .product-description,
    .purchase,
    .related-guides {
        padding: 60px 0;
    }

    .guides-section h2,
    .how-it-works h2,
    .about h2,
    .faq h2 {
        font-size: 28px;
    }

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

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

    .features-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .final-price {
        font-size: 52px;
    }

    .breadcrumbs {
        margin-top: 60px;
    }

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

    .trust-signals {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .book-cover {
        width: 180px;
        height: 250px;
    }

    .product-card-body {
        padding: 24px 20px 20px;
    }

    .product-card-footer {
        padding: 14px 20px;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   LEGAL / CONTENT PAGES
   ============================================================ */
.legal-page {
    padding: 120px 0 80px;
    min-height: 70vh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--cream);
    margin-bottom: 8px;
}

.legal-page h2 {
    font-size: 22px;
    color: var(--cream);
    margin-top: 40px;
    margin-bottom: 16px;
    text-transform: none;
}

.legal-page h3 {
    font-size: 18px;
    color: var(--cream);
    margin-top: 28px;
    margin-bottom: 12px;
    text-transform: none;
}

.legal-page p,
.legal-page li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.legal-page ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page a {
    color: var(--accent);
}

.legal-page a:hover {
    color: var(--cream);
}

.legal-page strong {
    color: var(--text-primary);
}

.legal-page em {
    color: var(--text-dim);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    text-decoration: none;
    transition: all var(--t-normal) var(--ease-out);
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-md);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-card-category {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--olive-light);
    background: rgba(85, 107, 47, 0.12);
    border: 1px solid rgba(85, 107, 47, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
}

.blog-card-date {
    font-size: 13px;
    color: var(--text-dim);
}

.blog-card-title {
    font-size: 22px;
    color: var(--cream);
    margin-bottom: 8px;
    text-transform: none;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cta);
    transition: color var(--t-fast) var(--ease-out);
}

.blog-card:hover .blog-card-link {
    color: var(--cta-hover);
}

/* Blog post content */
.blog-content h2 {
    font-size: 24px;
    color: var(--cream);
    margin-top: 40px;
    margin-bottom: 16px;
    text-transform: none;
}

.blog-content h3 {
    font-size: 20px;
    color: var(--cream);
    margin-top: 32px;
    margin-bottom: 12px;
    text-transform: none;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.blog-content ul,
.blog-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-content li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-content a {
    color: var(--accent);
}

.blog-content a:hover {
    color: var(--cream);
}

.blog-content strong {
    color: var(--text-primary);
}
