/* ===== CORE VARIABLES & RESET ===== */
:root {
    --bg-color: #080e1a;
    --text-color: #cdd6e0;
    --accent-color: #66fcf1;
    --accent-hover: #45a29e;
    --accent-gold: #d4af37;
    --card-bg: rgba(22, 30, 50, 0.7);
    --border-color: rgba(102, 252, 241, 0.25);
    --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Cormorant Garamond", Georgia, serif;
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

body {
    font-family: var(--font-ui);
    font-feature-settings: "tnum" 1, "cv02" 1, "cv03" 1, "cv04" 1;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0; padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* ===== STARS BACKGROUND ===== */
.stars, .twinkling {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%; display: block; z-index: -1; pointer-events: none;
}
.stars { background: #000 url('/static/bg/stardust.png') repeat top center; }
.stars-layer, body::before { opacity: 0.16; }
.twinkling {
    background: transparent url('/static/bg/stardust.png') repeat top center;
    animation: move-twink-back 400s linear infinite; opacity: 0.16;
}
.overlay, body::after, .page-bg::after {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 74% 18%, rgba(89, 241, 232, 0.14), transparent 28%),
                radial-gradient(circle at 18% 36%, rgba(216, 178, 76, 0.10), transparent 30%),
                radial-gradient(circle at 50% 80%, rgba(89, 241, 232, 0.06), transparent 40%),
                rgba(8, 14, 26, 0.45);
    z-index: -1; pointer-events: none;
}
@keyframes move-twink-back { from { background-position: 0 0; } to { background-position: -10000px 5000px; } }

/* ===== SHOOTING STARS ===== */
.shooting-star {
    position: fixed; z-index: 10; pointer-events: none;
    width: 2px; height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,0));
    border-radius: 1px;
    box-shadow: 0 0 8px 2px rgba(102, 252, 241, 0.6);
    animation: shoot 7s linear infinite;
    opacity: 0;
}
.shooting-star:nth-child(1) { top: 5%; left: 25%; animation-delay: 0s; }
.shooting-star:nth-child(2) { top: 10%; left: 60%; animation-delay: 2.8s; width: 3px; height: 90px; box-shadow: 0 0 12px 3px rgba(216, 178, 76, 0.7); }
.shooting-star:nth-child(3) { top: 2%; left: 80%; animation-delay: 5.2s; width: 1.5px; height: 140px; box-shadow: 0 0 10px 2px rgba(102, 252, 241, 0.8); }
.shooting-star:nth-child(4) { top: 15%; left: 40%; animation-delay: 1.5s; width: 1px; height: 100px; box-shadow: 0 0 6px 1px rgba(255,255,255,0.5); }
@keyframes shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(-22deg); }
    3% { opacity: 1; }
    12% { opacity: 0; transform: translate(-200px, 280px) rotate(-22deg); }
    100% { opacity: 0; transform: translate(-200px, 280px) rotate(-22deg); }
}

/* ===== NEBULA GLOW ===== */
.nebula {
    position: fixed; z-index: 5; pointer-events: none;
    width: 800px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 252, 241, 0.10) 0%, rgba(89, 241, 232, 0.05) 35%, rgba(216, 178, 76, 0.03) 55%, transparent 70%);
    animation: nebula-drift 25s ease-in-out infinite;
    top: -10%; left: 55%; transform: translateX(-50%);
}
.nebula-2 {
    position: fixed; z-index: 5; pointer-events: none;
    width: 500px; height: 350px; border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 178, 76, 0.06) 0%, rgba(102, 252, 241, 0.03) 40%, transparent 65%);
    animation: nebula-drift-2 30s ease-in-out infinite;
    top: 50%; left: 20%;
}
@keyframes nebula-drift {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    25% { transform: translateX(-45%) translateY(20px) scale(1.1); }
    50% { transform: translateX(-55%) translateY(-10px) scale(0.9); }
    75% { transform: translateX(-48%) translateY(15px) scale(1.08); }
}
@keyframes nebula-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.15); }
    66% { transform: translate(-20px, 15px) scale(0.85); }
}
@keyframes nebula-drift {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    25% { transform: translateX(-48%) translateY(15px) scale(1.08); }
    50% { transform: translateX(-52%) translateY(-5px) scale(0.95); }
    75% { transform: translateX(-49%) translateY(10px) scale(1.05); }
}

