/* =============================================
   Longevity Reads – WOW Redesign
   Farbpalette: Blau / Mint / Gruen
   Passend zu Buchcovern
   ============================================= */

/* --- Self-hosted Font: Plus Jakarta Sans --- */
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-sans-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-sans-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-sans-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-sans-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('fonts/plus-jakarta-sans-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
    /* Primary Blues */
    --primary-dark: #0C4A6E;
    --primary: #0E7490;
    --primary-light: #0891B2;
    /* Accent Blues */
    --accent-blue: #38BDF8;
    --accent-blue-light: #7DD3FC;
    /* Accent Mints */
    --accent-mint: #34D399;
    --accent-mint-light: #6EE7B7;
    /* Accent Emerald */
    --accent-emerald: #10B981;
    /* Backgrounds */
    --bg-light: #F0F9FF;
    --bg-white: #FFFFFF;
    --bg-dark: #0F172A;
    --bg-warm: #ECFDF5;
    /* Text */
    --text-dark: #0F172A;
    --text-body: #475569;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    /* Borders & Shadows */
    --border: #CBD5E1;
    --border-light: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(14, 116, 144, 0.08);
    --shadow-md: 0 4px 20px rgba(14, 116, 144, 0.1);
    --shadow-lg: 0 10px 40px rgba(14, 116, 144, 0.12);
    --shadow-xl: 0 20px 60px rgba(14, 116, 144, 0.15);
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

/* --- Animated Gradient Text --- */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-mint) 40%, var(--accent-emerald) 70%, var(--accent-blue) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-gradient 6s ease infinite;
}

@keyframes shimmer-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(52, 211, 153, 0.05));
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 20px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 30px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on all buttons */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn:hover::after {
    left: 125%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 116, 144, 0.4);
    color: var(--text-white);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-mint) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: var(--text-white);
}

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

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: rgba(14, 116, 144, 0.04);
    transform: translateY(-1px);
}

.btn-amazon {
    background: #FF9900;
    color: #111;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.25);
}

.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.35);
    color: #111;
    background: #FFa929;
}

.btn-lg {
    padding: 17px 38px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* --- Animated Gradient Border for CTA cards --- */
.gradient-border {
    position: relative;
    border-radius: var(--radius-lg);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint), var(--accent-emerald), var(--accent-blue));
    background-size: 300% 300%;
    animation: border-glow 4s ease infinite;
    z-index: -1;
    opacity: 0.6;
}

@keyframes border-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-light);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--primary-dark);
}

.nav-logo:hover {
    color: var(--accent-blue-light);
}

.navbar.scrolled .nav-logo:hover {
    color: var(--primary);
}

.nav-logo svg {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-mint)) !important;
    color: var(--text-white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-emerald)) !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .lang-switcher {
    border-left-color: var(--border);
}

.lang-switcher a {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.navbar.scrolled .lang-switcher a {
    color: var(--text-light);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .lang-switcher a:hover,
.navbar.scrolled .lang-switcher a.active {
    color: var(--primary);
    background: var(--bg-light);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ==========================================
   HERO SECTION - Aurora Effect
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* Aurora animated gradient mesh */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    animation: aurora-float-1 8s ease-in-out infinite;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -5%;
    right: -5%;
    background: radial-gradient(circle, var(--accent-mint) 0%, transparent 70%);
    animation: aurora-float-2 10s ease-in-out infinite;
}

.shape-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent-emerald) 0%, transparent 70%);
    animation: aurora-float-3 12s ease-in-out infinite;
    opacity: 0.25;
}

@keyframes aurora-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.1); }
    66% { transform: translate(-30px, -20px) scale(0.95); }
}

@keyframes aurora-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -30px) scale(1.05); }
    66% { transform: translate(30px, 20px) scale(0.9); }
}

