/* Modern landing page styles */
:root {
    --modern-bg: #0b0d12;
    --modern-card: rgba(15, 23, 42, 0.8);
    --modern-border: rgba(148, 163, 184, 0.22);
    --modern-text: #e2e8f0;
    --modern-muted: #94a3b8;
    --modern-accent: linear-gradient(135deg, #4f46e5, #22d3ee);
}

body {
    font-family: "Inter", sans-serif;
    background: var(--modern-bg);
    color: var(--modern-text);
}

.hero {
    padding: 3.5rem 6vw 4rem;
    background: radial-gradient(circle at top left, #1f2a44 0%, #0b0d12 55%);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    color: var(--modern-text);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--modern-accent);
    color: #0b0d12;
    font-weight: 800;
}

.nav-links,
.nav-actions {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a,
.nav-actions a {
    color: var(--modern-text);
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-actions a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.nav .cta,
.hero-cta .cta,
.card-actions .cta {
    background: var(--modern-accent);
    color: #0b0d12;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
}

.cta-band .cta {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(14, 165, 233, 0.95));
    color: #0b0d12;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 16px 40px rgba(79, 70, 229, 0.35);
    border: 1px solid rgba(99, 102, 241, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cta-band .cta::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 60%);
    opacity: 0.6;
    filter: blur(14px);
    z-index: -1;
    animation: ctaGlow 3.5s ease-in-out infinite;
}

.cta-band .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(79, 70, 229, 0.45);
    filter: brightness(1.05);
}

.cta-band .cta:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.6);
    outline-offset: 2px;
}

@keyframes ctaGlow {
    0% {
        transform: translateX(-8%) scale(0.98);
        opacity: 0.55;
    }
    50% {
        transform: translateX(8%) scale(1.02);
        opacity: 0.85;
    }
    100% {
        transform: translateX(-8%) scale(0.98);
        opacity: 0.55;
    }
}

.nav .ghost,
.hero-cta .ghost,
.card-actions .ghost {
    border: 1px solid var(--modern-border);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    color: var(--modern-text);
}

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

.hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0.75rem 0 1rem;
}

.hero-copy p {
    color: var(--modern-muted);
    max-width: 520px;
}

.hero-metrics {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-metrics strong {
    font-size: 1.5rem;
}

.hero-card {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.6rem;
    color: var(--modern-muted);
}

.section {
    padding: 4rem 6vw;
}

.section.alt {
    background: rgba(15, 23, 42, 0.35);
}

.section-head h2 {
    margin: 0.6rem 0 0.8rem;
}

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

.step,
.tile {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    border-radius: 16px;
    padding: 1.4rem;
}

.cta-band {
    background: var(--modern-card);
    border: 1px solid var(--modern-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer {
    padding: 2.5rem 6vw;
    border-top: 1px solid var(--modern-border);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    color: var(--modern-muted);
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}
