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

:root {
    --navy:       #0f172a;
    --navy-light: #1e293b;
    --blue:       #3b82f6;
    --blue-dark:  #2563eb;
    --text:       #1e293b;
    --text-light: #64748b;
    --bg:         #ffffff;
    --bg-alt:     #f8fafc;
    --border:     #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    word-break: keep-all;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-btn:hover { background: rgba(255, 255, 255, 0.15); }

.nav-link {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-nav {
    background: var(--blue);
    color: #fff;
}
.btn-nav:hover { background: var(--blue-dark); }

.btn-hero {
    background: var(--blue);
    color: #fff;
    font-size: 1.05rem;
    padding: 15px 36px;
    border-radius: 10px;
}
.btn-hero:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    font-size: 1rem;
    padding: 14px;
    border-radius: 10px;
    font-family: inherit;
}
.btn-submit:hover { background: var(--blue-dark); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── HERO ── */
.hero {
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-inner { max-width: 680px; }

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #93c5fd;
    padding: 5px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 40px;
}

/* ── SHARED ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 52px;
}

/* ── FEATURES ── */
.features {
    padding: 96px 0;
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ── ADDRESS DEMO (feature card) ── */
.addr-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.addr-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.addr-dot:nth-child(1) { background: #ff5f57; }
.addr-dot:nth-child(2) { background: #febc2e; }
.addr-dot:nth-child(3) { background: #28c840; }

.addr-text {
    margin-left: 6px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── HOW IT WORKS ── */
.how {
    padding: 96px 0;
    background: var(--bg-alt);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
}

.step {
    flex: 1;
    max-width: 240px;
    text-align: center;
}

.step-num {
    width: 52px;
    height: 52px;
    background: var(--blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 18px;
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
}

.step-arrow {
    font-size: 1.5rem;
    color: #cbd5e1;
    padding-top: 16px;
    flex-shrink: 0;
}

/* ── FAQ ── */
.faq {
    padding: 96px 0;
    background: var(--bg-alt);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ── REQUEST ── */
.request {
    padding: 96px 0;
    background: var(--bg);
}

.request-sub {
    text-align: center;
    color: var(--text-light);
    margin-top: -36px;
    margin-bottom: 44px;
    font-size: 0.95rem;
}

.request-form {
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-group input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.subdomain-row {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.subdomain-row:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.subdomain-row input {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    flex: 1;
}

.subdomain-suffix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: var(--bg-alt);
    color: var(--text-light);
    font-size: 0.88rem;
    border-left: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
}

.form-group small {
    font-size: 0.78rem;
    color: var(--text-light);
}

.form-success, .form-error {
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.form-error {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.disclaimer {
    max-width: 460px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.65;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.contact a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}
.contact a:hover { text-decoration: underline; }
.contact-sep { color: var(--border); }

/* ── FOOTER ── */
.footer {
    background: var(--navy);
    padding: 52px 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.footer-notice {
    font-size: 0.78rem;
    color: #475569;
    max-width: 580px;
    margin: 0 auto 12px;
    line-height: 1.65;
}

.footer-copy {
    font-size: 0.78rem;
    color: #334155;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-sub { font-size: 1rem; }
    .section-title { font-size: 1.65rem; margin-bottom: 36px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { flex-direction: column; align-items: center; }
    .step { max-width: 100%; }
    .step-arrow { transform: rotate(90deg); padding: 0; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .btn-nav { display: none; }
    .nav-link { display: none; }
    .features, .how, .faq, .request { padding: 72px 0; }
}
