:root {
    --bg-dark: #0b1622;
    --bg-card: #122336;
    --bg-panel: #172d44;
    --cyan: #22d3ee;
    --cyan-hover: #06b6d4;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(34, 211, 238, 0.22);
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background: rgba(11, 22, 34, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}
.nav-flex { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-logo { height: 48px; width: auto; }
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 16px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--cyan); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s;
}
.btn-primary { background: var(--cyan); color: #06131f; }
.btn-primary:hover { background: var(--cyan-hover); }
.btn-outline { border-color: var(--cyan); color: var(--text-main); background: transparent; }
.btn-outline:hover { background: rgba(34, 211, 238, 0.12); }
.btn-block { width: 100%; text-align: center; }

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 640px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--cyan);
    margin-bottom: 20px;
}
.badge-icon { width: 22px; height: 22px; object-fit: contain; }
.hero h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 16px; }
.hero h1 span { color: var(--cyan); }
.hero p { color: var(--text-muted); font-size: 1.12rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Domain Search */
.domain-section { padding: 60px 0 30px; }
.domain-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
}
.domain-box h2 { font-size: 1.9rem; margin-bottom: 8px; }
.domain-box p { color: var(--text-muted); margin-bottom: 24px; }
.domain-form { display: flex; max-width: 680px; margin: 0 auto 18px; gap: 10px; }
.domain-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-main);
    font-size: 1rem;
}
.tld-strip { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; color: var(--text-muted); font-size: 0.92rem; }
.tld-strip strong { color: var(--cyan); }
.domain-result {
    margin-top: 22px;
    padding: 16px 22px;
    border-radius: 12px;
    background: var(--bg-panel);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Plans */
.plans-section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 30px; }
.section-header h2 { font-size: 2.1rem; }
.section-header p { color: var(--text-muted); }
.plan-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; }
.tab-btn {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
}
.tab-btn.active { background: var(--cyan); color: #06131f; font-weight: 600; }

.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.plan-card.featured { border: 2px solid var(--cyan); transform: translateY(-4px); }
.ribbon {
    position: absolute;
    top: -13px;
    right: 20px;
    background: var(--cyan);
    color: #06131f;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}
.plan-type { color: var(--cyan); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.plan-card h3 { font-size: 1.45rem; margin: 6px 0 12px; }
.price { font-size: 2.4rem; font-weight: 700; margin-bottom: 20px; }
.price .currency { font-size: 1.2rem; vertical-align: super; }
.price .period { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.specs { list-style: none; margin-bottom: 26px; flex: 1; }
.specs li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--text-muted); font-size: 0.94rem; }
.specs li strong { color: var(--text-main); }

/* Features */
.features-section { padding: 50px 0 80px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.feature-icon { width: 42px; height: 42px; margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 12, 20, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--cyan);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 440px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
}
.modal-summary { color: var(--cyan); margin: 10px 0 18px; font-weight: 600; }
.modal label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--text-muted); }
.modal input {
    width: 100%;
    padding: 11px 14px;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    color: var(--text-main);
}
.feedback-msg { margin-top: 14px; font-size: 0.92rem; color: var(--cyan); }
.hidden { display: none !important; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--text-muted); }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { height: 38px; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .domain-form { flex-direction: column; }
    .domain-result { flex-direction: column; gap: 12px; text-align: center; }
}
