:root {
    color-scheme: dark;
    --bg: #0b0f14;
    --bg-alt: #111822;
    --surface: rgba(17, 24, 34, 0.7);
    --card: #0f1520;
    --border: rgba(148, 163, 184, 0.18);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #36d6c4;
    --accent-soft: rgba(54, 214, 196, 0.15);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --radius: 16px;
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #f8fafc;
    --bg-alt: #ffffff;
    --surface: rgba(255, 255, 255, 0.8);
    --card: #ffffff;
    --border: rgba(15, 23, 42, 0.15);
    --text: #0f172a;
    --muted: #475569;
    --accent: #0ea5e9;
    --accent-soft: rgba(14, 165, 233, 0.15);
    --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

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

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 6px;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.section.alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-header h1,
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
    padding-top: 120px;
}

.hero-visual {
    background: radial-gradient(circle at top, var(--accent-soft), transparent 60%);
    padding: 24px;
    border-radius: var(--radius);
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    margin-bottom: 16px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0 32px;
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--muted);
    font-size: 0.95rem;
}

.card-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card-header h3,
.card-header h2 {
    margin-bottom: 12px;
}

.card ul {
    display: grid;
    gap: 8px;
    color: var(--muted);
    margin: 16px 0;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.75rem;
}

.text-link {
    color: var(--accent);
    font-weight: 600;
}

.feature-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--card);
}

.feature h3,
.feature h2 {
    margin-bottom: 12px;
}

.feature span {
    color: var(--accent);
    font-size: 0.85rem;
}

.feature ul {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step {
    border-left: 2px solid var(--accent);
    padding-left: 16px;
}

.step span {
    display: inline-block;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.pricing .card {
    display: grid;
    gap: 16px;
}

.case-card p {
    color: var(--muted);
    margin-bottom: 12px;
}

.company-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.company-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    background: var(--card);
}

.security-note {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--surface);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.cta-block {
    max-width: 1200px;
    margin: 0 auto 96px;
    padding: 48px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(120deg, var(--card), transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.contact-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-info ul {
    display: grid;
    gap: 10px;
    color: var(--muted);
    margin: 20px 0;
}

.contact-highlight {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    background: var(--card);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.error {
    color: #f87171;
    font-size: 0.85rem;
    min-height: 18px;
}

.form-status {
    margin-top: 12px;
    font-size: 0.95rem;
}

.form-status.error {
    color: #f87171;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
    cursor: pointer;
}

.btn.primary {
    background: var(--accent);
    color: #0b0f14;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.hero-small {
    padding-top: 140px;
    padding-bottom: 40px;
}

.section-footer {
    margin-top: 32px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 24px;
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 16px;
        display: none;
        flex-direction: column;
        gap: 12px;
        width: min(320px, 90vw);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }
}
