/* ===== Global Styles ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #060917;
    --bg-alt: #0f172a;
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-soft: rgba(37, 99, 235, 0.1);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #1f2937;
    --card: #0b1120;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, #1d283a 0, #020617 55%, #000 100%);
    color: var(--text);
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== Header & Navigation ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.95),
        rgba(15, 23, 42, 0.7),
        transparent
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8 60%, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 1rem;
}

/* Nav links */

.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.95rem;
}

.nav-links a {
    padding: 6px 4px;
    color: var(--muted);
    transition: color 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-links .active {
    color: var(--primary-light);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #f9fafb;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.5);
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    box-shadow: none;
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(15, 23, 42, 0.9);
}

.btn-small {
    padding: 7px 14px;
    font-size: 0.85rem;
}

.btn-light {
    background: #f9fafb;
    color: #0f172a;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.45);
}

/* ===== Hero Section ===== */

.hero {
    padding: 56px 0 32px;
}

.hero-grid {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-text p {
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
}

.hero-tags span {
    border-radius: var(--radius-full);
    padding: 6px 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.85);
}

/* Hero card */

.hero-card {
    background: radial-gradient(circle at top left, #1d4ed8 0, #020617 55%);
    border-radius: 22px;
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-card h2 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.hero-card ul {
    padding-left: 0;
}

.hero-card li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.hero-card li::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a5b4fc;
    left: 4px;
    top: 8px;
}

/* ===== Sections ===== */

.section {
    padding: 40px 0;
}

.section-alt {
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: var(--muted);
}

/* Cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.85);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 6px;
}

.card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* Process */

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

.process-step {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    border: 1px solid var(--border);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--primary-soft);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ===== Page Hero (inner pages) ===== */

.page-hero {
    padding: 48px 0 18px;
}

.page-hero h1 {
    margin-bottom: 8px;
}

.page-hero p {
    color: var(--muted);
    max-width: 620px;
}

/* Two-column layout */

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

/* Lists */

.checklist {
    margin-top: 10px;
}

.checklist li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.checklist li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: #60a5fa;
}

/* Services */

.service-list {
    display: grid;
    gap: 20px;
}

.service-item {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.service-item h2 {
    margin-top: 0;
    margin-bottom: 6px;
}

.service-item p {
    color: var(--muted);
}

/* CTA */

.cta-section {
    background: radial-gradient(circle at top left, #2563eb, #020617 65%);
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cta-container h2 {
    margin-bottom: 4px;
}

/* ===== Contact ===== */

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

.contact-info p {
    margin: 4px 0;
}

.note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 10px;
}

/* Form */

.contact-form {
    background: var(--card);
    padding: 18px 18px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.86rem;
    color: var(--muted);
}

input,
textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.4);
}

.form-btn {
    width: 100%;
    margin-top: 8px;
}

/* ===== Footer ===== */

.site-footer {
    padding: 28px 0 16px;
    border-top: 1px solid var(--border);
    background: rgba(2, 6, 23, 0.98);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: flex-start;
}

.footer-logo .logo-mark {
    box-shadow: none;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .hero {
        padding-top: 42px;
    }

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

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 58px;
        right: 16px;
        padding: 10px 12px;
        background: rgba(15, 23, 42, 0.97);
        border-radius: 14px;
        border: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        min-width: 160px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-4px);
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .nav-links.nav-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links .btn-small {
        width: 100%;
        justify-content: center;
    }
}
