/* ======================================================
   WEBEDGE SOLUTIONS - ADVANCED PLACEMENT PAGE
====================================================== */

:root {
  --primary: #0f766e;
  --teal: #14b8a6;
  --blue: #2563eb;
  --purple: #7c3aed;
  --orange: #f97316;
  --dark: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --grad: linear-gradient(135deg, #0f766e, #2563eb 58%, #7c3aed);
  --shadow: 0 28px 90px rgba(15, 23, 42, 0.13);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, Segoe UI, Tahoma, sans-serif;
  background: #f8fbff;
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1240px, 92%);
  margin: auto;
  position: relative;
  z-index: 2;
}

.placement-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(20, 184, 166, .13), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(37, 99, 235, .12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #eef6ff 100%);
}

.placement-bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  animation: gridMove 20s linear infinite;
}

.placement-light {
  position: fixed;
  z-index: 0;
  border-radius: 50%;
  filter: blur(85px);
  opacity: .65;
  pointer-events: none;
  animation: floatOrb 9s ease-in-out infinite;
}

.light-one {
  width: 350px;
  height: 350px;
  left: -130px;
  top: 120px;
  background: rgba(20, 184, 166, .22);
}

.light-two {
  width: 360px;
  height: 360px;
  right: -150px;
  top: 230px;
  background: rgba(37, 99, 235, .18);
  animation-delay: 1.4s;
}

.light-three {
  width: 280px;
  height: 280px;
  left: 48%;
  bottom: -120px;
  background: rgba(124, 58, 237, .15);
  animation-delay: 2.4s;
}

/* HERO */
.placement-hero {
  min-height: 100vh;
  padding: 138px 0 82px;
  display: grid;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 118, 110, .18);
  color: var(--primary);
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(15, 118, 110, .08);
}

.hero-copy h1 {
  max-width: 870px;
  margin: 20px 0 22px;
  font-size: clamp(3.05rem, 5.8vw, 6.05rem);
  line-height: .94;
  letter-spacing: -.078em;
}

.hero-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.09rem;
  font-weight: 650;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 950;
  cursor: pointer;
  transition: .32s ease;
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 20px 48px rgba(37, 99, 235, .25);
}

.btn-light {
  color: var(--dark);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
}

.btn:hover { transform: translateY(-5px); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-metrics article {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(15, 23, 42, .07);
  transition: .3s ease;
}

.hero-metrics article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.hero-metrics strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 950;
}

.hero-metrics span {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
}

/* CONSOLE */
.placement-console {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 24px;
  border-radius: 42px;
  background: #fff;
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow);
  animation: cardFloat 6s ease-in-out infinite;
}

.placement-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(20, 184, 166, .16), transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(124, 58, 237, .12), transparent 25%);
}

.console-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-weight: 950;
}

.console-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
}

.console-top span:nth-child(2) { background: #f59e0b; }
.console-top span:nth-child(3) { background: #22c55e; }

.readiness-orbit {
  position: relative;
  height: 390px;
  display: grid;
  place-items: center;
}

.readiness-core {
  position: relative;
  z-index: 4;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 44px;
  background: #06111f;
  color: #14b8a6;
  box-shadow: 0 0 90px rgba(20, 184, 166, .3);
}

.readiness-core i {
  font-size: 1.65rem;
}

.readiness-core strong {
  display: block;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
}

.readiness-core small {
  color: #99f6e4;
  font-weight: 850;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, .32);
  animation: spin 18s linear infinite;
}

.ring-a { width: 270px; height: 270px; }
.ring-b { width: 370px; height: 370px; animation-direction: reverse; }

.orbit-node {
  position: absolute;
  z-index: 5;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
  font-size: 1.65rem;
  animation: floatOrb 5.2s ease-in-out infinite;
}

.n1 { top: 36px; left: 48%; }
.n2 { right: 50px; top: 145px; animation-delay: .2s; }
.n3 { right: 128px; bottom: 40px; animation-delay: .4s; }
.n4 { left: 128px; bottom: 40px; animation-delay: .6s; }
.n5 { left: 50px; top: 145px; animation-delay: .8s; }
.n6 { top: 176px; right: 225px; animation-delay: 1s; }

.console-cards {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.console-cards div {
  display: grid;
  gap: 4px;
  padding: 14px 10px;
  text-align: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.console-cards i { color: var(--primary); }
.console-cards span { color: var(--muted); font-size: .78rem; }

.console-progress {
  position: relative;
  z-index: 5;
  padding: 19px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}

.console-progress div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 950;
}

.console-progress em {
  display: block;
  width: 96%;
  height: 11px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple));
  animation: progressPulse 2s ease-in-out infinite alternate;
}

/* STRIP */
.placement-strip {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 70px;
}

.strip-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.strip-card span {
  color: var(--muted);
  font-weight: 900;
}

.strip-card strong {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(20,184,166,.12), rgba(37,99,235,.09));
  font-weight: 950;
}

/* SECTIONS */
.section {
  position: relative;
  padding: 94px 0;
}

