/* ============================================================
   Evolution Marketing Site — style.css
   ============================================================ */

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

:root {
  --navy:   #0a0f1e;
  --navy2:  #111827;
  --navy3:  #1a2540;
  --accent: #e8834a;
  --accent2:#f0a070;
  --text:   #f0f4ff;
  --text2:  #a0afc8;
  --text3:  #6b7fa0;
  --border: rgba(255,255,255,0.07);
  --border2:rgba(255,255,255,0.12);
  --card:   rgba(255,255,255,0.03);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; line-height: 1.15; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; font-size: 0.875rem; color: var(--text2); }
.nav-links a:hover { color: var(--text); transition: color .2s; }
.nav-cta {
  background: var(--accent); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.8rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 0.55rem 1.25rem; border-radius: 6px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: stretch;
  padding-top: 72px; position: relative; overflow: hidden;
}
.hero-left {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 5rem; position: relative; z-index: 2;
}
.hero-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 0% 60%, rgba(232,131,74,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-right {
  width: 48%; position: relative; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 80% at 20% 50%, black 30%, transparent 100%);
}
.hero-right::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10%; z-index: 3;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%);
}
.hero-right::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 15%; z-index: 3;
  background: linear-gradient(0deg, var(--navy) 0%, transparent 100%);
}
.hero-portrait {
  width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  filter: saturate(0.85) brightness(0.9); display: block;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,131,74,0.1); border: 1px solid rgba(232,131,74,0.25);
  color: var(--accent2); font-size: 0.78rem; font-weight: 500; letter-spacing: .04em;
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.75rem; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
h1.hero-title {
  font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 1.25rem;
}
h1.hero-title em { color: var(--accent); font-style: normal; display: inline; }
.hero-sub {
  font-size: 1.05rem; color: var(--text2); max-width: 480px;
  margin-bottom: 2.25rem; font-weight: 300; line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.btn-primary {
  background: var(--accent); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 7px; border: none; cursor: pointer;
  transition: background .2s, transform .15s; display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--text2);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: 7px; border: 1px solid var(--border2); cursor: pointer;
  transition: color .2s, border-color .2s, transform .15s; display: inline-block;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 0; border: 1px solid var(--border2);
  border-radius: 10px; overflow: hidden; max-width: 420px;
}
.h-stat { padding: 1.1rem 1.5rem; border-right: 1px solid var(--border2); flex: 1; }
.h-stat:last-child { border-right: none; }
.h-stat-num { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--text); }
.h-stat-label { font-size: 0.7rem; color: var(--text3); text-transform: uppercase; letter-spacing: .06em; margin-top: 1px; }

