/* ================================================================
   DEEP-LP-S — Core Styles
   Layout, typography, colors, component appearance.
   Edit safely — no animations here.
   ================================================================ */

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

:root {
  --blue: #3322ee;
  --blue-dark: #1a0fa0;
  --cyan: #00aaff;
  --green: #00cc00;
  --yellow: #eecc22;
  --text: #090909;
  --text-muted: rgba(9,9,9,0.6);
  --bg-light: #f0f4ff;
  --white-glass: rgba(255,255,255,0.55);
  --font: 'Montserrat', sans-serif;
  --max-w: 1280px;
  --px: 16px;
}
@media (min-width: 640px)  { :root { --px: 32px; } }
@media (min-width: 1024px) { :root { --px: 64px; } }

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Parallax background canvas ── */
#parallaxCanvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Animated DEEP logo ── */
.hero-logo {
  position: fixed; z-index: 101; pointer-events: none;
  will-change: transform, top, left, width;
  transform-origin: left top;
}
.hero-logo.in-header { pointer-events: auto; cursor: pointer; z-index: 101; }
.hero-logo svg { display: block; width: 100%; height: 100%; }
.hero-logo-placeholder {
  height: 44px; margin-bottom: 8px;
  aspect-ratio: 1181 / 173;
}
@media (min-width: 640px)  { .hero-logo-placeholder { height: 56px; margin-bottom: 12px; } }
@media (min-width: 1024px) { .hero-logo-placeholder { height: 72px; margin-bottom: 12px; } }
@media (max-width: 768px) { .hero-logo-placeholder { margin-left: auto; margin-right: auto; } }

.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }

/* ── Shared text helpers ── */
.gradient-text { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.gradient-text-green { background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── SECTIONS shared ── */
section { padding: 80px 0; overflow: hidden; position: relative; z-index: 1; }
.section-label { font-weight: 500; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-weight: 900; font-size: clamp(24px, 4vw, 48px); color: var(--blue-dark); line-height: 1.12; margin-bottom: 20px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 600px; }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(232,240,255,0.55); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 30px rgba(51,34,238,0.06);
}
.header.scrolled {
  background: rgba(232,240,255,0.85);
  box-shadow: 0 4px 30px rgba(51,34,238,0.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header-logo-anchor { display: block; height: 28px; aspect-ratio: 338 / 173; pointer-events: none; }
.header-nav { display: flex; gap: 4px; }
.header-nav a {
  padding: 8px 16px; font-weight: 600; font-size: 13px; color: var(--text-muted);
  position: relative; border-radius: 4px;
}
.header-nav a:hover { color: var(--blue); background: rgba(51,34,238,0.07); }
.header-nav a.active { color: var(--blue); background: rgba(51,34,238,0.1); }
.header-cta {
  padding: 10px 20px; background: var(--blue); color: #fff; font-weight: 700; font-size: 13px;
  border: none; cursor: pointer;
  box-shadow: 0 2px 12px rgba(51,34,238,0.3);
}
.header-cta:hover { background: #2a1ed0; box-shadow: 0 4px 20px rgba(51,34,238,0.4); }
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .header-inner { justify-content: center; }
}

/* ── Burger button (mobile only) ── */
.burger {
  display: none; position: absolute; right: var(--px); top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 6px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px;
  z-index: 102;
}
.burger-line {
  display: block; width: 100%; height: 2px;
  background: var(--blue-dark); border-radius: 1px;
  transform-origin: center;
}
@media (max-width: 768px) {
  .burger { display: flex; }
}

/* ── Mobile menu overlay ── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(232,240,255,0.97); backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; pointer-events: none;
}
.mobile-menu.open {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mobile-menu-nav {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.mobile-menu-link {
  font-weight: 700; font-size: 20px; color: var(--blue-dark);
  padding: 12px 24px; border-radius: 4px;
}
.mobile-menu-link:hover,
.mobile-menu-link.active { color: var(--blue); background: rgba(51,34,238,0.07); }
.mobile-menu-cta {
  margin-top: 16px; padding: 14px 32px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 20px rgba(51,34,238,0.25);
}

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 64px;
  background: linear-gradient(165deg, rgba(237,242,255,0.55), rgba(220,232,255,0.55));
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(24px, 4.5vw, 44px); color: var(--blue-dark); line-height: 1.12; }
.hero p { font-size: 16px; color: var(--text-muted); max-width: 560px; }
.hero-cta {
  display: inline-block; padding: 14px 28px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(51,34,238,0.25);
}
.hero-images {
  position: relative; height: 500px; perspective: 1200px;
}
.hero-images img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  opacity: 0; transform-origin: left center;
  filter: drop-shadow(0 20px 60px rgba(51,34,238,0.18));
}
.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
}
.scroll-indicator svg { opacity: 0.5; }
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto; }
  .hero-images { height: 300px; }
}

/* ── CARDS GRID ── */
.cards-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 32px; }
.card {
  background: var(--white-glass); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10); padding: 24px;
  position: relative; overflow: hidden;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(51,34,238,0.1), transparent);
  border-radius: 50%; opacity: 0.3; pointer-events: none;
}
.card-number { font-weight: 900; font-size: clamp(48px, 8vw, 72px); line-height: 1; margin-bottom: 12px; }
.card h3 { font-weight: 700; font-size: 14px; color: var(--blue-dark); line-height: 1.4; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-muted); }

.card-red .card-number { background: linear-gradient(135deg, #ff1a1a, #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.card-red::before { background: radial-gradient(circle, rgba(255,26,26,0.15), transparent); }

/* ── BANNER ── */
.banner {
  margin-top: 32px; padding: 24px 32px;
  background: var(--white-glass); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7); position: relative;
}
.banner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green), var(--yellow));
}
.banner p { font-weight: 700; font-size: clamp(15px, 2vw, 19px); color: var(--blue-dark); }

