/* ============ Daled Systems ============ */
:root {
  --navy: #0d1333;
  --navy-2: #131a3a;
  --blue: #3d5bff;
  --violet: #7a2bf5;
  --ink: #1a2040;
  --muted: #6b7194;
  --bg: #f7f8fd;
  --card: #ffffff;
  --line: #e6e8f4;
  --radius: 18px;
  --grad: linear-gradient(120deg, #3d5bff 0%, #4a45f2 55%, #7a2bf5 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 253, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
}

.brand {
  display: flex;
  align-items: center;
}
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--navy); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(74, 69, 242, 0.35);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(74, 69, 242, 0.45);
}
.btn-primary:hover::after { left: 135%; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 75% -10%, rgba(61, 91, 255, 0.14), transparent 60%),
              radial-gradient(900px 500px at 10% 110%, rgba(122, 43, 245, 0.1), transparent 60%),
              var(--bg);
  padding: 96px 0 110px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 18ch;
  margin-inline: auto;
}
.hero h1 .grad {
  background: linear-gradient(120deg, #3d5bff 0%, #4a45f2 30%, #7a2bf5 50%, #4a45f2 70%, #3d5bff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* hero entrance */
.hero .hero-badge,
.hero h1,
.hero p,
.hero .hero-cta,
.hero .check-badge {
  opacity: 0;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero h1 { animation-delay: 0.12s; }
.hero p { animation-delay: 0.24s; }
.hero .hero-cta { animation-delay: 0.38s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero p {
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: 1.13rem;
  color: var(--muted);
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* floating orbs — soft radial gradients (blur filters glitch on some mobile GPUs) */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
.orb-1 { width: 430px; height: 430px; background: radial-gradient(circle, rgba(61, 91, 255, 0.28), transparent 65%); top: -150px; left: -150px; }
.orb-2 { width: 490px; height: 490px; background: radial-gradient(circle, rgba(122, 43, 245, 0.24), transparent 65%); bottom: -200px; right: -170px; animation-delay: -4.5s; }
.orb-3 { width: 280px; height: 280px; background: radial-gradient(circle, rgba(90, 139, 255, 0.20), transparent 65%); top: 30%; right: 10%; animation-delay: -2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(26px); }
}

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

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Features (boxless) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 56px;
  max-width: 1020px;
  margin: 0 auto;
}

.feature { position: relative; }

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  margin-bottom: 20px;
  box-shadow: 0 12px 28px rgba(74, 69, 242, 0.28);
  animation: bob 5.5s ease-in-out infinite;
}
.feature:hover .feature-icon { animation: none; transform: rotate(0deg) scale(1.08); transition: transform 0.25s; }

@keyframes bob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-9px); }
}
.feature-icon svg { width: 27px; height: 27px; stroke: #fff; }

.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.feature p { color: var(--muted); font-size: 0.96rem; }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: 36px; max-width: 440px; }
  .feature {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
  }
  .feature-icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .feature h3 { grid-column: 2; align-self: center; }
  .feature p { grid-column: 2; margin-top: 4px; }
}

/* ---------- Timeline (boxless) ---------- */
.how { padding-top: 0; }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 940px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: var(--grad);
  opacity: 0.28;
}

.tl-step { text-align: center; }

.tl-dot {
  position: relative;
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  box-shadow: 0 0 0 8px var(--bg), 0 10px 24px rgba(74, 69, 242, 0.3);
}

.tl-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(74, 69, 242, 0.45);
  animation: pulse 2.6s ease-out infinite;
}
.tl-step:nth-child(2) .tl-dot::after { animation-delay: 0.85s; }
.tl-step:nth-child(3) .tl-dot::after { animation-delay: 1.7s; }

@keyframes pulse {
  0% { transform: scale(0.72); opacity: 0.9; }
  70%, 100% { transform: scale(1.4); opacity: 0; }
}

