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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #050816;
    color: #f5f5f5;
    line-height: 1.6;
}

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

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

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

/* HEADER / NAV */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 22, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-img {
    height: 32px;
    width: auto;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-nav ul {
    display: flex;
    gap: 1rem;
    font-size: 0.92rem;
}

.main-nav a {
    padding: 0.3rem 0.1rem;
    border-bottom: 2px solid transparent;
    transition: 0.2s ease;
    opacity: 0.85;
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a.active {
    border-color: #4f46e5;
    color: #e5e7eb;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    color: #f9fafb;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 35px rgba(79, 70, 229, 0.5);
    opacity: 0.96;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: none;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

/* HERO / SECTIONS */
.hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a5b4fc;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0.6rem 0;
}

.hero-title span.highlight {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: #cbd5f5;
    max-width: 32rem;
    font-size: 0.98rem;
}

.hero-actions {
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-meta {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

.hero-card {
    background: radial-gradient(circle at top left, rgba(79,70,229,0.35), rgba(15,23,42,0.98));
    border-radius: 1.4rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
}

/* Generic sections */
.section {
    padding: 3rem 0 2.5rem;
}

.section-header {
    margin-bottom: 1.8rem;
    text-align: left;
}

.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #a5b4fc;
}

.section-title {
    font-size: 1.6rem;
    margin: 0.3rem 0;
}

.section-subtitle {
    color: #b4c0ee;
    max-width: 36rem;
    font-size: 0.94rem;
}

/* Cards & grids */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.card {
    background: radial-gradient(circle at top, rgba(30,64,175,0.3), rgba(15,23,42,1));
    border-radius: 1.25rem;
    padding: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    min-height: 190px;
}

.card h3 {
    margin-top: 0;
    font-size: 1.05rem;
}

.card p {
    font-size: 0.9rem;
    color: #d1d5db;
}

.card ul {
    margin-top: 0.8rem;
    font-size: 0.86rem;
    color: #9ca3af;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #e5e7eb;
}

/* Two-column content layout */
.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.two-col .side-panel {
    background: radial-gradient(circle at top, rgba(79,70,229,0.3), rgba(15,23,42,1));
    border-radius: 1.4rem;
    padding: 1.3rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Lists */
.checklist {
    margin: 1rem 0;
    padding-left: 1.1rem;
}

.checklist li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
    color: #4ade80;
}

/* Forms */
.form-card {
    background: radial-gradient(circle at top, rgba(30,64,175,0.45), rgba(15,23,42,1));
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
}

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

label {
    display: block;
    font-size: 0.82rem;
    margin-bottom: 0.3rem;
    color: #e5e7eb;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: #f9fafb;
    font-size: 0.9rem;
    resize: vertical;
}

textarea {
    min-height: 130px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.4);
}

/* Alerts */
.alert {
    padding: 0.7rem 0.9rem;
    border-radius: 0.75rem;
    font-size: 0.82rem;
    margin-bottom: 0.9rem;
}

.alert-success {
    background: rgba(22, 163, 74, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
}

.alert-error {
    background: rgba(220, 38, 38, 0.16);
    border: 1px solid rgba(248, 113, 113, 0.7);
    color: #fecaca;
}

/* FOOTER */
.site-footer {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at top, rgba(15,23,42,1), #020617);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    font-size: 0.86rem;
    color: #9ca3af;
}

.footer-grid h4 {
    color: #e5e7eb;
    margin-bottom: 0.6rem;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    opacity: 0.85;
    font-size: 0.86rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding: 0.9rem 0 1.2rem;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.78rem;
    color: #6b7280;
}

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    gap: 1.2rem;
    align-items: center;
}

.slide-active {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.slide-text h3 {
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

.slide-image img {
    width: 100%;
    max-width: 260px;
    margin-inline: auto;
}

.slider-dots {
    display: flex;
    gap: 0.4rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(148, 163, 184, 0.5);
    cursor: pointer;
}

.slider-dot.active {
    width: 22px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
}

/* Reveal-on-scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 840px) {
    .hero-grid,
    .two-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        order: -1;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        inset: 56px 0 auto 0;
        background: rgba(5, 8, 22, 0.98);
        border-bottom: 1px solid rgba(31, 41, 55, 0.9);
        padding: 0.8rem 4%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 0.4rem;
    }

    .hero {
        padding-top: 2.7rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
