:root {
    --primary: #0d6efd;
    --teal: #20c997;
    --dark: #0b2545;
    --light: #f8f9fa;
    --text: #212529;
    --muted: #5c6770;
    --line: #e6e6e6;
    --danger: #c0392b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}
body.page { padding-top: 84px; }
img { max-width: 100%; }
header {
    background: rgba(11, 37, 69, 0.95);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 50px; width: auto; border-radius: 6px; }
.logo span { font-size: 1.5rem; font-weight: bold; color: white; }
nav ul { display: flex; list-style: none; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
nav a { color: white; text-decoration: none; font-weight: 500; }
nav a:hover { color: var(--teal); }
.nav-toggle {
    display: none;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    padding: 6px 12px;
    font: inherit;
    cursor: pointer;
}
.hero {
    background: linear-gradient(rgba(11, 37, 69, 0.72), rgba(11, 37, 69, 0.72)), url("/images/hero-bg.jpg") center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 0 80px;
}
.hero h1 { font-size: 3.2rem; margin-bottom: 1rem; line-height: 1.15; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.btn, button.btn {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}
.btn:hover, button.btn:hover { background: #1aa179; }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: white; }
.btn-small { padding: 8px 16px; font-size: 0.92rem; }
section { padding: 72px 0; }
.services { background: var(--light); }
h1, h2 { color: var(--dark); }
h1 { font-size: 2.6rem; margin-bottom: 0.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
.center { text-align: center; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 2.5rem; color: var(--muted); }
.services-grid, .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card, .price-card, .panel {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}
.service-card { padding: 2rem; text-align: center; }
.service-card h3 { color: var(--primary); margin: 0.4rem 0 0.8rem; }
.icon { font-size: 2.4rem; }
.about { display: flex; align-items: center; gap: 3rem; }
.about img { width: min(100%, 380px); border-radius: 12px; }
.contact { background: var(--dark); color: white; }
.contact h2, .contact .section-subtitle { color: white; }
.contact-form, .stack-form { display: flex; flex-direction: column; gap: 0.85rem; }
.contact-form { max-width: 640px; margin: 0 auto; }
label { font-weight: 600; font-size: 0.92rem; }
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font: inherit;
    background: white;
    color: var(--text);
}
textarea { resize: vertical; }
.contact button, .stack-form button[type="submit"] {
    background: var(--teal);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}
.price-card { padding: 1.6rem 1.5rem 1.5rem; text-align: center; border: 1px solid var(--line); position: relative; }
.price-card.popular { border: 2px solid var(--teal); }
.price-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: bold;
}
.price-card h3 { color: var(--primary); font-size: 1.4rem; }
.price { font-size: 2.4rem; font-weight: bold; color: var(--dark); margin: 0.6rem 0; }
.price span { font-size: 1rem; font-weight: normal; color: var(--muted); }
.price-card ul, .feature-list { list-style: none; text-align: left; margin: 1rem 0 1.2rem; }
.price-card li, .feature-list li { padding: 0.4rem 0; border-bottom: 1px solid #f2f2f2; }
.price-card li::before, .feature-list li::before { content: "✓ "; color: var(--teal); font-weight: bold; }
.period-row { display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.8rem; }
.period-row select { width: auto; flex: 1; }
.domain-search { background: var(--light); padding: 1.5rem; border-radius: 12px; max-width: 820px; margin: 0 auto 1rem; }
.domain-search form, .inline-form { display: flex; gap: 0.5rem; }
.domain-search input { flex: 1; }
.domain-search button { width: auto; padding: 12px 22px; }
.domain-results { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.domain-row, .cart-row {
    background: white;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    border-left: 4px solid var(--teal);
}
.domain-row.taken { border-left-color: #bbb; color: var(--muted); }
.domain-row form { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--dark); color: white; font-weight: 600; }
.panel { padding: 1.25rem 1.4rem; margin-bottom: 1rem; }
.summary { background: var(--light); border-radius: 12px; padding: 1rem 1.2rem; }
.summary div { display: flex; justify-content: space-between; padding: 0.35rem 0; }
.summary .total { font-weight: bold; font-size: 1.15rem; border-top: 1px solid #ddd; margin-top: 0.4rem; padding-top: 0.6rem; }
.flash { margin: 1rem 0; padding: 0.8rem 1rem; border-radius: 8px; font-weight: 600; }
.flash-ok { background: #e7f8f3; color: #0d6b52; }
.flash-error { background: #fdecea; color: var(--danger); }
.impersonate-bar { margin: 1rem 0 0; padding: 0.8rem 1rem; border-radius: 8px; background: #fff6e5; color: #7a4b00; font-weight: 600; }
.impersonate-bar a { color: #7a4b00; margin-left: 0.4rem; }
.account-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.2rem; }
.account-nav a { text-decoration: none; font-weight: 700; color: var(--dark); padding: 0.35rem 0.85rem; border-radius: 99px; background: white; border: 1px solid var(--line); }
.account-nav a.is-current { background: var(--dark); color: white; }
.check-row { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 600; }
.check-row input { width: auto; margin-top: 0.2rem; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.82rem; font-weight: 700; background: #eef2f5; color: var(--dark); }
.pill-active { background: #e7f8f3; color: #0d6b52; }
.pill-partial, .pill-failed { background: #fdecea; color: var(--danger); }
.pill-paid, .pill-provisioning, .pill-pending { background: #e7f1ff; color: #0b4ea2; }
.pill-cancel_scheduled { background: #fff6e5; color: #8a5a00; }
.pill-canceled, .pill-cancelled, .pill-past_due, .pill-suspended { background: #fdecea; color: var(--danger); }
.muted { color: var(--muted); }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.honeypot { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
footer { background: #081a30; color: white; text-align: center; padding: 2rem 0; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem; align-items: start; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
@media (max-width: 800px) {
    .hero h1 { font-size: 2.2rem; }
    .about, .two-col { grid-template-columns: 1fr; display: grid; }
    .about { text-align: center; }
    .nav-toggle { display: inline-block; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0b2545;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 1.25rem 1rem;
        gap: 0.35rem;
    }
    nav ul.open { display: flex; }
    nav { position: relative; }
    .domain-search form, .domain-row, .cart-row { flex-direction: column; align-items: stretch; }
    h1 { font-size: 2rem; }
}
