/*
 * Public home page (resources/views/public/home.blade.php) only.
 * Uses the template's theme variables, so it follows light/dark automatically.
 */

.lp { --gold: var(--color-gold-500); --gold-strong: var(--color-gold-600); --radius: 14px; color: var(--text-primary); }
.lp section { position: relative; }
.lp-wrap { max-width: 1120px; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .lp-wrap { padding-inline: 1.5rem; } }
.lp-section { padding-block: 4.5rem; }
.lp-alt { background: var(--surface-canvas); border-block: 1px solid var(--border-subtle); }

.lp-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-strong); }
.lp-h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.2; margin-top: .5rem; }
@media (min-width: 768px) { .lp-h2 { font-size: 32px; } }
.lp-lead { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin-top: .75rem; max-width: 620px; }
.lp-center { text-align: center; }
.lp-center .lp-lead { margin-inline: auto; }
.lp-gold { color: var(--gold); }

/* ---------- Hero ---------- */
.lp-hero { padding-block: 3rem 4rem; overflow: hidden; }
.lp-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: 1.05fr 1fr; } .lp-hero { padding-block: 4.5rem 5.5rem; } }
.lp-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; margin-top: 1rem; }
@media (min-width: 640px) { .lp-hero h1 { font-size: 46px; } }
.lp-hero h1 .lp-underline { white-space: nowrap; background: linear-gradient(transparent 68%, color-mix(in oklab, var(--gold) 40%, transparent) 68%, color-mix(in oklab, var(--gold) 40%, transparent) 92%, transparent 92%); }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.lp-hero-actions .btn { min-height: 2.9rem; padding-inline: 1.3rem; font-size: 13.5px; }
.lp-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; font-size: 12.5px; color: var(--text-secondary); }
.lp-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.lp-trust i { color: var(--gold-strong); font-size: 15px; }

/* Photo collage with floating cards */
.lp-collage { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; height: 420px; }
@media (min-width: 640px) { .lp-collage { height: 480px; } }
.lp-collage figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35); }
.lp-collage figure:first-child { grid-row: 1 / 3; }
.lp-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.lp-collage figure:hover img { transform: scale(1.06); }
.lp-float { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border-subtle); box-shadow: 0 14px 34px -12px rgb(0 0 0 / .3); font-size: 12px; animation: lp-bob 6s ease-in-out infinite; }
.lp-float strong { display: block; font-size: 12.5px; }
.lp-float small { color: var(--text-tertiary); font-size: 11px; }
.lp-float-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in oklab, var(--gold) 18%, transparent); color: var(--gold-strong); font-size: 16px; }
.lp-float-1 { left: -.5rem; bottom: 1.5rem; width: 230px; }
.lp-float-2 { right: -.5rem; top: 1.25rem; animation-delay: -3s; }
.lp-progress { display: block; height: 6px; border-radius: 99px; background: var(--surface-sunken); overflow: hidden; margin-top: .4rem; }
.lp-progress > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-strong)); transition: width 1.6s cubic-bezier(.2,.7,.2,1) .4s; }
.lp-progress.is-in > span { width: var(--to, 70%); }
@keyframes lp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Highlights strip ---------- */
.lp-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 768px) { .lp-strip { grid-template-columns: repeat(4, 1fr); } }
.lp-strip > div { background: var(--surface-raised); padding: 1.25rem 1.1rem; }
.lp-strip i { font-size: 20px; color: var(--gold-strong); }
.lp-strip strong { display: block; font-family: var(--font-display); font-size: 14px; margin-top: .55rem; }
.lp-strip p { font-size: 12.5px; color: var(--text-secondary); margin-top: .25rem; line-height: 1.5; }

