/* ============================================================
   HOSTING SUBDOMAIN — dark, technical, premium
   ============================================================ */

:root {
    --h-bg: #0a0e17;
    --h-bg-elev: #111826;
    --h-bg-card: #0f1623;
    --h-border: #1f2937;
    --h-border-hover: #374151;
    --h-text: #e5e7eb;
    --h-text-dim: #9ca3af;
    --h-text-mute: #6b7280;
    --h-accent: #10b981;
    --h-accent-dim: #059669;
    --h-accent-glow: rgba(16, 185, 129, 0.15);
    --h-warn: #f59e0b;
    --h-danger: #ef4444;
    --h-info: #3b82f6;
    --h-popular: #8b5cf6;
    --h-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--h-bg);
    color: var(--h-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ============ LAYOUT ============ */
.h-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ NAVBAR ============ */
.h-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--h-border);
}
.h-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.h-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.02em;
}
.h-logo-mark {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--h-accent), var(--h-accent-dim));
    border-radius: 8px;
    display: grid; place-items: center;
    color: #0a0e17;
    font-weight: 900;
    font-size: 16px;
}
.h-nav-links {
    display: flex;
    gap: 36px;
    font-size: 14px;
    color: var(--h-text-dim);
}
.h-nav-links a:hover { color: var(--h-text); }
@media (max-width: 760px) { .h-nav-links { display: none; } }

/* ============ HERO ============ */
.h-hero {
    position: relative;
    padding: 96px 0 72px;
    text-align: center;
    overflow: hidden;
}
.h-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--h-accent-glow) 0%, transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
}
.h-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--h-bg-elev);
    border: 1px solid var(--h-border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--h-text-dim);
    font-weight: 500;
    margin-bottom: 28px;
    position: relative;
}
.h-hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--h-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--h-accent);
}
.h-hero h1 {
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 24px;
    position: relative;
}
.h-hero h1 .accent {
    background: linear-gradient(135deg, var(--h-accent), #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.h-hero p.sub {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--h-text-dim);
    max-width: 640px;
    margin: 0 auto 36px;
    position: relative;
}
.h-hero-cta {
    display: inline-flex;
    gap: 14px;
    position: relative;
}
.h-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    border: 0;
    transition: all 0.15s ease;
    text-decoration: none;
}
.h-btn-primary {
    background: var(--h-accent);
    color: #0a0e17;
}
.h-btn-primary:hover {
    background: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -10px var(--h-accent);
}
.h-btn-ghost {
    background: var(--h-bg-elev);
    color: var(--h-text);
    border: 1px solid var(--h-border);
}
.h-btn-ghost:hover { border-color: var(--h-border-hover); }
.h-btn-full { width: 100%; justify-content: center; }
.h-btn-lg { padding: 16px 28px; font-size: 16px; }

/* ============ TRUST STRIP ============ */
.h-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 48px 0;
    border-top: 1px solid var(--h-border);
    border-bottom: 1px solid var(--h-border);
    margin-top: 48px;
}
.h-trust-item {
    text-align: center;
}
.h-trust-item .num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--h-text);
}
.h-trust-item .label {
    font-size: 13px;
    color: var(--h-text-dim);
    margin-top: 4px;
}
@media (max-width: 760px) {
    .h-trust { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 32px 0; }
    .h-trust-item .num { font-size: 28px; }
}

/* ============ SECTION ============ */
.h-section {
    padding: 96px 0;
}
.h-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.h-section-kicker {
    display: inline-block;
    font-family: var(--h-mono);
    font-size: 12px;
    color: var(--h-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.h-section h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 14px;
}
.h-section-head p {
    color: var(--h-text-dim);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

/* ============ BILLING TOGGLE ============ */
.h-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--h-bg-elev);
    border: 1px solid var(--h-border);
    border-radius: 10px;
    margin: 0 auto 48px;
}
.h-billing-toggle button {
    background: transparent;
    border: 0;
    padding: 10px 20px;
    color: var(--h-text-dim);
    font-weight: 600;
    font-size: 14px;
    border-radius: 7px;
    transition: all 0.15s ease;
}
.h-billing-toggle button.active {
    background: var(--h-accent);
    color: #0a0e17;
}
.h-billing-toggle .save-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    background: var(--h-popular);
    color: white;
    font-size: 10px;
    border-radius: 4px;
    font-weight: 700;
    vertical-align: middle;
}
.h-billing-center {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

/* ============ PLANS GRID ============ */
.h-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) { .h-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .h-plans { grid-template-columns: 1fr; } }