@keyframes aurora-float-3 {
    0%, 100% { transform: translateX(-50%) translate(0, 0) scale(1); }
    50% { transform: translateX(-50%) translate(20px, -40px) scale(1.15); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

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

/* Badge with pulse animation */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-mint);
    background: rgba(52, 211, 153, 0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(52, 211, 153, 0.2);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero h1 {
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-white);
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.85;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-books {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-end;
    perspective: 800px;
}

.hero-book-cover {
    width: 220px;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.hero-book-cover:hover {
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.5);
}

/* Floating hexagons container (generated by JS) */
.hero-hexagons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hexagon {
    position: absolute;
    opacity: 0.08;
    animation: hex-float linear infinite;
}

.hexagon svg {
    width: 100%;
    height: 100%;
}

@keyframes hex-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.08; }
    90% { opacity: 0.08; }
    100% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0;
    }
}

/* Hero wave - animated */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    overflow: hidden;
}

.hero-wave svg {
    display: block;
    width: 200%;
    height: 80px;
    animation: wave-scroll 15s linear infinite;
}

@keyframes wave-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   BOOK SECTIONS
   ========================================== */
.book-section {
    background: var(--bg-white);
}

.book-section.alt-bg {
    background: var(--bg-warm);
}

.book-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 70px;
    align-items: start;
}

.book-grid.reverse {
    grid-template-columns: 1fr 300px;
}

/* 3D Tilt wrapper */
.book-cover-wrapper {
    position: relative;
    perspective: 800px;
}

.book-cover-wrapper img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform;
}

.book-cover-wrapper:hover img {
    box-shadow: 0 30px 70px rgba(14, 116, 144, 0.2);
}

.book-content h2 {
    margin-bottom: 16px;
}

.book-subtitle {
    font-size: 1.1rem;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

.book-description {
    margin-bottom: 28px;
    line-height: 1.85;
}

.book-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.book-highlights li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}

.book-highlights li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint));
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.book-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.book-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(56, 189, 248, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(56, 189, 248, 0.15);
    letter-spacing: 0.5px;
}

/* --- Per-Book Inline CTA (Option B) --- */
.inline-cta {
    margin-top: 32px;
    padding: 28px;
    background: rgba(56, 189, 248, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(56, 189, 248, 0.12);
    position: relative;
    overflow: hidden;
}

.inline-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint), var(--accent-emerald), var(--accent-blue));
    background-size: 300% 300%;
    animation: border-glow 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.inline-cta:hover::before {
    opacity: 0.4;
}

.inline-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.inline-cta p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.inline-cta .btn {
    margin-top: 4px;
}

/* Inline form (hidden by default, shown via JS) */
.inline-form {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    animation: fadeSlideIn 0.4s ease;
}

.inline-form.visible {
    display: flex;
}

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

.inline-form input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition);
}

.inline-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.inline-form input::placeholder {
    color: var(--text-light);
}

.inline-form .btn {
    width: 100%;
    justify-content: center;
}

.inline-form-success {
    display: none;
    padding: 20px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-weight: 600;
    text-align: center;
    animation: fadeSlideIn 0.4s ease;
}

.inline-form-success.visible {
    display: block;
}

.inline-form-success a {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
}

/* Stress book CTA variant (mint accent) */
.inline-cta.mint {
    background: rgba(52, 211, 153, 0.04);
    border-color: rgba(52, 211, 153, 0.12);
}

.inline-cta.mint::before {
    background: linear-gradient(135deg, var(--accent-mint), var(--accent-emerald), var(--accent-blue), var(--accent-mint));
    background-size: 300% 300%;
}

/* ==========================================
   AUTHOR SECTION
   ========================================== */
.author-section {
    background: var(--bg-light);
}

.author-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 70px;
    align-items: center;
}

.author-image-wrapper {
    position: relative;
    padding: 16px;
}

