/* ===========================================================
   LOGICUS ACADEMY — Design tokens
   Navy #1B3A57 · Orange #F5941B · Cream #FBF3E3
   Display: Space Grotesk · Body: Inter
=========================================================== */
:root {
    --navy: #1B3A57;
    --navy-dark: #12202E;
    --orange: #F5941B;
    --cream: #FBF3E3;
    --charcoal: #2B2B2B;
    --slate: #5C7A99;
    --amber: #FBC26B;
    --green: #4CAF7D;
    --white: #FFFFFF;

    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-card: 0 10px 30px rgba(27, 58, 87, 0.08);
    --shadow-card-hover: 0 18px 40px rgba(27, 58, 87, 0.14);

    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy);
    margin: 0 0 0.5em;
    line-height: 1.15;
}

p { line-height: 1.65; margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 12px 20px;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245, 148, 27, 0.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-light { display: inline-flex; align-items:center; gap:8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; border: 1.5px solid var(--cream); color: var(--cream); transition: all 0.2s ease; }
.btn-outline-light:hover { background: var(--cream); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); padding: 12px 16px; }
.btn-ghost:hover { color: var(--orange); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; }

/* ============ HEADER ============ */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(27, 58, 87, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}
.logo-mark svg { width: 34px; height: 34px; }
.logo-word em { font-style: normal; color: var(--orange); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav > ul { display: flex; gap: 28px; }
.main-nav > ul a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: 4px 0;
}
.main-nav > ul a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.25s ease;
}
.main-nav > ul a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--navy);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============ HERO ============ */
.hero {
    padding: 72px 0 90px;
    background: linear-gradient(180deg, var(--cream) 0%, #FBF3E3 60%, #ffffff 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 14px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -0.01em;
}
.hero h1 .highlight {
    color: var(--orange);
}

.hero h1 .strike {
    position: relative;
    display: inline-block;
}

.hero h1 .strike::after {
    content: "";
    position: absolute;
    left: -4%;
    right: -4%;
    top: 54%;
    height: 4px;
    background: var(--navy); /* garis coret navy */
    transform: rotate(-4deg);
    border-radius: 999px;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--charcoal);
    max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 26px; }
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    color: var(--navy);
    background: rgba(27,58,87,0.06);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
}
.hero-tagline i { color: var(--orange); font-size: 0.8rem; }

.hero-visual { display: flex; justify-content: center; }
.brain-draw { width: min(420px, 100%); height: auto; }
.brain-draw .stroke-organic,
.brain-draw .stroke-circuit,
.brain-draw .stroke-book {
    stroke-dasharray: 420;
    stroke-dashoffset: 420;
    animation: draw 1.8s ease forwards;
}
.brain-draw .stroke-organic.delay1,
.brain-draw .stroke-circuit.delay1 { animation-delay: 0.5s; stroke-dasharray: 80; stroke-dashoffset: 80; }
.brain-draw .stroke-organic.delay2,
.brain-draw .stroke-circuit.delay2 { animation-delay: 0.7s; stroke-dasharray: 80; stroke-dashoffset: 80; }
.brain-draw .stroke-book { animation-delay: 1.1s; stroke-dasharray: 260; stroke-dashoffset: 260; }
.brain-draw .node { opacity: 0; animation: fadeIn 0.4s ease forwards; animation-delay: 1.6s; }
.brain-draw .node.delay1 { animation-delay: 1.75s; }
.brain-draw .ring { animation: spin 60s linear infinite; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ SECTION GENERIC ============ */
section { padding: 96px 0; }
.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 10px;
}
.section-eyebrow--light { color: var(--amber); }
.section-lead { max-width: 60ch; font-size: 1.05rem; color: var(--slate); }

