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

:root {
    --navy: #071527;
    --navy-soft: #10243e;
    --purple: #7c3aed;
    --purple-dark: #5b21b6;
    --cyan: #19d3ff;
    --amber: #ffb84d;
    --ink: #0d1c30;
    --muted: #5d6b7c;
    --line: #dbe4ee;
    --surface: #ffffff;
    --surface-soft: #f3f7fb;
    --success: #087f5b;
    --shadow-sm: 0 8px 24px rgba(7, 21, 39, 0.08);
    --shadow-lg: 0 28px 70px rgba(4, 14, 29, 0.28);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;
    --max-width: 1180px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    /* 英语与斯瓦希里语都是拉丁字母；原先为阿拉伯语准备的 Naskh 字体已移除 */
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

button {
    color: inherit;
    font: inherit;
}

.container {
    width: min(100% - 36px, var(--max-width));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 200;
    padding: 10px 14px;
    color: var(--navy);
    background: #fff;
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(7, 21, 39, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 72px;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 10px;
    align-items: center;
}

.brand img {
    width: 42px;
    height: 42px;
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.brand-name span {
    color: var(--purple);
}

.brand--light {
    color: #fff;
}

.brand--light .brand-name span {
    color: var(--cyan);
}

.header-nav {
    display: none;
    gap: 26px;
    align-items: center;
    margin-inline-start: auto;
    color: #3d4c5f;
    font-size: 14px;
    font-weight: 650;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: var(--purple);
}

.lang-switch {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 3px;
    padding: 4px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.lang-btn {
    min-height: 34px;
    padding: 6px 11px;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.lang-btn.is-active {
    color: var(--navy);
    background: #fff;
    box-shadow: 0 3px 10px rgba(7, 21, 39, 0.1);
}

.hero {
    position: relative;
    min-height: 700px;
    padding: 62px 0 74px;
    color: #fff;
    background:
        radial-gradient(circle at 74% 24%, rgba(124, 58, 237, 0.34), transparent 32%),
        linear-gradient(145deg, #071527 0%, #0c2039 58%, #132b48 100%);
    overflow: hidden;
}

.hero::after {
    position: absolute;
    right: -10%;
    bottom: -42%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(25, 211, 255, 0.2), transparent 68%);
    content: "";
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(3px);
    pointer-events: none;
}

.hero-glow--one {
    top: 12%;
    left: -100px;
    width: 220px;
    height: 220px;
    background: rgba(124, 58, 237, 0.22);
}

.hero-glow--two {
    top: 90px;
    right: 8%;
    width: 110px;
    height: 110px;
    background: rgba(255, 184, 77, 0.11);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 48px;
    align-items: center;
}

.eyebrow,
.section-label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    color: #bcefff;
}

.eyebrow::before,
.section-label::before {
    width: 24px;
    height: 2px;
    background: currentColor;
    content: "";
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(39px, 8.5vw, 68px);
    font-weight: 820;
    letter-spacing: -0.05em;
    line-height: 1.04;
}

.hero-sub {
    max-width: 670px;
    margin: 24px 0 0;
    color: #ced9e8;
    font-size: clamp(17px, 2.4vw, 20px);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 750;
    text-align: center;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--navy);
    background: linear-gradient(120deg, #7cecff, var(--cyan));
    box-shadow: 0 15px 38px rgba(25, 211, 255, 0.22);
}

.button--secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-notice {
    max-width: 680px;
    margin: 18px 0 0;
    color: #9fb0c5;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    width: min(100%, 560px);
    min-height: 520px;
    margin-inline: auto;
}

.person-photo {
    display: block;
    height: 580px;
    overflow: hidden;
    background: #18324e;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.visual-card {
    position: absolute;
    right: 12px;
    bottom: 18px;
    left: 12px;
    padding: 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    box-shadow: 0 20px 45px rgba(7, 21, 39, 0.28);
    backdrop-filter: blur(14px);
}

.visual-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.visual-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.35;
}

.visual-card ul {
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 13px;
    list-style: none;
}

.visual-card li {
    position: relative;
    padding-inline-start: 19px;
}

.visual-card li::before {
    position: absolute;
    top: 0.65em;
    inset-inline-start: 0;
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    content: "";
}

.principles {
    position: relative;
    z-index: 3;
    padding: 0 0 26px;
    background: var(--surface-soft);
}

.principle-grid {
    display: grid;
    gap: 14px;
    padding-top: 26px;
}

.principle-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.principle-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    background: #f1eaff;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 850;
}

.principle-card h2,
.principle-card p {
    margin: 0;
}

.principle-card h2 {
    font-size: 16px;
}

.principle-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 78px 0;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading .section-label {
    justify-content: center;
}

.section-heading h2,
.disclosure-copy h2,
.safety-copy h2 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.section-heading p,
.disclosure-copy > p,
.safety-copy > p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.process {
    background: #fff;
}

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

.step-card {
    position: relative;
    min-height: 250px;
    padding: 68px 26px 28px;
    overflow: hidden;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.step-card::after {
    position: absolute;
    right: -35px;
    bottom: -35px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 68%);
    content: "";
}

.step-number {
    position: absolute;
    top: 24px;
    inset-inline-start: 26px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--navy);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.step-card h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.025em;
}

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

.disclosure {
    background: var(--surface-soft);
}

.disclosure-grid {
    display: grid;
    gap: 38px;
}

.disclosure-copy {
    align-self: start;
}

.text-link {
    display: inline-flex;
    margin-top: 20px;
    color: var(--purple-dark);
    font-weight: 750;
}

.disclosure-list {
    display: grid;
    gap: 12px;
}

.disclosure-list article {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.disclosure-list article > span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--purple-dark);
    background: #f1eaff;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
}