.author-image-wrapper img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 63% 37% 42% 58% / 52% 45% 55% 48%;
    animation: blob-morph 12s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(14, 116, 144, 0.2);
    transition: box-shadow 0.4s ease;
    will-change: border-radius;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.author-image-wrapper:hover img {
    box-shadow: 0 16px 50px rgba(56, 189, 248, 0.3);
}

/* Gradient ring behind image - offset, same morph */
.author-image-frame {
    content: '';
    position: absolute;
    inset: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint), var(--accent-emerald));
    background-size: 200% 200%;
    border-radius: 63% 37% 42% 58% / 52% 45% 55% 48%;
    animation: blob-morph 12s ease-in-out infinite, border-glow 4s ease infinite;
    opacity: 0.25;
    z-index: -1;
    transform: translate(6px, 6px);
}

/* Smooth organic morph - subtle, not wild */
@keyframes blob-morph {
    0%, 100% {
        border-radius: 63% 37% 42% 58% / 52% 45% 55% 48%;
    }
    25% {
        border-radius: 45% 55% 58% 42% / 60% 38% 62% 40%;
    }
    50% {
        border-radius: 55% 45% 37% 63% / 42% 58% 42% 58%;
    }
    75% {
        border-radius: 38% 62% 52% 48% / 55% 42% 58% 45%;
    }
}

.author-content h2 {
    margin-bottom: 20px;
}

.author-content p {
    margin-bottom: 16px;
    line-height: 1.85;
}

.author-links {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

/* ==========================================
   NEWSLETTER / STAY UPDATED SECTION
   ========================================== */
.newsletter-section {
    background: linear-gradient(150deg, var(--bg-dark) 0%, #0C4A6E 50%, var(--primary-dark) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

/* Decorative lines */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -5%;
    width: 1px;
    height: 140%;
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.08), transparent);
    transform: rotate(25deg);
}

.newsletter-section::after {
    content: '';
    position: absolute;
    top: -20%;
    left: 15%;
    width: 1px;
    height: 140%;
    background: linear-gradient(180deg, transparent, rgba(52, 211, 153, 0.06), transparent);
    transform: rotate(25deg);
}

.newsletter-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.newsletter-section h2 {
    color: var(--text-white);
    margin-bottom: 16px;
}

.newsletter-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.newsletter-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.newsletter-benefit svg {
    color: var(--accent-mint-light);
    flex-shrink: 0;
}

/* Glassmorphism form wrapper */
.newsletter-form-wrapper {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2);
}

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

.newsletter-form .btn {
    width: 100%;
    justify-content: center;
    padding: 17px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.newsletter-privacy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

.newsletter-privacy a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

/* ==========================================
   NEWSLETTER FORM - Checkboxes & GDPR
   ========================================== */
.newsletter-choice {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.newsletter-choice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.newsletter-choice-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.newsletter-choice-item input[type="checkbox"] {
    display: none;
}

.newsletter-choice-item .custom-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 1px;
}

.newsletter-choice-item input[type="checkbox"]:checked + .custom-check {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-mint));
    border-color: var(--accent-mint);
}

.newsletter-choice-item input[type="checkbox"]:checked + .custom-check svg {
    opacity: 1;
    transform: scale(1);
}

.newsletter-choice-item .custom-check svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.newsletter-choice-item .choice-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.newsletter-choice-item .choice-label {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.95rem;
}

.newsletter-choice-item .choice-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Inline CTA variant (light background) */
.inline-cta .newsletter-choice-item {
    background: rgba(14, 116, 144, 0.04);
    border-color: var(--border-light);
}

.inline-cta .newsletter-choice-item:hover {
    background: rgba(14, 116, 144, 0.08);
    border-color: var(--border);
}

.inline-cta .newsletter-choice-item .custom-check {
    border-color: var(--border);
}

.inline-cta .newsletter-choice-item .choice-label {
    color: var(--text-dark);
}

.inline-cta .newsletter-choice-item .choice-desc {
    color: var(--text-light);
}

/* GDPR Consent */
.consent-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.consent-wrapper input[type="checkbox"] {
    display: none;
}

