/* ── Base ── */
body {
    font-family: 'Inter', sans-serif;
}

/* ── Maintenance banner ── */
#maintenance-banner {
    background: linear-gradient(90deg, #92400e 0%, #b45309 100%);
    color: #fef3c7;
    font-size: 0.875rem;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    max-height: 80px;
    overflow: hidden;
}

#maintenance-banner.dismissed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

#maintenance-banner a {
    color: #fde68a;
    text-decoration: underline;
}

#maintenance-banner a:hover {
    color: #fff;
}

/* ── Navbar ── */
#main-nav {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #1d4ed8;
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: #1d4ed8;
}

.nav-link:hover::after {
    width: 100%;
}

/* ── Hero ── */
#hero {
    background-color: #0f1f6e;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

#hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #bfdbfe;
    margin-bottom: 20px;
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4)
    }
}

.hero-image-wrap {
    position: relative;
}

.hero-image-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(99, 102, 241, 0.2));
    z-index: 0;
}

.hero-image-wrap img {
    position: relative;
    z-index: 1;
}

/* ── CTA Buttons ── */
.btn-primary {
    background: #fff;
    color: #1e3a8a;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #eff6ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 11px 28px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* ── Section headings ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1d4ed8;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

/* ── Service cards ── */
.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1d4ed8, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 32px rgba(29, 78, 216, 0.1);
    transform: translateY(-3px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

/* ── About section ── */
.about-stat {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 16px 20px;
}

/* ── Roadmap ── */
.roadmap-connector {
    position: absolute;
    top: 24px;
    left: calc(25% - 12px);
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1d4ed8 60%, #93c5fd 100%);
}

.roadmap-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.roadmap-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    background: #1d4ed8;
    color: #fff;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #1d4ed8;
    transition: all 0.2s;
}

.roadmap-dot.active {
    background: #16a34a;
    box-shadow: 0 0 0 2px #16a34a, 0 0 0 5px rgba(22, 163, 74, 0.2);
}

.roadmap-dot.current {
    background: #f59e0b;
    box-shadow: 0 0 0 2px #f59e0b, 0 0 0 5px rgba(245, 158, 11, 0.25);
    animation: current-pulse 2.5s ease-in-out infinite;
}

@keyframes current-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 2px #f59e0b, 0 0 0 5px rgba(245, 158, 11, 0.25)
    }

    50% {
        box-shadow: 0 0 0 2px #f59e0b, 0 0 0 10px rgba(245, 158, 11, 0.15)
    }
}

/* ── Team cards ── */
.team-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.25s;
}

.team-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #dbeafe;
    margin: 0 auto 14px;
    display: block;
}

/* ── Job cards ── */
.job-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 20px;
    transition: all 0.25s;
}

.job-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 6px 24px rgba(29, 78, 216, 0.09);
}

/* ── Contact ── */
.contact-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.95rem;
    transition: all 0.2s;
    outline: none;
    color: #111827;
    background: #fff;
}

.contact-input:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

/* ── Footer ── */
#main-footer {
    background: #0f172a;
}

/* ── Divider ── */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
}

/* ── Scroll offset for fixed nav ── */
[id] {
    scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}