.disclosure-list h3,
.disclosure-list p {
    margin: 0;
}

.disclosure-list h3 {
    font-size: 16px;
}

.disclosure-list p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.safety {
    color: #fff;
    background: linear-gradient(130deg, var(--navy), #102a48);
}

.safety-inner {
    display: grid;
    gap: 34px;
}

.section-label--light {
    color: var(--cyan);
}

.safety-copy > p {
    color: #bac9da;
}

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

.safety-list li {
    position: relative;
    padding-block: 16px;
    padding-inline: 48px 18px;
    color: #e4ebf4;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    font-size: 14px;
}

.safety-list li::before {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: var(--cyan);
    border-radius: 50%;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.faq {
    background: #fff;
}

.faq-container {
    max-width: 850px;
}

.faq details {
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    min-height: 76px;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    color: var(--purple);
    content: "+";
    font-size: 26px;
    font-weight: 400;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    margin: -4px 0 24px;
    color: var(--muted);
    font-size: 14px;
}

.cta-band {
    padding: 64px 0 30px;
    color: #fff;
    background: linear-gradient(115deg, var(--purple-dark), var(--purple));
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.cta-inner h2,
.cta-inner p {
    margin: 0;
}

.cta-inner h2 {
    font-size: clamp(28px, 5vw, 44px);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.cta-inner p {
    max-width: 660px;
    margin-top: 12px;
    color: #e6dcff;
}

.button--light {
    min-width: 210px;
    color: var(--purple-dark);
    background: #fff;
}

.cta-footnote {
    margin-top: 28px;
    color: #d8c9ff;
    font-size: 12px;
}

.site-footer {
    padding: 54px 0 24px;
    color: #b3c0d0;
    background: #040c16;
}

.footer-grid {
    display: grid;
    gap: 30px;
}

.footer-brand p {
    max-width: 480px;
    margin: 16px 0 0;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    align-content: start;
    font-size: 13px;
    font-weight: 650;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

/* Legal and contact pages */
.legal-page {
    min-height: 100vh;
    background: var(--surface-soft);
}

.legal-header {
    color: #fff;
    background: var(--navy);
}

.legal-header .header-inner {
    min-height: 72px;
}

.legal-back {
    color: #cfe1f4;
    font-size: 13px;
    font-weight: 700;
}

.legal-main {
    width: min(100% - 36px, 850px);
    margin: 0 auto;
    padding: 58px 0 80px;
}

.legal-card {
    padding: clamp(24px, 5vw, 54px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.legal-card h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 50px);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.legal-updated {
    margin: 12px 0 32px;
    color: var(--muted);
    font-size: 13px;
}

.legal-card h2 {
    margin: 32px 0 8px;
    font-size: 21px;
    letter-spacing: -0.02em;
}

.legal-card p,
.legal-card li {
    color: #48586b;
    font-size: 14px;
}

.legal-card ul {
    padding-inline-start: 22px;
}

.legal-card a {
    color: var(--purple-dark);
    font-weight: 700;
}

.contact-options {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-option {
    padding: 20px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.contact-option strong,
.contact-option span {
    display: block;
}

.contact-option span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

@media (min-width: 600px) {
    .hero-actions {
        flex-direction: row;
    }

    .button {
        width: auto;
    }

    .principle-grid,
    .step-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 780px) {
    .header-nav {
        display: flex;
    }

    .lang-btn {
        padding-inline: 14px;
    }

    .safety-inner {
        grid-template-columns: 0.82fr 1.18fr;
        align-items: start;
    }

    .cta-inner,
    .footer-grid {
        grid-template-columns: 1fr auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer-grid {
        display: grid;
        align-items: start;
    }
}

@media (min-width: 960px) {
    .hero {
        padding: 82px 0 96px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.75fr);
        gap: 70px;
    }

    .principles {
        padding-bottom: 0;
    }

    .principle-grid {
        position: relative;
        top: -38px;
        padding-top: 0;
    }

    .section {
        padding: 104px 0;
    }

    .disclosure-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 72px;
    }

    .disclosure-copy {
        position: sticky;
        top: 110px;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .header-inner {
        min-height: 64px;
        gap: 10px;
    }

    .brand-name {
        display: none;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding-top: 48px;
    }

    .hero-visual,
    .person-photo {
        min-height: 0;
        height: 490px;
    }

    .visual-card {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* 2026-09 engaging opportunity theme */
.hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(25, 211, 255, 0.24), transparent 30%),
        radial-gradient(circle at 8% 72%, rgba(96, 165, 250, 0.24), transparent 32%),
        linear-gradient(140deg, #1d0b46 0%, #4c1d95 50%, #6d28d9 100%);
}

.hero::after {
    background: radial-gradient(circle, rgba(25, 211, 255, 0.28), transparent 68%);
}

.button--telegram {
    color: #fff;
    background: linear-gradient(135deg, #2aabee, #168bd2);
    box-shadow: 0 15px 38px rgba(42, 171, 238, 0.34);
}

.button--telegram:hover,
.button--telegram:focus-visible {
    box-shadow: 0 18px 44px rgba(42, 171, 238, 0.45);
}

.telegram-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.cta-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 12px;
}

.cta-actions .button {
    width: 100%;
}

@media (min-width: 600px) {
    .cta-actions {
        width: auto;
        flex-direction: row;
    }

    .cta-actions .button {
        width: auto;
    }
}
