:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card: #10172a;
    --card-alt: #0f172a;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.12);
    --accent-strong: #0ea5e9;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --danger: #f97373;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
    --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.7);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background: radial-gradient(circle at top, #020617 0, #020617 38%, #020617 60%, #020617 100%);
    color: var(--text);
}

body {
    min-height: 100vh;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.4rem;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 65%, #020617 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    margin: 0 0 2.2rem;
    color: var(--muted);
    max-width: 520px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    background: linear-gradient(
            to bottom,
            rgba(15, 23, 42, 0.97),
            rgba(15, 23, 42, 0.85),
            rgba(15, 23, 42, 0.75),
            transparent
    );
    border-bottom: 1px solid rgba(30, 64, 175, 0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0%, #38bdf8 0%, #0ea5e9 25%, #0f172a 70%);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45),
    0 0 32px rgba(34, 211, 238, 0.4);
    color: #0b1120;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-text {
    font-weight: 600;
    font-size: 1.05rem;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.1rem;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, #38bdf8, #0ea5e9);
    transition: width 0.18s ease;
}

.nav a:hover {
    color: var(--text);
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.14s ease, box-shadow 0.14s ease,
    background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #0b1120;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.55);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
}

.btn-outline:hover {
    border-color: rgba(148, 163, 184, 0.85);
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

/* Hero */
.hero {
    padding: 4.5rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.8rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    margin: 0 0 0.8rem;
}

.hero-text p {
    margin: 0 0 1.6rem;
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.hero-badges span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.75);
}

/* Hero panel */
.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-card {
    width: 100%;
    max-width: 350px;
    background: radial-gradient(circle at top left, #1d283a 0, #020617 60%);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.95);
}

.hero-card-header {
    display: flex;
    gap: 0.3rem;
    padding: 0.5rem 0.7rem;
    background: linear-gradient(to right, #020617, #020617, #020617);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.hero-card-header .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.5);
}

.hero-card-header .dot:nth-child(1) {
    background: #f87171;
}
.hero-card-header .dot:nth-child(2) {
    background: #facc15;
}
.hero-card-header .dot:nth-child(3) {
    background: #22c55e;
}

.hero-card-body {
    padding: 1.3rem 1.1rem 1.2rem;
}

.hero-metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--muted);
}

.metric-value {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95rem;
}

.hero-card-note {
    margin: 0.9rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Grid */
.grid {
    display: grid;
    gap: 1.6rem;
}

/* Features */
.features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
    background: radial-gradient(circle at top left, #020617 0, #020617 55%, #020617 100%);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(30, 64, 175, 0.5);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.65);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Locations */
.locations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.location-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(30, 64, 175, 0.6);
    padding: 1.2rem 1.2rem 1.3rem;
    background: radial-gradient(circle at top left, rgba(26, 86, 219, 0.3) 0, #020617 50%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.8);
}

.location-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.location-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Pricing */
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-card {
    border-radius: 18px;
    padding: 1.6rem 1.4rem 1.4rem;
    border: 1px solid rgba(30, 64, 175, 0.55);
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15) 0, #020617 50%);
    box-shadow: var(--shadow-card);
    position: relative;
}

.pricing-card-featured {
    border-color: rgba(56, 189, 248, 0.85);
    box-shadow: 0 22px 55px rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: 0.9rem;
    right: 1.2rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.7);
}

.pricing-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
}

.pricing-price {
    margin: 0 0 0.9rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.pricing-list li {
    padding: 0.14rem 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.contact-list li {
    margin-bottom: 0.4rem;
}

/* Form */
.contact-form {
    background: rgba(15, 23, 42, 0.96);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.3rem 1.3rem;
    border: 1px solid rgba(30, 64, 175, 0.6);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.85);
}

.field {
    margin-bottom: 0.9rem;
}

.field label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(31, 41, 55, 0.95);
    background: #020617;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
}

.field input:focus,
.field textarea:focus {
    border-color: rgba(56, 189, 248, 0.9);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    min-height: 1.1em;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.95);
    padding: 1.5rem 0 1.7rem;
    background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-panel {
        justify-content: flex-start;
    }

    .features-grid,
    .locations-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nav {
        position: absolute;
        top: 3.2rem;
        right: 1.4rem;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 12px;
        padding: 0.7rem 0.9rem;
        border: 1px solid rgba(30, 64, 175, 0.9);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
        display: none;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .header-inner {
        padding: 0.7rem 0;
    }

    .section {
        padding: 3.2rem 0;
    }

    .features-grid,
    .locations-grid,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
