/* ===== coinbix-home.css ===== */
/* Front page (Design V1) — coinbix-page-v1.php only */

/* Body */
body.page-template-coinbix-page-v1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--v1-surface);
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.v1-hero {
    position: relative;
    margin-top: 64px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 64px 32px;
    overflow: hidden;
    background: var(--v1-surface);
}
.v1-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(242,195,91,0.04) 0%, transparent 70%),
        linear-gradient(180deg, var(--v1-surface) 0%, var(--v1-surface-container-low) 100%);
    z-index: 0;
}
.v1-hero > * { position: relative; z-index: 1; }

.v1-price-block { margin-bottom: 32px; }
.v1-price-tabs {
    display: flex;
    gap: 0;
    justify-content: center;
    margin-bottom: 12px;
}
.v1-price-tab {
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--v1-text-dim);
    background: var(--v1-ghost);
    cursor: pointer;
    transition: all 200ms ease;
    border: none;
}
.v1-price-tab:first-child { border-radius: 6px 0 0 6px; }
.v1-price-tab:last-child { border-radius: 0 6px 6px 0; }
.v1-price-tab.active {
    color: var(--v1-gold);
    background: var(--v1-gold-glow);
}
.v1-price-value {
    font-family: 'Inter', sans-serif;
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--v1-text);
    line-height: 1.1;
}
.v1-price-value .dollar { color: var(--v1-gold); font-weight: 700; }


.v1-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.08;
    max-width: 640px;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.v1-hero-sub {
    font-size: 18px;
    color: var(--v1-text-muted);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.7;
}
/* CTA — Primary Gold Fill (design.md §4 Buttons) */
.v1-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--v1-gold), var(--v1-gold-mid));
    color: #0a1325;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    transition: all 200ms ease;
}
.v1-cta-primary:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
.v1-cta-primary:active { background: var(--v1-gold-dark); }
.v1-cta-primary:focus { outline: 2px solid var(--v1-gold); outline-offset: 2px; }
.v1-cta-primary svg { width: 16px; height: 16px; }

/* ===== SCROLL STRIP — tonal shift boundary (No-Line Rule) ===== */
.v1-scroll-strip {
    padding: 16px 0;
    background: var(--v1-surface-container-low);
    overflow: hidden;
    white-space: nowrap;
}
.v1-scroll-track {
    display: flex;
    width: fit-content;
    animation: v1scroll 40s linear infinite;
}
.v1-scroll-text {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--v1-text-dim);
}
@keyframes v1scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== LATEST INSIGHTS ===== */
.v1-section {
    max-width: var(--v1-max);
    margin: 0 auto;
    padding: 48px 32px;
}
.v1-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    margin-bottom: 20px;
    /* No border — use spacing only */
}
.v1-section-head h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.v1-section-head a {
    font-size: 13px;
    font-weight: 600;
    color: var(--v1-gold);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Featured — No border, surface lift (design.md §2 Surface Hierarchy) */
.v1-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    background: var(--v1-surface-container);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    transition: all 200ms ease;
}
.v1-featured:hover { background: var(--v1-surface-container-high); }
.v1-featured-img {
    min-height: 340px;
    background: linear-gradient(135deg, #0e1e35, #1a3040, #142838);
    position: relative;
}
.v1-featured-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--v1-surface-container) 100%);
}
.v1-featured-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.v1-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--v1-gold), var(--v1-gold-mid));
    color: #0a1325;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
    letter-spacing: 0.5px;
}
.v1-badge-red {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: #fff;
}

.v1-featured-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}
.v1-featured-body p {
    font-size: 14px;
    color: var(--v1-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.v1-read-more {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--v1-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    width: fit-content;
    transition: all 200ms ease;
}
.v1-read-more:hover { text-decoration-color: rgba(242,195,91,0.5); }

/* Grid 4 — No borders, surface-container cards (design.md §5 Editorial Cards) */
.v1-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.v1-card {
    background: var(--v1-surface-container);
    border-radius: 12px;
    overflow: hidden;
    transition: all 200ms ease;
    /* No border — No-Line Rule */
}
.v1-card:hover {
    background: var(--v1-surface-container-high);
}
.v1-card-img {
    height: 140px;
    background: linear-gradient(135deg, #0e1e35, #1a3040);
}
.v1-card-img-1 { background: linear-gradient(135deg, #0e1830, #1a2848, #142838); }
.v1-card-img-2 { background: linear-gradient(135deg, #142a1a, #1a3828, #0e2020); }
.v1-card-img-3 { background: linear-gradient(135deg, #2a1e10, #382a18, #201408); }
.v1-card-img-4 { background: linear-gradient(135deg, #0a2040, #143050, #0e1830); }
.v1-card-body { padding: 16px; }
.v1-card-body .v1-badge { margin-bottom: 10px; font-size: 10px; padding: 3px 10px; }
.v1-card-body h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}
/* Metadata separated by spacing, not dividers (design.md §5) */
.v1-card-meta {
    font-size: 12px;
    color: var(--v1-text-dim);
    margin-top: 12px;
}

/* ===== CTA SECTION — Surface lift + editorial (design.md §2, §3) ===== */
.v1-cta-section {
    background: var(--v1-surface-container-low);
    padding: 64px 32px;
    text-align: center;
    /* No borders — tonal shift creates boundary */
}
.v1-cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    line-height: 1.15;
}
.v1-cta-section h2 em {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    color: var(--v1-gold);
}
.v1-cta-section p {
    font-size: 15px;
    color: var(--v1-text-muted);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.v1-social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}
.v1-social-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--v1-ghost);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v1-text-muted);
    font-size: 18px;
    transition: all 200ms ease;
    /* No border — ghost background instead */
}
.v1-social-icon:hover {
    background: var(--v1-gold-glow);
    color: var(--v1-gold);
}
/* Primary CTA — Gold Fill (design.md §4 Buttons) */
.v1-cta-gold {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--v1-gold), var(--v1-gold-mid));
    color: #0a1325;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    transition: all 200ms ease;
}
.v1-cta-gold:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* ===== RESPONSIVE (design.md §7) ===== */
@media (max-width: 1024px) {
    .v1-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .v1-featured { grid-template-columns: 1fr; }
    .v1-featured-img { min-height: 240px; }
    .v1-hero h1 { font-size: 36px; }
    .v1-section { padding: 48px 20px; }
    .v1-cta-section { padding: 48px 20px; }
}
@media (max-width: 768px) {
    .v1-hero h1 { font-size: 28px; line-height: 1.15; }
    .v1-price-value { font-size: 40px; }
    .v1-hero { min-height: 440px; padding: 48px 16px; }
    .v1-grid-4 { grid-template-columns: 1fr; }
    .v1-cta-section h2 { font-size: 24px; }
    .v1-section { padding: 32px 16px; }
    .v1-cta-section { padding: 32px 16px; }
    .v1-section-head h2 { font-size: 24px; }
    .v1-hero-sub { font-size: 16px; }
}
