:root {
    --bg: #0f1724;
    --bg-2: #0c2232;
    --panel: #10293d;
    --card: #102132;
    --accent: #7be479;
    --accent-2: #a0dfff;
    --text: #0f1c2e;
    --text-light: #dce9f7;
    --muted: #4c5d73;
    --muted-light: rgba(220, 233, 247, 0.8);
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(12, 33, 50, 0.25);
    --radius-lg: 26px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --transition: all 0.25s ease;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 20%, #11263a 0%, #0b1623 30%, #070f19 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.hero {
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    padding: 48px clamp(22px, 4vw, 48px) 80px;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(160, 223, 255, 0.22), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(123, 228, 121, 0.18), transparent 35%);
    z-index: 0;
}

.hero::after {
    background: radial-gradient(600px at 70% 60%, rgba(16, 41, 61, 0.8), transparent 60%);
    mix-blend-mode: screen;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.logo-pair {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(12, 33, 50, 0.12);
    box-shadow: 0 12px 24px rgba(8, 16, 28, 0.18);
}

.logo img {
    display: block;
    height: 46px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.logo--ministry {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(5, 20, 35, 0.1);
    box-shadow: 0 12px 26px rgba(5, 15, 25, 0.16);
}

.logo--ministry img {
    height: 52px;
}

.logo--globe {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(12, 33, 50, 0.12);
}

.logo--globe img {
    height: 48px;
}

.logo--pef {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(12, 33, 50, 0.12);
}

.logo--pef img {
    height: 48px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(123, 228, 121, 0.18);
    color: var(--text-light);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}

.hero__main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.hero__text h1 {
    margin: 0 0 12px;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    letter-spacing: -0.02em;
}

.hero__lead {
    margin: 0 0 12px;
    font-size: 1.1rem;
    color: var(--muted-light);
}

.hero__sub {
    margin: 0 0 24px;
    color: rgba(220, 233, 247, 0.9);
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.chatbot-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #0d2136;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-status::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08);
}

.chatbot-status[data-state="loading"] {
    background: #f7c844;
    color: #231400;
    border-color: rgba(0, 0, 0, 0.06);
}

.chatbot-status[data-state="ready"] {
    background: #0f9d58;
    color: #ffffff;
    box-shadow: 0 15px 38px rgba(15, 157, 88, 0.35);
    border-color: rgba(15, 157, 88, 0.4);
}

.chatbot-status[data-state="error"] {
    background: #b42318;
    color: #ffffff;
    box-shadow: 0 15px 38px rgba(180, 35, 24, 0.35);
    border-color: rgba(180, 35, 24, 0.4);
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.meta__chip {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__panel {
    background: rgba(16, 41, 61, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    display: grid;
    gap: 12px;
}

.panel__title {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.panel__list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted-light);
}

.panel__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.panel__note {
    font-size: 0.95rem;
    color: rgba(220, 233, 247, 0.8);
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    font-size: 1rem;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent), #5bd35a);
    color: #0c2014;
    box-shadow: 0 14px 30px rgba(123, 228, 121, 0.35);
}

.btn--primary:hover {
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-light);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.btn.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

.chatbot-loading-hint {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.95rem;
    color: inherit;
    opacity: 0.85;
}

.section {
    padding: clamp(60px, 6vw, 110px) clamp(20px, 6vw, 120px);
}

.section--light {
    background: #f4f6fb;
}

.section--emphasis {
    background: #ffffff;
}

.section--panel {
    background: linear-gradient(180deg, #0f1724 0%, #0c2232 100%);
    color: var(--text-light);
}

.section--cta {
    background: linear-gradient(135deg, rgba(123, 228, 121, 0.16), rgba(160, 223, 255, 0.16));
}

.section__intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.section__intro h2 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.section__intro p {
    margin: 0;
    color: var(--muted);
}

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

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(12, 33, 50, 0.06);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(12, 33, 50, 0.2);
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.card__list li {
    position: relative;
    padding-left: 16px;
    color: var(--muted);
}

.card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
}

.steps li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
    padding: 22px;
    backdrop-filter: blur(6px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.steps h3 {
    margin: 6px 0 8px;
    color: var(--text-light);
}

.steps p {
    margin: 0;
    color: var(--muted-light);
}

.step__number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(123, 228, 121, 0.2);
    color: var(--text-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 10px;
    color: var(--muted);
}

.detail-list li {
    position: relative;
    padding-left: 16px;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.callout {
    background: #0f1724;
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.callout h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.callout p {
    margin: 0 0 12px;
    color: var(--muted-light);
}

.callout__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--muted-light);
}

.callout__list li {
    position: relative;
    padding-left: 16px;
}

.callout__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.callout--warning {
    display: grid;
    gap: 10px;
    background: #2d1600;
    color: #ffffff;
    border: 1px solid #ffb347;
    box-shadow: 0 18px 38px rgba(45, 22, 0, 0.25);
}

.callout--warning h3 {
    color: #ffffff;
}

.callout--warning p,
.callout--warning .callout__list {
    color: rgba(255, 255, 255, 0.92);
}

.callout--warning .callout__list li::before {
    background: #ffb347;
}

.brand-notes {
    background: #f7fbff;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(12, 33, 50, 0.05);
    box-shadow: 0 18px 38px rgba(12, 33, 50, 0.08);
}

.brand-notes .callout__list,
.brand-notes .callout__list li {
    color: #000000;
}

.brand-notes h3 {
    margin-top: 0;
}

.cta {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.cta h2 {
    margin: 6px 0 8px;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.cta p {
    margin: 0;
    color: var(--muted);
}

.footer {
    background: #0b1623;
    color: rgba(255, 255, 255, 0.82);
    padding: 22px clamp(20px, 5vw, 120px);
}

.footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.footer .logo {
    border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .hero__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        padding: 6px 10px;
    }

    .logo img {
        height: 38px;
        max-width: 180px;
    }

    .logo--ministry img {
        height: 44px;
    }

    .logo--globe img,
    .logo--pef img {
        height: 40px;
    }

    .hero__actions {
        width: 100%;
    }

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