.hiw-body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(rgba(168, 85, 247, 0.16) 1.2px, transparent 1.2px),
        radial-gradient(rgba(6, 182, 212, 0.1) 1.2px, transparent 1.2px);
    background-size: 32px 32px, 64px 64px;
    background-position: 0 0, 16px 16px;
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* ─── Hero Section ────────────────────────────────────────── */
.hiw-hero {
    max-width: 960px;
    margin: 0 auto;
    padding: 7.5rem 1.5rem 3.5rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hiw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #ede9fe;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hiw-hero-dot {
    width: 6px;
    height: 6px;
    background: #06b6d4;
    border-radius: 50%;
    box-shadow: 0 0 8px #06b6d4;
}

.hiw-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.hiw-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 2.2rem auto;
}

.hiw-hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.btn-hiw-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-host);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(168, 85, 247, 0.4);
}

.btn-hiw-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}

.btn-hiw-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-hiw-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-hiw-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #ede9fe;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hiw-outline:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: #a855f7;
    color: #fff;
    transform: translateY(-1px);
}

/* ─── Interactive Flow Strip ──────────────────────────────── */
.hiw-flow-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: rgba(19, 18, 43, 0.7);
    border: 1px solid rgba(168, 85, 247, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.2rem;
    border-radius: 999px;
    max-width: 820px;
    margin: 0 auto;
}

.flow-step-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.flow-step-pill .step-num {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #cfc8ef;
}

.flow-step-pill.highlight {
    color: #06b6d4;
}

.flow-arrow {
    color: rgba(168, 85, 247, 0.5);
    font-size: 0.85rem;
}

/* ─── Main Narrative Story Cards ──────────────────────────── */
.hiw-main {
    max-width: 1040px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    position: relative;
    z-index: 1;
}

.hiw-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hiw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.hiw-card-reverse {
    grid-template-columns: 1fr 1.15fr;
}

.hiw-card-reverse .hiw-card-content {
    order: 2;
}

.hiw-card-reverse .hiw-card-visual {
    order: 1;
}

.hiw-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.hiw-card-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.9rem;
}

.hiw-card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.hiw-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hiw-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ede9fe;
}

.check-icon {
    width: 18px;
    height: 18px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
}

.hiw-highlight-box {
    display: flex;
    gap: 0.9rem;
    background: rgba(168, 85, 247, 0.08);
    border-left: 3px solid #a855f7;
    padding: 0.9rem 1.2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hiw-highlight-box strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.hiw-highlight-box p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.hiw-quote-badge {
    display: inline-block;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.92rem;
}

.hiw-security-note {
    display: flex;
    gap: 0.9rem;
    background: rgba(16, 185, 129, 0.08);
    border-left: 3px solid #10b981;
    padding: 0.9rem 1.2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hiw-security-note strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.hiw-security-note p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* ─── Workflow Step Mini ──────────────────────────────────── */
.hiw-workflow-steps-mini {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.step-mini-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ede9fe;
}

.step-mini-item.highlight {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #06b6d4;
}

.step-mini-badge {
    width: 20px;
    height: 20px;
    background: #a855f7;
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-mini-arrow {
    text-align: center;
    color: rgba(168, 85, 247, 0.4);
    font-size: 0.85rem;
    line-height: 0.8;
}

/* ─── Vote Rules Grid ─────────────────────────────────────── */
.hiw-vote-rules-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.5rem;
}

.vote-rule-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    font-size: 0.86rem;
    color: #ede9fe;
}

.vote-rule-card .rule-icon {
    font-size: 1rem;
}

.hiw-steps-flow-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.flow-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.hiw-live-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #10b981;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* ─── SVG Illustrations in Cards ──────────────────────────── */
.hiw-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(12, 13, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    position: relative;
}

.hiw-svg-art {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* ─── Plans Comparison Section ────────────────────────────── */
.hiw-plans-section {
    padding: 2.5rem 0;
    text-align: center;
}

.hiw-plans-header {
    margin-bottom: 2.5rem;
}

.hiw-plans-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    margin: 0.5rem 0;
}

.hiw-plans-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.hiw-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.hiw-plan-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.6rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hiw-plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.4);
}

.hiw-plan-card.popular {
    background: linear-gradient(180deg, #181530 0%, #13122b 100%);
    border: 2px solid #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.2);
}

.plan-badge-top {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cfc8ef;
    margin-bottom: 0.8rem;
}

.plan-badge-top.highlight {
    background: var(--gradient-host);
    color: #fff;
}

.hiw-plan-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}

.hiw-plan-price {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.4rem;
}

.hiw-plan-price span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hiw-plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-grow: 1;
}

.hiw-plan-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding-left: 1.2rem;
    position: relative;
}

.hiw-plan-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: bold;
}

.hiw-plan-list li strong {
    color: #ede9fe;
}

.hiw-plan-card .btn-hiw-primary,
.hiw-plan-card .btn-hiw-outline {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* ─── Emotional Benefits ──────────────────────────────────── */
.hiw-emotions-section {
    padding: 2.5rem 0;
    text-align: center;
}

.hiw-emotions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.emotion-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.emotion-card:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.35);
}

.emotion-icon-box {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.emotion-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.emotion-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ─── Final Dual CTA ──────────────────────────────────────── */
.hiw-final-cta {
    padding: 2rem 0;
}

.final-cta-card {
    background: linear-gradient(135deg, #13122b 0%, #0e0e18 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.15);
}

.final-cta-left h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}

.final-cta-left p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.final-cta-divider {
    width: 1px;
    height: 100%;
    background: var(--border-color);
}

.final-cta-right h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.hiw-quick-form {
    display: flex;
    gap: 0.6rem;
}

.hiw-input-code {
    flex: 1;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
    text-align: center;
}

.hiw-input-code:focus {
    border-color: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

/* ─── Responsive Media Queries ────────────────────────────── */
@media (max-width: 992px) {
    .hiw-card,
    .hiw-card-reverse {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .hiw-card-reverse .hiw-card-content {
        order: 1;
    }

    .hiw-card-reverse .hiw-card-visual {
        order: 2;
    }

    .hiw-plans-grid,
    .hiw-emotions-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 1.5rem auto 0 auto;
    }

    .final-cta-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .final-cta-divider {
        width: 100%;
        height: 1px;
    }

    .hiw-quick-form {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hiw-hero {
        padding-top: 6rem;
    }

    .hiw-flow-strip {
        border-radius: var(--radius-md);
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hiw-hero-title {
        font-size: 1.85rem;
    }

    .hiw-card {
        padding: 1.5rem 1.2rem;
    }
}
