@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

/* ============================================================
   GOVERNINTEL Design System — All colors HSL
   Mirrors the React Tailwind + index.css tokens exactly
   ============================================================ */

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

:root {
    /* Colors */
    --background: hsl(0 0% 100%);
    --foreground: hsl(220 26% 14%);
    --card: hsl(0 0% 100%);
    --card-fg: hsl(220 26% 14%);
    --secondary: hsl(220 14% 96%);
    --secondary-fg: hsl(220 26% 14%);
    --muted-fg: hsl(220 9% 46%);
    --primary: hsl(224 66% 33%);
    --primary-fg: hsl(210 40% 98%);
    --accent: hsl(187 92% 43%);
    --accent-fg: hsl(0 0% 100%);
    --cta: hsl(38 92% 50%);
    --cta-fg: hsl(220 26% 14%);
    --destructive: hsl(0 84% 60%);
    --destructive-fg: hsl(210 40% 98%);
    --border: hsl(220 13% 91%);
    --input: hsl(220 13% 91%);
    --radius: 0.5rem;

    /* Font */
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   RESET
   ============================================================ */
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
input,
textarea,
select {
    font-family: inherit;
}
img,
svg {
    display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container-tight {
    max-width: 72rem;
    margin-inline: auto;
}

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-inline: 1rem;
}
@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
        padding-inline: 2rem;
    }
}

