/* ══════════════════════════════════════════════
   ATSHI Network — Shared Styles
   ══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');

:root {
    --blue-pulse: #19B5FE;
    --blue-deep: #0D8BD9;
    --foundation-navy: #0B3A6F;
    --navy-dark: #030912;
    --navy-deepest: #000000;
    --vitality-red: #F96332;
    --structure-gray: #4A5568;
    --text-primary: #E8EDF3;
    --text-secondary: #A0B4D0;
    --text-muted: #7088A8;
    --glow-blue: rgba(25, 181, 254, 0.15);
    --glow-red: rgba(249, 99, 50, 0.15);
    --card-bg: rgba(10, 45, 90, 0.3);
    --card-border: rgba(25, 181, 254, 0.25);
    --card-hover-border: rgba(25, 181, 254, 0.5);
    --section-gap: 6rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-deepest);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ── NETWORK BACKGROUND ── */
.network-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}
.network-bg canvas { width: 100%; height: 100%; }

/* ── NAVBAR ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(4, 15, 31, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(25, 181, 254, 0.08);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.55rem 2rem;
    background: rgba(4, 15, 31, 0.96);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
}

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

.nav-menu > li { position: relative; }

.nav-menu > li > a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--blue-pulse);
    background: rgba(25, 181, 254, 0.08);
}

.nav-menu > li > a.active {
    color: var(--blue-pulse);
}

.nav-cta {
    padding: 0.5rem 1.25rem !important;
    background: linear-gradient(135deg, var(--blue-pulse), var(--blue-deep)) !important;
    color: #fff !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 20px rgba(25, 181, 254, 0.3) !important;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(6, 29, 58, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 0.5rem;
    padding-top: 0.85rem;
    margin-top: 0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    list-style: none;
}

.nav-menu > li {
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
}

.nav-menu > li:hover > .dropdown-menu { display: block; }

.dropdown-menu a {
    display: block;
    padding: 0.55rem 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s;
}

.dropdown-menu a:hover {
    color: var(--blue-pulse);
    background: rgba(25, 181, 254, 0.08);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ── SECTIONS ── */
