:root {
    --bg: #0b1220;
    --bg-elevated: #111b2e;
    --surface: rgba(17, 27, 46, 0.78);
    --surface-strong: #17243c;
    --text-main: #f4f7ff;
    --text-muted: #b8c4e4;
    --accent: #64f4d1;
    --accent-2: #8ca8ff;
    --warm: #ffb971;
    --border: rgba(255, 255, 255, 0.12);
    --shadow: 0 18px 45px rgba(4, 8, 16, 0.4);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.7;
    background:
        radial-gradient(circle at 10% -5%, rgba(100, 244, 209, 0.15), transparent 38%),
        radial-gradient(circle at 90% 5%, rgba(140, 168, 255, 0.2), transparent 42%),
        var(--bg);
    color: var(--text-main);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
    color: var(--warm);
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11, 18, 32, 0.82);
    border-bottom: 1px solid var(--border);
}

.site-nav {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0.9rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.brand {
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-main);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 0.9rem;
}

.site-nav ul a {
    color: var(--text-muted);
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}

.site-nav ul a:hover,
.site-nav ul a.is-active {
    color: var(--text-main);
    border-bottom-color: var(--accent);
}


.nav-pages {
    flex: 0;
    justify-content: flex-start;
}

.nav-cta {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #09111f;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
}


.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

.brand,
.site-nav ul a,
.nav-cta,
.section-links a,
.course-link,
.social-links a,
#contact-info li a,
.inline-icon-label {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.inline-icon-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 0.15rem;
}

main {
    max-width: 1150px;
    margin: 0 auto;
    padding: 1rem 1.2rem 3rem;
}

.section {
    margin-top: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(1.4rem, 3vw, 2.3rem);
}

.section-alt {
    background: rgba(255, 255, 255, 0.055);
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h2 {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    margin-bottom: 1.2rem;
}

h3 {
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.76rem;
    font-weight: 700;
}

#hero {
    background:
        linear-gradient(120deg, rgba(100, 244, 209, 0.09), rgba(140, 168, 255, 0.2)),
        var(--surface-strong);
}

.hero-lead {
    max-width: 700px;
    color: var(--text-muted);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr minmax(220px, 320px);
    gap: 1rem;
    align-items: end;
}

.hero-trust {
    position: relative;
    border: 1px solid rgba(123, 164, 255, 0.38);
    background: linear-gradient(155deg, rgba(15, 27, 49, 0.95) 0%, rgba(11, 22, 42, 0.96) 58%, rgba(8, 18, 35, 0.98) 100%);
    border-radius: 18px;
    padding: 1rem 1rem 0.9rem;
    box-shadow:
        inset 0 1px 0 rgba(180, 209, 255, 0.12),
        0 14px 36px rgba(8, 14, 30, 0.45),
        0 0 0 1px rgba(123, 164, 255, 0.12);
    overflow: hidden;
}

.hero-trust::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 100% 0%, rgba(100, 244, 209, 0.12), transparent 52%);
}