/* ===== HERO DECORATION (left column) ===== */
.hero-glow-line {
    width: 64px; height: 2px;
    background: linear-gradient(90deg, var(--accent-color), rgba(102, 252, 241, 0.3), transparent);
    margin: 22px 0 20px;
}
.hero-tagline {
    font-size: 13px; color: rgba(255,255,255,0.55);
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 0;
}

/* ===== ASTRO CIRCLE (left column visual) ===== */
.hero-visual {
    margin-top: 28px;
    display: flex; align-items: center; gap: 20px;
}
.astro-circle {
    position: relative;
    width: 100px; height: 100px;
    flex-shrink: 0;
}
.astro-ring {
    position: absolute; inset: 0;
    border: 1.5px solid rgba(102, 252, 241, 0.2);
    border-radius: 50%;
    animation: astro-spin 30s linear infinite;
}
.astro-ring:nth-child(2) {
    inset: 12px;
    border-color: rgba(216, 178, 76, 0.25);
    animation-duration: 20s;
    animation-direction: reverse;
}
.astro-ring:nth-child(3) {
    inset: 24px;
    border-color: rgba(102, 252, 241, 0.15);
    animation-duration: 15s;
    border-style: dashed;
}
.astro-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px 4px rgba(102, 252, 241, 0.5);
    animation: astro-pulse 3s ease-in-out infinite;
}
.astro-orbit-dot {
    position: absolute;
    top: -3px; left: 50%;
    width: 6px; height: 6px;
    background: rgba(216, 178, 76, 0.8);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px 2px rgba(216, 178, 76, 0.4);
}
@keyframes astro-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes astro-pulse {
    0%, 100% { box-shadow: 0 0 16px 4px rgba(102, 252, 241, 0.5); }
    50% { box-shadow: 0 0 28px 8px rgba(102, 252, 241, 0.8); }
}
.hero-visual-text {
    color: rgba(255,255,255,0.45);
    font-size: 12.5px; line-height: 1.6;
}
.hero-visual-text span {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ===== SITE HEADER ===== */
.site-header {
    height: 58px; min-height: 58px;
    display: flex; align-items: center;
    border-bottom: 1px solid rgba(102, 252, 241, 0.12);
    position: sticky; top: 0; z-index: 100;
    background: rgba(8, 14, 26, 0.88);
    backdrop-filter: blur(12px);
}
.header-inner {
    max-width: 1160px; width: 100%;
    margin: 0 auto; padding: 0 28px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    font-size: 15px; font-family: var(--font-display);
    color: #fff; font-weight: 700; text-decoration: none;
    display: flex; align-items: center;
}
.logo img { width: 24px; height: 24px; vertical-align: middle; margin-right: 8px; }
.nav-link { font-size: 13px; color: var(--text-color); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--accent-color); }
.nav-cta {
    background: var(--accent-color); color: #000 !important;
    height: 36px; padding: 0 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600 !important;
    display: inline-flex; align-items: center; text-decoration: none;
}
.nav-cta:hover { background: var(--accent-hover); }
.mobile-menu-btn {
    display: none; cursor: pointer; color: #fff;
    background: rgba(102, 252, 241, 0.08);
    border: 1px solid rgba(102, 252, 241, 0.2);
    border-radius: 8px; padding: 6px 12px;
    font-size: 14px; font-family: var(--font-ui);
    align-items: center; gap: 6px;
    transition: background 0.2s;
}
.mobile-menu-btn:hover { background: rgba(102, 252, 241, 0.15); }
.menu-icon { font-size: 18px; line-height: 1; }
.menu-label { font-size: 13px; font-weight: 500; }
.mobile-nav {
    display: none; flex-direction: column; gap: 12px;
    padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0 28px;
}
.mobile-nav a { color: var(--text-color); text-decoration: none; font-weight: 500; font-size: 15px; }