.tl-step h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.tl-step p {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 30ch;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 38px; max-width: 440px; }
  .timeline::before {
    top: 25px;
    bottom: 25px;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
  }
  .tl-step {
    display: grid;
    grid-template-columns: 50px 1fr;
    column-gap: 20px;
    text-align: left;
  }
  .tl-dot { grid-row: 1 / span 2; margin: 0; }
  .tl-step h3 { grid-column: 2; align-self: center; }
  .tl-step p { grid-column: 2; margin: 4px 0 0; max-width: none; }
}

/* ---------- Success badge (thanks page) ---------- */
.check-badge {
  width: 84px;
  height: 84px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  box-shadow: 0 16px 40px rgba(74, 69, 242, 0.4);
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.check-badge svg { width: 40px; height: 40px; }

@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---------- Dark band ---------- */
.band {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1f4d 60%, #2a1a5e 100%);
  border-radius: 28px;
  padding: 72px 8%;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(600px 300px at 80% 20%, rgba(61, 91, 255, 0.35), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-10%, 9%); }
}
.band > * { position: relative; }
.band h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.band p {
  margin: 14px auto 34px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.72);
}

.band-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 42px;
  max-width: 920px;
  text-align: left;
}

.band-col { padding: 4px 30px; }
.band-col + .band-col { border-left: 1px solid rgba(255, 255, 255, 0.16); }

.band-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  background: linear-gradient(120deg, #9db1ff, #c69bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.band-col p {
  margin: 0;
  max-width: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 760px) {
  .band-cols { grid-template-columns: 1fr; gap: 24px; }
  .band-col { padding: 0; }
  .band-col + .band-col {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 24px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child { border-top: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  transition: color 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }

.faq-x {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.faq-x::before,
.faq-x::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s;
}
.faq-x::before { width: 14px; height: 2px; }
.faq-x::after { width: 2px; height: 14px; }
.faq details[open] .faq-x::after { transform: rotate(90deg); }

.faq details p {
  padding: 0 40px 22px 4px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Say hi strip ---------- */
.say-hi {
  text-align: center;
  padding-top: 20px;
}
.say-hi h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.say-hi p {
  margin: 12px auto 26px;
  color: var(--muted);
  max-width: 46ch;
}
.big-mail {
  display: inline-block;
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 3px solid transparent;
  transition: filter 0.2s;
}
.big-mail:hover { filter: brightness(1.2); }
.say-hi .hero-cta { margin-top: 28px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}
.foot .brand img { height: 36px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-hero {
  padding: 80px 0 40px;
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.contact-hero p {
  margin: 14px auto 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 96px;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-side {
  background: linear-gradient(150deg, var(--navy) 0%, #1c2154 70%, #321a66 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 34px;
}
.contact-side h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; }
.contact-side > p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin-bottom: 30px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 0.95rem;
}
.contact-item svg {
  width: 20px;
  height: 20px;
  stroke: #9db1ff;
  flex-shrink: 0;
}
.contact-item a:hover { text-decoration: underline; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfbfe;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(61, 91, 255, 0.12);
  background: #fff;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { padding: 10px 20px; font-size: 0.88rem; }
  .brand img { height: 44px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 76px; }
  .orb-1 { width: 300px; height: 300px; top: -110px; left: -120px; }
  .orb-2 { width: 340px; height: 340px; bottom: -150px; right: -140px; }
  .orb-3 { display: none; }
  .band { padding: 52px 8%; border-radius: 20px; text-align: left; }
  .band h2, .band p { text-align: left; }
  .band p { margin-left: 0; }
  .form-card { padding: 30px 22px; }
  .contact-side { padding: 32px 26px; }
  .faq summary { font-size: 0.98rem; padding: 18px 2px; }
  .faq details p { padding-right: 8px; }
  .foot {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 4px 0;
  }
  .foot-links { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .foot .brand img { height: 40px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* stagger siblings inside a group */
.features .feature:nth-child(2),
.timeline .tl-step:nth-child(2) { transition-delay: 0.14s; }
.features .feature:nth-child(3),
.timeline .tl-step:nth-child(3) { transition-delay: 0.28s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
