/* ═══════════════════════════════════════════════════════════════
   Skillip — Light SaaS Theme (Completely Different from Soloety)
   Base: cream-white, accent indigo+purple, rounded cards, playfulness
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg: #FAFAFF;
    --bg-2: #F5F5FF;
    --panel: #FFFFFF;
    --panel-2: #FAFAFF;
    --line: #E0E7FF;
    --line-soft: #EEF2FF;
    --fg: #1E1B4B;
    --fg-soft: #4338CA;
    --muted: #6366F1;
    --faint: #94A3B8;
    --acc: #6366F1;
    --acc-2: #4F46E5;
    --acc-soft: #EEF2FF;
    --acc-glow: rgba(99, 102, 241, .25);
    --violet: #A855F7;
    --pink: #EC4899;
    --amber: #F59E0B;
    --green: #10B981;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow-sm: 0 2px 8px rgba(99,102,241,.06);
    --shadow-md: 0 8px 24px rgba(99,102,241,.10);
    --shadow-lg: 0 20px 50px rgba(99,102,241,.14);
    --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ── Decorative blob background (light mode, pastel) ── */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
}
.blob-1 { width: 500px; height: 500px; top: -180px; right: -140px;
    background: radial-gradient(circle, rgba(168,85,247,.25), transparent 65%); }
.blob-2 { width: 450px; height: 450px; bottom: -160px; left: -120px;
    background: radial-gradient(circle, rgba(99,102,241,.18), transparent 65%); }
.blob-3 { width: 350px; height: 350px; top: 45%; right: 15%;
    background: radial-gradient(circle, rgba(236,72,153,.12), transparent 65%); }

main, .nav, footer { position: relative; z-index: 1; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 255, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 4px 12px var(--acc-glow); }
.brand-name { font: 800 22px var(--font-display); color: var(--fg); letter-spacing: -.02em; }
.brand-name span { color: var(--acc); }
.brand-tag {
    display: inline-block;
    font: 700 9px Inter, sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--acc);
    background: var(--acc-soft);
    border: 1px solid rgba(99,102,241,.3);
    padding: 3px 9px;
    border-radius: 999px;
    margin-left: 8px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font: 500 14px var(--font-body); color: var(--fg); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--acc); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: 600 15px var(--font-body);
    padding: 13px 26px;
    border-radius: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--acc), var(--acc-2));
    color: #fff;
    box-shadow: 0 8px 24px -8px var(--acc-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px var(--acc-glow); }
.btn-ghost {
    background: var(--panel);
    color: var(--fg);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.btn-block { width: 100%; }
.nav-login {
    background: transparent;
    color: var(--fg);
    border: 1.5px solid var(--line);
    padding: 9px 20px;
    border-radius: 12px;
    font: 600 14px var(--font-body);
    cursor: pointer;
    transition: all .15s;
}
.nav-login:hover { border-color: var(--acc); color: var(--acc); background: var(--acc-soft); }
.nav-apply {
    background: linear-gradient(135deg, var(--acc), var(--acc-2));
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font: 700 14px var(--font-body);
    cursor: pointer;
    transition: all .15s;
}
.nav-apply:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ── Hero ── */
.hero { padding: 84px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font: 600 12.5px var(--font-body);
    color: var(--acc-2);
    background: var(--acc-soft);
    border: 1px solid rgba(99,102,241,.3);
    border-radius: 999px;
    padding: 7px 15px;
    margin-bottom: 20px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .4; transform: scale(.8); } }

