/* ============================================================
   SeasOptima Homepage v2 - Editorial Minimal
   Uses existing design-v2 vars: --brand (#F97316), --brand-hover,
   --brand-light (#FFF7ED), --text-primary, --text-secondary,
   --border, --bg-card, --font-display, --font-mono.
   ============================================================ */

body.v2.home-v2 main { padding: 0 !important; }
body.v2.home-v2 .container { max-width: 1200px; padding: 0 24px; margin: 0 auto; width: 100%; }

/* ---------- Section 1: HERO ---------- */
body.v2 .hp-hero {
    background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 100%);
    padding: 72px 24px 96px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
body.v2 .hp-hero-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
body.v2 .hp-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--brand-light); color: var(--brand);
    font-family: var(--font-mono);
    font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 20px;
}
body.v2 .hp-hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
body.v2 .hp-hero h1 {
    font-family: var(--font-display);
    font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em;
    color: var(--text-primary); margin: 0 0 20px;
}
body.v2 .hp-hero h1 em { font-style: italic; color: var(--brand); font-weight: 700; }
body.v2 .hp-hero-lead {
    font-size: 17px; line-height: 1.65; color: var(--text-secondary);
    margin: 0 0 28px; max-width: 560px;
}
body.v2 .hp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
body.v2 .hp-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #0B1220; color: #fff; padding: 14px 22px; border-radius: 10px;
    text-decoration: none; font-weight: 600; font-size: 14px;
    border: 1px solid #0B1220; transition: background .15s, transform .15s;
}
body.v2 .hp-btn-primary:hover { background: #1F2937; transform: translateY(-1px); }
body.v2 .hp-btn-ghost {
    display: inline-flex; align-items: center; gap: 6px;
    background: transparent; color: var(--text-primary); padding: 14px 18px; border-radius: 10px;
    text-decoration: none; font-weight: 600; font-size: 14px;
    border: 1px solid var(--border);
}
body.v2 .hp-btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
body.v2 .hp-hero-trust {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-secondary);
}
body.v2 .hp-hero-trust strong { color: var(--text-primary); font-weight: 700; }