.consent-wrapper .custom-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 2px;
}

.consent-wrapper input[type="checkbox"]:checked + .custom-check {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-mint));
    border-color: var(--accent-mint);
}

.consent-wrapper input[type="checkbox"]:checked + .custom-check svg {
    opacity: 1;
    transform: scale(1);
}

.consent-wrapper .custom-check svg {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.consent-wrapper .consent-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.consent-wrapper .consent-text a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

/* Inline CTA variant */
.inline-cta .consent-wrapper .custom-check {
    border-color: var(--border);
}

.inline-cta .consent-wrapper .consent-text {
    color: var(--text-light);
}

.inline-cta .consent-wrapper .consent-text a {
    color: var(--primary);
}

/* Honeypot - hidden from real users */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Form error message */
.form-error {
    display: none;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-sm);
    color: #FCA5A5;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    animation: fadeSlideIn 0.3s ease;
}

.form-error.visible {
    display: block;
}

.inline-cta .form-error {
    color: #DC2626;
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
}

/* Form loading state */
.form-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.form-loading.visible {
    display: flex;
}

.form-loading .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-mint);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.inline-cta .form-loading {
    color: var(--text-light);
}

.inline-cta .form-loading .spinner {
    border-color: rgba(14, 116, 144, 0.15);
    border-top-color: var(--accent-emerald);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form success state */
.form-success {
    display: none;
    padding: 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--accent-mint-light);
    font-weight: 600;
    animation: fadeSlideIn 0.4s ease;
}

.form-success.visible {
    display: block;
}

.form-success a {
    display: inline-block;
    margin-top: 8px;
    color: var(--accent-blue-light);
    font-weight: 700;
    text-decoration: underline;
}

/* Checklist reveal after signup */
.checklist-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.checklist-links.visible {
    display: flex;
}

.checklist-links h3 {
    color: var(--text-white);
    margin-bottom: 8px;
}

.checklist-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.checklist-link-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transform: translateX(4px);
}

/* ==========================================
   TOOLS SECTION
   ========================================== */
.tools-section {
    background: var(--bg-light);
}

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

.tools-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 24px;
}

.tools-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.tool-card {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-mint), var(--accent-emerald), var(--accent-blue));
    background-size: 300% 300%;
    animation: border-glow 4s ease infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover::before {
    opacity: 0.5;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: inherit;
}

.tool-card-icon {
    margin-bottom: 16px;
    line-height: 1;
    color: var(--accent);
}

.tool-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.tool-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.tool-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: gap var(--transition);
}

.tool-card:hover .tool-card-cta {
    gap: 10px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    transition: all var(--transition);
}

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

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-page {
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page .legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    margin-bottom: 32px;
    font-size: 2.2rem;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.legal-page h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
    margin-bottom: 12px;
    line-height: 1.8;
}

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

.legal-page a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.legal-back:hover {
    gap: 12px;
}

/* ==========================================
   SCROLL REVEAL with Stagger
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children within reveal containers */
.reveal.active .book-highlights li,
.reveal.active .book-buttons,
.reveal.active .inline-cta,
.reveal.active .author-links {
    animation: stagger-in 0.6s ease both;
}

.reveal.active .book-highlights li:nth-child(1) { animation-delay: 0.1s; }
.reveal.active .book-highlights li:nth-child(2) { animation-delay: 0.15s; }
.reveal.active .book-highlights li:nth-child(3) { animation-delay: 0.2s; }
.reveal.active .book-highlights li:nth-child(4) { animation-delay: 0.25s; }
.reveal.active .book-highlights li:nth-child(5) { animation-delay: 0.3s; }
.reveal.active .book-buttons { animation-delay: 0.35s; }
.reveal.active .inline-cta { animation-delay: 0.4s; }
.reveal.active .author-links { animation-delay: 0.3s; }