/* ---------- Feature tabs ---------- */
.lp-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.lp-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: 99px; border: 1px solid var(--border-default); background: var(--surface-raised); font-size: 12.5px; font-weight: 600; color: var(--text-secondary); transition: all .2s; }
.lp-tab:hover { color: var(--text-primary); border-color: var(--border-strong); }
.lp-tab[aria-selected="true"] { background: var(--text-primary); border-color: var(--text-primary); color: var(--surface-base); }
.lp-tab:focus-visible, .lp-quiz-option:focus-visible, .lp-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lp-panel { display: grid; gap: 2rem; align-items: center; margin-top: 1.75rem; padding: 1.25rem; border-radius: 18px; background: var(--surface-raised); border: 1px solid var(--border-subtle); }
@media (min-width: 900px) { .lp-panel { grid-template-columns: 1fr 1fr; padding: 1.5rem; } }
.lp-panel[hidden] { display: none; }
.lp-panel.is-showing { animation: lp-fade .45s ease; }
.lp-panel-img { border-radius: 12px; overflow: hidden; aspect-ratio: 3 / 2; }
.lp-panel-img img { width: 100%; height: 100%; object-fit: cover; }
.lp-panel h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.lp-panel p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); margin-top: .6rem; }
.lp-ticks { margin-top: 1rem; display: grid; gap: .55rem; }
.lp-ticks li { display: flex; gap: .55rem; font-size: 13px; list-style: none; margin: 0; }
.lp-ticks i { color: var(--gold-strong); font-size: 16px; flex: none; margin-top: 1px; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Steps ---------- */
.lp-steps { display: grid; gap: 1rem; margin-top: 2.5rem; counter-reset: lp-step; }
@media (min-width: 768px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-steps { grid-template-columns: repeat(5, 1fr); } }
.lp-step { position: relative; padding: 1.4rem 1.2rem 1.3rem; border-radius: var(--radius); background: var(--surface-raised); border: 1px solid var(--border-subtle); transition: transform .25s, box-shadow .25s; }
.lp-step:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgb(0 0 0 / .35); }
.lp-step::before { counter-increment: lp-step; content: counter(lp-step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text-primary); color: var(--surface-base); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.lp-step strong { display: block; font-family: var(--font-display); font-size: 15px; margin-top: .9rem; }
.lp-step p { font-size: 12.5px; line-height: 1.6; color: var(--text-secondary); margin-top: .35rem; }
.lp-step a { color: var(--color-primary-600); font-weight: 600; text-decoration: underline; }
.lp-step code { font-size: 11.5px; padding: .05rem .3rem; border-radius: 4px; background: var(--surface-sunken); }

/* ---------- Quiz ---------- */
.lp-quiz-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .lp-quiz-grid { grid-template-columns: .9fr 1.1fr; } }
.lp-quiz { padding: 1.5rem; border-radius: 18px; background: var(--surface-raised); border: 1px solid var(--border-subtle); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .3); }
.lp-quiz-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-tertiary); font-weight: 600; }
.lp-quiz-dots { display: flex; gap: .35rem; }
.lp-quiz-dots span { width: 22px; height: 5px; border-radius: 99px; background: var(--surface-sunken); transition: background .3s; }
.lp-quiz-dots span.is-done { background: var(--gold); }
.lp-quiz h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 1rem; line-height: 1.35; }
.lp-quiz-options { display: grid; gap: .55rem; margin-top: 1.1rem; }
.lp-quiz-option { display: flex; align-items: center; gap: .7rem; width: 100%; text-align: start; padding: .8rem .95rem; border-radius: 10px; border: 1px solid var(--border-default); background: var(--surface-base); font-size: 13.5px; font-weight: 500; transition: border-color .2s, background .2s, transform .1s; }
.lp-quiz-option:hover:not(:disabled) { border-color: var(--gold); }
.lp-quiz-option:active:not(:disabled) { transform: scale(.99); }
.lp-quiz-option .lp-letter { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--surface-sunken); font-size: 12px; font-weight: 700; }
.lp-quiz-option.is-right { border-color: var(--color-success-500, #16a34a); background: color-mix(in oklab, var(--color-success-500, #16a34a) 12%, var(--surface-base)); }
.lp-quiz-option.is-wrong { border-color: var(--color-danger-500, #dc2626); background: color-mix(in oklab, var(--color-danger-500, #dc2626) 10%, var(--surface-base)); }
.lp-quiz-option:disabled { cursor: default; }
.lp-quiz-feedback { min-height: 3.2rem; margin-top: 1rem; font-size: 13px; line-height: 1.55; color: var(--text-secondary); }
.lp-quiz-feedback strong { color: var(--text-primary); }
.lp-quiz-actions { display: flex; justify-content: flex-end; gap: .5rem; }
.lp-quiz-result { text-align: center; padding-block: 1rem; }
.lp-quiz-result .lp-score { font-family: var(--font-display); font-weight: 800; font-size: 48px; color: var(--gold); line-height: 1; }
.lp-quiz-result p { font-size: 13.5px; color: var(--text-secondary); margin-top: .75rem; }
.lp-quiz-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; }
.lp-quiz-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery ---------- */
.lp-gallery { display: grid; gap: .9rem; margin-top: 2.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .lp-gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; } .lp-gallery figure:first-child { grid-row: 1 / 3; } }
.lp-gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .lp-gallery figure { aspect-ratio: auto; } }
.lp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.lp-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .8rem; color: #fff; font-size: 12.5px; font-weight: 600; background: linear-gradient(to top, rgb(0 0 0 / .65), transparent); }
.lp-gallery figure:hover img { transform: scale(1.07); }

/* ---------- Lecturers band ---------- */
.lp-band { position: relative; overflow: hidden; border-radius: 22px; color: #fff; padding: 3rem 1.5rem; background: #111 url('../images/landing/studio.jpg') center / cover; }
@media (min-width: 768px) { .lp-band { padding: 3.5rem; } }
.lp-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgb(10 10 10 / .92) 35%, rgb(10 10 10 / .55)); }
.lp-band > * { position: relative; }
.lp-band .lp-eyebrow { color: var(--color-gold-300, #e9be4e); }
.lp-band .lp-h2 { color: #fff; }
.lp-band .lp-lead { color: rgb(255 255 255 / .78); }
.lp-band .lp-ticks li { color: rgb(255 255 255 / .9); }
.lp-band .lp-ticks i { color: var(--color-gold-300, #e9be4e); }
.lp-band .btn-outline { color: #fff; border-color: rgb(255 255 255 / .4); background: transparent; }

/* ---------- FAQ ---------- */
.lp-faq { max-width: 780px; margin: 2.25rem auto 0; display: grid; gap: .6rem; }
.lp-faq details { border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border-subtle); transition: border-color .2s; }
.lp-faq details[open] { border-color: var(--border-strong); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary i { flex: none; transition: transform .25s; color: var(--text-tertiary); }
.lp-faq details[open] summary i { transform: rotate(180deg); }
.lp-faq .lp-answer { padding: 0 1.1rem 1.1rem; font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); }

/* ---------- Final call to action ---------- */
.lp-cta { text-align: center; padding: 3rem 1.5rem; border-radius: 22px; background: radial-gradient(circle at 50% 0%, color-mix(in oklab, var(--gold) 22%, transparent), transparent 70%), var(--surface-raised); border: 1px solid var(--border-subtle); }

/* ---------- Scroll reveal (only when JS runs and motion is allowed) ---------- */
.lp-js .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.lp-js .lp-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .lp-js .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-float { animation: none; }
    .lp-collage img, .lp-gallery img, .lp-progress > span { transition: none; }
}
.lp-end { padding-bottom: 4.5rem; }

/* ---------- Contact form ---------- */
.lp-contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .lp-contact-grid { grid-template-columns: .9fr 1.1fr; } }
.lp-contact-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; }
.lp-contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-contact-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.lp-contact-list li { display: flex; align-items: center; gap: .8rem; list-style: none; margin: 0; font-size: 12px; color: var(--text-tertiary); }
.lp-contact-list i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 17px; color: var(--gold-strong); background: color-mix(in oklab, var(--gold) 15%, transparent); }
.lp-contact-list strong, .lp-contact-list a { display: block; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.lp-form-card { padding: 1.5rem; border-radius: 18px; background: var(--surface-raised); border: 1px solid var(--border-subtle); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .3); }
@media (min-width: 640px) { .lp-form-card { padding: 2rem; } }
.lp-form-card form { display: grid; gap: 1.1rem; }
.lp-field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: .4rem; }
.lp-field .field-control { width: 100%; font-size: 13.5px; padding: .7rem .85rem; border-radius: 10px; }
.lp-field textarea.field-control { resize: vertical; min-height: 130px; }
.lp-field [aria-invalid="true"] { border-color: var(--color-danger-500); }
.lp-field-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .lp-field-row { grid-template-columns: 1fr 1fr; } }
.lp-optional { font-weight: 400; color: var(--text-tertiary); }
.lp-field-error, .lp-form-error { font-size: 12px; color: var(--color-danger-600, #b42318); margin-top: .35rem; }
.lp-form-error { margin: 0; padding: .65rem .85rem; border-radius: 10px; background: color-mix(in oklab, var(--color-danger-500) 10%, transparent); }
.lp-counter { font-size: 11px; color: var(--text-tertiary); text-align: end; margin-top: .3rem; }
.lp-form-card .btn[data-submit] { min-height: 2.9rem; font-size: 13.5px; }
.lp-form-note { font-size: 11.5px; color: var(--text-tertiary); text-align: center; }
.lp-form-note a { color: var(--color-primary-600); text-decoration: underline; }
.lp-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-sent { text-align: center; padding-block: 2rem; }
.lp-sent-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-size: 26px; color: var(--color-success-600, #12a66e); background: color-mix(in oklab, var(--color-success-500) 14%, transparent); }
.lp-sent h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-top: 1rem; }
.lp-sent p { font-size: 13.5px; color: var(--text-secondary); margin-top: .4rem; }
.lp-field select.field-control { min-height: 2.85rem; }