.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.items-start {
    align-items: flex-start;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.flex-1 {
    flex: 1 1 0%;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-shrink-0 {
    flex-shrink: 0;
}
.gap-2 {
    gap: 0.5rem;
}
.gap-3 {
    gap: 0.75rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-6 {
    gap: 1.5rem;
}
.gap-8 {
    gap: 2rem;
}
.gap-10 {
    gap: 2.5rem;
}
.gap-12 {
    gap: 3rem;
}
.w-full {
    width: 100%;
}
.min-h-screen {
    min-height: 100vh;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.inset-0 {
    inset: 0;
}
.z-10 {
    z-index: 10;
}
.z-50 {
    z-index: 50;
}
.overflow-hidden {
    overflow: hidden;
}
.overflow-x-auto {
    overflow-x: auto;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.mx-auto {
    margin-inline: auto;
}
.mt-auto {
    margin-top: auto;
}
.hidden {
    display: none;
}
.block {
    display: block;
}
.inline-flex {
    display: inline-flex;
}
.grid {
    display: grid;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ============================================================
   GRID SYSTEM
   ============================================================ */
.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .sm\:flex-row {
        flex-direction: row;
    }
    .sm\:inline {
        display: inline;
    }
    .sm\:hidden {
        display: none;
    }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .md\:col-span-1 {
        grid-column: span 1;
    }
    .md\:col-span-2 {
        grid-column: span 2;
    }
    .md\:col-span-3 {
        grid-column: span 3;
    }
    .md\:col-span-5 {
        grid-column: span 5;
    }
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   COLORS / BG
   ============================================================ */
.bg-background {
    background-color: var(--background);
}
.bg-card {
    background-color: var(--card);
}
.bg-secondary {
    background-color: var(--secondary);
}
.bg-primary {
    background-color: var(--primary);
}
.bg-accent {
    background-color: var(--accent);
}
.bg-cta {
    background-color: var(--cta);
}
.text-foreground {
    color: var(--foreground);
}
.text-muted-fg {
    color: var(--muted-fg);
}
.text-primary {
    color: var(--primary);
}
.text-accent {
    color: var(--accent);
}
.text-cta {
    color: var(--cta);
}
.text-destructive {
    color: var(--destructive);
}
.text-primary-fg {
    color: var(--primary-fg);
}

/* ============================================================
   TEXT GRADIENT (teal → amber, matches React)
   ============================================================ */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(
        135deg,
        hsl(187 92% 43%),
        hsl(38 92% 50%)
    );
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-black {
    font-weight: 900;
}
.font-bold {
    font-weight: 700;
}
.font-semibold {
    font-weight: 600;
}
.font-medium {
    font-weight: 500;
}
.text-xs {
    font-size: 0.75rem;
}
.text-sm {
    font-size: 0.875rem;
}
.text-base {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}
.text-5xl {
    font-size: 3rem;
}
.text-6xl {
    font-size: 3.75rem;
}
.text-7xl {
    font-size: 4.5rem;
}
.text-8xl {
    font-size: 6rem;
}
.lowercase {
    text-transform: lowercase;
}
.uppercase {
    text-transform: uppercase;
}
.tracking-wider {
    letter-spacing: 0.05em;
}
.tracking-widest {
    letter-spacing: 0.1em;
}
.leading-tight {
    line-height: 1.2;
}
.leading-relaxed {
    line-height: 1.625;
}
.italic {
    font-style: italic;
}
.line-through {
    text-decoration: line-through;
}
@media (min-width: 768px) {
    .md\:text-xl {
        font-size: 1.25rem;
    }
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    .md\:text-3xl {
        font-size: 1.875rem;
    }
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    .md\:text-5xl {
        font-size: 3rem;
    }
    .md\:text-6xl {
        font-size: 3.75rem;
    }
    .md\:py-28 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* ============================================================
   SPACING
   ============================================================ */
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-5 {
    margin-bottom: 1.25rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mb-10 {
    margin-bottom: 2.5rem;
}
.mb-12 {
    margin-bottom: 3rem;
}
.mb-16 {
    margin-bottom: 4rem;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-6 {
    margin-top: 1.5rem;
}
.mt-8 {
    margin-top: 2rem;
}
.mt-10 {
    margin-top: 2.5rem;
}
.mt-16 {
    margin-top: 4rem;
}
.p-4 {
    padding: 1rem;
}
.p-5 {
    padding: 1.25rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-8 {
    padding: 2rem;
}
.px-3 {
    padding-inline: 0.75rem;
}
.px-4 {
    padding-inline: 1rem;
}
.px-6 {
    padding-inline: 1.5rem;
}
.px-8 {
    padding-inline: 2rem;
}
.py-2 {
    padding-block: 0.5rem;
}
.py-3 {
    padding-block: 0.75rem;
}
.py-4 {
    padding-block: 1rem;
}
.py-6 {
    padding-block: 1.5rem;
}
.py-12 {
    padding-block: 3rem;
}
.py-16 {
    padding-block: 4rem;
}
.py-20 {
    padding-block: 5rem;
}
.pb-4 {
    padding-bottom: 1rem;
}
.pl-4 {
    padding-left: 1rem;
}
.pt-4 {
    padding-top: 1rem;
}
.pt-6 {
    padding-top: 1.5rem;
}
.space-y-2 > * + * {
    margin-top: 0.5rem;
}
.space-y-3 > * + * {
    margin-top: 0.75rem;
}
.space-y-4 > * + * {
    margin-top: 1rem;
}
.space-y-5 > * + * {
    margin-top: 1.25rem;
}
.space-y-6 > * + * {
    margin-top: 1.5rem;
}
.space-y-10 > * + * {
    margin-top: 2.5rem;
}
.space-x-2 > * + * {
    margin-left: 0.5rem;
}
.space-x-3 > * + * {
    margin-left: 0.75rem;
}

/* ============================================================
   BORDERS & RADIUS
   ============================================================ */
.border {
    border: 1px solid var(--border);
}
.border-t {
    border-top: 1px solid var(--border);
}
.border-b {
    border-bottom: 1px solid var(--border);
}
.border-l-4 {
    border-left: 4px solid var(--accent);
}
.border-2 {
    border: 2px solid;
}
.border-border {
    border-color: var(--border);
}
.border-accent {
    border-color: var(--accent);
}
.border-accent\/20 {
    border-color: hsl(187 92% 43% / 0.2);
}
.border-accent\/30 {
    border-color: hsl(187 92% 43% / 0.3);
}
.border-primary-fg\/30 {
    border-color: hsl(210 40% 98% / 0.3);
}
.rounded {
    border-radius: var(--radius);
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-2xl {
    border-radius: 1rem;
}
.rounded-full {
    border-radius: 9999px;
}
.rounded-t-lg {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

/* ============================================================
   SHADOWS
   ============================================================ */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* ============================================================
   CARD COMPONENT
   ============================================================ */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
}
.card:hover {
    border-color: hsl(187 92% 43% / 0.3);
    transition: border-color 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        background-color 0.2s,
        opacity 0.2s,
        border-color 0.2s,
        color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}
.btn-md {
    padding: 0.5rem 1.25rem;
    height: 2.5rem;
}
.btn-lg {
    padding: 0.75rem 2rem;
    height: 3rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-fg);
}
.btn-primary:hover {
    background-color: hsl(224 66% 28%);
}

.btn-cta {
    background-color: var(--cta);
    color: var(--cta-fg);
}
.btn-cta:hover {
    background-color: hsl(38 92% 44%);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--foreground);
}
.btn-outline:hover {
    background-color: var(--secondary);
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid hsl(210 40% 98% / 0.3);
    color: var(--primary-fg);
}
.btn-outline-light:hover {
    background-color: hsl(210 40% 98% / 0.1);
}

.btn-outline-accent {
    background-color: transparent;
    border: 1px solid hsl(187 92% 43% / 0.3);
    color: var(--accent);
}
.btn-outline-accent:hover {
    background-color: hsl(187 92% 43% / 0.1);
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}
.badge-accent {
    background-color: hsl(187 92% 43% / 0.2);
    color: var(--accent);
    border-color: hsl(187 92% 43% / 0.3);
}
.badge-accent-solid {
    background-color: var(--accent);
    color: var(--accent-fg);
}
.badge-cta-solid {
    background-color: var(--cta);
    color: var(--cta-fg);
}

/* ============================================================
   ICON BOX
   ============================================================ */
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    flex-shrink: 0;
}
.icon-box-sm {
    width: 2.25rem;
    height: 2.25rem;
}
.icon-box-md {
    width: 2.5rem;
    height: 2.5rem;
}
.icon-box-lg {
    width: 3rem;
    height: 3rem;
}

.icon-box-accent {
    background-color: hsl(187 92% 43% / 0.1);
}
.icon-box-destructive {
    background-color: hsl(0 84% 60% / 0.1);
}
.icon-box-primary {
    background-color: var(--primary);
}
.icon-box-cta {
    background-color: var(--cta);
}
.icon-box-accent-20 {
    background-color: hsl(187 92% 43% / 0.2);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: hsl(0 0% 100% / 0.95);
    backdrop-filter: blur(8px);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding-inline: 1rem;
    max-width: 72rem;
    margin-inline: auto;
}
.site-header__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-header__logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background-color: var(--primary);
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--primary-fg);
}
.site-header__logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
}
.site-header__logo-text span {
    color: var(--accent);
}

.site-header__nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .site-header__nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-fg);
    transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--foreground);
}
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* Nav dropdown styles are now inlined in header.blade.php */

/* Mobile nav group for Resources */
.mobile-nav__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.mobile-nav__group-label {
    cursor: default;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background-color: var(--background);
}
.mobile-nav.open {
    display: block;
}
.mobile-nav__inner {
    max-width: 72rem;
    margin-inline: auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border);
    background-color: var(--primary);
    color: var(--primary-fg);
}
.site-footer__inner {
    max-width: 72rem;
    margin-inline: auto;
    padding: 3rem 1rem;
}
@media (min-width: 768px) {
    .site-footer__inner {
        padding-block: 4rem;
    }
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: hsl(210 40% 98% / 0.5);
    margin-bottom: 0.75rem;
}
.footer-link {
    font-size: 0.875rem;
    color: hsl(210 40% 98% / 0.7);
    transition: color 0.2s;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-link:hover {
    color: var(--accent);
}
.footer-tagline {
    font-size: 0.875rem;
    color: hsl(210 40% 98% / 0.7);
}
.footer-divider {
    margin-top: 2.5rem;
    border-top: 1px solid hsl(210 40% 98% / 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: hsl(210 40% 98% / 0.4);
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    color: hsl(210 40% 98% / 0.6);
    transition: color 0.2s;
}
.footer-social a:hover {
    color: var(--accent);
}
.footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}
.footer-newsletter-input {
    flex: 1;
    border-radius: 0.375rem;
    border: 1px solid hsl(210 40% 98% / 0.2);
    background-color: hsl(210 40% 98% / 0.1);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--primary-fg);
}
.footer-newsletter-input::placeholder {
    color: hsl(210 40% 98% / 0.4);
}
.footer-newsletter-input:focus {
    outline: 2px solid var(--accent);
}
.footer-newsletter-btn {
    border-radius: 0.375rem;
    background-color: var(--accent);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-fg);
    cursor: pointer;
    transition: background-color 0.2s;
}
.footer-newsletter-btn:hover {
    background-color: hsl(187 92% 38%);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--primary);
    color: var(--primary-fg);
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary) 60%,
        hsl(187 92% 43% / 0.2) 100%
    );
}
.hero__circles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero__circle {
    position: absolute;
    border-radius: 9999px;
    background-color: hsl(187 92% 43% / 0.05);
    border: 1px solid hsl(187 92% 43% / 0.1);
    animation: pulse-circle 8s ease-in-out infinite;
}
@keyframes pulse-circle {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.6;
    }
}
.hero__circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -2%;
    animation-duration: 8s;
}
.hero__circle:nth-child(2) {
    width: 320px;
    height: 320px;
    top: 22%;
    right: 6%;
    animation-duration: 10s;
    animation-delay: 0.5s;
}
.hero__circle:nth-child(3) {
    width: 440px;
    height: 440px;
    top: 34%;
    right: 14%;
    animation-duration: 12s;
    animation-delay: 1s;
}
.hero__circle:nth-child(4) {
    width: 560px;
    height: 560px;
    top: 46%;
    right: 22%;
    animation-duration: 14s;
    animation-delay: 1.5s;
}
.hero__circle:nth-child(5) {
    width: 680px;
    height: 680px;
    top: 58%;
    right: 30%;
    animation-duration: 16s;
    animation-delay: 2s;
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin-inline: auto;
    padding: 5rem 1rem;
    text-align: center;
}
@media (min-width: 768px) {
    .hero__content {
        padding-block: 8rem;
    }
}
.hero__inner {
    max-width: 56rem;
    margin-inline: auto;
}

