/* EduTrack theme v2.0 — Codecademy/Memrise-inspired redesign.
   Dark navy + electric yellow. Scoped under .etwp so the embedded
   app shell (which never loads this file) stays pristine. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

.etwp {
  --navy-900: #0A0D1C;
  --navy-800: #10162F;
  --navy-700: #1a2140;
  --yellow: #FFD300;
  --yellow-hover: #CCA900;
  --yellow-soft: #FFF8DC;
  --beige: #FFF0E5;
  --ink: #10162F;
  --muted: #475569;
  --faint: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --paper: #FFFFFF;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 16px;
  --font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.etwp *, .etwp *::before, .etwp *::after { box-sizing: border-box; }
.etwp img { max-width: 100%; height: auto; }
.etwp h1, .etwp h2, .etwp h3, .etwp h4 { font-family: var(--font-head); }
.etwp .wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Scroll reveal animations ─────────────────────────────── */
.etwp .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.etwp .reveal.visible { opacity: 1; transform: translateY(0); }
.etwp .reveal-d1 { transition-delay: 0.1s; }
.etwp .reveal-d2 { transition-delay: 0.2s; }
.etwp .reveal-d3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .etwp .reveal { opacity: 1; transform: none; transition: none; }
  .etwp * { animation-duration: 0.01ms !important; }
}

/* ── Navigation ───────────────────────────────────────────── */
.etwp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 13, 28, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.etwp-nav .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.etwp-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.etwp-brand svg { flex-shrink: 0; }
.etwp-links { display: flex; gap: 28px; margin-left: 16px; }
.etwp-links a { text-decoration: none; color: rgba(255,255,255,0.72); font-weight: 600; font-size: 15px; transition: color 0.15s; }
.etwp-links a:hover { color: #fff; }
.etwp-nav .spacer { flex: 1; }

/* Buttons — Codecademy Gamut: 4px radius, bold, no gradients */
.etwp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-s);
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
  text-decoration: none; border: 0; cursor: pointer;
  background: var(--yellow); color: var(--navy-800) !important;
  transition: background 0.15s ease, transform 0.15s ease;
}
.etwp-btn:hover { background: var(--yellow-hover); transform: translateY(-1px); }
.etwp-btn:active { transform: translateY(0); }
.etwp-btn.large { padding: 16px 36px; font-size: 18px; }
.etwp-btn.ghost {
  background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,0.25);
}
.etwp-btn.ghost:hover { border-color: var(--yellow); background: rgba(255,211,0,0.08); }
.etwp-btn.dark { background: var(--navy-800); color: #fff !important; }
.etwp-btn.dark:hover { background: var(--navy-700); }
.etwp-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }
.etwp-menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }

/* ── Hero — dark navy + yellow CTA ────────────────────────── */
.etwp-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, #1a1440 100%);
  color: #fff;
  padding-top: 72px;
}
.etwp-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(255, 211, 0, 0.08), transparent 60%),
    radial-gradient(600px 500px at 10% 90%, rgba(58, 16, 229, 0.25), transparent 60%);
  pointer-events: none;
}
.etwp-hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
  padding: 96px 24px 88px;
}
.etwp-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--yellow);
  background: rgba(255, 211, 0, 0.1); border: 1px solid rgba(255, 211, 0, 0.3);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 24px;
  font-family: var(--font-head);
}
.etwp-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); animation: etwp-pulse 2s ease-in-out infinite; }
@keyframes etwp-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,0.2); } 50% { box-shadow: 0 0 0 7px rgba(34,197,94,0.08); } }
.etwp-hero h1 {
  font-size: clamp(40px, 5.5vw, 68px); line-height: 1.04; letter-spacing: -0.03em;
  margin: 0 0 20px; font-weight: 800; color: #fff;
}
.etwp-hero h1 .hl { color: var(--yellow); position: relative; }
.etwp-hero p.lead { font-size: 19px; line-height: 1.65; color: rgba(255,255,255,0.75); margin: 0 0 10px; max-width: 34em; }
.etwp-urdu { direction: rtl; font-size: 18px; color: rgba(255,255,255,0.55); margin: 0 0 30px; }
.etwp-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.etwp-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.etwp-stat { min-width: 120px; }
.etwp-stat .num { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--yellow); letter-spacing: -0.02em; }
.etwp-stat .lbl { font-size: 13.5px; color: rgba(255,255,255,0.6); font-weight: 600; margin-top: 4px; }