@keyframes stagger-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-book-cover {
        width: 180px;
    }

    .book-grid,
    .book-grid.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .book-grid.reverse .book-cover-wrapper {
        order: -1;
    }

    .book-cover-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

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

    .author-image-wrapper {
        max-width: 250px;
        margin: 0 auto;
    }

    .author-links {
        justify-content: center;
    }

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

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

    .tools-grid-2 {
        max-width: 100%;
    }

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

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .section {
        padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Fix mobile menu link colors */
    .nav-menu.active .nav-link {
        color: var(--text-dark);
    }

    .nav-menu.active .nav-link:hover {
        color: var(--primary);
        background: var(--bg-light);
    }

    .lang-switcher {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active .lang-switcher a {
        color: var(--text-light);
    }

    .nav-menu.active .lang-switcher a:hover,
    .nav-menu.active .lang-switcher a.active {
        color: var(--primary);
        background: var(--bg-light);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-book-cover {
        width: 140px;
    }

    .newsletter-benefits {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form-wrapper {
        padding: 24px;
    }

    .tools-grid,
    .tools-grid-3,
    .tools-grid-2 {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

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

    .inline-cta {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .hero-books {
        gap: 16px;
    }

    .hero-book-cover {
        width: 120px;
    }

    .book-buttons {
        flex-direction: column;
    }

    .author-image-frame {
        display: none;
    }
}

/* ==========================================
   DARK MODE
   ========================================== */
@media (prefers-color-scheme: dark) {
    :root {
        --primary: #38BDF8;
        --primary-light: #7DD3FC;
        --primary-dark: #0891B2;
        --accent-blue: #7DD3FC;
        --accent-blue-light: #BAE6FD;
        --accent-mint: #6EE7B7;
        --accent-mint-light: #A7F3D0;
        --accent-emerald: #34D399;
        --bg-light: #1E293B;
        --bg-white: #0F172A;
        --bg-dark: #020617;
        --bg-warm: #132137;
        --text-dark: #E2E8F0;
        --text-body: #94A3B8;
        --text-light: #64748B;
        --text-white: #FFFFFF;
        --border: #334155;
        --border-light: #1E293B;
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
        --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.45);
    }

    body {
        background: var(--bg-dark);
    }

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

    .navbar {
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
    }

    .navbar.scrolled {
        background: rgba(15, 23, 42, 0.95);
        box-shadow: 0 1px 0 var(--border);
    }

    .navbar.scrolled .nav-logo {
        color: var(--accent-blue);
    }

    .navbar.scrolled .nav-link {
        color: var(--text-body);
    }

    .navbar.scrolled .nav-link:hover {
        color: var(--accent-blue);
        background: rgba(56, 189, 248, 0.08);
    }

    .navbar.scrolled .lang-switcher {
        border-left-color: var(--border);
    }

    .navbar.scrolled .lang-switcher a {
        color: var(--text-light);
    }

    .navbar.scrolled .lang-switcher a:hover,
    .navbar.scrolled .lang-switcher a.active {
        color: var(--accent-blue);
        background: rgba(56, 189, 248, 0.08);
    }

    .navbar.scrolled .nav-toggle span {
        background: var(--text-body);
    }

    .nav-menu {
        background: var(--bg-white);
    }

    .btn-primary {
        color: #0F172A;
    }

    .btn-primary:hover {
        color: #0F172A;
    }

    .btn-cta {
        color: #0F172A;
    }

    .btn-cta:hover {
        color: #0F172A;
    }

    .nav-cta,
    .nav-cta:hover {
        color: #0F172A !important;
    }

    .btn-amazon {
        background: #FF9900;
        color: #111;
    }

    .btn-amazon:hover {
        background: #FFa929;
        color: #111;
    }

    .inline-cta .form-error {
        color: #FCA5A5;
        background: rgba(239, 68, 68, 0.12);
        border-color: rgba(239, 68, 68, 0.25);
    }

    .newsletter-section {
        background: linear-gradient(150deg, #020617 0%, #0C4A6E 50%, #0F172A 100%);
    }

    .newsletter-form input {
        background: rgba(255, 255, 255, 0.1);
        color: var(--text-white);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .inline-form input {
        background: var(--bg-dark);
        color: var(--text-dark);
        border-color: var(--border);
    }

    .inline-cta {
        background: rgba(56, 189, 248, 0.06);
        border-color: rgba(56, 189, 248, 0.12);
        color: #FFFFFF;
    }

    .inline-cta h3,
    .inline-cta p,
    .inline-cta .choice-label,
    .inline-cta .choice-desc,
    .inline-cta .consent-text,
    .inline-cta .consent-text a {
        color: #FFFFFF !important;
    }

    .inline-cta .newsletter-choice-item {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.1);
    }

    .inline-cta .newsletter-choice-item:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.18);
    }

    .inline-cta .newsletter-choice-item .custom-check,
    .inline-cta .consent-wrapper .custom-check {
        border-color: rgba(255, 255, 255, 0.35);
    }

    .inline-cta .inline-form input {
        background: rgba(255, 255, 255, 0.08);
        color: #FFFFFF;
        border-color: rgba(255, 255, 255, 0.15);
    }

    .inline-cta .inline-form input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .inline-cta .inline-form input:focus {
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
    }

    .inline-cta.mint {
        background: rgba(52, 211, 153, 0.06);
        border-color: rgba(52, 211, 153, 0.12);
    }

    .legal-page {
        background: var(--bg-dark);
    }

    .legal-page h1,
    .legal-page h2,
    .legal-page h3 {
        color: var(--text-dark);
    }

    .tool-card {
        background: var(--bg-white);
        border-color: var(--border);
    }

    .footer {
        background: var(--bg-dark);
        border-top: 1px solid var(--border);
    }

    .hero-wave svg path {
        fill: var(--bg-white);
    }

    /* Newsletter pages dark mode */
    .nl-lang-switcher button {
        background: rgba(255, 255, 255, 0.06);
        border-color: var(--border);
        color: var(--text-body);
    }

    .nl-lang-switcher button:hover {
        background: rgba(56, 189, 248, 0.1);
        border-color: var(--accent-blue);
        color: var(--accent-blue);
    }

    .nl-lang-switcher button.active {
        background: var(--primary);
        color: #FFFFFF;
        border-color: var(--primary);
    }

    .nl-content > table > tbody > tr > td > table {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nl-nav a {
        color: var(--accent-blue);
        border-color: var(--border);
    }

    .nl-nav a:hover {
        border-color: var(--accent-blue);
        background: rgba(56, 189, 248, 0.08);
    }

    .nl-archive-header h1 {
        color: var(--text-dark);
    }

    .nl-archive-section h2 {
        color: var(--accent-blue);
    }

    .nl-archive-list li a {
        color: var(--text-dark);
        border-color: var(--border);
    }

    .nl-archive-list li a:hover {
        border-color: var(--accent-blue);
        background: rgba(56, 189, 248, 0.06);
    }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-wave svg {
        animation: none;
        width: 100%;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        animation: none;
    }

    .hero-badge {
        animation: none;
    }

    .text-gradient {
        animation: none;
    }

    .hexagon {
        display: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 11pt;
        line-height: 1.5;
        font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    }

    .no-print,
    .navbar,
    .footer,
    .newsletter-section,
    .print-btn-wrapper {
        display: none !important;
    }

    .checklist-page {
        padding: 0;
        max-width: 100%;
    }

    .checklist-header {
        text-align: center;
        margin-bottom: 20pt;
        padding-bottom: 12pt;
        border-bottom: 2pt solid #000;
    }

    .checklist-header h1 {
        font-size: 18pt;
        margin-bottom: 4pt;
    }

    .checklist-header p {
        font-size: 10pt;
    }

    .checklist-category {
        margin-bottom: 14pt;
        break-inside: avoid;
    }

    .checklist-category h2 {
        font-size: 13pt;
        margin-bottom: 6pt;
        padding-bottom: 3pt;
        border-bottom: 1pt solid #999;
    }

    .checklist-item {
        display: flex;
        align-items: flex-start;
        gap: 8pt;
        padding: 3pt 0;
        font-size: 10pt;
        line-height: 1.4;
    }

    .checklist-checkbox {
        width: 12pt;
        height: 12pt;
        border: 1.5pt solid #333;
        border-radius: 2pt;
        flex-shrink: 0;
        margin-top: 1pt;
    }

    .checklist-footer {
        margin-top: 20pt;
        padding-top: 12pt;
        border-top: 1pt solid #999;
        font-size: 8pt;
        text-align: center;
    }

    @page {
        size: A4;
        margin: 20mm 15mm;
    }
}

/* --- Checklist Screen Styles --- */
.checklist-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.checklist-header {
    text-align: center;
    margin-bottom: 40px;
}

.checklist-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.checklist-header p {
    color: var(--text-light);
}

.print-btn-wrapper {
    text-align: center;
    margin-bottom: 32px;
}

.checklist-category {
    margin-bottom: 32px;
}

.checklist-category h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    transition: all var(--transition);
}

.checklist-checkbox:hover {
    background: rgba(14, 116, 144, 0.08);
}

.checklist-item-text {
    flex: 1;
    line-height: 1.5;
}

.translation-note {
    margin-top: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.05), rgba(52, 211, 153, 0.05));
    border-left: 3px solid var(--accent-blue);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.translation-note em {
    font-style: italic;
}

.checklist-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* =============================================
   NEWSLETTER PAGES
   Language Switcher + Content Display
   ============================================= */

.newsletter-page {
    padding-top: 100px;
    min-height: 100vh;
}

/* --- Language Switcher --- */
.nl-lang-switcher {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 20px;
    margin: 0 auto 32px;
    max-width: 700px;
}

.nl-lang-switcher button {
    padding: 8px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.nl-lang-switcher button:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(14, 116, 144, 0.04);
}

.nl-lang-switcher button.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

/* --- Newsletter Content Area --- */
.nl-content-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.nl-content {
    display: none;
}

.nl-content.active {
    display: block;
}

/* Override email table styles for web display */
.nl-content table {
    max-width: 100% !important;
    width: 100% !important;
}

.nl-content td {
    word-break: break-word;
}

.nl-content img {
    max-width: 100%;
    height: auto;
}

/* Clean up email-style spacing for web */
.nl-content > table > tbody > tr > td > table {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- Newsletter Navigation --- */
.nl-nav {
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.nl-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary);
    border: 2px solid var(--border);
    transition: all var(--transition);
}

.nl-nav a:hover {
    border-color: var(--primary);
    background: rgba(14, 116, 144, 0.04);
}

.nl-nav .nl-nav-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* --- Newsletter Archive Page --- */
.nl-archive {
    padding-top: 100px;
    min-height: 100vh;
}

.nl-archive-header {
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.nl-archive-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.nl-archive-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin: 0;
}

.nl-archive-section {
    max-width: 700px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.nl-archive-section h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.nl-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nl-archive-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}

.nl-archive-list li a:hover {
    border-color: var(--primary);
    background: rgba(14, 116, 144, 0.03);
    transform: translateX(4px);
}

.nl-archive-list .nl-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .nl-lang-switcher {
        gap: 4px;
        padding: 16px;
    }

    .nl-lang-switcher button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .nl-content-wrapper {
        padding: 0 12px 32px;
    }

    .nl-nav {
        flex-direction: column;
        padding: 20px 12px 48px;
    }

    .nl-nav a {
        width: 100%;
        justify-content: center;
    }

    .nl-archive-header h1 {
        font-size: 1.6rem;
    }
}