.h-plan {
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.2s ease;
}
.h-plan:hover {
    border-color: var(--h-border-hover);
    transform: translateY(-2px);
}
.h-plan.popular {
    border-color: var(--h-accent);
    box-shadow: 0 0 0 1px var(--h-accent-glow), 0 20px 60px -30px var(--h-accent);
}
.h-plan-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--h-accent);
    color: #0a0e17;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.h-plan-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--h-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 6px;
}
.h-plan-tagline {
    font-size: 14px;
    color: var(--h-text-mute);
    margin: 0 0 24px;
}
.h-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.h-plan-price .currency {
    font-size: 22px;
    color: var(--h-text-dim);
    font-weight: 500;
}
.h-plan-price .amount {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--h-text);
    line-height: 1;
}
.h-plan-price .period {
    font-size: 15px;
    color: var(--h-text-dim);
    font-weight: 500;
}
.h-plan-annual-hint {
    font-size: 12px;
    color: var(--h-text-mute);
    margin-bottom: 20px;
    min-height: 16px;
}
.h-plan-annual-hint.save { color: var(--h-accent); font-weight: 500; }

.h-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    border-top: 1px dashed var(--h-border);
    padding-top: 20px;
}
.h-plan-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--h-text);
}
.h-plan-specs li .ic {
    width: 16px; height: 16px;
    color: var(--h-accent);
    flex-shrink: 0;
}
.h-plan-specs li strong {
    color: var(--h-text);
    font-weight: 600;
}
.h-plan-cta { margin-top: auto; }

/* ============ FEATURES GRID ============ */
.h-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .h-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .h-features { grid-template-columns: 1fr; } }

.h-feature {
    padding: 28px;
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 14px;
    transition: border-color 0.15s ease;
}
.h-feature:hover { border-color: var(--h-border-hover); }
.h-feature-icon {
    width: 44px; height: 44px;
    background: var(--h-accent-glow);
    color: var(--h-accent);
    border-radius: 10px;
    display: grid; place-items: center;
    margin-bottom: 16px;
}
.h-feature h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--h-text);
}
.h-feature p {
    font-size: 14px;
    color: var(--h-text-dim);
    margin: 0;
    line-height: 1.55;
}

/* ============ FAQ ============ */
.h-faq {
    max-width: 760px;
    margin: 0 auto;
}
.h-faq-item {
    border-top: 1px solid var(--h-border);
    padding: 20px 0;
}
.h-faq-item:last-of-type { border-bottom: 1px solid var(--h-border); }
.h-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--h-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.h-faq-item summary::-webkit-details-marker { display: none; }
.h-faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--h-text-mute);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.h-faq-item[open] summary::after { content: '−'; }
.h-faq-item p {
    color: var(--h-text-dim);
    font-size: 15px;
    margin: 14px 0 0;
    line-height: 1.65;
}

/* ============ FOOTER ============ */
.h-footer {
    padding: 56px 0 32px;
    border-top: 1px solid var(--h-border);
    background: var(--h-bg-elev);
}
.h-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.h-footer-note {
    font-size: 13px;
    color: var(--h-text-mute);
}
.h-footer-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: var(--h-text-dim);
}
.h-footer-links a:hover { color: var(--h-text); }

/* ============ ORDER PAGE ============ */
.h-form-page {
    min-height: calc(100vh - 100px);
    padding: 64px 0 96px;
}
.h-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 16px;
    padding: 40px;
}
@media (max-width: 560px) { .h-form-wrap { padding: 28px 20px; } }