/* ===== HERO ===== */
.hero {
    min-height: calc(100vh - 72px);
    padding: 28px 0 24px;
    display: flex;
    align-items: flex-start;
}
.hero-grid {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(380px, 430px);
    gap: 52px;
    align-items: start;
}
.hero-copy { padding-top: 44px; }
.hero-title {
    font-size: clamp(34px, 3.6vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 560px;
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
}
.hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    max-width: 540px;
    margin: 0 0 20px;
    color: #e0e0e0;
}
.hero-points { display: grid; gap: 9px; margin: 0 0 18px; }
.hero-point {
    font-size: 14.5px; line-height: 1.35; color: #ccc;
    display: flex; align-items: center;
}
.hero-point::before { content: '\2713'; color: var(--accent-color); margin-right: 10px; font-weight: bold; }

/* ===== FORM CARD ===== */
.form-card {
    margin-top: 18px;
    padding: 24px 26px;
    border-radius: 22px;
    max-width: 430px;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 60px rgba(102, 252, 241, 0.12), 0 8px 32px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.form-group { margin-bottom: 12px; }
.form-label {
    font-size: 13px; line-height: 1.25;
    margin-bottom: 6px; color: #fff;
    display: flex; justify-content: space-between;
}
.form-input, .form-select {
    height: 42px; min-height: 42px;
    padding: 0 13px; font-size: 14px;
    border-radius: 10px;
    width: 100%; box-sizing: border-box;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-family: inherit;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--accent-color); }
.form-help, .form-hint, .selected-date, .location-hint {
    font-size: 11.5px; line-height: 1.35; margin-top: 5px; color: #888;
}
.label-hint { color: #888; font-size: 11px; }
.submit-button {
    height: 50px; font-size: 15px;
    border-radius: 11px; margin-top: 14px;
    width: 100%; background: var(--accent-color);
    color: #000; border: none;
    font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; font-family: inherit;
}
.submit-button:hover { background: var(--accent-hover); box-shadow: 0 5px 25px rgba(102, 252, 241, 0.4); }
.form-disclaimer { font-size: 11.5px; line-height: 1.35; margin-top: 14px; color: #888; text-align: center; }

/* ===== GEOCODING ===== */
.geo-result {
    margin-top: 8px; padding: 12px;
    background: rgba(102, 252, 241, 0.1); border: 1px solid var(--accent-color);
    border-radius: 8px; font-size: 0.9rem; display: none; color: #fff; line-height: 1.4;
}
.geo-result-coords { font-size: 0.8rem; color: var(--accent-color); margin-top: 3px; }
#geocodeResults {
    position: absolute; background: #1f2833; border: 1px solid var(--accent-hover);
    border-radius: 8px; max-height: 180px; overflow-y: auto; width: 100%;
    z-index: 10; display: none; box-sizing: border-box;
}
#geocodeResults div { padding: 10px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
#geocodeResults div:hover { background: rgba(255,255,255,0.1); }

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 12, 16, 0.95); display: none;
    flex-direction: column; align-items: center; justify-content: center;
    z-index: 1000; text-align: center;
}
.orbit-loader {
    width: 80px; height: 80px; border: 2px dashed var(--accent-color);
    border-radius: 50%; animation: rotate 4s linear infinite;
    position: relative; margin-bottom: 24px;
}
.orbit-loader::after {
    content: ''; position: absolute; top: -8px; left: 50%;
    width: 16px; height: 16px; background: var(--accent-color);
    border-radius: 50%; transform: translateX(-50%);
    box-shadow: 0 0 15px var(--accent-color);
}
@keyframes rotate { 100% { transform: rotate(360deg); } }
#loadingText { font-size: 1.1rem; color: #fff; min-height: 28px; }