/* ============ INSIGHT ============ */
.insight { background: var(--white); }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
    margin-top: 48px;
}
.compare-card {
    padding: 36px;
    border-radius: var(--radius-lg);
}
.compare-old { background: #F3EFE6; }
.compare-new { background: var(--navy); }
.compare-new h3, .compare-tag.new-tag { color: var(--white); }
.compare-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(27,58,87,0.08);
    color: var(--navy);
}
.compare-new .compare-tag { background: rgba(245,148,27,0.18); color: var(--amber); }
.compare-new h3 { color: var(--white); }
.compare-new p, .compare-new li { color: #DCE6EF; }
.compare-card ul li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 0.98rem; }
.compare-old li i { color: #B0472A; margin-top: 4px; }
.compare-new li i { color: var(--green); margin-top: 4px; }
.compare-vs {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--slate);
    font-size: 1rem;
    width: 44px; height: 44px;
    border: 2px solid var(--slate);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.divider-circuit { line-height: 0; }
.divider-circuit svg { width: 100%; height: 40px; display: block; }

/* ============ PROGRAMS ============ */
.programs { background: var(--cream); }
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px 26px;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.program-index {
    position: absolute;
    top: 22px; right: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    color: rgba(27,58,87,0.12);
    font-size: 1.8rem;
}
.program-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(245,148,27,0.12);
    color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.program-audience {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 10px;
}
.program-card p:last-child { color: var(--charcoal); font-size: 0.95rem; margin-bottom: 0; }

.program-cta {
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.program-cta h3 { color: var(--white); }
.program-cta p { color: #C9D5E0; margin-bottom: 0; }
.program-cta-arrow {
    align-self: flex-end;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin-top: 18px;
    transition: transform 0.25s ease;
}
.program-cta:hover .program-cta-arrow { transform: translateX(4px); }

/* ============ METHOD ============ */
.method { background: var(--navy); color: var(--cream); }
.method h2 { color: var(--white); }
.method-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.method-visual svg { width: 100%; max-width: 320px; }
.method-copy p { color: #D7E1EA; }
.method-copy em { color: var(--amber); font-style: normal; font-weight: 600; }

/* ============ INSPIRATOR ============ */
.inspirator { background: var(--white); }
.inspirator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.inspirator-card {
    text-align: center;
    padding: 40px 26px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(27,58,87,0.1);
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.inspirator-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.inspirator-mark {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.inspirator-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.inspirator-card p:last-child { color: var(--charcoal); margin-bottom: 0; }

/* ============ TESTIMONI ============ */
.testimoni { background: var(--cream); }
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.testimoni-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    margin: 0;
    box-shadow: var(--shadow-card);
}
.testimoni-card p {
    font-size: 1.02rem;
    color: var(--navy);
    font-style: italic;
}
.testimoni-card footer {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate);
}

/* ============ CTA BAND ============ */
.cta-band { background: var(--orange); color: var(--white); }
.cta-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.cta-form {
    display: grid;
    gap: 12px;
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius-md);
}
.cta-form input, .cta-form select {
    padding: 13px 16px;
    border-radius: 10px;
    border: 1.5px solid #E5DFD2;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
}
.cta-form input:focus, .cta-form select:focus { border-color: var(--orange); outline: none; }
.cta-form .btn { justify-content: center; margin-top: 4px; }

/* ============ FOOTER ============ */
.main-footer { background: var(--navy-dark); color: #A9B7C4; padding-top: 72px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { max-width: 30ch; margin-top: 14px; }
.logo-footer .logo-word { color: var(--white); }
.footer-col h3 {
    color: var(--white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--orange); }
.framework-list li { display: flex; flex-direction: column; gap: 2px; }
.framework-list span { color: var(--orange); font-weight: 700; font-family: var(--font-display); }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.copyright { padding: 24px 0; font-size: 0.85rem; }
.copyright p { margin: 0; }

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .hero-grid, .method-grid, .cta-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; margin-bottom: 20px; }
    .program-grid, .inspirator-grid, .testimoni-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .compare-vs { justify-self: center; }
}

@media (max-width: 760px) {
    .main-nav {
        position: fixed;
        top: 78px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 24px 28px;
        border-bottom: 1px solid rgba(27,58,87,0.08);
        transform: translateY(-130%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .main-nav.is-open { transform: translateY(0); opacity: 1; }
    .main-nav > ul { flex-direction: column; gap: 4px; margin-bottom: 18px; }
    .main-nav > ul a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(27,58,87,0.06); }
    .nav-actions { flex-direction: column; align-items: stretch; }
    .nav-actions .btn { justify-content: center; }
    .nav-toggle { display: flex; }

    section { padding: 64px 0; }
    .program-grid, .inspirator-grid, .testimoni-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
