/* ============================================
   CHINESE CALENDAR — PREMIUM DESIGN SYSTEM v2
   ============================================ */

:root {
    /* Core Palette */
    --red: #E53935;
    --red-dark: #C62828;
    --red-soft: #FF6F61;
    --red-glow: rgba(229, 57, 53, 0.15);
    --red-light: #FFF0EE;
    --gold: #FFB300;
    --gold-light: #FFF8E1;
    --blue-boy: #1E88E5;
    --pink-girl: #E91E63;

    /* Backgrounds */
    --bg: #FEFCF9;
    --bg-alt: #FFF7F0;
    --bg-dark: #0F0F1A;
    --bg-dark-2: #1A1A2E;
    --card: #FFFFFF;

    /* Text */
    --text: #1B1B2F;
    --text-mid: #4A4A5E;
    --text-light: #8888A0;

    /* Borders & Shadows */
    --border: #EDE8E0;
    --border-hover: #D6CFC5;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(229, 57, 53, 0.08);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration:none; color:inherit; transition: color 0.2s; }
img { max-width:100%; display:block; }

.wrap { max-width:1100px; margin:0 auto; padding:0 2rem; }
.wrap-narrow { max-width: 800px; }
.text-red { color: var(--red); }
.bg-light { background: var(--bg-alt); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(254,252,249,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    background: rgba(254,252,249,0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 800; font-size: 1.2rem;
}

.logo-dragon { font-size: 1.6rem; }

.nav-right { display: flex; align-items: center; gap: 2rem; }

.nav-links {
    list-style: none;
    display: flex; gap: 1.75rem;
}

.nav-links a {
    font-weight: 600; font-size: 0.92rem;
    color: var(--text-mid);
    position: relative;
    padding-bottom: 2px;
}

.nav-links a:hover { color: var(--red); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all var(--transition);
    box-shadow: 0 3px 12px var(--red-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(229,57,53,0.25);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}

.mobile-menu-btn span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.mobile-menu a {
    padding: 0.75rem 0;
    font-weight: 600;
    color: var(--text-mid);
    border-bottom: 1px solid var(--border);
}

.mobile-menu .nav-cta-mobile {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
    border: none;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 140px 2rem 100px;
    background: linear-gradient(160deg, #FEFCF9 0%, #FFF5EE 20%, #FFEEE4 45%, #FFE8D6 70%, #FFF5EE 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(229,57,53,0.07), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,179,0,0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e53935' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.8;
}

.hero-bg-shapes { display: none; }

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 5rem;
    align-items: center;
    position: relative; z-index: 2;
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.dot {
    width: 8px; height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity:1; transform: scale(1); }
    50% { opacity:0.4; transform: scale(0.8); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--red), #FF6F61);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-p {
    font-size: 1.05rem;
    color: var(--text-mid);
    margin-bottom: 2.5rem;
    max-width: 540px;
    line-height: 1.8;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.trust-item { text-align: center; }

.trust-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--red);
}

.trust-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.trust-divider {
    width: 1px; height: 40px;
    background: var(--border);
}

/* ===== CALCULATOR CARD ===== */
.calc-wrap {
    background: var(--card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.calc-top {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
    color: white;
    padding: 2.25rem 2rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.calc-top::before {
    content: '';
    position: absolute;
    top: -60%; right: -25%;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(229,57,53,0.2), transparent 70%);
    border-radius: 50%;
}

.calc-top::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -15%;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,179,0,0.12), transparent 70%);
    border-radius: 50%;
}

.calc-top-icon { font-size: 2.5rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.calc-top h2 { font-size: 1.3rem; font-weight: 800; position: relative; z-index: 1; }
.calc-top p { font-size: 0.85rem; opacity: 0.7; margin-top: 0.25rem; position: relative; z-index: 1; }

.calc-form { padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    display: flex; align-items: center; gap: 0.4rem;
}

.field-icon { font-size: 1rem; }

.field input {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border: 2px solid var(--border);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #FAFAF8;
    transition: all 0.25s ease;
    width: 100%;
}

.field input:focus {
    outline: none;
    border-color: var(--red);
    background: #FFF;
    box-shadow: 0 0 0 5px var(--red-glow);
}

.field textarea {
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border: 2px solid var(--border);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: #FAFAF8;
    transition: all 0.25s ease;
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

.field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #FFF;
    box-shadow: 0 0 0 5px var(--red-glow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field small {
    display: block;
}

.btn-predict {
    padding: 1.05rem;
    border: none;
    border-radius: 16px;
    font-size: 1.08rem;
    font-weight: 800;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 6px 20px var(--red-glow);
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-predict::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-predict:hover::after {
    transform: translateX(100%);
}

.btn-predict:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.3);
}

.btn-predict:active { transform: translateY(0); }

/* --- Results --- */
.hidden { display: none !important; }

.result-area {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { opacity:0; transform: scale(0.9) translateY(10px); }
    100% { opacity:1; transform: scale(1) translateY(0); }
}

.result-circle {
    width: 100px; height: 100px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.circle-boy { background: linear-gradient(135deg, #BBDEFB, #90CAF9); box-shadow: 0 10px 30px rgba(30,136,229,0.2); }
.circle-girl { background: linear-gradient(135deg, #F8BBD0, #F48FB1); box-shadow: 0 10px 30px rgba(233,30,99,0.2); }

#predictionText { font-size: 1.8rem; font-weight: 900; margin-bottom: 0.5rem; }
.text-boy { color: var(--blue-boy); }
.text-girl { color: var(--pink-girl); }

.result-meta {
    background: var(--bg-alt);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.btn-again {
    background: none;
    border: 2px solid var(--border);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-again:hover { border-color: var(--red); color: var(--red); }

/* ===== TRUST BAR ===== */
.trust-bar {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
    padding: 1.15rem 2rem;
    position: relative;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(229,57,53,0.05), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ===== SECTIONS ===== */
.section { padding: 5.5rem 0; }

.section-label {
    display: inline-block;
    background: var(--red-light);
    color: var(--red);
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 680px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}

/* --- Chart Image --- */
.chart-img-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}

.chart-img-box:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.chart-img-box img { width: 100%; height: auto; }

.chart-tip {
    font-size: 0.92rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* --- Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 14px;
}

.step-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
    overflow: visible;
}

.step-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--red-soft));
    opacity: 0;
    transition: opacity var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.step-card:hover::before { opacity: 1; }

.step-badge {
    position: absolute;
    top: -11px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 0.25rem 1.1rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.step-emoji { font-size: 2.5rem; margin: 1.25rem 0 0.75rem; }

.step-card h3 {
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* --- FAQ --- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.faq {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition);
}

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

.faq[open] {
    box-shadow: var(--shadow-md);
    border-color: rgba(229,57,53,0.12);
}

.faq summary {
    padding: 1.3rem 1.75rem;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
    user-select: none;
}

.faq summary:hover { color: var(--red); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: #CCC;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-alt);
}

.faq[open] summary::after {
    content: '−';
    color: white;
    background: var(--red);
}

.faq-body { padding: 0 1.75rem 1.5rem; }
.faq-body p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #FFF5EE, #FFEBD6, #FFF0E5);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-mid);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.btn-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 0.9rem 2.25rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 20px var(--red-glow);
    transition: all var(--transition);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(229,57,53,0.3);
}

/* ===== 2027/2028 PAGE SPECIFIC ===== */
.page-hero {
    padding: 140px 2rem 70px;
    background: linear-gradient(160deg, #FEFCF9 0%, #FFF5EE 40%, #FFEBD6 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -10%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(229,57,53,0.06), transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
}

/* Lunar Months Grid */
.lunar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lunar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--transition);
}

.lunar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.lunar-card .month-label {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--red);
    margin-bottom: 0.3rem;
}

.lunar-card .month-dates {
    font-size: 0.88rem;
    color: var(--text-mid);
}

/* Gender Chart Table */
.chart-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    background: var(--card);
}

.gender-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    min-width: 800px;
}

.gender-table thead th {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
    color: white;
    padding: 1rem 0.6rem;
    font-weight: 700;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gender-table tbody tr {
    transition: background 0.15s;
}

.gender-table tbody tr:hover {
    background: #FFF8F0 !important;
}

.gender-table tbody tr:nth-child(even) {
    background: #FAFAF8;
}

.gender-table td {
    padding: 0.7rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.gender-table td:first-child {
    font-weight: 800;
    background: #F8F6F2;
    color: var(--text);
    border-right: 2px solid var(--border);
    min-width: 50px;
}

.cell-boy {
    color: var(--blue-boy);
    background: rgba(30, 136, 229, 0.05) !important;
}

.cell-girl {
    color: var(--pink-girl);
    background: rgba(233, 30, 99, 0.05) !important;
}

/* Disclaimer */
.disclaimer {
    background: var(--gold-light);
    border-left: 4px solid var(--gold);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-mid);
    font-size: 0.92rem;
}

.disclaimer strong { color: var(--text); }

/* ===== ARTICLE PAGE ===== */
.article-wrap { max-width: 780px; }
.article-section { margin-bottom: 1rem; }

.article-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.article-section p {
    font-size: 1.02rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.article-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 2.5rem 0;
}

.article-list { padding-left: 1.5rem; margin-bottom: 1.25rem; }

.article-list li {
    font-size: 1.02rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 0.5rem;
}

.toc-box {
    background: linear-gradient(135deg, var(--bg-alt), #FFF5EE);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    margin-bottom: 3rem;
}

.toc-box h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }

.toc-box ol { padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.toc-box ol li { font-size: 0.95rem; }
.toc-box ol li a { color: var(--text-mid); font-weight: 600; }
.toc-box ol li a:hover { color: var(--red); }

.step-highlight { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }

.step-highlight-badge {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.step-highlight-icon { font-size: 2rem; }

.info-callout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--gold-light);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.info-callout span { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; }
.info-callout p { margin: 0 !important; font-size: 0.95rem !important; color: var(--text-mid); }

.example-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 1.5rem 0;
}

.example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.example-row:last-child { border-bottom: none; }
.example-row:nth-child(even) { background: #FAFAF8; }
.example-label { font-weight: 700; font-size: 0.92rem; color: var(--text); }
.example-value { font-size: 0.92rem; color: var(--text-mid); text-align: right; }

/* ===== FOOTER — PREMIUM REDESIGN ===== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red-soft), var(--red));
    background-size: 300% 100%;
    animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 4rem;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.footer-top::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(229,57,53,0.04), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-logo { margin-bottom: 0.75rem; }
.footer-brand .logo { justify-content: flex-start; }
.footer-brand .logo span { color: white; font-size: 1.3rem; }
.footer-brand .logo-dragon { font-size: 1.8rem; }

.footer-desc {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.4);
    max-width: 340px;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
    margin-right: 0.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55);
    transition: all var(--transition);
    background: rgba(255,255,255,0.03);
}

.social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229,57,53,0.3);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col h4 {
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 24px; height: 2px;
    background: var(--red);
    border-radius: 1px;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    transition: all 0.25s;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-col a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

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

.footer-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.15) !important;
    margin-top: 0.4rem;
    font-style: italic;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding: 120px 1.5rem 70px; }
    .hero-left { text-align: center; }
    .hero-p { margin-left: auto; margin-right: auto; }
    .hero-trust { justify-content: center; }
    .hero-right { max-width: 440px; margin: 0 auto; width: 100%; }
    .hero h1 { font-size: 2.75rem; }
    .steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .footer-brand .logo { justify-content: center; }
    .footer-desc { margin: 0.75rem auto 0; }
    .footer-social { justify-content: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu.active { display: flex; }
    .page-hero h1 { font-size: 2.25rem; }
    .lunar-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 100px 1rem 50px; }
    .section { padding: 4rem 0; }
    .wrap { padding: 0 1rem; }
    .section-heading { font-size: 1.85rem; }
    .trust-bar-inner { gap: 1rem; font-size: 0.8rem; }
    .hero-trust { flex-direction: column; gap: 0.75rem; }
    .trust-divider { width: 40px; height: 1px; }
    .calc-form { padding: 1.5rem; }
    .calc-top { padding: 1.75rem 1.5rem; }
    .page-hero { padding: 110px 1rem 50px; }
    .page-hero h1 { font-size: 1.9rem; }
    .example-row { flex-direction: column; text-align: left; }
    .example-value { text-align: left; }
}
