/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:        #0a0f1e;
  --mid:         #1e293b;
  --accent:      #0891b2;
  --accent-dark: #0e7490;
  --accent-bg:   #ecfeff;
  --muted:       #64748b;
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --border:      #e2e8f0;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--bg); line-height: 1.6; }

/* ── Nav ────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
nav.scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1140px; margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-weight: 900; font-size: 1.05rem; color: var(--dark); text-decoration: none; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; }
.nav-links a {
  margin-left: 2rem; font-size: 0.88rem; font-weight: 500;
  color: var(--muted); text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--dark); }
.nav-cta {
  margin-left: 2rem; background: var(--accent); color: white;
  padding: 0.5rem 1.2rem; border-radius: 8px;
  font-size: 0.88rem; font-weight: 600; text-decoration: none;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--accent-dark); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 0.8rem 1.8rem;
  border-radius: 8px; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: all 0.15s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: white; border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--dark); }
.btn-light { background: white; color: var(--accent-dark); border: 2px solid white; }
.btn-light:hover { background: var(--accent-bg); border-color: var(--accent-bg); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 2rem 4rem;
  background: var(--bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -0.04em;
  margin-bottom: 1.5rem; color: var(--dark);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.15rem; color: var(--muted);
  max-width: 480px; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual — decorative blob + stats card */
.hero-visual { position: relative; height: 400px; }
.blob {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  background: radial-gradient(circle at 35% 35%, #0891b2 0%, #0e7490 45%, #164e63 100%);
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  opacity: 0.18;
  animation: morph 8s ease-in-out infinite;
}
.blob-2 {
  width: 220px; height: 220px;
  top: 15%; left: 60%;
  background: radial-gradient(circle, #67e8f9 0%, #0891b2 100%);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  opacity: 0.1;
  animation: morph 6s ease-in-out infinite reverse;
}
@keyframes morph {
  0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
  33%       { border-radius: 40% 60% 45% 55% / 60% 35% 65% 40%; }
  66%       { border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%; }
}
.stats-float {
  position: absolute; bottom: 10%; left: 5%;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  display: flex; gap: 2rem;
}
.stat { text-align: center; }
.stat-n { display: block; font-size: 1.6rem; font-weight: 900; color: var(--accent); letter-spacing: -0.03em; }
.stat-l { display: block; font-size: 0.72rem; font-weight: 500; color: var(--muted); margin-top: 0.1rem; }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding: 6rem 2rem; }
.bg-alt { background: var(--bg-alt); }
.container { max-width: 1140px; margin: 0 auto; }

.label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
}
.label-light { color: #67e8f9; }
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em;
  margin-bottom: 0.8rem; color: var(--dark);
}
.section-sub {
  font-size: 1.05rem; color: var(--muted); max-width: 520px;
  line-height: 1.7; margin-bottom: 3rem;
}

/* ── Service Cards ──────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1.4rem;
}
.card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--accent-bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.card-text { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 0.8rem; }
.card-list { list-style: none; padding: 0; }
.card-list li { font-size: 0.84rem; color: var(--muted); padding: 0.2rem 0 0.2rem 1rem; position: relative; line-height: 1.5; }
.card-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── Approach Steps ─────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.step-num {
  font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: var(--border); margin-bottom: 0.8rem; letter-spacing: -0.04em;
}
.step-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.step-text { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ── Work / Case Studies ────────────────────────────────────────── */
.works { display: grid; gap: 1.2rem; }
.work-card {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 2rem;
  transition: box-shadow 0.2s;
}
.work-card:hover { box-shadow: var(--shadow); }
.work-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem;
}
.work-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.work-text { font-size: 0.9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.badge {
  font-size: 0.75rem; font-weight: 600;
  background: var(--accent-bg); color: var(--accent-dark);
  padding: 0.2rem 0.65rem; border-radius: 999px;
}

/* ── Training / CaseRoom (dark section) ─────────────────────────── */
.section-dark { background: var(--dark); }
.training-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.training-bullets { list-style: none; padding: 0; margin-bottom: 2rem; }
.training-bullets li {
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  padding: 0.4rem 0 0.4rem 1.2rem; position: relative; line-height: 1.6;
}
.training-bullets li::before { content: "✓"; position: absolute; left: 0; color: #67e8f9; font-weight: 700; }
.training-features { display: flex; flex-direction: column; gap: 1.2rem; }
.feature-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.2rem 1.4rem;
}
.feature-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(8,145,178,0.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; stroke: #67e8f9; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h4 { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 0.2rem; }
.feature-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ── Contact ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5rem; align-items: start;
}
.contact-details { list-style: none; padding: 0; margin-top: 0.5rem; }
.contact-details li { font-size: 0.95rem; color: var(--muted); padding: 0.3rem 0; }
.contact-details a { color: var(--accent); text-decoration: none; }

/* Form */
.contact-form form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--mid); }
.form-group input, .form-group textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 0.92rem; color: var(--dark);
  background: var(--bg); transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(8,145,178,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 0.5rem; width: fit-content; border: none; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer { background: var(--mid); padding: 1.8rem 2rem; }
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-weight: 900; font-size: 0.95rem; color: white; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--accent); }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .training-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 4rem 1.2rem; }
  .hero { padding: 6rem 1.2rem 3rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .steps { gap: 2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
