/* UlaQ marketing site — app renkleriyle modern tasarım sistemi */
:root {
  --primary: #501c80;
  --primary-dark: #150042;
  --primary-light: #7b3fae;
  --secondary: #fab863;
  --secondary-dark: #f59d2c;
  --bg: #f8f4fc;
  --surface: #ffffff;
  --surface-soft: #f3eaf8;
  --text: #212121;
  --text-muted: #616161;
  --text-on-dark: #ffffff;
  --border: rgba(80, 28, 128, 0.12);
  --shadow-sm: 0 4px 20px rgba(21, 0, 66, 0.06);
  --shadow-md: 0 12px 40px rgba(21, 0, 66, 0.1);
  --shadow-lg: 0 24px 60px rgba(21, 0, 66, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 76px;
  --gradient-hero: linear-gradient(135deg, #150042 0%, #501c80 45%, #7b3fae 100%);
  --gradient-cta: linear-gradient(135deg, #6b2fa0, #501c80);
  --font: "Poppins", system-ui, sans-serif;
  --purple-dark: var(--primary);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-logo img {
  height: 52px;
  width: auto;
  border-radius: 18%;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.site-menu a {
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.site-header.is-scrolled .site-menu a:not(.btn) {
  color: var(--text);
}

.site-menu a:hover,
.site-menu a.is-active {
  background: rgba(250, 184, 99, 0.18);
  color: var(--secondary);
}

.site-header.is-scrolled .site-menu a:hover,
.site-header.is-scrolled .site-menu a.is-active {
  color: var(--primary);
  background: var(--surface-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle {
  background: var(--surface-soft);
  color: var(--primary);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(80, 28, 128, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(250, 184, 99, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 80px;
  background: var(--gradient-hero);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: var(--secondary);
  top: -120px;
  right: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: #fff;
  bottom: -100px;
  left: -60px;
  opacity: 0.08;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.08rem;
  opacity: 0.9;
  max-width: 540px;
  margin-bottom: 28px;
}

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

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--surface);
  color: var(--primary);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.88rem;
}

.hero-compact {
  padding-bottom: 64px;
  text-align: center;
}

.hero-compact .hero-grid {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero-compact .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-compact .hero-actions {
  justify-content: center;
}

/* ─── Sections ─── */
.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--gradient-hero);
  color: var(--text-on-dark);
}

.section-soft {
  background: var(--surface-soft);
}

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

.section-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(80, 28, 128, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-dark .section-label {
  background: rgba(250, 184, 99, 0.2);
  color: var(--secondary);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

/* ─── Cards & grids ─── */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  object-fit: contain;
}

.card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-top: 10px;
}

.card ul li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature row (features page) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.feature-row.reverse .feature-row-media {
  order: 2;
}

.feature-row-media {
  display: flex;
  justify-content: center;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.feature-row-media img {
  width: min(200px, 70%);
}

.feature-row h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-row p,
.feature-row li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  margin: 16px 0 24px;
}

.feature-list li {
  padding-left: 22px;
  position: relative;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: 700;
}

/* Steps / how-it-works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-card .step-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 14px;
}

.step-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* Swiper (index) */
.features-slider {
  padding: 20px 0 56px !important;
}

.features-slider .swiper-slide {
  width: auto;
  height: auto;
}

.features-slider .feature-card {
  width: min(340px, 85vw);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary) !important;
}

/* CTA band */
.cta-band {
  margin: 0;
  padding: 64px 0;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-band p {
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 24px;
}

/* App store */
.app-store-block {
  text-align: center;
}

.app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.app-btn img {
  height: 52px;
  width: auto;
}

.app-store-wrap {
  position: relative;
  display: inline-block;
}

.coming-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 0, 66, 0.72);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  font-size: 0.9rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info-grid {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-card i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(80, 28, 128, 0.12);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 56px;
  border-radius: 18%;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  opacity: 0.75;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--secondary);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--secondary);
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}

.social-btn:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-admin {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-admin a {
  font-size: 0.82rem;
  opacity: 0.5;
}

/* Modal (how-it-works) */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(21, 0, 66, 0.65);
  backdrop-filter: blur(4px);
  padding: 24px;
  overflow-y: auto;
}

.modal.is-open,
.modal[style*="block"] {
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
}

.modal-content {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: min(900px, 96vw);
  width: 100%;
  margin: 40px auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  color: var(--text);
  max-height: 85vh;
  overflow-y: auto;
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

/* Prose (about story) */
.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h1,
.prose h2 {
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.25;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mission-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
}

.mission-card h2 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Payment strip tweak */
.payment-trust-strip {
  background: #0d0028;
}

/* ─── Cruip-inspired (Open PRO) blocks ─── */
.page-dark {
  background: var(--primary-dark);
  color: var(--text-on-dark);
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-blob--gold {
  background: var(--secondary);
  opacity: 0.28;
}

.glow-blob--purple {
  background: var(--primary-light);
  opacity: 0.45;
}

.glow-blob--white {
  background: #fff;
  opacity: 0.06;
}

.btn-arrow::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Split hero */
.hero-split {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 32px) 0 72px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(123, 63, 174, 0.45), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(250, 184, 99, 0.15), transparent),
    var(--primary-dark);
  overflow: hidden;
}

.hero-split .container {
  position: relative;
  z-index: 1;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-split h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-split .hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-split .hero-eyebrow {
  background: rgba(250, 184, 99, 0.14);
  border-color: rgba(250, 184, 99, 0.35);
  color: var(--secondary);
}

/* Showcase panel (right side) */
.showcase-panel {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.showcase-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(250, 184, 99, 0.5), rgba(123, 63, 174, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.showcase-main {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.showcase-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.showcase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(80, 28, 128, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
}

.showcase-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Workflow section (Cruip Tailored Workflows) */
.workflow-intro {
  max-width: 640px;
  margin-bottom: 48px;
}

.workflow-intro.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.workflow-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.workflow-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.workflow-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(80, 28, 128, 0.25);
}

.workflow-card--dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

.workflow-card--dark:hover {
  border-color: rgba(250, 184, 99, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.workflow-card--dark p {
  color: rgba(255, 255, 255, 0.68);
}

.workflow-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 14px;
}

.workflow-card--dark .workflow-num {
  color: var(--secondary);
}

.workflow-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.workflow-card--dark h3 {
  color: #fff;
}

.workflow-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.workflow-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 16px;
}

.workflow-card .btn {
  width: 100%;
}

/* Feature bento grid */
.feature-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.feature-tile {
  grid-column: span 4;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-tile--wide {
  grid-column: span 6;
}

.feature-tile--hero {
  grid-column: span 8;
  background: linear-gradient(135deg, rgba(80, 28, 128, 0.08), rgba(250, 184, 99, 0.12));
  border-color: rgba(80, 28, 128, 0.18);
}

.feature-tile-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}

.feature-tile h3 {
  font-size: 1.12rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-tile p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.feature-tile a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-light);
}

.feature-tile a:hover {
  color: var(--secondary-dark);
}

/* Deep-dive blocks */
.dive-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.dive-block.reverse {
  direction: rtl;
}

.dive-block.reverse > * {
  direction: ltr;
}

.dive-visual {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.dive-visual::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px dashed rgba(80, 28, 128, 0.15);
  pointer-events: none;
}

.dive-visual img {
  width: min(220px, 80%);
  margin: 0 auto;
}

.dive-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.dive-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.dive-content p,
.dive-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Process timeline */
.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 28px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary), var(--primary-light), transparent);
  opacity: 0.5;
}

.timeline-dot {
  width: 28px;
  height: 28px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-cta);
  border: 3px solid var(--primary-dark);
  box-shadow: 0 0 0 4px rgba(250, 184, 99, 0.25);
  position: relative;
  z-index: 1;
}

/* CTA panel (Cruip join section) */
.cta-panel {
  position: relative;
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(123, 63, 174, 0.5), transparent),
    var(--primary-dark);
  color: #fff;
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-panel p {
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.cta-panel .hero-actions {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Stats strip on dark */
.stats-dark {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-dark-item {
  padding: 28px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.stat-dark-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.stat-dark-item span {
  font-size: 0.82rem;
  opacity: 0.7;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .workflow-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-split-grid,
  .dive-block {
    grid-template-columns: 1fr;
  }

  .dive-block.reverse {
    direction: ltr;
  }

  .workflow-grid,
  .workflow-grid--5 {
    grid-template-columns: 1fr;
  }

  .feature-bento {
    grid-template-columns: 1fr;
  }

  .feature-tile,
  .feature-tile--wide,
  .feature-tile--hero {
    grid-column: span 1;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .contact-grid,
  .mission-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-row-media {
    order: 0;
  }

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

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(320px, 88vw);
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    gap: 4px;
  }

  .site-menu.is-open {
    transform: translateX(0);
  }

  .site-menu a {
    color: var(--text) !important;
    border-radius: 12px;
  }

  .site-header:not(.is-scrolled) .site-menu a.btn-accent {
    margin-top: 12px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .stats-row {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-badge {
    display: none;
  }
}
