/*
Theme Name: LurnED
Theme URI: https://lurned.example.com
Author: LurnED
Author URI: https://lurned.example.com
Description: Premium Apple-inspired landing page theme for LurnED with dependable frontend defaults, modular sections, and visual customization via the WordPress Customizer or Elementor.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lurned
Tags: education, landing-page, one-page, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, elementor
*/

:root {
  --background: #ffffff;
  --foreground: #1d1d1f;
  --muted: #6e6e73;
  --surface-soft: #f5f5f7;
  --surface-dark: #0a0a0a;
  --border: #d2d2d7;
  --primary: #0071e3;
  --primary-glow: #2997ff;
  --primary-foreground: #ffffff;
  --success-bg: #e8f6ee;
  --success-text: #0e6a3a;
  --error-bg: #fdecec;
  --error-text: #9c1c1c;
  --radius: 14px;
  --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  --container: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 17px;
  letter-spacing: -0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.tracking-apple { letter-spacing: -0.045em; }
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--primary-glow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.soft { color: rgba(255,255,255,.55); }
.muted-soft { color: rgba(29,29,31,.5); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 500;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  line-height: 1;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 92%, #000 8%); text-decoration: none; }
.btn-link { background: transparent; color: var(--primary); padding: 0; border-radius: 0; }
.btn-lg { width: 100%; min-height: 48px; font-size: 16px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 48px; gap: 16px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--foreground);
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.nav-menu { display: none; gap: 28px; font-size: 13px; }
.nav-menu a { color: rgba(29,29,31,.8); }
.nav-menu a:hover { color: var(--foreground); text-decoration: none; }
.nav-cta { min-height: 32px; padding: 0 16px; font-size: 13px; }
@media (min-width: 768px) { .nav-menu { display: flex; } }

main { padding-top: 48px; }
section { padding: 80px 0; }
@media (min-width: 1024px) { section { padding: 112px 0; } }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.eyebrow { color: var(--primary); font-size: 14px; font-weight: 500; margin: 0 0 12px; }
.h1 { font-weight: 600; font-size: clamp(40px, 7vw, 88px); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 20px; }
.h2 { font-weight: 600; font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.045em; margin: 0 0 16px; }
.lead { color: rgba(29,29,31,.7); font-size: clamp(18px, 2.2vw, 28px); font-weight: 300; letter-spacing: -0.01em; margin: 0 0 28px; }
.muted { color: var(--muted); font-size: 12px; }

.section-hero { background: var(--surface-soft); padding-bottom: 0; overflow: hidden; }
.hero-inner { text-align: center; max-width: 1100px; margin: 0 auto; padding: 48px 24px 56px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; font-size: 15px; margin: 0 0 12px; }
.hero-actions a { font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.hero-image-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-image { border-radius: 32px 32px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-dark); box-shadow: var(--shadow-soft); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.section-values { background: var(--background); }
.cards-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card-soft { background: var(--surface-soft); border-radius: 24px; padding: 40px; transition: box-shadow .25s ease; }
.card-soft:hover { box-shadow: var(--shadow-soft); }
.card-icon { width: 32px; height: 32px; color: var(--primary); margin-bottom: 24px; }
.card-title { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 12px; }
.card-text { color: rgba(29,29,31,.65); font-size: 17px; line-height: 1.55; margin: 0; }

.section-modules { background: var(--surface-dark); color: #fff; }
.section-modules .h2 { color: #fff; }
.section-modules .lead { color: rgba(255,255,255,.6); }
.section-modules .eyebrow { color: var(--primary-glow); }
.cards-modules { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-modules { grid-template-columns: repeat(3, 1fr); } }
.module-card { background: rgba(255,255,255,.06); color: #fff; border-radius: 24px; padding: 32px; transition: transform .25s ease, background .25s ease; }
.module-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.module-card.is-highlight { background: var(--primary); color: #fff; }
.module-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.module-num { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; color: rgba(255,255,255,.5); }
.module-card.is-highlight .module-num { color: #fff; }
.module-title { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 16px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.1); }
.module-card.is-highlight .tag { background: rgba(255,255,255,.2); }

.section-testimonials { background: var(--background); }
.t-card { background: var(--surface-soft); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; height: 100%; }
.stars { display: flex; gap: 2px; color: var(--foreground); }
.t-quote { font-size: 17px; color: rgba(29,29,31,.85); line-height: 1.55; margin: 24px 0; flex: 1; }
.t-foot { display: flex; align-items: center; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.t-foot img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.t-name { font-weight: 600; font-size: 15px; }
.t-meta { font-size: 14px; color: var(--muted); }

.section-founder { background: var(--surface-soft); padding: 80px 0 128px; }
.founder-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 0 24px; }
.founder-copy { font-size: clamp(18px, 2vw, 22px); font-weight: 300; letter-spacing: -0.01em; color: rgba(29,29,31,.7); line-height: 1.55; margin: 0 0 24px; }
.founder-copy.strong { color: var(--foreground); font-weight: 400; }

.section-guarantee { background: var(--background); }
.guarantee-card { max-width: 1100px; margin: 0 auto; background: var(--surface-dark); color: #fff; border-radius: 32px; padding: 56px 32px; text-align: center; }
@media (min-width: 1024px) { .guarantee-card { padding: 80px; } }
.guarantee-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin: 0 auto 32px; color: #fff; }
.guarantee-card .h2 { color: #fff; }
.guarantee-card .lead { color: rgba(255,255,255,.65); max-width: 640px; margin: 0 auto 40px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; }
.check-item { display: inline-flex; align-items: center; gap: 8px; }
.check-item svg { color: var(--primary-glow); }

.section-cta { background: var(--surface-soft); }
.cta-inner { max-width: 560px; margin: 0 auto; text-align: center; padding: 0 24px; }
.cta-form { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; text-align: left; }
.cta-form input {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.cta-note { font-size: 12px; color: var(--muted); text-align: center; margin: 4px 0 0; }
.notice { padding: 12px 16px; border-radius: 12px; font-size: 14px; text-align: center; margin-bottom: 16px; }
.notice.ok { background: var(--success-bg); color: var(--success-text); }
.notice.err { background: var(--error-bg); color: var(--error-text); }

.site-footer { background: var(--surface-soft); border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-links { display: flex; gap: 24px; font-size: 12px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--foreground); text-decoration: none; }
.copy { font-size: 12px; color: var(--muted); margin: 0; }

.page-shell { padding: 96px 0 64px; }
.page-content { max-width: 820px; margin: 0 auto; }
.page-title { font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 20px; }
.entry-content > * + * { margin-top: 1.2em; }

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============ v3 ADDITIONS ============ */

/* Scroll reveal animations (Apple-style fade-up) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(20,184,166,0.10); color: #0d9488;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  margin-bottom: 20px; border: 1px solid rgba(20,184,166,0.2);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #14B8A6; box-shadow: 0 0 0 0 rgba(20,184,166,.6);
  animation: lurnedPulse 2s infinite;
}
@keyframes lurnedPulse {
  0% { box-shadow: 0 0 0 0 rgba(20,184,166,.6); }
  70% { box-shadow: 0 0 0 12px rgba(20,184,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); }
}

/* Hero secondary subheadline */
.lead-soft { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 640px; }

/* Trust signals row */
.trust-signals {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-top: 18px; align-items: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--muted); font-weight: 500;
}
.check-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: #14B8A6; color: white; font-size: 11px; font-weight: 700;
}

/* Step cards icons */
.step-card .step-icon {
  font-size: 36px; line-height: 1; margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(103,232,249,.08));
}

/* Modules — meta + description + bonus badge */
.module-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; }
.module-meta {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
}
.module-description { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
.bonus-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(135deg, #14B8A6, #0D9488);
  color: white; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
}
.module-card.is-highlight { border-color: rgba(20,184,166,.4); background: linear-gradient(180deg, rgba(20,184,166,.04), transparent); }

/* Testimonial result chip */
.t-result {
  display: inline-block; margin-top: 12px; padding: 6px 12px;
  border-radius: 8px; background: rgba(20,184,166,.1); color: #0d9488;
  font-size: 13px; font-weight: 600;
}

/* Founder story highlights + signature */
.story-highlight {
  display: block; margin: 24px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic; font-size: 22px; line-height: 1.4;
  color: var(--foreground);
  border-left: 3px solid #14B8A6; padding-left: 20px;
}
.story-signature {
  margin-top: 32px; font-weight: 600;
  color: var(--foreground); font-size: 16px;
}

/* Guarantee emoji icon */
.guarantee-icon-emoji { font-size: 48px; line-height: 1; margin-bottom: 20px; }

/* CTA urgency text */
.urgency-text {
  display: inline-block; margin: 12px auto 24px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,159,28,0.12); color: #c2410c;
  font-size: 14px; font-weight: 600;
}

/* Buttons (ensure styles exist) */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; border: none; cursor: pointer; font-size: 16px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary { background: var(--foreground); color: var(--background); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(0,0,0,.3); }
.btn-ghost { background: transparent; color: var(--foreground); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-soft); }