body.v2 .hp-hero-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 20px; box-shadow: 0 20px 40px -20px rgba(11, 18, 32, 0.25);
    transform: rotate(-1.5deg);
}
body.v2 .hp-hero-card-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px; font-family: var(--font-mono); color: var(--text-secondary);
    margin-bottom: 14px; letter-spacing: 0.05em;
}
body.v2 .hp-hero-card-head strong { color: var(--text-primary); font-weight: 700; }
body.v2 .hp-heatmap-grid {
    display: grid; grid-template-columns: 28px repeat(12, 1fr); gap: 3px;
    font-family: var(--font-mono); font-size: 9px; color: var(--text-secondary);
}
body.v2 .hp-heatmap-label { text-align: right; padding-right: 4px; line-height: 22px; }
body.v2 .hp-heatmap-cell { height: 22px; border-radius: 3px; background: var(--bg-subtle); }
body.v2 .hp-heatmap-cell.pos-1 { background: #DCFCE7; }
body.v2 .hp-heatmap-cell.pos-2 { background: #86EFAC; }
body.v2 .hp-heatmap-cell.pos-3 { background: #22C55E; }
body.v2 .hp-heatmap-cell.neg-1 { background: #FEE2E2; }
body.v2 .hp-heatmap-cell.neg-2 { background: #FCA5A5; }
body.v2 .hp-heatmap-cell.neg-3 { background: #EF4444; }
body.v2 .hp-heatmap-month {
    font-size: 9px; text-align: center; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---------- Generic section wrapper ---------- */
body.v2 .hp-section { padding: 72px 24px; }
body.v2 .hp-section-inner { max-width: 1200px; margin: 0 auto; }
body.v2 .hp-section-head { text-align: center; margin-bottom: 48px; }
body.v2 .hp-section-eyebrow {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand);
    margin-bottom: 10px;
}
body.v2 .hp-section h2 {
    font-family: var(--font-display);
    font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
    color: var(--text-primary); margin: 0 0 14px;
}
body.v2 .hp-section-lead {
    color: var(--text-secondary); font-size: 16px; line-height: 1.65;
    max-width: 720px; margin: 0 auto;
}

/* ---------- Section 2: UPCOMING WINDOWS ---------- */
body.v2 .hp-windows { background: var(--bg-card); }
body.v2 .hp-windows-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    margin-bottom: 32px; gap: 16px;
}
body.v2 .hp-windows-head h2 { margin: 0 0 4px; font-size: 28px; }
body.v2 .hp-updated {
    font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary);
    letter-spacing: 0.1em; text-transform: uppercase;
}
body.v2 .hp-windows-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
body.v2 .hp-window-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 20px; display: flex; flex-direction: column; gap: 12px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative; text-decoration: none; color: var(--text-primary);
}
body.v2 .hp-window-card:hover {
    border-color: var(--brand); transform: translateY(-2px);
    box-shadow: 0 12px 24px -16px rgba(249,115,22,.4);
}
body.v2 .hp-window-pill {
    position: absolute; top: 14px; right: 14px;
    background: var(--brand-light); color: var(--brand);
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    padding: 4px 8px; border-radius: 999px; letter-spacing: 0.08em; text-transform: uppercase;
}
body.v2 .hp-window-ticker {
    font-family: var(--font-mono); font-size: 18px; font-weight: 700;
    color: var(--text-primary); letter-spacing: -0.01em;
}
body.v2 .hp-window-name { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
body.v2 .hp-window-stats { display: flex; gap: 16px; margin-top: auto; }
body.v2 .hp-window-stat { flex: 1; }
body.v2 .hp-window-stat-label {
    font-size: 10px; color: var(--text-secondary); text-transform: uppercase;
    letter-spacing: 0.08em; margin-bottom: 4px;
}
body.v2 .hp-window-stat-value {
    font-family: var(--font-mono); font-size: 18px; font-weight: 700;
    color: var(--text-primary);
}
body.v2 .hp-window-stat-value.positive { color: #16A34A; }
body.v2 .hp-window-winbar {
    height: 4px; background: var(--bg-subtle); border-radius: 2px; overflow: hidden; margin-top: 4px;
}
body.v2 .hp-window-winbar-fill { height: 100%; background: var(--brand); border-radius: 2px; }
body.v2 .hp-windows-cta { text-align: center; margin-top: 32px; }
body.v2 .hp-windows-empty {
    padding: 40px; text-align: center; color: var(--text-secondary);
    border: 1px dashed var(--border); border-radius: 12px;
}
body.v2 .hp-disclaimer {
    margin: 32px auto 0; max-width: 880px; padding: 12px 16px;
    font-size: 11px; line-height: 1.55; color: var(--text-secondary);
    text-align: center;
    background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 8px;
}
body.v2 .hp-disclaimer a { color: var(--brand); text-decoration: underline; }

/* ---------- Section 3: What is Seasonality ---------- */
body.v2 .hp-what { background: var(--bg-page); }
body.v2 .hp-what-inner {
    max-width: 880px; margin: 0 auto; text-align: left;
}
body.v2 .hp-what-inner .hp-section-head { text-align: center; }
body.v2 .hp-what-inner p { color: var(--text-secondary); font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
body.v2 .hp-what-list {
    list-style: none; padding: 0; margin: 24px 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
body.v2 .hp-what-list li {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
}
body.v2 .hp-check {
    flex: 0 0 24px; width: 24px; height: 24px; border-radius: 6px;
    background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center;
}
body.v2 .hp-what-list strong { color: var(--text-primary); display: block; font-size: 14px; margin-bottom: 4px; }
body.v2 .hp-what-list span { color: var(--text-secondary); font-size: 13px; line-height: 1.55; }

/* ---------- Section 4: How It Works ---------- */
body.v2 .hp-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.v2 .hp-how-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 32px 24px; position: relative;
}
body.v2 .hp-how-num {
    font-family: var(--font-display); font-size: 48px; font-weight: 800;
    color: var(--brand); line-height: 1; letter-spacing: -0.03em; margin-bottom: 16px;
}
body.v2 .hp-how-card h3 {
    font-family: var(--font-display); font-size: 18px; font-weight: 700;
    margin: 0 0 10px; color: var(--text-primary); letter-spacing: -0.01em;
}
body.v2 .hp-how-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- Section 5: Feature Grid ---------- */
body.v2 .hp-features { background: var(--bg-page); }
body.v2 .hp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.v2 .hp-feature {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
    padding: 28px 24px;
}
body.v2 .hp-feature-icon {
    width: 48px; height: 48px; border-radius: 10px;
    background: var(--brand-light); color: var(--brand);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
body.v2 .hp-feature h4 {
    font-family: var(--font-display); font-size: 15px; font-weight: 700;
    margin: 0 0 8px; color: var(--text-primary); letter-spacing: -0.01em;
}
body.v2 .hp-feature p { color: var(--text-secondary); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ---------- Section 6: Historical Pattern Examples ---------- */
body.v2 .hp-examples-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.v2 .hp-example {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 20px; display: flex; flex-direction: column; gap: 10px;
    text-decoration: none; color: var(--text-primary); transition: border-color .15s;
}
body.v2 .hp-example:hover { border-color: var(--brand); }
body.v2 .hp-example-ticker {
    font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--brand);
}
body.v2 .hp-example strong { font-size: 15px; color: var(--text-primary); }
body.v2 .hp-example p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
body.v2 .hp-example-link {
    font-family: var(--font-mono); font-size: 11px; color: var(--brand);
    font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-top: auto;
}

/* ---------- Section 7: Comparison table ---------- */
body.v2 .hp-compare { background: var(--bg-page); }
body.v2 .hp-compare-table {
    width: 100%; max-width: 960px; margin: 0 auto;
    border-collapse: collapse; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
}
body.v2 .hp-compare-table th,
body.v2 .hp-compare-table td {
    padding: 14px 18px; text-align: left; font-size: 14px;
    border-bottom: 1px solid var(--border);
    background: transparent;
}
body.v2 .hp-compare-table th { background: var(--bg-subtle); font-weight: 600; color: var(--text-primary); }
body.v2 .hp-compare-table th.hp-col-us { background: var(--brand-light); color: var(--brand); }
body.v2 .hp-compare-table td.hp-yes { color: #16A34A; font-weight: 600; text-align: center; }
body.v2 .hp-compare-table td.hp-no { color: var(--text-tertiary); text-align: center; }
body.v2 .hp-compare-table td.hp-col-us-cell { background: var(--brand-light); font-weight: 600; }
body.v2 .hp-compare-table tr:last-child td { border-bottom: none; }

/* ---------- Section 8: Trust Band ---------- */
body.v2 .hp-trust {
    background: linear-gradient(135deg, #0B1220 0%, #1F2937 100%);
    color: #F3F4F6; position: relative; overflow: hidden;
}
body.v2 .hp-trust::before {
    content: ""; position: absolute; top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, transparent 60%);
    pointer-events: none;
}
body.v2 .hp-trust-inner {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    max-width: 1100px; margin: 0 auto;
}
body.v2 .hp-trust-item { text-align: center; }
body.v2 .hp-trust-num {
    font-family: var(--font-mono); font-size: 36px; font-weight: 700;
    color: var(--brand); letter-spacing: -0.02em; margin-bottom: 6px;
}
body.v2 .hp-trust-label {
    font-size: 13px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.08em;
}

/* ---------- Section 9: FAQ ---------- */
body.v2 .hp-faq-inner { max-width: 880px; margin: 0 auto; }
body.v2 .hp-faq-item {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    margin-bottom: 12px; overflow: hidden;
}
body.v2 .hp-faq-item summary {
    padding: 18px 20px; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary);
}
body.v2 .hp-faq-item summary::-webkit-details-marker { display: none; }
body.v2 .hp-faq-item summary::after {
    content: "+"; font-family: var(--font-mono); font-size: 22px;
    color: var(--brand); transition: transform .15s;
}
body.v2 .hp-faq-item[open] summary::after { content: "-"; }
body.v2 .hp-faq-body {
    padding: 0 20px 20px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.7;
}
body.v2 .hp-faq-body a { color: var(--brand); font-weight: 600; }

/* ---------- Section 10: Final CTA ---------- */
body.v2 .hp-final {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--brand-light) 100%);
    color: var(--text-primary); text-align: center; padding: 96px 24px;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 4px solid var(--brand);
}
body.v2 .hp-final::before {
    content: ""; position: absolute; top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
body.v2 .hp-final h2 {
    color: var(--text-primary); font-size: 36px; font-weight: 700;
    letter-spacing: -0.02em; margin: 0 0 14px; position: relative;
}
body.v2 .hp-final p {
    color: var(--text-secondary); font-size: 16px; margin: 0 0 28px; position: relative;
}
body.v2 .hp-final .hp-btn-primary {
    background: var(--brand); border-color: var(--brand); color: #fff;
    position: relative;
}
body.v2 .hp-final .hp-btn-primary:hover { background: var(--brand-hover); }
body.v2 .hp-final a.hp-final-secondary {
    color: var(--text-primary); text-decoration: none; margin-left: 16px;
    font-size: 14px; font-weight: 600; position: relative;
}
body.v2 .hp-final a.hp-final-secondary:hover { color: var(--brand); }

/* ---------- MOBILE BREAKPOINTS ---------- */
@media (max-width: 1024px) {
    body.v2 .hp-windows-grid { grid-template-columns: repeat(2, 1fr); }
    body.v2 .hp-how-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    body.v2 .hp-features-grid { grid-template-columns: repeat(2, 1fr); }
    body.v2 .hp-examples-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    body.v2 .hp-hero-inner { grid-template-columns: 1fr; gap: 24px; }
    body.v2 .hp-hero-card { display: none; }
    body.v2 .hp-hero h1 { font-size: 36px; }
    body.v2 .hp-hero-lead { font-size: 15px; }
    body.v2 .hp-what-list { grid-template-columns: 1fr; }
    body.v2 .hp-how-grid { grid-template-columns: 1fr; }
    body.v2 .hp-section h2 { font-size: 26px; }
    body.v2 .hp-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    body.v2 .hp-compare { overflow-x: auto; }
    body.v2 .hp-compare-table { min-width: 640px; }
}
@media (max-width: 600px) {
    body.v2 .hp-section { padding: 48px 20px; }
    body.v2 .hp-hero { padding: 48px 20px 64px; }
    body.v2 .hp-hero h1 { font-size: 28px; }
    body.v2 .hp-hero-ctas .hp-btn-primary,
    body.v2 .hp-hero-ctas .hp-btn-ghost { width: 100%; justify-content: center; min-height: 44px; }
    body.v2 .hp-windows-grid { grid-template-columns: 1fr; }
    body.v2 .hp-features-grid { grid-template-columns: 1fr; }
    body.v2 .hp-examples-grid { grid-template-columns: 1fr; }
    body.v2 .hp-final h2 { font-size: 26px; }
    body.v2 .hp-final a.hp-final-secondary { display: block; margin: 16px 0 0; }
}