section {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── PAGE HERO ── */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--navy-deepest));
    pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(25, 181, 254, 0.1);
    border: 1px solid rgba(25, 181, 254, 0.25);
    border-radius: 100px;
    color: var(--blue-pulse);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--blue-pulse) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ── HOME HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--navy-deepest));
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(25, 181, 254, 0.1);
    border: 1px solid rgba(25, 181, 254, 0.25);
    border-radius: 100px;
    color: var(--blue-pulse);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--blue-pulse) 50%, var(--vitality-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-pulse);
    display: block;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-pulse), var(--blue-deep));
    color: #fff;
    box-shadow: 0 4px 20px rgba(25, 181, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(25, 181, 254, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(25, 181, 254, 0.3);
}

.btn-outline:hover {
    border-color: var(--blue-pulse);
    background: rgba(25, 181, 254, 0.08);
    transform: translateY(-2px);
}

/* ── SECTION TITLES ── */
.section-label {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(25, 181, 254, 0.08);
    border: 1px solid rgba(25, 181, 254, 0.2);
    border-radius: 100px;
    color: var(--blue-pulse);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.8;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ── CONTENT SECTIONS ── */
.content-section {
    padding: var(--section-gap) 0;
}

.content-section.alt-bg {
    background: rgba(5, 20, 45, 0.4);
    border-top: 1px solid rgba(25, 181, 254, 0.05);
    border-bottom: 1px solid rgba(25, 181, 254, 0.05);
}

/* ── CARDS ── */
.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(25, 181, 254, 0.08);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    background: rgba(25, 181, 254, 0.1);
    border: 1px solid rgba(25, 181, 254, 0.15);
}

.card-icon.red {
    background: rgba(249, 99, 50, 0.1);
    border-color: rgba(249, 99, 50, 0.15);
}

.card-icon.green {
    background: rgba(72, 187, 120, 0.1);
    border-color: rgba(72, 187, 120, 0.15);
}

.card-icon.purple {
    background: rgba(159, 122, 234, 0.1);
    border-color: rgba(159, 122, 234, 0.15);
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.card .tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.75rem;
}

.tag.blue { background: rgba(25, 181, 254, 0.15); color: var(--blue-pulse); }
.tag.red { background: rgba(249, 99, 50, 0.15); color: var(--vitality-red); }
.tag.green { background: rgba(72, 187, 120, 0.15); color: #48BB78; }
.tag.purple { background: rgba(159, 122, 234, 0.15); color: #9F7AEA; }

/* ── FEATURE BLOCK ── */
.feature-block {
    padding: var(--section-gap) 0;
    border-bottom: 1px solid rgba(25, 181, 254, 0.05);
}

.feature-block:last-child { border-bottom: none; }

.feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-layout.reverse { direction: rtl; }
.feature-layout.reverse > * { direction: ltr; }

.feature-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.feature-text .subtitle {
    color: var(--blue-pulse);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list li::before {
    content: '→';
    color: var(--blue-pulse);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1em;
}

.feature-visual {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(25, 181, 254, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(25, 181, 254, 0.15);
}

.visual-item .vi-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    min-width: 110px;
}

.visual-item .vi-value {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ── COMPARISON TABLE ── */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--card-border);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.85rem;
}

.comparison-table thead th {
    background: rgba(25, 181, 254, 0.08);
    color: var(--blue-pulse);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--card-border);
}

.comparison-table tbody td {
    border-bottom: 1px solid rgba(25, 181, 254, 0.05);
    color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover {
    background: rgba(25, 181, 254, 0.03);
}

.comparison-table .highlight {
    color: var(--blue-pulse);
    font-weight: 700;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: var(--section-gap) 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(25, 181, 254, 0.08), rgba(249, 99, 50, 0.05));
    border: 1px solid rgba(25, 181, 254, 0.15);
    border-radius: 20px;
    padding: 4rem 2rem;
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(25, 181, 254, 0.08);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-pulse); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(25, 181, 254, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── FADE ANIMATIONS ── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-layout { grid-template-columns: 1fr; gap: 2rem; }
    .feature-layout.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: #030912;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        z-index: 99;
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.open { display: flex; }

    .nav-menu > li > a {
        font-size: 1rem;
        padding: 0.7rem 0;
        border-bottom: 1px solid rgba(25, 181, 254, 0.08);
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        display: none;
    }

    /* Dropdowns collapsed by default, toggle via JS */
    .nav-menu > li:hover > .dropdown-menu { display: none; }
    .nav-menu > li > .dropdown-menu { display: none; }
    .nav-menu > li.mobile-open > .dropdown-menu { display: block; }

    .dropdown-menu a {
        padding: 0.4rem 0 0.4rem 1.2rem;
        font-size: 0.82rem;
        border-bottom: 1px solid rgba(25, 181, 254, 0.04);
    }

    .nav-hamburger { display: block; z-index: 101; }

    .card-grid.cols-2,
    .card-grid.cols-3,
    .card-grid.cols-4 { grid-template-columns: 1fr; }

    .hero { padding: 7rem 1.5rem 3rem; }
    .page-hero { padding: 8rem 1.5rem 3rem; }
    .content-section { padding: 3.5rem 0; }
    .hero-stats { gap: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

    .comparison-table { font-size: 0.78rem; }
    .comparison-table th,
    .comparison-table td { padding: 0.6rem 0.75rem; }
}

/* ── STAT HIGHLIGHTS ── */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-2px);
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #fff, var(--blue-pulse));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item .stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-item .stat-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ── ICON ROW (compact horizontal features) ── */
.icon-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.icon-row-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.3s;
}

.icon-row-item:hover {
    border-color: var(--card-hover-border);
}

.icon-row-item .iri-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 181, 254, 0.1);
    border-radius: 10px;
}

.icon-row-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.icon-row-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── CALLOUT BOX ── */
.callout {
    padding: 1.75rem 2rem;
    border-radius: 14px;
    border-left: 4px solid var(--blue-pulse);
    background: rgba(25, 181, 254, 0.06);
    margin: 2rem 0;
}

.callout.red { border-left-color: var(--vitality-red); background: rgba(249, 99, 50, 0.06); }
.callout.green { border-left-color: #48BB78; background: rgba(72, 187, 120, 0.06); }
.callout.purple { border-left-color: #9F7AEA; background: rgba(159, 122, 234, 0.06); }

.callout h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.callout p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── FEATURE-LAYOUT COMPACT (shorter version) ── */
.feature-layout.compact {
    gap: 2.5rem;
}

.feature-layout.compact .feature-list li {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ── RESPONSIVE for new layouts ── */
@media (max-width: 1024px) {
    .stats-banner { grid-template-columns: repeat(2, 1fr); }
    .icon-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .stats-banner { grid-template-columns: 1fr; }
    .icon-row { grid-template-columns: 1fr; }
}

/* ── UTILITIES ── */
.text-blue { color: var(--blue-pulse); }
.text-red { color: var(--vitality-red); }
.text-green { color: #48BB78; }
.text-purple { color: #9F7AEA; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── TAB NAVIGATION (for use-cases) ── */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.tab-btn {
    padding: 0.55rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--blue-pulse);
    border-color: var(--blue-pulse);
    background: rgba(25, 181, 254, 0.08);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── WALLET SPECIFIC ── */
.wallet-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.wallet-hero-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.wallet-hero-card:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(25, 181, 254, 0.1);
}

.wallet-hero-card .wh-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wallet-hero-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.wallet-hero-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .wallet-hero-cards { grid-template-columns: 1fr; }
}

/* ── SECTION READ-MORE NAV ── */
.section-read-more {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(25, 181, 254, 0.08);
}

.section-read-more a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    background: rgba(25, 181, 254, 0.06);
    border: 1px solid rgba(25, 181, 254, 0.2);
    border-radius: 8px;
    color: var(--blue-pulse);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
}

.section-read-more a:hover {
    background: rgba(25, 181, 254, 0.12);
    border-color: var(--blue-pulse);
    transform: translateX(3px);
}

.section-read-more a .arrow {
    font-size: 1rem;
    transition: transform 0.25s;
}

.section-read-more a:hover .arrow {
    transform: translateX(3px);
}

/* ── FULL-WIDTH FEATURE (single column, centered header + content below) ── */
.feature-full {
    max-width: 820px;
    margin: 0 auto;
}

.feature-full .feature-list {
    margin-top: 1.5rem;
}

.feature-full .feature-list li {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

/* ── HIGHLIGHT BOX (for examples like Nemrod QR) ── */
.highlight-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    transition: border-color 0.3s;
}

.highlight-box:hover {
    border-color: var(--card-hover-border);
}

.highlight-box-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-align: center;
}