.section-head {
  max-width: 880px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head h2 {
  max-width: 860px;
  margin: 14px auto;
  font-size: clamp(2.1rem, 4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.section-head p {
  max-width: 760px;
  margin: auto;
  color: var(--muted);
  font-weight: 650;
}

/* CARDS */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.support-card,
.step,
.check-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 46px rgba(15, 23, 42, .07);
  transition: .38s ease;
  transform-style: preserve-3d;
}

.support-card::before,
.step::before {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  top: 8px;
  color: #eaf2ff;
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 950;
}

.support-card::after,
.step::after,
.check-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(20,184,166,.17), transparent 32%),
    linear-gradient(135deg, rgba(20,184,166,.08), rgba(37,99,235,.08), rgba(124,58,237,.07));
  opacity: 0;
  transition: .35s ease;
}

.support-card:hover,
.step:hover,
.check-card:hover {
  transform: translateY(-12px) rotateX(4deg);
  border-color: rgba(20, 184, 166, .35);
  box-shadow: var(--shadow);
}

.support-card:hover::after,
.step:hover::after,
.check-card:hover::after { opacity: 1; }

.support-card > *,
.step > *,
.check-card > * {
  position: relative;
  z-index: 1;
}

.icon,
.check-card i {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 18px 42px rgba(37, 99, 235, .22);
  font-size: 1.55rem;
  transition: .35s ease;
}

.support-card:hover .icon,
.check-card:hover i {
  transform: rotate(-6deg) scale(1.08);
}

.support-card h3,
.step h3,
.check-card h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  font-weight: 950;
}

.support-card p,
.step p,
.check-card p {
  color: var(--muted);
  font-weight: 620;
}

.support-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.support-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: .9rem;
  font-weight: 850;
}

.support-card li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #ecfdf5;
  color: #047857;
  font-size: .76rem;
}

/* ROADMAP */
.roadmap-section {
  background: #06111f;
  color: #fff;
  overflow: hidden;
}

.roadmap-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,184,166,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.08) 1px, transparent 1px);
  background-size: 50px 50px;
}

.roadmap-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.roadmap-copy h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.roadmap-copy p {
  color: #cbd5e1;
  margin-bottom: 26px;
  font-weight: 650;
}

.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.step {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
}

.step::before {
  content: attr(data-step);
  color: rgba(255,255,255,.08);
}

.step span {
  color: #5eead4;
  font-size: 2rem;
  font-weight: 950;
}

.step p { color: #cbd5e1; }

/* TRACKS */
.role-section {
  background: linear-gradient(135deg, #fff, #eef6ff);
}

.track-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
}

.track-grid span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: .3s ease;
}

.track-grid span:hover {
  transform: translateY(-5px);
  color: #fff;
  background: var(--grad);
  box-shadow: 0 20px 44px rgba(37, 99, 235, .18);
}

/* CHECKLIST */
.readiness-section {
  background: #fff;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.check-card i {
  color: #fff;
}

/* FORM */
.form-section {
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.form-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.form-copy h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.form-copy p {
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 650;
}

.contact-panel {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-panel div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: center;
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  transition: .3s ease;
}

.contact-panel div:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.contact-panel i {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(20,184,166,.12), rgba(37,99,235,.1));
  color: var(--primary);
}

.contact-panel span {
  color: var(--muted);
  font-size: .9rem;
}

.placement-form {
  padding: 30px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.form-title i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: var(--grad);
  font-size: 1.25rem;
  box-shadow: 0 14px 34px rgba(37,99,235,.25);
}

.form-title p {
  color: var(--muted);
  font-size: .9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: .9rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #f8fafc;
  font: inherit;
  outline: 0;
  transition: .3s ease;
}

.field textarea {
  min-height: 135px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 5px rgba(20,184,166,.12);
}

.submit-btn {
  width: 100%;
  padding: 17px 22px;
  border: 0;
  border-radius: 18px;
  color: #fff;
  background: var(--grad);
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(37,99,235,.24);
  transition: .35s ease;
}

.submit-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(37,99,235,.34);
}

/* REVEAL */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .75s ease, transform .75s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
}

.js .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

/* ANIMATIONS */
@keyframes gridMove { to { background-position: 54px 54px; } }
@keyframes floatOrb { 50% { transform: translateY(-18px) scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cardFloat { 50% { transform: translateY(-12px) rotateX(2deg); } }
@keyframes progressPulse { to { transform: scaleX(.96); transform-origin: left; filter: saturate(1.4); } }

/* RESPONSIVE */
@media (max-width: 1120px) {
  .hero-layout,
  .roadmap-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .placement-console {
    max-width: 650px;
    margin: auto;
  }

  .support-grid,
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .placement-hero {
    padding: 118px 0 66px;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .hero-metrics,
  .console-cards,
  .support-grid,
  .roadmap-steps,
  .checklist-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .btn { width: 100%; }

  .placement-console { min-height: auto; }

  .readiness-orbit { height: 310px; }

  .orbit-node {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }

  .placement-form {
    padding: 22px;
    border-radius: 24px;
  }
}