/* Animated dashboard mockup */
.etwp-hero-visual { position: relative; z-index: 1; }
.etwp-mock {
  border-radius: var(--radius-l); overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 80px -20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  animation: etwp-mock-float 7s ease-in-out infinite;
}
@keyframes etwp-mock-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.etwp-mock .mock-bar { display: flex; gap: 8px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }
.etwp-mock .mock-bar span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.etwp-mock .mock-bar span:first-child { background: var(--yellow); }
.etwp-mock .mock-body { display: flex; min-height: 300px; }
.etwp-mock .mock-side { width: 68px; background: rgba(0,0,0,0.25); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.etwp-mock .mock-side span { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.08); }
.etwp-mock .mock-side span:first-child { background: var(--yellow); }
.etwp-mock .mock-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.etwp-mock .mock-cards { display: flex; gap: 12px; }
.etwp-mock .mock-cards .mc { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-m); padding: 14px; }
.etwp-mock .mock-cards .mc b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--yellow); margin-bottom: 4px; }
.etwp-mock .mock-cards .mc small { font-size: 11.5px; color: rgba(255,255,255,0.55); font-weight: 600; }
.etwp-mock .mock-chart { display: flex; align-items: flex-end; gap: 10px; height: 100px; padding: 14px 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-m); }
.etwp-mock .mock-chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--yellow), #ff9d00); opacity: 0.9; animation: etwp-bar 3s ease-in-out infinite; }
.etwp-mock .mock-chart i:nth-child(2) { animation-delay: 0.2s; }
.etwp-mock .mock-chart i:nth-child(3) { animation-delay: 0.4s; }
.etwp-mock .mock-chart i:nth-child(4) { animation-delay: 0.6s; }
.etwp-mock .mock-chart i:nth-child(5) { animation-delay: 0.8s; }
@keyframes etwp-bar { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.82); } }
.etwp-mock .mock-progress { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-m); padding: 16px; }
.etwp-mock .mock-progress .plabel { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.etwp-mock .mock-progress .pbar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.etwp-mock .mock-progress .pfill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), #ff9d00); width: 0; transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1); }
.etwp-float {
  position: absolute; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
  padding: 12px 18px; font-size: 13.5px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 10px; z-index: 2;
}
.etwp-float .tick { width: 32px; height: 32px; border-radius: 10px; background: #dcfce7; color: #15803d; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.etwp-float.f1 { top: 32px; left: -24px; animation: etwp-float 5s ease-in-out infinite; }
.etwp-float.f2 { bottom: 36px; right: -16px; animation: etwp-float 6s ease-in-out infinite reverse; }
@keyframes etwp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Social proof bar (Memrise pattern) ───────────────────── */
.etwp-proof { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.06); padding: 34px 0; }
.etwp-proof .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.etwp-proof .plabel { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.etwp-proof .pstats { display: flex; gap: 44px; flex-wrap: wrap; }
.etwp-proof .pstat { text-align: center; }
.etwp-proof .pstat b { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: #fff; }
.etwp-proof .pstat span { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 600; }

/* ── Sections ─────────────────────────────────────────────── */
.etwp-section { padding: 96px 0; }
.etwp-section.alt { background: var(--soft); }
.etwp-section.dark { background: var(--navy-900); color: #fff; }
.etwp-kicker { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #b8860b; margin: 0 0 14px; }
.etwp-section.dark .etwp-kicker { color: var(--yellow); }
.etwp-section h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 16px; font-weight: 800; }
.etwp-section.dark h2 { color: #fff; }
.etwp-section .sub { font-size: 18px; color: var(--muted); max-width: 46em; margin: 0 0 52px; line-height: 1.65; }
.etwp-section.dark .sub { color: rgba(255,255,255,0.7); }
.etwp-center { text-align: center; }
.etwp-center .sub { margin-left: auto; margin-right: auto; }

/* 3-step method (Memrise pattern) */
.etwp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etwp-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 36px 30px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.etwp-step:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(16, 22, 47, 0.18); }
.etwp-step .snum {
  width: 52px; height: 52px; border-radius: 50%; background: var(--yellow);
  color: var(--navy-800); font-family: var(--font-head); font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 8px 20px -6px rgba(255, 211, 0, 0.5);
}
.etwp-step h3 { margin: 0 0 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.etwp-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.etwp-step .sarrow { position: absolute; top: 40px; right: -12px; font-size: 28px; color: var(--line); font-weight: 800; }
.etwp-step:last-child .sarrow { display: none; }

/* Feature grid */
.etwp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.etwp-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 32px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.etwp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -16px rgba(16, 22, 47, 0.16); border-color: var(--yellow); }
.etwp-card .icon {
  width: 56px; height: 56px; border-radius: var(--radius-m); display: flex; align-items: center; justify-content: center;
  background: var(--navy-800); color: var(--yellow); font-size: 24px; margin-bottom: 20px;
}
.etwp-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.etwp-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }

/* Roles */
.etwp-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.etwp-role { border-radius: var(--radius-l); padding: 36px 30px; color: #fff; position: relative; overflow: hidden; transition: transform 0.2s ease; }
.etwp-role:hover { transform: translateY(-6px); }
.etwp-role.r1 { background: linear-gradient(140deg, #1e1b4b 0%, #3A10E5 100%); }
.etwp-role.r2 { background: linear-gradient(140deg, #0c1a2e 0%, #0891b2 100%); }
.etwp-role.r3 { background: linear-gradient(140deg, #2e1a0c 0%, #d97706 100%); }
.etwp-role::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% 0%, rgba(255,255,255,0.12), transparent 70%); pointer-events: none; }
.etwp-role h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; position: relative; }
.etwp-role p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.65; opacity: 0.9; position: relative; }
.etwp-role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; position: relative; }
.etwp-role li { font-size: 14.5px; padding-left: 26px; position: relative; opacity: 0.95; }
.etwp-role li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: var(--yellow); }

/* Testimonials */
.etwp-testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.etwp-testi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.etwp-testi .stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; margin-bottom: 16px; }
.etwp-testi blockquote { margin: 0 0 22px; font-size: 16px; line-height: 1.7; color: var(--ink); flex: 1; }
.etwp-testi .who { display: flex; align-items: center; gap: 14px; }
.etwp-testi .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.etwp-testi .who b { display: block; font-size: 15px; }
.etwp-testi .who span { font-size: 13.5px; color: var(--faint); }

/* FAQ accordion */
.etwp-faq { max-width: 780px; margin: 0 auto; }
.etwp-faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 12px; overflow: hidden; transition: border-color 0.15s; }
.etwp-faq details:hover { border-color: #cbd5e1; }
.etwp-faq summary { padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.etwp-faq summary::-webkit-details-marker { display: none; }
.etwp-faq summary .plus { color: #b8860b; font-size: 24px; font-weight: 400; flex-shrink: 0; transition: transform 0.2s; }
.etwp-faq details[open] summary .plus { transform: rotate(45deg); }
.etwp-faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* CTA band */
.etwp-cta {
  background: linear-gradient(140deg, var(--navy-900) 0%, #1a1440 100%);
  border-radius: 24px; color: #fff; padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
}
.etwp-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 320px at 50% -10%, rgba(255,211,0,0.14), transparent 70%); pointer-events: none; }
.etwp-cta h2 { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.025em; position: relative; color: #fff; }
.etwp-cta p { margin: 0 0 32px; color: rgba(255,255,255,0.72); font-size: 18px; position: relative; }
.etwp-cta .etwp-btn { position: relative; }
.etwp-cta .proof { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.55); position: relative; }

/* Section CTA repeat */
.etwp-section-cta { text-align: center; margin-top: 56px; }
.etwp-section-cta .etwp-btn { margin: 0 8px 12px; }

/* Footer */
.etwp-footer { background: var(--navy-900); color: rgba(255,255,255,0.65); padding: 56px 0 36px; }
.etwp-footer .wrap { display: flex; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.etwp-footer .fbrand { flex: 1; min-width: 260px; }
.etwp-footer .fbrand .etwp-brand { margin-bottom: 14px; }
.etwp-footer .fnote { font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.etwp-footer nav { display: flex; gap: 36px; flex-wrap: wrap; }
.etwp-footer nav .fcol h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.etwp-footer nav .fcol a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; }
.etwp-footer nav .fcol a:hover { color: var(--yellow); }
.etwp-footer .fbottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ── Sign-in page ─────────────────────────────────────────── */
.etwp-login { background: var(--navy-900); min-height: 100vh; color: #fff; }
.etwp-login .login-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 24px 64px; }
.etwp-login .back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); text-decoration: none; font-weight: 600; font-size: 14px; margin-bottom: 28px; }
.etwp-login .back:hover { color: var(--yellow); }
.etwp-login-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--paper);
  border-radius: 20px; overflow: hidden; box-shadow: 0 32px 80px -20px rgba(0,0,0,0.5);
}
.etwp-login-side {
  background: linear-gradient(160deg, var(--navy-800) 0%, #1a1440 100%); color: #fff;
  padding: 48px 40px; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.etwp-login-side::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 260px at 20% 0%, rgba(255,211,0,0.12), transparent 70%); pointer-events: none; }