.highlight-box-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    font-size: 0.82rem;
}

.highlight-box-grid .label {
    color: var(--text-muted);
}

.highlight-box-grid .value {
    color: var(--text-primary);
}

.highlight-box-grid .value.mono {
    font-family: 'Courier New', monospace;
}

/* ── STEP FLOW (horizontal numbered steps) ── */
.step-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.step-flow-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.step-flow-item:hover {
    border-color: var(--card-hover-border);
    transform: translateY(-3px);
}

.step-flow-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(25, 181, 254, 0.1);
    border: 1px solid rgba(25, 181, 254, 0.3);
    color: var(--blue-pulse);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.step-flow-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.step-flow-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .step-flow { grid-template-columns: 1fr; }
    .highlight-box-grid { font-size: 0.78rem; }
}

/* ── EVENT TYPE BADGES ── */
.event-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.event-type {
    padding: 1.2rem;
    border-radius: 12px;
    border: 1px solid;
}

.event-type h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.event-type p {
    font-size: 0.8rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .event-types { grid-template-columns: 1fr; }
}

/* ── WIDE CARD (horizontal: title left, description right) ── */
.wide-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.wide-card:last-child { margin-bottom: 0; }

.wide-card:hover {
    border-color: var(--card-hover-border);
    transform: translateX(4px);
    box-shadow: 0 8px 32px rgba(25, 181, 254, 0.08);
}

.wide-card-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 1.5rem 1.8rem;
    border-right: 1px solid rgba(25, 181, 254, 0.08);
    background: rgba(25, 181, 254, 0.03);
}

.wide-card-title h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0;
}

.wide-card-title .tag {
    margin-top: 0.6rem;
    align-self: flex-start;
}

.wide-card-title .tag:visited {
    color: var(--blue-pulse);
    border-color: var(--blue-pulse);
    background: rgba(25, 181, 254, 0.08);
}

.wide-card-body {
    padding: 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wide-card-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .wide-card {
        grid-template-columns: 1fr;
    }

    .wide-card-title {
        border-right: none;
        border-bottom: 1px solid rgba(25, 181, 254, 0.08);
        padding: 1.2rem 1.2rem 0.8rem;
    }

    .wide-card-body {
        padding: 0.8rem 1.2rem 1.2rem;
    }
}

/* ── ANNOUNCEMENT BANNER ── */
.announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(90deg, var(--foundation-navy), rgba(25, 181, 254, 0.15));
    border-bottom: 1px solid rgba(25, 181, 254, 0.3);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.announcement-banner a {
    color: var(--blue-pulse);
    text-decoration: none;
    margin-left: 0.5rem;
    font-weight: 800;
}

.announcement-banner a:hover {
    text-decoration: underline;
}

.announcement-banner .banner-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}

.announcement-banner .banner-close:hover {
    color: var(--text-primary);
}

/* When banner is visible, push nav and content down */
body.has-banner nav {
    top: 2.2rem;
}

body.has-banner .hero,
body.has-banner .page-hero {
    padding-top: calc(8rem + 2.2rem);
}

@media (max-width: 768px) {
    .announcement-banner {
        font-size: 0.72rem;
        padding: 0.4rem 2.5rem 0.4rem 0.8rem;
    }

    body.has-banner nav {
        top: 2rem;
    }

    body.has-banner .hero,
    body.has-banner .page-hero {
        padding-top: calc(7rem + 2rem);
    }

    body.has-banner .nav-menu {
        top: 2rem;
    }
}