/* ── CAROUSEL (Features section) ── */
.carousel-nav-wrap {
  position: relative; margin-top: 32px; margin-bottom: 32px;
}
.carousel-nav {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-left: max(16px, calc((100vw - var(--max-w)) / 2 + 16px));
  padding-right: 48px;
}
.carousel-nav::-webkit-scrollbar { display: none; }
.carousel-pill {
  flex-shrink: 0; padding: 6px 12px;
  font-family: var(--font); font-weight: 600; font-size: 11px;
  letter-spacing: 0.04em; white-space: nowrap;
  cursor: pointer; border: 1px solid rgba(9,9,9,0.15);
  background: transparent; color: rgba(9,9,9,0.45);
  border-radius: 0;
}
@media (min-width: 640px) { .carousel-pill { font-size: 12px; } }
.carousel-pill.active {
  color: #fff;
  /* background + borderColor set by JS based on data-color */
}
.carousel-nav-fade {
  position: absolute; top: 0; right: 0; bottom: 8px; width: 64px;
  background: linear-gradient(to left, rgba(250,252,255,0.9), transparent);
  pointer-events: none;
}
.carousel-viewport {
  width: 100%; overflow-x: hidden; overflow-y: visible;
  cursor: grab; touch-action: pan-y; padding: 16px 0;
}
.carousel-viewport.grabbing { cursor: grabbing; }
.carousel-track {
  display: flex; gap: 20px;
  will-change: transform; user-select: none;
}
.carousel-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px;
}
.carousel-position {
  font-family: var(--font); font-weight: 700; font-size: 14px;
  color: var(--text-muted); letter-spacing: 0.05em;
}
.carousel-arrows { display: flex; gap: 12px; }
.carousel-arrow {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.7);
  background: var(--white-glass); backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
@media (min-width: 640px) { .carousel-arrow { width: 44px; height: 44px; } }

.service-card {
  background: var(--white-glass); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10); padding: 22px; position: relative;
  overflow: hidden; flex-shrink: 0; min-height: 180px;
  transform-style: preserve-3d;
}
.service-card::before {
  content: ""; position: absolute; top: -80px; right: -80px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(51,34,238,0.08), transparent);
  border-radius: 50%; opacity: 0.4; pointer-events: none;
}
.service-card h3 { font-weight: 700; font-size: 15px; color: var(--blue-dark); margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.service-accent { position: absolute; top: 0; left: 0; right: 0; height: 2px; }

/* ── METRICS ── */
.metrics-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 32px; }
.metric {
  background: var(--white-glass); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10); padding: 28px; text-align: center;
}
.metric-value {
  font-weight: 900; font-size: clamp(28px, 5vw, 46px); line-height: 1; margin-bottom: 8px;
  opacity: 0; transform: scale(0.5);
}
.metric h4 { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.metric p { font-size: 13px; color: var(--text-muted); }

/* ── BENEFITS ── */
.benefits {
  margin-top: 48px; padding: 40px;
  background: var(--white-glass); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
}
.benefits h3 { font-weight: 800; font-size: clamp(18px, 2.5vw, 26px); color: var(--blue-dark); text-align: center; margin-bottom: 32px; }
.benefits-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr; } .benefits { padding: 24px; } }
.benefits h4 { font-weight: 700; font-size: 17px; margin-bottom: 16px; }
.benefits ul { list-style: none; }
.benefits li { padding: 6px 0; font-size: 14px; color: rgba(9,9,9,0.75); display: flex; gap: 8px; align-items: flex-start; }
.benefits li::before { content: "✓"; font-weight: 700; flex-shrink: 0; }
.benefits-hr h4 { color: var(--green); }
.benefits-hr li::before { color: var(--green); }
.benefits-emp h4 { color: var(--cyan); }
.benefits-emp li::before { color: var(--cyan); }

/* ── CTA ── */
.cta-section {
  margin-top: 48px; padding: 48px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1a0fa0, #3322ee 40%, #00aaff);
}
.cta-section::before, .cta-section::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-section::before { top: -150px; right: -150px; width: 400px; height: 400px; }
.cta-section::after { bottom: -120px; left: -120px; width: 320px; height: 320px; }
.cta-section h3 { font-weight: 900; font-size: clamp(22px, 3.5vw, 38px); color: #fff; line-height: 1.15; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-section > p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; max-width: 560px; position: relative; z-index: 1; }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; position: relative; z-index: 1; }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } .cta-section { padding: 24px; } }
.form-full { grid-column: 1 / -1; }
.form-input {
  width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2); color: #fff; font-family: var(--font); font-size: 14px;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.4); }
.form-input:focus {
  border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.15);
}
textarea.form-input { resize: none; height: 112px; }
.form-submit {
  margin-top: 24px; padding: 14px 32px; background: #fff; color: var(--blue);
  font-weight: 700; font-size: 15px; border: none; cursor: pointer;
  position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.form-note { margin-top: 12px; font-size: 11px; color: rgba(255,255,255,0.4); position: relative; z-index: 1; }

/* ── FOOTER ── */
.footer { text-align: center; padding: 48px 0; font-size: 11px; color: var(--text-muted); }
.powered-by {
  position: fixed; bottom: 16px; right: 16px; background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px); padding: 8px 12px; z-index: 90;
  font-size: 7px; color: rgba(0,0,0,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.powered-by strong { display: block; font-size: 11px; color: rgba(0,0,0,0.7); }