.hero h1 {
    font: 800 clamp(38px, 5.4vw, 62px)/1.08 var(--font-display);
    color: var(--fg);
    letter-spacing: -.025em;
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, var(--acc), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lede { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 48ch; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Feature Club Card (right side of hero) ── */
.club-card {
    background: var(--panel);
    border: 1.5px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.club-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acc), var(--violet), var(--pink));
}
.club-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.club-eyebrow { font: 700 10px Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.club-live { display: inline-flex; align-items: center; gap: 6px; font: 700 10.5px Inter, sans-serif; color: #10b981; }
.club-live .ldot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }

.club-members { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.club-avatars { display: flex; }
.club-av {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2.5px solid var(--panel);
    display: grid;
    place-items: center;
    font: 700 13px var(--font-body);
    color: #fff;
    margin-left: -12px;
}
.club-av:first-child { margin-left: 0; }
.club-av.a1 { background: linear-gradient(135deg,#6366f1,#4f46e5); }
.club-av.a2 { background: linear-gradient(135deg,#a855f7,#8b5cf6); }
.club-av.a3 { background: linear-gradient(135deg,#ec4899,#db2777); }
.club-av.a4 { background: linear-gradient(135deg,#f59e0b,#d97706); }
.club-av.more { background: var(--acc-soft); color: var(--acc); font-size: 12px; }

.club-info .n { font: 700 14px var(--font-body); color: var(--fg); }
.club-info .s { font: 400 12px var(--font-body); color: var(--muted); margin-top: 2px; }

.club-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.club-metric {
    background: var(--bg-2);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 14px;
}
.club-metric .l { font: 600 10.5px Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.club-metric .v { font: 800 20px var(--font-display); color: var(--acc-2); margin: 4px 0 2px; }
.club-metric .t { font-size: 11px; color: var(--green); }

.club-session {
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(168,85,247,.06));
    border: 1.5px solid rgba(99,102,241,.3);
    border-radius: 14px;
    padding: 16px;
}
.club-session-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.club-session-badge { display: inline-flex; align-items: center; gap: 6px; font: 700 11px Inter, sans-serif; color: var(--acc-2); }
.club-session-when { font: 700 12px 'JetBrains Mono', monospace; color: var(--violet); }
.club-session-title { font: 600 13.5px var(--font-body); color: var(--fg); margin-bottom: 8px; }
.club-session-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.club-session-meta b { color: var(--fg); font-weight: 600; }

/* ── Sections ── */
section { padding: 72px 0; }
section.tint { background: var(--bg-2); }
.kicker {
    display: inline-block;
    font: 700 11px Inter, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--acc);
    margin-bottom: 14px;
}
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.sec-head h2 { font: 800 clamp(28px,4vw,42px)/1.15 var(--font-display); color: var(--fg); margin-bottom: 14px; letter-spacing: -.02em; }
.sec-head p { color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ── Cards ── */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
    background: var(--panel);
    border: 1.5px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 28px 26px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
    position: relative;
}
.card:hover { transform: translateY(-4px); border-color: var(--acc); box-shadow: var(--shadow-md); }
.card-ic {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 16px;
    background: var(--acc-soft);
    color: var(--acc);
    border: 1px solid rgba(99,102,241,.2);
}
.card-ic.purple { background: rgba(168,85,247,.1); color: var(--violet); border-color: rgba(168,85,247,.2); }
.card-ic.pink { background: rgba(236,72,153,.1); color: var(--pink); border-color: rgba(236,72,153,.2); }
.card-ic.amber { background: rgba(245,158,11,.1); color: var(--amber); border-color: rgba(245,158,11,.2); }
.card-ic.green { background: rgba(16,185,129,.1); color: var(--green); border-color: rgba(16,185,129,.2); }
.card h3 { font: 700 18px var(--font-display); color: var(--fg); margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.tag {
    font: 600 11px Inter, sans-serif;
    color: var(--acc-2);
    background: var(--acc-soft);
    border: 1px solid rgba(99,102,241,.2);
    border-radius: 6px;
    padding: 4px 9px;
}

/* ── Interactive Quiz Widget ── */
.quiz-box {
    background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(168,85,247,.04));
    border: 1.5px solid rgba(99,102,241,.25);
    border-radius: 24px;
    padding: 40px 32px;
    margin-top: 48px;
}
.quiz-header { text-align: center; margin-bottom: 28px; }
.quiz-header h3 { font: 800 24px var(--font-display); color: var(--fg); margin-bottom: 8px; }
.quiz-header p { color: var(--muted); font-size: 14px; }
.quiz-q { font: 700 16px var(--font-display); color: var(--fg); margin: 20px 0 12px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 620px) { .quiz-opts { grid-template-columns: 1fr; } }
.quiz-opt {
    background: var(--panel);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all .18s;
    font: 500 14px var(--font-body);
    color: var(--fg);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quiz-opt:hover { border-color: var(--acc); background: var(--acc-soft); transform: translateY(-2px); }
.quiz-opt.sel { border-color: var(--acc); background: var(--acc-soft); box-shadow: 0 8px 24px -12px var(--acc-glow); }
.quiz-opt .em { font-size: 22px; flex: none; }
.quiz-result {
    display: none;
    background: linear-gradient(135deg, rgba(16,185,129,.1), rgba(99,102,241,.08));
    border: 1.5px solid rgba(16,185,129,.3);
    border-radius: 16px;
    padding: 22px;
    margin-top: 20px;
}
.quiz-result.show { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiz-result .badge-lvl {
    display: inline-block;
    font: 800 28px var(--font-display);
    color: var(--acc-2);
    margin-bottom: 8px;
}
.quiz-result .r-title { font: 700 16px var(--font-display); color: var(--fg); margin-bottom: 6px; }
.quiz-result .r-desc { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Upcoming Clubs Calendar ── */
.club-cal { display: grid; gap: 12px; margin-top: 24px; }
.club-cal-item {
    background: var(--panel);
    border: 1.5px solid var(--line-soft);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: border-color .18s;
}
.club-cal-item:hover { border-color: var(--acc); }
.club-cal-date {
    flex: none;
    width: 56px;
    text-align: center;
    background: var(--acc-soft);
    border-radius: 12px;
    padding: 8px 4px;
}
.club-cal-date .d { font: 800 22px var(--font-display); color: var(--acc-2); line-height: 1; }
.club-cal-date .m { font: 600 10.5px Inter, sans-serif; color: var(--faint); margin-top: 3px; text-transform: uppercase; }
.club-cal-body { flex: 1; min-width: 0; }
.club-cal-title { font: 700 14.5px var(--font-body); color: var(--fg); }
.club-cal-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.club-cal-meta .tutor { color: var(--acc-2); font-weight: 600; }
.club-cal-meta .seats { color: var(--green); font-weight: 600; }
.club-cal-cta {
    background: linear-gradient(135deg, var(--acc), var(--acc-2));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 16px;
    font: 700 12.5px var(--font-body);
    cursor: pointer;
    flex: none;
    transition: all .15s;
    white-space: nowrap;
}
.club-cal-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.club-cal-cta.full { background: var(--line-soft); color: var(--faint); cursor: default; }

/* ── Match Me Widget (progress bar style) ── */
.match-box {
    background: var(--panel);
    border: 1.5px solid var(--line);
    border-radius: 22px;
    padding: 30px;
    margin-top: 44px;
}
.match-bar-wrap { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.match-circle {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: conic-gradient(var(--acc) 0deg, var(--acc) var(--pct, 85%), var(--line-soft) var(--pct, 85%));
    display: grid;
    place-items: center;
    flex: none;
}
.match-circle-inner {
    width: 68px; height: 68px;
    background: var(--panel);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 800 22px var(--font-display);
    color: var(--acc-2);
}
.match-meta { flex: 1; }
.match-meta .m-lbl { font: 600 11px Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.match-meta .m-val { font: 800 20px var(--font-display); color: var(--fg); margin: 4px 0 6px; }
.match-meta .m-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ── Testimonials ── */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .reviews { grid-template-columns: 1fr; } }
.review {
    background: var(--panel);
    border: 1.5px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 26px 24px;
    transition: all .2s;
}
.review:hover { transform: translateY(-3px); border-color: var(--acc); box-shadow: var(--shadow-md); }
.review .stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { font-size: 14px; line-height: 1.65; color: var(--fg); margin-bottom: 16px; }
.review-who { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.review-av {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font: 700 14px var(--font-body);
    color: #fff;
    flex: none;
}
.review-who .n { font: 700 13.5px var(--font-body); color: var(--fg); }
.review-who .r { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── CTA ── */
.cta-box {
    background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(168,85,247,.05));
    border: 1.5px solid rgba(99,102,241,.3);
    border-radius: 28px;
    padding: 52px 40px;
    text-align: center;
    margin-top: 56px;
}
.cta-box h2 { font: 800 clamp(26px,3.4vw,40px)/1.15 var(--font-display); color: var(--fg); margin-bottom: 12px; }
.cta-box p { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto 26px; line-height: 1.65; }

/* ── Reveal ── */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.rv.vis { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }

/* ── Footer ── */
footer {
    background: var(--fg);
    color: #A5B4FC;
    padding: 60px 0 40px;
    margin-top: 80px;
}
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { footer .wrap { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { footer .wrap { grid-template-columns: 1fr; } }
.f-col h4 { font: 700 14px var(--font-display); color: #fff; margin-bottom: 14px; }
.f-col a { display: block; color: #A5B4FC; font-size: 13px; text-decoration: none; padding: 4px 0; transition: color .15s; }
.f-col a:hover { color: #fff; }
.f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.f-brand img { width: 34px; height: 34px; border-radius: 10px; }
.f-brand b { font: 800 20px var(--font-display); color: #fff; }
.f-about { font-size: 13px; color: #A5B4FC; line-height: 1.6; max-width: 38ch; margin-top: 8px; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 24px; text-align: center; color: #818CF8; font-size: 12.5px; }

/* ── Mobile ── */
@media (max-width: 940px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-links { display: none; }
    section { padding: 56px 0; }
}
@media (max-width: 620px) {
    .hero { padding: 60px 0 48px; }
    .hero h1 { font-size: 34px; }
    .quiz-box, .match-box, .cta-box { padding: 26px 20px; }
    .club-cal-item { flex-direction: column; align-items: stretch; text-align: center; }
    .club-cal-date { margin: 0 auto 10px; }
}