.hero__underline {
    display: inline-block;
    position: relative;
}
.hero__underline::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.375rem;
    background-color: var(--accent);
    border-radius: 9999px;
    animation: expand-line 0.8s ease-out 0.9s both;
}
@keyframes expand-line {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 48rem;
    margin-inline: auto;
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .hero__stats {
        grid-template-columns: repeat(4, 1fr);
    }
}
.hero__stat {
    background-color: hsl(210 40% 98% / 0.05);
    border: 1px solid hsl(210 40% 98% / 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
}
.hero__stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
}
@media (min-width: 768px) {
    .hero__stat-value {
        font-size: 1.875rem;
    }
}
.hero__stat-label {
    font-size: 0.75rem;
    color: hsl(210 40% 98% / 0.6);
    margin-top: 0.25rem;
}
@media (min-width: 768px) {
    .hero__stat-label {
        font-size: 0.875rem;
    }
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}
@media (min-width: 640px) {
    .hero__cta {
        flex-direction: row;
    }
}

.hero__scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: hsl(210 40% 98% / 0.5);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    margin-top: 1rem;
}
.hero__scroll:hover {
    color: hsl(210 40% 98% / 0.8);
}
.hero__scroll svg {
    animation: bounce-down 1.5s infinite;
}
@keyframes bounce-down {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

/* ============================================================
   FADE-IN ANIMATION (scroll-triggered via JS)
   ============================================================ */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-up-delay-1 {
    transition-delay: 0.1s;
}
.fade-up-delay-2 {
    transition-delay: 0.2s;
}
.fade-up-delay-3 {
    transition-delay: 0.3s;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item {
    border-bottom: 1px solid var(--border);
}
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
}
.accordion-trigger svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: hsl(220 9% 46%);
    transition: transform 0.25s ease;
}
.accordion-item.open .accordion-trigger svg {
    transform: rotate(180deg);
}
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}
.accordion-item.open .accordion-content {
    grid-template-rows: 1fr;
}
.accordion-content-inner {
    overflow: hidden;
    padding-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: var(--muted-fg);
}

