/* =========================================================
   one.css  -  single stylesheet for the whole workshop site
   (landing page, booking form, thanks page, test page)
========================================================= */

:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary: #2563eb;
    --accent: #22c55e;
    --yellow: #fbbf24;

    --dark: #080a12;
    --dark-soft: #10131f;
    --card: #141827;
    --card-light: #1b2032;

    --text: #f8fafc;
    --muted: #a7afc3;
    --border: rgba(255,255,255,.09);

    --gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --gradient-green: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);

    --radius-lg: 1.5rem;
    --radius-md: 1rem;

    --shadow: 0 1.5rem 4rem rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(124,58,237,.15), transparent 30rem),
        radial-gradient(circle at 90% 10%, rgba(37,99,235,.12), transparent 30rem),
        var(--dark);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { text-decoration: none; }

.container { max-width: 75rem; }


/* ---------------- NAVBAR ---------------- */

.navbar-custom {
    background: rgba(8,10,18,.78);
    backdrop-filter: blur(1rem);
    border-bottom: .0625rem solid var(--border);
}

.brand { font-size: 1.15rem; font-weight: 800; color: #fff; }
.brand span { color: #a78bfa; }

.nav-link { color: #cbd5e1 !important; font-size: .95rem; font-weight: 500; }
.nav-link:hover { color: #fff !important; }


/* ---------------- BUTTONS ---------------- */

.btn-main {
    background: var(--gradient);
    border: 0;
    color: #fff;
    padding: .9rem 1.35rem;
    border-radius: .8rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 .75rem 2rem rgba(124,58,237,.25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-main:hover {
    color: #fff;
    transform: translateY(-.15rem);
    box-shadow: 0 1rem 2.5rem rgba(124,58,237,.4);
}

.btn-main:disabled { opacity: .7; transform: none; }

.btn-outline-light-custom {
    border: .0625rem solid rgba(255,255,255,.2);
    color: #fff;
    padding: .85rem 1.3rem;
    border-radius: .8rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-outline-light-custom.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-outline-light-custom:hover { background: rgba(255,255,255,.08); color: #fff; }


/* ---------------- HERO ---------------- */

.hero { position: relative; overflow: hidden; padding: 7rem 0 5rem; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    border: .0625rem solid rgba(167,139,250,.3);
    background: rgba(124,58,237,.1);
    color: #c4b5fd;
    border-radius: 5rem;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.4rem, 7vw, 4.7rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 900;
    margin-bottom: 1.4rem;
}

.gradient-text {
    background: linear-gradient(90deg, #a78bfa, #60a5fa, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 42rem;
    margin-bottom: 1.75rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    color: #cbd5e1;
    font-size: .9rem;
}

.hero-trust i { color: #22c55e; }

.hero-visual { position: relative; margin-top: 3rem; }

.editor-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
    border: .0625rem solid var(--border);
    border-radius: 1.5rem;
    padding: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.editor-screen {
    aspect-ratio: 16 / 10;
    border-radius: 1rem;
    background: linear-gradient(135deg, #172554, #312e81 50%, #111827);
    position: relative;
    overflow: hidden;
}

.editor-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 25%, rgba(96,165,250,.55), transparent 25%);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--primary);
    font-size: 1.4rem;
}

.timeline { margin-top: .75rem; display: flex; gap: .4rem; }
.timeline span { height: .45rem; border-radius: 1rem; background: #7c3aed; }
.timeline span:nth-child(1) { width: 20%; }
.timeline span:nth-child(2) { width: 35%; background: #2563eb; }
.timeline span:nth-child(3) { width: 15%; background: #22c55e; }
.timeline span:nth-child(4) { width: 30%; background: #475569; }

.floating-card {
    position: absolute;
    background: rgba(20,24,39,.95);
    border: .0625rem solid var(--border);
    padding: .9rem 1rem;
    border-radius: .9rem;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,.35);
}

.floating-card small { display: block; color: var(--muted); font-size: .72rem; }
.floating-card strong { font-size: 1rem; }
.floating-one { left: -.75rem; bottom: 4rem; }
.floating-two { right: -.75rem; top: 2rem; }


/* ---------------- SECTIONS ---------------- */

.section { padding: 5.5rem 0; }

.section-label {
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .75rem;
    font-weight: 800;
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}

.section-description { color: var(--muted); max-width: 42rem; margin-bottom: 2.5rem; }


/* ---------------- STATS ---------------- */

.stats-section {
    border-top: .0625rem solid var(--border);
    border-bottom: .0625rem solid var(--border);
    background: rgba(255,255,255,.015);
}

.stat { padding: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; }
.stat span { color: var(--muted); font-size: .9rem; }


/* ---------------- FEATURE CARDS ---------------- */

.feature-card {
    height: 100%;
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
    border: .0625rem solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .2s ease, border-color .2s ease;
}

.feature-card:hover { transform: translateY(-.3rem); border-color: rgba(167,139,250,.35); }

.feature-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .9rem;
    background: rgba(124,58,237,.15);
    color: #c4b5fd;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}

.feature-card h3 { font-size: 1.2rem; font-weight: 750; margin-bottom: .6rem; }
.feature-card p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }


/* ---------------- MENTOR ---------------- */

.mentor-box {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(37,99,235,.08));
    border: .0625rem solid rgba(167,139,250,.2);
}

.mentor-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.mentor-item { display: flex; align-items: flex-start; gap: .8rem; color: #dbe4f2; }
.mentor-item i { color: #22c55e; font-size: 1.1rem; margin-top: .15rem; }


/* ---------------- EARNING ---------------- */

.earning-box {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #101b17, #101827);
    border: .0625rem solid rgba(34,197,94,.2);
}

.earning-box::after {
    content: "";
    position: absolute;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background: rgba(34,197,94,.08);
    right: -5rem;
    top: -5rem;
}

.earning-number { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #4ade80; }


/* ---------------- WHY PREMIUM ---------------- */

.premium-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: #111522;
    border: .0625rem solid var(--border);
}

.premium-number {
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124,58,237,.18);
    color: #c4b5fd;
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.premium-card h3 { font-size: 1.05rem; font-weight: 750; }
.premium-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }


/* ---------------- PROCESS ---------------- */

.process-step { position: relative; padding: 1.5rem; }

.process-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--gradient);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.process-step h3 { font-size: 1.15rem; font-weight: 750; }
.process-step p { color: var(--muted); font-size: .92rem; }


/* ---------------- CTA ---------------- */

.cta-section { padding: 5rem 0; }

.cta-box {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 6vw, 4rem);
    text-align: center;
    border-radius: 2rem;
    background: linear-gradient(135deg, #4c1d95, #1d4ed8);
    box-shadow: 0 2rem 5rem rgba(37,99,235,.2);
}

.cta-box::before {
    content: "";
    position: absolute;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -10rem;
    left: -5rem;
}

.cta-box h2 { position: relative; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; font-weight: 900; }

.cta-box p {
    position: relative;
    max-width: 40rem;
    margin: 1rem auto 1.5rem;
    color: rgba(255,255,255,.8);
    font-size: 1rem;
}


/* ---------------- BOOKING FORM ---------------- */

.booking-section { padding: 5rem 0 6rem; background: rgba(255,255,255,.015); }

.booking-card {
    max-width: 52rem;
    margin: auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #10131f;
    border: .0625rem solid var(--border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: .5rem;
    color: #e5e7eb;
    font-size: .9rem;
    font-weight: 650;
}

.form-control,
.form-select {
    min-height: 3.1rem;
    border: .0625rem solid rgba(255,255,255,.1);
    background: #171b29;
    color: #fff;
    border-radius: .7rem;
    font-size: 1rem;
}

.form-control::placeholder { color: #6b7280; }

.form-control:focus,
.form-select:focus {
    background: #171b29;
    color: #fff;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 .2rem rgba(124,58,237,.15);
}

.form-select:disabled { opacity: .6; }
.form-select option { background: #171b29; color: #fff; }

/* error box */
.form-errors {
    margin-bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: .8rem;
    background: rgba(239,68,68,.1);
    border: .0625rem solid rgba(239,68,68,.35);
    color: #fecaca;
    font-size: .9rem;
}

.form-errors strong { display: block; margin-bottom: .35rem; color: #fff; }
.form-errors ul { margin: 0; padding-left: 1.1rem; }

/* workshop TYPE cards (Basic / Advance) */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }

.type-card { display: block; margin: 0 !important; cursor: pointer; position: relative; }

.type-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.type-body {
    display: block;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: #171b29;
    border: .0625rem solid rgba(255,255,255,.1);
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.type-card:hover .type-body { border-color: rgba(167,139,250,.45); }

.type-card input:checked + .type-body {
    border-color: #8b5cf6;
    background: rgba(124,58,237,.14);
    box-shadow: 0 0 0 .15rem rgba(124,58,237,.25);
}

.type-card input:focus-visible + .type-body { outline: .15rem solid #a78bfa; outline-offset: .15rem; }

.type-name { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #c4b5fd; }
.type-price { display: block; font-size: 1.45rem; font-weight: 850; color: #fff; line-height: 1.25; margin-top: .15rem; }
.type-price small { font-size: .95rem; font-weight: 700; color: #4ade80; }
.type-note { display: block; margin-top: .3rem; font-size: .78rem; color: var(--muted); font-weight: 400; }

.selected-workshop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: .8rem;
    background: rgba(124,58,237,.1);
    border: .0625rem solid rgba(124,58,237,.2);
}

.selected-workshop span { display: block; color: var(--muted); font-size: .75rem; }
.selected-workshop strong { font-size: .95rem; }
.selected-workshop .sel-type { color: #c4b5fd; font-size: .75rem; }
.selected-workshop .sel-price { text-align: right; white-space: nowrap; color: #4ade80; }

.payment-box,
.captcha-box {
    padding: 1.25rem;
    margin-top: 1.25rem;
    background: #151925;
    border: .0625rem solid var(--border);
    border-radius: 1rem;
}

.payment-title { display: flex; gap: .8rem; align-items: flex-start; }

.payment-number {
    flex: 0 0 auto;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .6rem;
    background: rgba(124,58,237,.16);
    color: #c4b5fd;
    font-size: .75rem;
    font-weight: 800;
}

.payment-title h3 { margin: 0; font-size: 1rem; font-weight: 750; }
.payment-title p { margin: .25rem 0 0; color: var(--muted); font-size: .8rem; }

.pay-amount {
    margin-top: 1rem;
    padding: .6rem .9rem;
    border-radius: .7rem;
    background: rgba(34,197,94,.08);
    border: .0625rem solid rgba(34,197,94,.22);
    color: #bbf7d0;
    font-size: .85rem;
    text-align: center;
}

.pay-amount strong { color: #4ade80; font-size: 1.05rem; }

.qr-area { display: flex; justify-content: center; padding: 1.5rem 0; }
.qr-frame { padding: .75rem; background: #fff; border-radius: .8rem; }
.qr-image { display: block; width: 100%; height: auto; object-fit: contain; }

.qr-instructions { text-align: center; color: var(--muted); }
.qr-instructions strong { display: block; color: #fff; font-size: 1rem; }
.qr-instructions p { margin: .25rem 0; font-size: .85rem; }
.qr-instructions span { font-size: .75rem; color: #a78bfa; }

.paypal-card { margin-top: 1.25rem; padding: 1.5rem; text-align: center; background: #fff; color: #111827; border-radius: 1rem; }
.paypal-logo { font-size: 1.6rem; font-weight: 800; color: #003087; margin-bottom: 1rem; }
.paypal-logo strong { color: #009cde; }
.paypal-payment-text small { display: block; color: #64748b; font-size: .75rem; margin-bottom: .5rem; }
.paypal-payment-text img { max-width: 100%; height: auto; }

.paypal-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: .35rem .7rem;
    border-radius: 5rem;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .7rem;
    font-weight: 700;
}

.upload-area {
    margin-top: 1.25rem;
    min-height: 9rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border: .0625rem dashed rgba(167,139,250,.4);
    border-radius: .9rem;
    background: rgba(124,58,237,.05);
}

.upload-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124,58,237,.15);
    color: #c4b5fd;
    font-size: 1.2rem;
    margin-bottom: .6rem;
}

.upload-area strong { font-size: .9rem; }
.upload-area span:last-child { color: var(--muted); font-size: .75rem; margin-top: .25rem; }

#payment_screenshot { display: none; }

.captcha-row { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; }

.captcha-image {
    height: 3rem;
    flex: 1;
    max-width: 18rem;
    object-fit: cover;
    border-radius: .5rem;
    background: #fff;
}

.captcha-refresh {
    width: 3rem;
    height: 3rem;
    border: 0;
    border-radius: .6rem;
    background: rgba(124,58,237,.15);
    color: #c4b5fd;
    font-size: 1.2rem;
}

.refund-note {
    margin-top: 1.25rem;
    padding: .85rem 1rem;
    border-radius: .8rem;
    background: rgba(251,191,36,.08);
    border: .0625rem solid rgba(251,191,36,.28);
    color: #fde68a;
    font-size: .82rem;
}

.btn-submit { width: 100%; margin-top: 1.5rem; padding: 1rem; font-size: 1rem; }
.secure-note { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .75rem; }


/* ---------------- FOOTER + DISCLAIMER ---------------- */

footer {
    padding: 2rem 0 5rem;
    border-top: .0625rem solid var(--border);
    color: var(--muted);
    font-size: .8rem;
}

.disclaimer {
    max-width: 62rem;
    margin: 1.75rem auto 0;
    padding: 1.25rem 1.4rem;
    text-align: left;
    border-radius: 1rem;
    background: rgba(255,255,255,.025);
    border: .0625rem solid var(--border);
    font-size: .72rem;
    line-height: 1.65;
    color: #8c94a9;
}

.disclaimer h4 {
    margin: 0 0 .6rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a3abc0;
}

.disclaimer ul { margin: 0; padding-left: 1.1rem; }
.disclaimer li { margin-bottom: .35rem; }
.disclaimer li strong { color: #b4bbcd; font-weight: 700; }
.disclaimer .no-refund { color: #fcd34d; }


/* ---------------- THANKS + TEST PAGES ---------------- */

.plain-page { min-height: 100vh; }
.plain-main { padding: 8rem 0 5rem; }

.thanks-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-green);
    color: #fff;
    font-size: 2.2rem;
    box-shadow: 0 .75rem 2rem rgba(34,197,94,.3);
}

.thanks-icon-warn { background: linear-gradient(135deg, #d97706, #fbbf24); box-shadow: 0 .75rem 2rem rgba(251,191,36,.25); }

.booking-id-box {
    margin: 0 auto 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(124,58,237,.1);
    border: .0625rem solid rgba(124,58,237,.25);
}

.booking-id-box span { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.booking-id-box strong { display: block; font-size: clamp(.8rem, 3.2vw, 1.05rem); word-break: break-all; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #e9d5ff; }

.thanks-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border: .0625rem solid var(--border); border-radius: 1rem; overflow: hidden; }
.thanks-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-bottom: .0625rem solid var(--border); font-size: .9rem; }
.thanks-list li:last-child { border-bottom: 0; }
.thanks-list span { color: var(--muted); }
.thanks-list strong { text-align: right; }

.mail-result {
    margin: 1.25rem 0 0;
    padding: 1rem;
    max-height: 18rem;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    border-radius: .8rem;
    font-size: .78rem;
    background: #0b0e18;
    border: .0625rem solid var(--border);
    color: #cbd5e1;
}

.mail-result.is-ok  { border-color: rgba(34,197,94,.45); color: #bbf7d0; }
.mail-result.is-bad { border-color: rgba(239,68,68,.45); color: #fecaca; }


/* ---------------- MOBILE CTA ---------------- */

.mobile-cta { display: none; }


/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 991.98px) {
    .hero { padding-top: 5rem; }
    .hero-visual { margin-top: 2rem; }
    .floating-one { left: .5rem; }
    .floating-two { right: .5rem; }
}

@media (max-width: 767.98px) {
    body { padding-bottom: 4.5rem; }
    .section { padding: 4rem 0; }
    .hero { padding: 4.5rem 0 3.5rem; }
    .hero-title { font-size: clamp(2.35rem, 12vw, 3.3rem); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { flex-direction: column; gap: .55rem; }
    .hero-visual { margin-top: 2rem; }
    .floating-card { padding: .7rem .8rem; }
    .floating-one { left: -.25rem; bottom: 2rem; }
    .floating-two { right: -.25rem; top: 1rem; }
    .floating-card strong { font-size: .85rem; }
    .stat { border-bottom: .0625rem solid var(--border); }
    .stat:last-child { border-bottom: 0; }

    .type-grid { gap: .6rem; }
    .type-body { padding: .85rem .8rem; }
    .type-price { font-size: 1.15rem; }

    .selected-workshop { align-items: flex-start; flex-direction: column; }
    .selected-workshop .sel-price { text-align: left; }
    .booking-card { border-radius: 1rem; }
    .plain-main { padding-top: 6rem; }

    .mobile-cta {
        position: fixed;
        display: flex;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        padding: .65rem .75rem;
        background: rgba(8,10,18,.95);
        backdrop-filter: blur(1rem);
        border-top: .0625rem solid var(--border);
    }

    .mobile-cta .btn { width: 100%; }
}

@media (min-width: 768px) {
    .mobile-cta { display: none !important; }
}