.hero-float {
  position: absolute; bottom: 2.5rem; right: 2rem; z-index: 5;
  background: rgba(17,24,39,0.88); border: 1px solid var(--border2);
  border-radius: 12px; padding: 1rem 1.25rem;
  backdrop-filter: blur(10px); min-width: 200px;
}
.hf-label { font-size: 0.68rem; color: var(--text3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 0.75rem; }
.hf-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.hf-row:last-child { margin-bottom: 0; }
.hf-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hf-name { font-size: 0.8rem; color: var(--text2); flex: 1; }
.hf-badge { font-size: 0.65rem; font-weight: 500; padding: 2px 7px; border-radius: 100px; }
.pass    { background: rgba(99,153,34,0.15);  color: #8dc44c; }
.testing { background: rgba(186,117,23,0.15); color: #d4953c; }
.waiting { background: rgba(107,127,160,0.15);color: #6b7fa0; }

/* ── SHARED SECTION STYLES ───────────────────────────────── */
section { padding: 6rem 2.5rem; }
.alt-bg  { background: var(--navy2); }
.screenshot-section { background: var(--navy2); }

.section-inner { max-width: 1080px; margin: 0 auto; }
.section-tag {
  font-size: 0.75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--text2); max-width: 520px; line-height: 1.8; }
.divider { border-top: 1px solid var(--border); }

/* ── FEATURES ────────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: border-color .25s, transform .2s;
}
.feature-card:hover { border-color: rgba(232,131,74,0.3); transform: translateY(-3px); }
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,131,74,0.4), transparent);
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(232,131,74,0.1); border: 1px solid rgba(232,131,74,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.1rem;
}
.feature-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.5rem; }
.feature-body  { font-size: 0.9rem; color: var(--text2); line-height: 1.7; }

/* ── SCREENSHOTS ─────────────────────────────────────────── */
.screenshot-wrap { margin-top: 3.5rem; }
.screenshot-tabs {
  display: flex; gap: 0; border: 1px solid var(--border2);
  border-radius: 10px; overflow: hidden; margin-bottom: 2rem; width: fit-content;
}
.stab {
  padding: 0.65rem 1.4rem;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.78rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text3);
  background: transparent; border: none; cursor: pointer;
  border-right: 1px solid var(--border2); transition: color .2s, background .2s;
}
.stab:last-child { border-right: none; }
.stab.active { background: var(--accent); color: #fff; }
.stab:not(.active):hover { color: var(--text); background: rgba(255,255,255,0.04); }
.screenshot-panel { display: none; }
.screenshot-panel.active { display: block; }

.screenshot-frame {
  border: 1px solid var(--border2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.screenshot-chrome {
  background: var(--navy3); padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.sc-dots { display: flex; gap: 5px; }
.sc-dot  { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.sc-url  {
  flex: 1; background: rgba(255,255,255,0.05); border-radius: 5px;
  padding: 0.3rem 0.75rem; font-size: 0.72rem; color: var(--text3); margin: 0 1rem;
}
.screenshot-img { width: 100%; display: block; }

.screenshot-caption { margin-top: 1.25rem; display: flex; gap: 2rem; flex-wrap: wrap; }
.sc-cap-item { display: flex; align-items: flex-start; gap: 10px; }
.sc-cap-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }
.sc-cap-text { font-size: 0.875rem; color: var(--text2); line-height: 1.6; }

.proctor-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.proctor-phone  {
  border: 1px solid var(--border2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.captions { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 0.5rem; }
.caption-item { display: flex; gap: 1rem; align-items: flex-start; }
.cap-num {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(232,131,74,0.4); background: rgba(232,131,74,0.06);
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.8rem; color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.cap-text h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.25rem; }
.cap-text p  { font-size: 0.875rem; color: var(--text2); line-height: 1.65; }

/* ── WHO IT'S FOR ────────────────────────────────────────── */
.who-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.who-card  { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.who-role  { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text); margin-bottom: 0.75rem; }
.who-list  { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.who-list li { font-size: 0.875rem; color: var(--text2); display: flex; gap: 8px; align-items: flex-start; }
.who-list li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-weight: 700; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.how-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: start; margin-top: 3.5rem;
}
.steps { display: flex; flex-direction: column; }
.step  { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(232,131,74,0.4); background: rgba(232,131,74,0.06);
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 0.85rem; color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.step-content h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 0.3rem; }
.step-content p  { font-size: 0.875rem; color: var(--text2); line-height: 1.7; }

.interfaces-list { display: flex; flex-direction: column; gap: 1rem; }
.iface-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.25rem 1.5rem;
}
.iface-path  { font-size: 0.75rem; color: var(--accent); font-weight: 500; margin-bottom: 0.3rem; }
.iface-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); margin-bottom: 0.3rem; }
.iface-desc  { font-size: 0.85rem; color: var(--text2); line-height: 1.6; }

/* ── FORMS ───────────────────────────────────────────────── */
.forms-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin-top: 3.5rem;
}
.form-card {
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.25rem;
}
.form-card-title { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--text); margin-bottom: 0.4rem; }
.form-card-sub   { font-size: 0.875rem; color: var(--text2); margin-bottom: 1.75rem; line-height: 1.7; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.78rem; color: var(--text3);
  margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border2); border-radius: 7px;
  color: var(--text); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  padding: 0.7rem 0.9rem; transition: border-color .2s, background .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(232,131,74,0.5); background: rgba(232,131,74,0.04);
}
.form-group textarea   { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--navy2); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.form-submit {
  width: 100%; background: var(--accent); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.85rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 0.85rem; border-radius: 7px; border: none; cursor: pointer;
  margin-top: 0.5rem; transition: background .2s, transform .15s;
}
.form-submit:hover    { background: var(--accent2); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-success { display: none; text-align: center; padding: 2rem; }
.form-success-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.form-success h4 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--text); margin-bottom: 0.4rem; }
.form-success p  { font-size: 0.875rem; color: var(--text2); }

.form-msg { font-size: 0.8rem; margin-top: 0.75rem; padding: 0.6rem 0.9rem; border-radius: 6px; display: none; }
.form-msg.error   { background: rgba(162,45,45,0.15); color: #e87a7a; border: 1px solid rgba(162,45,45,0.2); }
.form-msg.success { background: rgba(63,153,34,0.1);  color: #8dc44c; border: 1px solid rgba(63,153,34,0.2); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border); padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: var(--text3);
}
.footer-logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem; }
.footer-logo span { color: var(--accent); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero            { flex-direction: column; }
  .hero-left       { padding: 3rem 1.5rem 2rem; order: 2; }
  .hero-right      { width: 100%; height: 55vw; min-height: 300px; order: 1; }
  .hero-right::before { display: none; }
  .hero-right::after  { height: 15%; }
  .hero-float      { bottom: 1rem; right: 1rem; }
  .nav-links       { display: none; }
  .how-wrap        { grid-template-columns: 1fr; gap: 2.5rem; }
  .forms-grid      { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .proctor-layout  { grid-template-columns: 1fr; }
  .screenshot-tabs { width: 100%; }
  .stab            { flex: 1; text-align: center; padding: 0.65rem 0.5rem; }
  footer           { flex-direction: column; gap: 1rem; text-align: center; }
}