/* ============================================================
   CURRICULUM TABS
   ============================================================ */
.tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--secondary);
    color: var(--muted-fg);
    border: none;
    cursor: pointer;
    transition:
        background-color 0.2s,
        color 0.2s;
}
.tab-btn:hover {
    background-color: hsl(220 14% 92%);
}
.tab-btn.active {
    background-color: var(--primary);
    color: var(--primary-fg);
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   PRODUCT SCROLL CARDS
   ============================================================ */
.product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    margin-inline: -1rem;
    padding-inline: 1rem;
    scrollbar-width: thin;
}
.product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 14rem;
    border: 1px solid var(--border);
    background-color: var(--card);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.product-card.featured {
    width: 16rem;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgb(0 0 0 / 0.1);
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-wrap {
    overflow-x: auto;
}
.comparison-table {
    width: 100%;
    min-width: 600px;
    font-size: 0.875rem;
    border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
    padding: 0.75rem 1rem;
    text-align: center;
}
.comparison-table thead tr {
    border-bottom: 1px solid var(--border);
}
.comparison-table tbody tr {
    border-bottom: 1px solid hsl(220 13% 91% / 0.5);
}
.comparison-table thead th:first-child,
.comparison-table tbody td:first-child {
    text-align: left;
    padding-left: 0;
    font-weight: 500;
    color: var(--foreground);
}
.comparison-table .gi-col {
    background-color: hsl(187 92% 43% / 0.05);
}
.comparison-table thead th.gi-col {
    font-weight: 700;
    color: var(--primary);
}
.comparison-table tfoot td {
    padding-top: 1rem;
    font-style: italic;
    font-size: 0.75rem;
    color: var(--muted-fg);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.pricing-card {
    position: relative;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background-color: var(--card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}
.pricing-card.highlighted {
    border-color: var(--accent);
    box-shadow: 0 20px 40px hsl(187 92% 43% / 0.1);
    transform: scale(1.02);
}
.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}
.pricing-period {
    font-size: 0.875rem;
    color: var(--muted-fg);
    margin-top: 0.25rem;
}
.pricing-features {
    flex: 1;
    list-style: none;
    margin-bottom: 2rem;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}
.pricing-features li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    background-color: var(--background);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--foreground);
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 1px;
    border-color: var(--primary);
}
.form-textarea {
    resize: vertical;
    min-height: 7rem;
}
.form-error {
    font-size: 0.75rem;
    color: var(--destructive);
    margin-top: 0.25rem;
}
.form-group {
    margin-bottom: 1.25rem;
}