/* ===== CONTENT SECTIONS (below hero) ===== */
.content-section {
    max-width: 1120px; margin: 0 auto; padding: 48px 28px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.content-section:first-of-type { padding-top: 36px; }
.section-title {
    font-size: clamp(28px, 3vw, 40px); line-height: 1.15;
    text-align: center; margin-bottom: 28px;
    font-family: var(--font-display); color: #fff;
}

/* Steps */
.steps-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.step-card, .feature-card {
    padding: 18px; border-radius: 16px; min-height: 110px;
    background: var(--card-bg); border: 1px solid rgba(102, 252, 241, 0.1);
    border-top: 3px solid var(--accent-color);
    text-align: center; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.feature-card { border-top: none; border-left: 3px solid rgba(216, 178, 76, 0.5); text-align: left; align-items: flex-start; }
.step-number { font-size: 28px; line-height: 1; font-weight: 700; color: var(--accent-color); margin-bottom: 8px; opacity: 0.5; }
.step-title, .feature-title { font-size: 15px; line-height: 1.25; color: #fff; }
.step-text, .feature-text { font-size: 13px; line-height: 1.35; color: #aaa; }

/* Feature Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { border-top: none; text-align: left; }

/* Time box & FAQ */
.time-box {
    background: rgba(255, 165, 0, 0.05); border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 16px; padding: 40px; text-align: center; max-width: 800px; margin: 0 auto;
}
.faq-item { background: rgba(255,255,255,0.03); padding: 20px; border-radius: 12px; margin-bottom: 15px; }
.faq-item strong { color: var(--accent-color); display: block; margin-bottom: 10px; font-size: 1.1rem; }

/* ===== RESULT PAGE ===== */
.action-bar {
    background: rgba(11, 12, 16, 0.95); backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px; display: flex; justify-content: center;
    gap: 12px; flex-wrap: wrap;
}
.result-container { max-width: 900px; margin: 40px auto; padding: 0 20px; }
.card {
    background: var(--card-bg); border: 1px solid var(--border-color);
    border-radius: 15px; padding: 30px; margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); overflow-x: auto;
}
h2 { color: #fff; font-family: var(--font-display); font-size: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-top: 30px; }
h3 { color: #fff; font-family: var(--font-display); }
table { width: 100%; border-collapse: collapse; margin-top: 15px; background: rgba(0,0,0,0.2); border-radius: 8px; overflow: hidden; min-width: 500px; }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; }
th { background-color: rgba(102, 252, 241, 0.05); color: var(--accent-color); font-weight: 500; }
.btn { padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 500; transition: all 0.3s; cursor: pointer; text-align: center; border: none; font-size: 0.9rem; display: inline-block; }
.btn-primary { background: var(--accent-color); color: #000; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--accent-color); border: 1px solid var(--accent-color); }
.btn-secondary:hover { background: rgba(102, 252, 241, 0.1); transform: translateY(-2px); }
.warning-box { background: rgba(255, 165, 0, 0.1); border-left: 4px solid orange; padding: 15px; margin-bottom: 20px; border-radius: 4px; color: #fff; }
.markdown-content h2 { color: var(--accent-color); margin-top: 40px; }
.toc { background: rgba(0,0,0,0.3); padding: 20px; border-radius: 10px; margin-bottom: 30px; border: 1px solid rgba(255,255,255,0.05); }
.toc h3 { margin-top: 0; font-size: 1.5rem; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.toc a { color: #c5c6c7; text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.toc a:hover { color: var(--accent-color); }
.dev-info { background: #111; padding: 10px; border: 1px solid #333; color: #666; font-size: 11px; font-family: monospace; margin-top: 50px; border-radius: 5px; }
.chart-container { text-align: center; display: flex; justify-content: center; }
.chart-container svg { max-width: 100%; height: auto; background: #fff; border-radius: 15px; box-shadow: 0 0 20px rgba(102, 252, 241, 0.2); padding: 20px; }
.go-top { position: fixed; bottom: 30px; right: 30px; background: var(--accent-color); color: #000; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; opacity: 0.7; transition: opacity 0.3s; }
.go-top:hover { opacity: 1; }

/* ===== SEO PAGES ===== */
.seo-hero { padding: 54px 28px 36px; }
.seo-hero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
.seo-content { max-width: 880px; padding: 36px 28px; }
.seo-content p { font-size: 16px; line-height: 1.65; }
.seo-page-container { max-width: 800px; margin: 0 auto; padding: 20px; }
.breadcrumbs { margin-bottom: 20px; font-size: 0.9rem; color: #888; }
.breadcrumbs a { color: #888; text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--accent-color); }
.breadcrumbs .sep { margin: 0 8px; }
.seo-footer-cta { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.seo-footer-cta a.back-link { display: inline-block; margin-bottom: 30px; color: #888; text-decoration: none; font-size: 0.95rem; }
.seo-footer-cta a.cta-btn { display: inline-block; padding: 16px 32px; background: var(--accent-color); color: #000; text-decoration: none; border-radius: 12px; font-weight: 600; font-size: 1.1rem; transition: background 0.2s; }
.seo-footer-cta a.cta-btn:hover { background: var(--accent-hover); }

/* ===== INTERPRETATION BLOCKS (PDF + web) ===== */
.interpretation-section { margin-bottom: 14mm; }
.interpretation-section h2 { font-size: 17pt; margin-bottom: 7mm; }
.interpretation-block-label { font-weight: 700; color: #8a6a18; display: block; margin-top: 4mm; }

/* ===== ERROR PAGE ===== */
.error-page-body { font-family: sans-serif; background: #0d1117; color: #c9d1d9; padding: 50px; text-align: center; }
.error-page-body h1 { color: #d4af37; }
.error-box { color: #ff7b72; margin: 20px; padding: 20px; border: 1px solid #30363d; display: inline-block; }

/* ===== FOOTER ===== */
.footer { padding: 48px 20px 36px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 48px; font-size: 0.9rem; color: #888; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto 36px; text-align: left; }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-top: 0; margin-bottom: 15px; font-weight: 600; }
.footer-col a { display: block; color: #888; text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 28px; }

/* ===== UTILITY ===== */
.hidden { display: none !important; }

/* ===== DESKTOP SHORT SCREENS (1366x768 fix) ===== */
@media (min-width: 901px) and (max-height: 820px) {
    .site-header { height: 54px; min-height: 54px; }
    .hero { min-height: calc(100vh - 54px); padding: 18px 0 18px; }
    .hero-grid { gap: 46px; align-items: start; }
    .hero-copy { padding-top: 34px; }
    .hero-title { font-size: clamp(32px, 3.2vw, 44px); margin-bottom: 12px; }
    .hero-subtitle { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
    .hero-points { gap: 7px; }
    .form-card { margin-top: 8px; padding: 22px 24px; }
    .form-group { margin-bottom: 10px; }
    .form-input, .form-select { height: 40px; min-height: 40px; }
    .submit-button { height: 48px; margin-top: 12px; }
}

/* ===== TABLET  ===== */
@media (max-width: 900px) {
    .desktop-nav { display: none !important; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: auto; padding: 24px 0 28px; }
    .hero-grid { display: block; padding: 0 18px; }
    .hero-copy { padding-top: 18px; }
    .form-card { max-width: none; margin-top: 22px; }
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== MOBILE ===== */
@media (max-width: 640px) {
    .site-header { height: 54px; }
    .hero-title { font-size: 31px; line-height: 1.08; margin-bottom: 12px; }
    .hero-subtitle { font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; }
    .hero-point { font-size: 13.5px; }
    .form-card { padding: 18px; border-radius: 18px; }
    .form-input, .form-select { height: 42px; min-height: 42px; font-size: 14px; }
    .content-section { padding: 38px 18px; }
    .section-title { font-size: 26px; line-height: 1.12; margin-bottom: 20px; }
    .cards-grid, .steps-grid { grid-template-columns: 1fr; gap: 12px; }
    .twinkling { opacity: 0.10; animation: none; }
    .action-bar { padding: 10px; gap: 8px; }
    .btn { padding: 8px 12px; font-size: 0.85rem; flex: 1 1 auto; }
    h1 { font-size: 2rem; }
    .card { padding: 20px; }
    .toc ul { grid-template-columns: 1fr; }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 430px) {
    .hero-grid { padding: 0 14px; }
    .hero-title { font-size: 28px; }
    .form-card { padding: 16px; }
    .content-section { padding: 34px 16px; }
    .section-title { font-size: 26px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
    background: rgba(11, 12, 16, 0.97); border-top: 1px solid rgba(102, 252, 241, 0.25);
    padding: 18px 28px; display: none;
    align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-text {
    font-size: 13px; color: #ccc; line-height: 1.5; max-width: 700px;
}
.cookie-text a { color: var(--accent-color); text-decoration: underline; }
.cookie-btn {
    padding: 10px 24px; border-radius: 8px; font-size: 14px;
    font-weight: 600; cursor: pointer; font-family: inherit;
    border: none; white-space: nowrap;
}
.cookie-btn-accept { background: var(--accent-color); color: #000; }
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-settings { background: transparent; color: #aaa; border: 1px solid #444; }
.cookie-btn-settings:hover { color: #fff; border-color: #888; }
