:root {
    --bg-dark: #090d16;
    --bg-card: rgba(18, 26, 43, 0.75);
    --bg-card-hover: rgba(28, 40, 65, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-glow: 0 0 35px -5px rgba(99, 102, 241, 0.25);
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Lights */
body::before, body::after {
    content: '';
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
body::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
    top: -100px;
    left: -100px;
}
body::after {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%);
    bottom: 50px;
    right: -100px;
}

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    background: rgba(9, 13, 22, 0.75);
    border-bottom: 1px solid var(--border-color);
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.brand-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}
.nav-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Notice Bar */
.notice-bar {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    padding: 10px 0;
    font-size: 13px;
    text-align: center;
    color: #cbd5e1;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 25px;
}
.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-title span {
    background: linear-gradient(135deg, #fff 30%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 35px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: 0.25s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Feature Grid */
.features {
    padding: 40px 0 70px;
}
.section-head {
    text-align: center;
    margin-bottom: 45px;
}
.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.section-desc {
    color: var(--text-secondary);
    font-size: 15px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px 24px;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    font-size: 28px;
    margin-bottom: 16px;
    display: inline-block;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Pricing Section */
.pricing {
    padding: 50px 0 80px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    position: relative;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.pricing-card.popular {
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, rgba(18, 26, 43, 0.85) 100%);
    box-shadow: 0 0 35px -5px rgba(99, 102, 241, 0.3);
    transform: scale(1.02);
}
.plan-badge {
    position: absolute;
    top: -12px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.plan-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}
.plan-price-wrap {
    margin: 15px 0 25px;
}
.plan-price {
    font-size: 44px;
    font-weight: 900;
    color: #fff;
}
.plan-currency {
    font-size: 18px;
    color: var(--text-secondary);
    margin-left: 4px;
}
.plan-duration {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
}
.plan-features {
    list-style: none;
    margin-bottom: 30px;
}
.plan-features li {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features li::before {
    content: "✓";
    color: var(--accent-emerald);
    font-weight: 900;
}

/* DNS Checker Section */
.checker-section {
    padding: 60px 0;
}
.checker-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    backdrop-filter: blur(12px);
}
.checker-input-wrap {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.checker-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.2s;
}
.checker-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.checker-result {
    margin-top: 25px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    text-align: left;
    display: none;
}

/* Setup Guide Section */
.setup-guide {
    padding: 50px 0 80px;
}
.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}
.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
}
.guide-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-list {
    list-style: none;
    counter-reset: steps;
}
.step-list li {
    counter-increment: steps;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #cbd5e1;
}
.step-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 22px;
    cursor: pointer;
}
.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}
.modal-desc {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    outline: none;
}
.form-control:focus {
    border-color: var(--primary);
}
.payment-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 16px;
    font-size: 13px;
}
.payment-num-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    font-family: monospace;
    font-weight: 700;
    color: #38bdf8;
}
.copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 90;
    transition: 0.3s;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .hero-title { font-size: 34px; }
    .guide-grid { grid-template-columns: 1fr; }
    .checker-input-wrap { flex-direction: column; }
    .nav-menu { gap: 12px; }
}

/* Customer Auth & Account System */
.auth-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}
.auth-tab.active {
    background: var(--primary);
    color: #fff;
}
.user-btn-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-pill {
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    color: #38bdf8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.user-pill:hover {
    background: rgba(99, 102, 241, 0.22);
}
.logout-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}
.logout-btn:hover {
    color: #f87171;
}
.active-dns-card {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 15px;
    position: relative;
}
.order-history-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