/* ============================================================
   STARS (testimonials)
   ============================================================ */
.stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}
.star {
    width: 1rem;
    height: 1rem;
    color: var(--cta);
    fill: var(--cta);
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ============================================================
   ALERT / NOTIFICATION
   ============================================================ */
.alert-success {
    background-color: hsl(187 92% 43% / 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: hsl(187 92% 28%);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

/* ============================================================
   MISC
   ============================================================ */
.cursor-default {
    cursor: default;
}
.max-w-xl {
    max-width: 36rem;
}
.max-w-2xl {
    max-width: 42rem;
}
.max-w-3xl {
    max-width: 48rem;
}
.max-w-4xl {
    max-width: 56rem;
}
.max-w-md {
    max-width: 28rem;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background-color: var(--card);
    transition: border-color 0.2s;
}

.accordion-item:hover {
    border-color: hsl(187 92% 43% / 0.35);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    transition: color 0.2s;
}

.accordion-trigger:hover {
    color: var(--accent);
}

/* Chevron icon inside the trigger */
.accordion-trigger svg {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--muted-fg);
}

/* Content hidden by default */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.accordion-content-inner {
    overflow: hidden;
    font-size: 0.9rem;
    color: var(--muted-fg);
    line-height: 1.7;
    padding: 0 1.25rem;
}

/* Open state */
.accordion-item.open .accordion-content {
    grid-template-rows: 1fr;
}

.accordion-item.open .accordion-content-inner {
    padding-bottom: 1.125rem;
}

.accordion-item.open .accordion-trigger svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.accordion-item.open .accordion-trigger {
    color: var(--foreground);
}

/* ============================================================
   NEWSLETTER POPUP MODAL
   ============================================================ */
.nl-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nl-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.nl-popup {
    position: relative;
    width: 95%;
    max-width: 480px;
    border-radius: 1rem;
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nl-popup-overlay.active .nl-popup {
    transform: translateY(0) scale(1);
}
.nl-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: hsl(210 40% 98%);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s;
    z-index: 2;
}
.nl-popup__close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.nl-popup__header {
    background: linear-gradient(135deg, var(--primary) 0%, hsl(200 80% 30%) 100%);
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    color: hsl(210 40% 98%);
}
.nl-popup__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.nl-popup__title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}
.nl-popup__subtitle {
    font-size: 0.875rem;
    color: hsl(210 40% 98% / 0.7);
    font-weight: 500;
}
.nl-popup__body {
    background: hsl(220 26% 14%);
    padding: 1.75rem 2rem 2rem;
}
.nl-popup__desc {
    font-size: 0.9rem;
    color: hsl(220 9% 70%);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: center;
}
.nl-popup__form {
    display: flex;
    gap: 0.5rem;
}
.nl-popup__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(220 20% 25%);
    background: hsl(220 26% 10%);
    color: hsl(210 40% 98%);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.nl-popup__input::placeholder {
    color: hsl(220 9% 46%);
}
.nl-popup__input:focus {
    border-color: var(--accent);
}
.nl-popup__btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background: var(--accent);
    color: var(--accent-fg);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.1s;
}
.nl-popup__btn:hover {
    background: hsl(187 92% 38%);
}
.nl-popup__btn:active {
    transform: scale(0.97);
}
.nl-popup__msg {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 0.75rem;
    min-height: 1rem;
}
.nl-popup__privacy {
    text-align: center;
    font-size: 0.75rem;
    color: hsl(220 9% 40%);
    margin-top: 0.75rem;
}
@media (max-width: 480px) {
    .nl-popup__form {
        flex-direction: column;
    }
    .nl-popup__header {
        padding: 2rem 1.5rem 1.5rem;
    }
    .nl-popup__body {
        padding: 1.5rem;
    }
}
