:root {
    --bg: #07111f;
    --panel: #ffffff;
    --panel-soft: #f3f7fb;
    --text: #0f172a;
    --muted: #475569;
    --line: #d8e1ec;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f97316;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --font-family: 'Inter', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.15), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(216, 225, 236, 0.8);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--primary);
}

.flash-message {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.hero-section {
    padding: 72px 0 32px;
}

.hero-grid,
.two-column,
.landing-layout,
.simulator-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
}

.hero-grid {
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.1;
}

h1 {
    margin-top: 20px;
    font-size: clamp(2.6rem, 5vw, 4.3rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

.hero-copy,
.section-copy,
.page-header p,
.results-summary p,
.feature-card p,
.product-card p,
.landing-preview p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: #fff;
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.button-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.hero-stats,
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hero-stats article,
.stat-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(216, 225, 236, 0.8);
    box-shadow: var(--shadow);
}

.hero-stats strong,
.stat-card strong {
    display: block;
    font-size: 1.7rem;
}

.hero-card,
.product-card,
.feature-card,
.provider-item,
.form-card,
.results-panel,
.list-card,
.landing-preview,
.stat-card {
    background: var(--panel);
    border: 1px solid rgba(216, 225, 236, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card,
.results-panel,
.list-card,
.landing-preview {
    padding: 28px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.card-header span,
.provider-item span,
.product-footer a,
.list-row span {
    color: var(--muted);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 28px;
}

.check-list li::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.section {
    padding: 38px 0;
}

.section-soft {
    background: rgba(255, 255, 255, 0.56);
    border-top: 1px solid rgba(216, 225, 236, 0.8);
    border-bottom: 1px solid rgba(216, 225, 236, 0.8);
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin-top: 14px;
}

.product-grid,
.feature-stack,
.provider-list,
.admin-panels,
.results-grid,
.landing-products {
    display: grid;
    gap: 18px;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.product-card,
.feature-card,
.provider-item {
    padding: 24px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 700;
}

.pill.invert {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.map-card {
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.provider-list {
    align-content: start;
}

.form-card {
    display: grid;
    gap: 14px;
    padding: 26px;
}

.form-card h2 {
    font-size: 1.3rem;
}

label {
    display: grid;
    gap: 8px;
    color: #1e293b;
    font-size: 0.94rem;
    font-weight: 600;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(29, 78, 216, 0.6);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.checkbox-row {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    padding: 0;
}

.page-header {
    margin-bottom: 26px;
}

.page-header h1 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.results-summary {
    margin-bottom: 18px;
}

.result-card {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.result-card header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.result-price {
    display: inline-flex;
    margin-top: 8px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.result-meta,
.result-highlights {
    display: grid;
    gap: 10px;
}

.result-meta span {
    color: var(--muted);
}

.result-highlights {
    margin-top: 14px;
}

.result-highlights li {
    color: var(--muted);
}

.section-inner {
    margin-top: 34px;
}

.form-inline {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field-span-2 {
    grid-column: span 2;
}

.landing-preview {
    background: linear-gradient(160deg, var(--landing-primary), color-mix(in srgb, var(--landing-primary) 60%, #0f172a));
    color: #fff;
    font-family: var(--landing-font), var(--font-family);
}

.landing-hero {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 18px;
}

.landing-logo {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--landing-accent), rgba(255, 255, 255, 0.28));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
}

.landing-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 28px 0 20px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
}

.landing-products {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 22px;
}

.landing-products article {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.12);
}

.landing-products strong,
.landing-products span {
    display: block;
}

.landing-products span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-grid,
.admin-panels {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.list-card h2 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(216, 225, 236, 0.8);
}

.list-row:last-child {
    border-bottom: 0;
}

.list-row strong,
.list-row span,
.provider-item strong,
.provider-item span {
    display: block;
}

.empty-state {
    color: var(--muted);
}

@media (max-width: 980px) {
    .nav-shell,
    .nav-links,
    .landing-contact,
    .list-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-grid,
    .two-column,
    .landing-layout,
    .simulator-layout,
    .landing-hero {
        grid-template-columns: 1fr;
    }

    .field-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding-top: 48px;
    }

    .container {
        width: min(100% - 20px, 1180px);
    }

    .hero-card,
    .results-panel,
    .list-card,
    .landing-preview,
    .form-card {
        padding: 20px;
    }

    .button,
    input,
    select,
    textarea {
        width: 100%;
    }
}
