:root {
    --navy: #06345F;
    --navy-2: #0B3C6F;
    --navy-dark: #031C35;
    --blue: #2E86FF;
    --red: #D62828;
    --red-dark: #9F1421;
    --white: #FFFFFF;
    --muted: rgba(255,255,255,0.80);
    --soft: rgba(255,255,255,0.62);
    --glass: rgba(255,255,255,0.13);
    --glass-strong: rgba(255,255,255,0.20);
    --border: rgba(255,255,255,0.24);
    --shadow: rgba(0,0,0,0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 72% 18%, rgba(46,134,255,0.18), transparent 34%),
        radial-gradient(circle at 22% 16%, rgba(214,40,40,0.14), transparent 30%),
        linear-gradient(180deg, var(--navy-dark), var(--navy), #11558F, var(--navy-dark));
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Main background watermark — centred lower, subtle, not pushed to the right */
body::before {
    content: "";
    position: fixed;
    left: 50%;
    bottom: -80px;
    transform: translateX(-50%);
    width: min(520px, 38vw);
    height: min(520px, 38vw);
    background-image: url("/public/street_sentinel_logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.035;
    pointer-events: none;
    z-index: -1;
}

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

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

.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(3,28,53,0.94);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 92px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 900;
    min-width: 310px;
}

.brand-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,0.34));
}

.brand span {
    display: block;
    font-size: 26px;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.brand small {
    display: block;
    font-weight: 700;
    color: var(--muted);
    margin-top: 4px;
    letter-spacing: 0;
    font-size: 14px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 900;
    background: var(--glass);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
}

.button.primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-color: rgba(255,255,255,0.18);
}

.button.light {
    background: var(--white);
    color: var(--navy);
}

.hero {
    padding: 82px 0 78px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    gap: 58px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(214,40,40,0.24);
    border: 1px solid rgba(255,255,255,0.24);
    color: var(--white);
    font-weight: 900;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 78px);
    line-height: 0.98;
    margin: 0 0 24px;
    letter-spacing: -0.045em;
    max-width: 780px;
}

.hero p {
    font-size: 19px;
    line-height: 1.58;
    color: var(--muted);
    margin: 0 0 32px;
    max-width: 720px;
}

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

.glass {
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: 0 24px 70px var(--shadow);
}

.hero-card {
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.logo-feature {
    display: grid;
    place-items: center;
    padding: 8px 12px 28px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.logo-feature img {
    width: min(440px, 96%);
    filter: drop-shadow(0 22px 34px rgba(0,0,0,0.38));
}

.status-panel {
    display: grid;
    gap: 12px;
}

.status-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.16);
}

.status-icon {
    flex: 0 0 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    display: grid;
    place-items: center;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(214,40,40,0.25);
}

.status-row strong { display: block; }
.status-row span { color: var(--muted); font-size: 14px; }

.section {
    padding: 62px 0;
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 12px;
    letter-spacing: -0.025em;
}

.section-lead {
    color: var(--muted);
    line-height: 1.65;
    max-width: 780px;
    margin: 0 0 28px;
    font-size: 17px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.card {
    padding: 24px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.card ul {
    color: var(--muted);
    line-height: 1.75;
    padding-left: 20px;
    margin: 14px 0 0;
}

.price-card {
    padding: 32px;
    text-align: center;
    max-width: 570px;
}

.price {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 900;
    margin: 12px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.contact-form label {
    display: block;
    font-weight: 900;
    margin: 0 0 6px;
    color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 13px 14px;
    margin: 0 0 14px;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    outline: none;
    font: inherit;
}

.contact-form select option {
    color: #111;
}

.contact-form textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.62);
}

.notice {
    border-radius: 18px;
    padding: 14px 16px;
    margin: 0 0 16px;
    font-weight: 900;
}

.notice.success {
    background: rgba(34, 197, 94, 0.22);
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.notice.error {
    background: rgba(214, 40, 40, 0.22);
    border: 1px solid rgba(214, 40, 40, 0.55);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    color: var(--muted);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-box {
    display: grid;
    gap: 10px;
}

.contact-box a {
    font-weight: 900;
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero-grid, .grid-3, .grid-2, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 48px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
    }

    .brand span {
        font-size: 22px;
    }

    .hero-card {
        max-width: 620px;
        margin: 0 auto;
    }

    .logo-feature img {
        width: min(400px, 96%);
    }
}
