:root {
    --bg: #06080c;
    --bg-soft: #0b1220;
    --panel: #111827;
    --line: #2e3644;
    --text: #e5e7eb;
    --muted: #94a3b8;
    --silver: #c0c8d3;
    --accent: #3b82f6;
    --accent-soft: #60a5fa;
    --success: #10b981;
    --error: #ef4444;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at 20% 0%, #11203d 0%, var(--bg) 55%);
    color: var(--text);
    line-height: 1.5;
    scroll-behavior: smooth;
}

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

.hero {
    min-height: 90vh;
    padding: 1rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--silver);
}

.nav-link {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-content {
    margin: auto 0;
    max-width: 50rem;
}

.eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

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

h1 {
    font-size: clamp(1.9rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.subheadline {
    color: var(--muted);
    max-width: 46rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.section {
    padding: 2.5rem 1rem;
}

.about p,
.contact-sub {
    max-width: 56rem;
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 1rem;
}

.testimonials-grid,
.product-grid {
    grid-template-columns: 1fr;
}

.card {
    background: linear-gradient(180deg, #0f1829, #0b111e);
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: #4b5d7d;
}

.quote {
    color: var(--silver);
}

.meta {
    margin-top: 0.8rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.price {
    font-weight: 700;
    color: var(--accent-soft);
}

.btn {
    display: inline-block;
    border-radius: 0.65rem;
    padding: 0.65rem 1rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #1d4ed8);
    color: #f8fafc;
}

.btn-secondary {
    background: rgba(96, 165, 250, 0.1);
    border-color: #365986;
    color: var(--silver);
}

.btn-small {
    margin-top: 0.5rem;
}

.contact-form {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
    max-width: 42rem;
}

input,
textarea,
select {
    width: 100%;
    background: #0b1320;
    border: 1px solid #334155;
    border-radius: 0.55rem;
    color: var(--text);
    padding: 0.68rem 0.8rem;
    font: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid rgba(59, 130, 246, 0.4);
    border-color: var(--accent);
}

.alert {
    border-radius: 0.6rem;
    padding: 0.7rem 0.85rem;
    max-width: 42rem;
}

.alert-success {
    border: 1px solid #0e7a59;
    background: rgba(16, 185, 129, 0.12);
}

.alert-error {
    border: 1px solid #9f2f2f;
    background: rgba(239, 68, 68, 0.12);
}

.field-error {
    color: #fca5a5;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 1.2rem 1rem 2rem;
    text-align: center;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .section,
    .hero {
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
