:root {
    --primary: #ff7a00;
    --primary-dark: #e06600;
    --bg: #0f172a;
    --bg-light: #111827;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Global reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background: #f3f4f6;
}

/* Layout helpers */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.logo span {
    font-weight: 700;
    font-size: 1.05rem;
}

/* Nav */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #111827;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
}

.main-nav a:hover {
    background: #e5e7eb;
}

.main-nav a.active {
    font-weight: 600;
}

.btn-nav {
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Mobile nav button */
.nav-toggle {
    display: none;
    font-size: 1.4rem;
    background: transparent;
    border: none;
}

/* Hero */
.hero {
    background: radial-gradient(circle at top left, #1d283a, #020617);
    color: white;
    padding: 3rem 0 3.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    margin-bottom: 0.8rem;
}

.hero-text p {
    max-width: 38rem;
    color: #e5e7eb;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-tagline {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Hero card */
.hero-card {
    background: #020617;
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    border: 1px solid #1f2937;
}

.hero-card h2 {
    margin-bottom: 0.25rem;
}

.hero-card p {
    font-size: 0.95rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.hero-card form label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.7rem;
    color: #e5e7eb;
}

.hero-card input,
.hero-card select {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #374151;
    background: #020617;
    color: white;
    font-size: 0.9rem;
}

.hero-card input::placeholder {
    color: #6b7280;
}

.form-note {
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.form-note.success {
  color: #22c55e; /* green */
}

.form-note.error {
  color: #ef4444; /* red */
}

.form-note.sending {
  color: #6b7280; /* grey */
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: #111827;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-block {
    width: 100%;
    margin-top: 0.8rem;
}

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section-alt {
    background: white;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

/* Cards & grids */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    border: 1px solid var(--border-soft);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.card h3 {
    margin-bottom: 0.3rem;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Two-column */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.2rem;
}

/* Lists */
.tick-list {
    list-style: none;
}

.tick-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--text-muted);
}

.tick-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.steps-list {
    counter-reset: step;
    list-style: none;
    margin-bottom: 1rem;
}

.steps-list li {
    counter-increment: step;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

.steps-list li::before {
    content: counter(step) ". ";
    font-weight: 600;
    color: #111827;
}

/* CTA */
.cta {
    background: #111827;
    color: white;
    padding: 1.7rem 1.7rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Footer */
.site-footer {
    padding: 1.4rem 0 1.8rem;
    border-top: 1px solid var(--border-soft);
    background: #f9fafb;
}

.footer-inner {
    text-align: center;
}

.footer-small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Form – Premium Layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Two-column rows */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

/* Inputs, selects, textareas */
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: white;
    font-size: 0.95rem;
    color: var(--text-main);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Field label above radio/inline elements */
.field-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

/* Inline radio buttons */
.inline-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

.inline-options label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Consent checkbox */
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.consent-row input[type="checkbox"] {
    margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 800px) {
    .hero-inner,
    .two-col,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cta {
        flex-direction: column;
        text-align: center;
    }

    .main-nav {
        position: absolute;
        top: 60px;
        right: 1.25rem;
        background: white;
        padding: 0.7rem 0.9rem;
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
        display: none;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav.open {
        display: block;
    }
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Admin tables */
.admin-table {
    width: 100%;
    font-size: 0.9rem;
    border-collapse: collapse;
    margin-top: 0.4rem;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.45rem 0.2rem;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7280;
}

.admin-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.admin-table tbody tr:hover {
    background: #eef2ff;
}

.table-subtext {
    font-size: 0.8rem;
    color: #9ca3af;
}

.table-empty {
    padding: 0.5rem 0;
    color: #6b7280;
    font-style: italic;
}

/* Table action links */
.table-link {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.table-link-success {
    color: #15803d;
}

.table-link-danger {
    color: #b91c1c;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-neutral {
    background: #e5e7eb;
    color: #374151;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}