.etwp-login-side .urdu { direction: rtl; font-size: 21px; margin: 20px 0 10px; opacity: 0.9; position: relative; }
.etwp-login-side h2 { font-size: 32px; letter-spacing: -0.02em; margin: 0 0 14px; line-height: 1.2; position: relative; color: #fff; }
.etwp-login-side h2 .hl { color: var(--yellow); }
.etwp-login-side p { opacity: 0.75; font-size: 15.5px; line-height: 1.7; margin: 0 0 28px; position: relative; }
.etwp-login-side ul { list-style: none; margin: 0 0 auto; padding: 0; display: grid; gap: 14px; position: relative; }
.etwp-login-side li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.etwp-login-side li .b { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,211,0,0.15); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.etwp-login-side .side-foot { margin-top: 36px; font-size: 13px; opacity: 0.6; position: relative; }
.etwp-login-form { padding: 48px 46px; color: var(--ink); }
.etwp-login-form h1 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; color: var(--ink); }
.etwp-login-form .sub { color: var(--muted); font-size: 15.5px; margin: 0 0 26px; }
.etwp-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 6px; margin-bottom: 26px; }
.etwp-tab { border: 0; background: transparent; border-radius: 8px; padding: 12px 6px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: all 0.15s; }
.etwp-tab.active { background: var(--navy-800); color: var(--yellow); box-shadow: 0 4px 12px -4px rgba(16,22,47,0.3); }
.etwp-field { margin-bottom: 18px; }
.etwp-field label { display: block; font-family: var(--font-head); font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.etwp-field input {
  width: 100%; padding: 14px 16px; font-size: 15.5px; font-family: var(--font-body);
  border: 1.5px solid var(--line); border-radius: var(--radius-m); background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.etwp-field input:focus { outline: none; border-color: var(--navy-800); box-shadow: 0 0 0 4px rgba(16, 22, 47, 0.1); }
.etwp-field .hint { font-size: 13px; color: var(--faint); margin-top: 7px; }
.etwp-error {
  display: none; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  font-size: 14.5px; font-weight: 600; border-radius: var(--radius-m); padding: 13px 16px; margin-bottom: 20px; line-height: 1.55;
}
.etwp-error.show { display: block; }
.etwp-login-form .etwp-btn { width: 100%; padding: 15px; font-size: 16.5px; margin-top: 8px; }
.etwp-alt { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.etwp-alt a { font-weight: 700; text-decoration: none; color: var(--navy-800); }
.etwp-secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; font-size: 13px; color: var(--faint); }
.etwp-btn .spin { width: 18px; height: 18px; border: 2.5px solid rgba(16,22,47,0.25); border-top-color: var(--navy-800); border-radius: 50%; animation: etwp-spin 0.7s linear infinite; display: none; }
.etwp-btn.loading .spin { display: inline-block; }
@keyframes etwp-spin { to { transform: rotate(360deg); } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 980px) {
  .etwp-hero .wrap { grid-template-columns: 1fr; padding: 72px 24px 64px; gap: 48px; }
  .etwp-float.f1 { left: 12px; }
  .etwp-float.f2 { right: 12px; }
  .etwp-grid, .etwp-steps, .etwp-roles, .etwp-testis { grid-template-columns: 1fr 1fr; }
  .etwp-step .sarrow { display: none; }
  .etwp-login-card { grid-template-columns: 1fr; }
  .etwp-login-side { padding: 40px 32px; }
}
@media (max-width: 680px) {
  .etwp-links { display: none; }
  .etwp-menu-btn { display: block; margin-left: auto; color: #fff; }
  .etwp-nav .etwp-btn { display: none; }
  .etwp-nav.open .etwp-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 24px 22px; gap: 16px; margin: 0; }
  .etwp-grid, .etwp-steps, .etwp-roles, .etwp-testis { grid-template-columns: 1fr; }
  .etwp-cta { padding: 52px 28px; }
  .etwp-login-form { padding: 36px 28px; }
  .etwp-section { padding: 72px 0; }
  .etwp-stats { gap: 24px; }
}