.hero-trust-value {
    font-size: clamp(1.28rem, 2.4vw, 1.75rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 0 16px rgba(100, 244, 209, 0.33);
}

.hero-trust-text {
    margin: 0.35rem 0 0;
    color: #ecf3ff;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
}

.hero-trust-platforms {
    margin: 0.6rem 0 0;
    color: #d4e2ff;
    font-size: 0.87rem;
}

.hero-trust-since {
    margin: 0.55rem 0 0;
    color: var(--text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.section-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.section-links a {
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.84rem;
}

.section-links a:hover,
.section-links a.is-active {
    color: var(--text-main);
    border-color: rgba(100, 244, 209, 0.5);
    background: rgba(100, 244, 209, 0.1);
    transform: translateY(-1px);
}

.cta-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    line-height: 1.1;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cta-button {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #09111f;
}

.cta-button:hover,
.cta-button:focus-visible {
    color: #09111f;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(100, 244, 209, 0.28);
}

.ghost-button {
    border-color: var(--border);
    color: var(--text-main);
}

.ghost-button:hover,
.ghost-button:focus-visible {
    color: var(--text-main);
    border-color: rgba(100, 244, 209, 0.55);
    background: rgba(100, 244, 209, 0.14);
    transform: translateY(-2px);
}

.cta-button .icon,
.ghost-button .icon {
    width: 0.95em;
    height: 0.95em;
    transform: translateY(0.02em);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 244, 209, 0.45);
    box-shadow: 0 14px 30px rgba(7, 13, 25, 0.35);
}

.metric-value {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.1;
}

.metric-label {
    margin-bottom: 0;
    color: var(--text-muted);
    display: inline-flex;
    align-items: flex-start;
    gap: 0.42rem;
    line-height: 1.35;
}

.metric-label .icon {
    width: 0.95em;
    height: 0.95em;
    margin-top: 0.18em;
    opacity: 0.9;
}


.section-intro {
    color: var(--text-muted);
    max-width: 760px;
}

.featured-achievements {
    background:
        linear-gradient(160deg, rgba(140, 168, 255, 0.13), rgba(100, 244, 209, 0.1)),
        var(--surface);
}

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

.achievement-card {
    background: rgba(8, 14, 26, 0.45);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    border-color: rgba(140, 168, 255, 0.45);
    box-shadow: 0 14px 30px rgba(7, 13, 25, 0.35);
}

.achievement-card h3 {
    font-size: 1.06rem;
    margin-bottom: 0.55rem;
}

.achievement-card p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.achievement-tag {
    margin: 0 0 0.45rem;
    color: var(--warm);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

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

.playbook-step {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.playbook-step:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 244, 209, 0.45);
}

.playbook-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.62rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(100, 244, 209, 0.6);
    font-size: 1.1rem;
}

.playbook-step p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    position: relative;
    padding: 0.9rem 0.9rem 0.9rem 1.1rem;
    border-left: 3px solid var(--accent-2);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 10px;
}

.timeline-item p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.skills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.skill-chip {
    background: rgba(100, 244, 209, 0.1);
    border: 1px solid rgba(100, 244, 209, 0.4);
    color: #cdfff4;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.course-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.course-card:hover,
.course-card:focus-within {
    transform: translateY(-3px);
    border-color: rgba(100, 244, 209, 0.5);
}

.course-content {
    padding: 1rem;
    flex: 1;
}

.course-meta {
    margin: 0;
    color: var(--warm);
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.course-content p {
    color: var(--text-muted);
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    margin: 0 1rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(140, 168, 255, 0.42);
    background: rgba(140, 168, 255, 0.1);
    color: var(--text-main);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.course-link:hover,
.course-link:focus-visible {
    border-color: rgba(100, 244, 209, 0.58);
    background: rgba(100, 244, 209, 0.16);
    color: #f8fcff;
    transform: translateX(2px);
}

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

blockquote {
    margin: 0;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: #e8efff;
}

.story-quote {
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--accent);
}

.philosophy-card {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 600;
    color: #e6f0ff;
}

blockquote::before {
    content: "“";
    font-size: 1.8rem;
    color: var(--accent);
    line-height: 0;
    margin-right: 0.3rem;
}

cite {
    display: block;
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.9rem;
}

#about-content ul {
    padding-left: 1rem;
}

#contact-form,
#contact-hero {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
    color: var(--text-main);
    padding: 0.65rem 0.75rem;
}

.form-group textarea {
    min-height: 145px;
    resize: vertical;
}

#contact-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    padding: 0;
}

#contact-info li a {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}

footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding: 1.4rem 1rem 2rem;
}

.social-links {
    margin-top: 0.6rem;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.social-links a {
    color: var(--text-main);
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.social-links a:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.more-courses-note {
    color: var(--text-muted);
    margin-top: 1rem;
}


.now-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
}

.now-list li + li {
    margin-top: 0.25rem;
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .playbook-step:not(:last-child)::after {
        content: "";
    }
}

@media (max-width: 900px) {
    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-nav ul {
        order: 3;
    }

    .nav-cta {
        order: 2;
    }
}

@media (max-width: 640px) {
    .site-nav ul {
        gap: 0.6rem;
    }

    .site-nav a {
        font-size: 0.82rem;
    }
}

.story-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem;
}

.story-year {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
}

.story-year h3 {
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.story-year p {
    color: var(--text-muted);
    margin: 0;
}

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

.skill-group {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}

.skill-group h3 {
    margin-bottom: 0.7rem;
}


.skills-groups-rich {
    gap: 1rem;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-badge {
    display: inline-flex;
    line-height: 0;
}

.skill-badge img {
    max-width: 100%;
    height: auto;
}


.avatar-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    margin-right: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: #09111f;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
