/* ============================================================
   PLATEARN — style.css
   Aesthetic: Dark editorial with gold/amber accents + neon teal
   ============================================================ */

:root {
  --bg:        #090d12;
  --bg2:       #0e1520;
  --bg3:       #131c2b;
  --border:    rgba(255,255,255,0.07);
  --text:      #e8edf5;
  --muted:     #7a8fa8;
  --accent:    #f0a500;     /* amber/gold */
  --accent2:   #00d4b4;     /* teal */
  --fb-blue:   #1877F2;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    14px;
  --glow:      0 0 40px rgba(240,165,0,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; }
em { font-style: normal; color: var(--accent); }
strong { color: var(--text); font-weight: 600; }
a { text-decoration: none; color: inherit; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fb-blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 30px rgba(24,119,242,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #1567d3;
  box-shadow: 0 8px 40px rgba(24,119,242,0.5);
}
.btn-large { font-size: 1.15rem; padding: 18px 42px; }

/* ======================================================
   NAV
====================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(9,13,18,0.85);
  backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), #f7cc55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-cta {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-cta:hover { color: var(--text); }

/* ======================================================
   HERO
====================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  overflow: hidden;
}

/* Background decorations */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #f0a500 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: floatBlob 12s ease-in-out infinite alternate;
}
.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00d4b4 0%, transparent 70%);
  bottom: -150px; right: 50px;
  animation: floatBlob 10s ease-in-out 2s infinite alternate-reverse;
}
@keyframes floatBlob {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}

/* Hero left content */
.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,180,0.1);
  border: 1px solid rgba(0,212,180,0.3);
  color: var(--accent2);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: #fff;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 38px;
  max-width: 490px;
}
.hero-sub strong { color: #bdd0e8; }

.hero-btn { animation: fadeUp 0.8s 0.3s ease both; }

/* Hero right — card stack visual */
.hero-visual {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s 0.2s ease both;
}
.card-stack {
  position: relative;
  width: 300px;
  height: 320px;
}
.earning-card {
  position: absolute;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s;
}
.earning-card:hover { transform: translateY(-4px) !important; }

.ec-1 {
  top: 0; left: 0;
  width: 260px;
  transform: rotate(-3deg);
}
.ec-2 {
  top: 60px; left: 40px;
  width: 260px;
  transform: rotate(1.5deg);
  background: linear-gradient(135deg, #0d1f2d, #0a1828);
  border-color: rgba(0,212,180,0.2);
}
.ec-3 {
  bottom: 0; right: 0;
  width: 150px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(240,165,0,0.15), rgba(240,165,0,0.05));
  border-color: rgba(240,165,0,0.3);
}
.ec-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.ec-amount { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--accent); }
.ec-meta { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.ec-check { font-size: 1.2rem; color: var(--accent); }
.ec-text { font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; color: var(--accent); }

/* ======================================================
   STATS BAR
====================================================== */
.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 24px;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 48px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ======================================================
   HOW IT WORKS
====================================================== */
.how {
  padding: 100px 24px;
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 64px;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  text-align: left;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow);
  border-color: rgba(240,165,0,0.3);
}
.step-number {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 18px;
  opacity: 0.7;
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 20px;
}
.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.step-desc strong { color: var(--text); }

.step-arrow {
  flex: 0 0 auto;
  align-self: center;
  font-size: 1.8rem;
  color: var(--border);
  padding: 0 8px;
  margin-top: -30px;
}

/* ======================================================
   WHY PLATEARN
====================================================== */
.why {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 100px 24px;
}
.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 0;
}
.why-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,180,0.3);
}
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.why-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ======================================================
   TESTIMONIALS
====================================================== */
.testimonials {
  padding: 100px 24px;
}
.t-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.t-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}
.t-quote {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--accent), #f7cc55);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bg);
  flex-shrink: 0;
}
.t-author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.t-author span { font-size: 0.78rem; color: var(--muted); }

/* ======================================================
   CTA
====================================================== */
.cta-section {
  padding: 100px 24px;
  background: linear-gradient(135deg, #0a1525, #0d1e31);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(240,165,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 38px;
  line-height: 1.7;
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 1.2rem; }
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 60px 24px 80px;
    gap: 60px;
  }
  .hero-visual { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 8px 0; padding: 0; align-self: center; }
  .stat-divider { display: none; }
  .stat { padding: 12px 24px; }
  .stats-inner { gap: 8px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