.h-form-wrap h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.h-form-wrap > p.lead {
    color: var(--h-text-dim);
    margin: 0 0 32px;
    font-size: 15px;
}
.h-summary-card {
    background: var(--h-bg);
    border: 1px solid var(--h-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 28px;
}
.h-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.h-summary-row .k { color: var(--h-text-dim); }
.h-summary-row .v { color: var(--h-text); font-weight: 600; }
.h-summary-row.total {
    border-top: 1px dashed var(--h-border);
    margin-top: 10px;
    padding-top: 14px;
    font-size: 17px;
}
.h-summary-row.total .v { font-size: 22px; color: var(--h-accent); }

.h-field { margin-bottom: 18px; }
.h-field label {
    display: block;
    font-size: 13px;
    color: var(--h-text-dim);
    font-weight: 500;
    margin-bottom: 6px;
}
.h-field input,
.h-field select,
.h-field textarea {
    width: 100%;
    background: var(--h-bg);
    border: 1px solid var(--h-border);
    color: var(--h-text);
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    outline: 0;
    transition: border-color 0.15s ease;
}
.h-field input:focus,
.h-field select:focus,
.h-field textarea:focus {
    border-color: var(--h-accent);
}
.h-field textarea { resize: vertical; min-height: 90px; }
.h-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 560px) { .h-field-row { grid-template-columns: 1fr; } }

.h-billing-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.h-billing-choice label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 14px;
    background: var(--h-bg);
    border: 2px solid var(--h-border);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}
.h-billing-choice input[type="radio"] { display: none; }
.h-billing-choice input[type="radio"]:checked + .h-billing-content {
    color: var(--h-text);
}
.h-billing-choice label:has(input:checked) {
    border-color: var(--h-accent);
    background: var(--h-accent-glow);
}
.h-billing-choice .bc-period {
    font-size: 12px;
    color: var(--h-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-weight: 600;
}
.h-billing-choice .bc-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--h-text);
}
.h-billing-choice .bc-save {
    font-size: 11px;
    color: var(--h-accent);
    margin-top: 2px;
}

/* ============ PAY PAGE ============ */
.h-crypto-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
}
.h-crypto-tabs.h-crypto-tabs-3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 560px) {
    .h-crypto-tabs.h-crypto-tabs-3 { grid-template-columns: 1fr; }
}
.h-crypto-tab {
    padding: 14px;
    background: var(--h-bg);
    border: 2px solid var(--h-border);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--h-text-dim);
    transition: all 0.15s ease;
}
.h-crypto-tab.active {
    border-color: var(--h-accent);
    color: var(--h-text);
    background: var(--h-accent-glow);
}
.h-wallet-box {
    background: var(--h-bg);
    border: 1px solid var(--h-border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
.h-wallet-label {
    font-size: 12px;
    color: var(--h-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.h-wallet-addr {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--h-bg-elev);
    padding: 14px;
    border-radius: 8px;
    font-family: var(--h-mono);
    font-size: 13px;
    color: var(--h-text);
    word-break: break-all;
}
.h-copy-btn {
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    color: var(--h-text-dim);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    cursor: pointer;
}
.h-copy-btn:hover { color: var(--h-accent); border-color: var(--h-accent); }
.h-pay-note {
    background: var(--h-accent-glow);
    border-left: 3px solid var(--h-accent);
    color: var(--h-text);
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin: 20px 0;
}
.h-pay-note.warn {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--h-warn);
}

/* ============ THANKS ============ */
.h-thanks {
    text-align: center;
    padding: 80px 20px;
}
.h-thanks-icon {
    width: 72px; height: 72px;
    background: var(--h-accent);
    color: #0a0e17;
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 24px;
    font-size: 36px;
    font-weight: 900;
}
.h-thanks h1 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 10px;
}
.h-thanks p {
    color: var(--h-text-dim);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto 32px;
}
.h-order-ref {
    display: inline-block;
    padding: 10px 18px;
    background: var(--h-bg-card);
    border: 1px solid var(--h-border);
    border-radius: 999px;
    font-family: var(--h-mono);
    font-size: 15px;
    color: var(--h-accent);
    margin-bottom: 32px;
}

/* ============ ALERTS ============ */
.h-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}
.h-alert.success { background: var(--h-accent-glow); color: var(--h-accent); }
.h-alert.error { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.h-alert.info { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
