/* ===========================================================
   Dhyanbit — landing styles
   Brand: blue (#3b5bff) → indigo/purple (#7c3aed)
   =========================================================== */

:root {
  --brand-1: #3b6bff;
  --brand-2: #6d3bff;
  --brand-3: #a855f7;
  --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));

  --bg: #07070f;
  --bg-2: #0c0c1b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f4f5fb;
  --muted: #a7abc4;
  --muted-2: #818699;

  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow: 0 30px 80px -30px rgba(70, 60, 200, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .nav__name { font-family: "Sora", sans-serif; line-height: 1.1; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Animated background ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 70% -10%, rgba(109, 59, 255, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 0% 100%, rgba(59, 107, 255, 0.16), transparent 55%),
    var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.blob-1 { width: 520px; height: 520px; top: -120px; left: -80px;
  background: radial-gradient(circle, #3b6bff, transparent 70%); animation: float1 18s var(--ease) infinite; }
.blob-2 { width: 460px; height: 460px; top: 30%; right: -120px;
  background: radial-gradient(circle, #7c3aed, transparent 70%); animation: float2 22s var(--ease) infinite; }
.blob-3 { width: 380px; height: 380px; bottom: -100px; left: 40%;
  background: radial-gradient(circle, #a855f7, transparent 70%); animation: float3 26s var(--ease) infinite; }

@keyframes float1 { 50% { transform: translate(120px, 80px) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-100px, 60px) scale(0.9); } }
@keyframes float3 { 50% { transform: translate(80px, -90px) scale(1.1); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.7);
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 54px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 15, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { width: 40px; height: 40px; object-fit: contain;
  border-radius: 10px; }
.nav__name { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 16px; border-radius: 999px; color: var(--muted);
  font-size: 0.94rem; font-weight: 500; transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__cta {
  background: var(--grad); color: #fff !important; font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(109, 59, 255, 0.7);
}
.nav__cta:hover { background: var(--grad) !important; filter: brightness(1.08); transform: translateY(-1px); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  cursor: pointer; border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff;
  box-shadow: 0 16px 40px -14px rgba(109, 59, 255, 0.8); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }

/* ---------- Layout ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px, 11vw, 140px) clamp(20px, 5vw, 40px); }
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-3); margin-bottom: 16px;
}
.section__title { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 700; letter-spacing: -0.025em; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.06rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; position: relative;
  padding: 140px clamp(20px, 5vw, 40px) 80px;
}
.hero__inner { max-width: 880px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 0.86rem; color: var(--muted); margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

.hero__title { font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.03em; }
.hero__title .grad-text { display: block; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px;
  margin: 26px auto 0; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero__tag { margin-top: 30px; color: var(--muted-2); font-size: 1.02rem; }
.hero__tag em { color: var(--brand-3); }

.hero__stats { display: flex; gap: clamp(24px, 6vw, 64px); justify-content: center;
  flex-wrap: wrap; margin-top: 56px; }
.stat { display: flex; flex-direction: column; align-items: center; position: relative; }
.stat__num { font-family: "Sora", sans-serif; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; }
.stat__plus { font-family: "Sora", sans-serif; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--brand-3); margin-top: -2px; }
.stat__label { color: var(--muted); font-size: 0.86rem; margin-top: 4px; }
.stat__num, .stat__plus { display: inline; }
.stat { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px; }
.stat__label { flex-basis: 100%; }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.hero__scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--brand-3), transparent);
  animation: scrolldown 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldown { 0%,100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--border);
  background: rgba(255,255,255,0.015); padding: 18px 0; }
.marquee__track { display: flex; gap: 36px; white-space: nowrap; width: max-content;
  animation: marquee 32s linear infinite; }
.marquee__track span { font-family: "Sora", sans-serif; font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 600; color: var(--muted); }
.marquee__track span:nth-child(2n) { color: var(--brand-3); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (services) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(124, 58, 237, 0.14); color: var(--brand-3); margin-bottom: 20px;
  border: 1px solid rgba(124, 58, 237, 0.25); transition: transform 0.4s var(--ease); }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card__glow { position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.35), transparent 70%);
  top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover .card__glow { opacity: 1; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 6vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__logo-wrap {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 30%, rgba(124,58,237,0.18), var(--surface));
  padding: 40px; display: grid; place-items: center; box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-12px); } }
.about__logo-wrap img { width: min(280px, 70%); filter: drop-shadow(0 20px 40px rgba(124,58,237,0.4)); }
.about__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.chip { font-size: 0.84rem; padding: 7px 15px; border-radius: 999px; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface); }
.about__copy p { color: var(--muted); margin-top: 16px; }
.about__copy strong { color: var(--text); }
.about__copy em { color: var(--brand-3); font-style: normal; font-weight: 600; }
.ticklist { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.ticklist li { position: relative; padding-left: 34px; color: var(--text); font-size: 0.98rem; }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/%3E%3C/svg%3E") center/14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s; }
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9; }
.step h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.95rem; }
.step::after { content: ""; position: absolute; top: 48px; right: -12px; width: 24px; height: 2px;
  background: var(--border-strong); }
.step:last-child::after { display: none; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 32px 28px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s; }
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-2); }
.feature--wide { grid-column: span 2; }
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { color: var(--muted); }
.feature__bars { display: flex; gap: 6px; margin-top: 20px; height: 6px; }
.feature__bars i { flex: 1; border-radius: 999px; background: var(--border-strong); overflow: hidden; position: relative; }
.feature__bars i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0);
  transform-origin: left; transition: transform 0.8s var(--ease); }
.feature.in .feature__bars i::after { transform: scaleX(1); }
.feature__bars i:nth-child(2)::after { transition-delay: 0.12s; }
.feature__bars i:nth-child(3)::after { transition-delay: 0.24s; }
.feature__bars i:nth-child(4)::after { transition-delay: 0.36s; }

/* ---------- Contact ---------- */
.contact__card {
  position: relative; max-width: 920px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 7vw, 72px); border-radius: 28px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(124,58,237,0.16), rgba(59,107,255,0.08));
  box-shadow: var(--shadow);
}
.contact__glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; top: -180px; left: 50%;
  transform: translateX(-50%); background: radial-gradient(circle, rgba(124,58,237,0.5), transparent 70%);
  filter: blur(40px); }
.contact__title { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.025em; position: relative; }
.contact__lead { color: var(--muted); max-width: 520px; margin: 16px auto 0; position: relative; }
.contact__methods { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin: 34px 0; position: relative; }
.contact__method { display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 22px; border-radius: var(--radius-sm); background: rgba(0,0,0,0.25);
  border: 1px solid var(--border); transition: transform 0.3s var(--ease), border-color 0.3s; }
.contact__method:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.contact__method svg { width: 24px; height: 24px; color: var(--brand-3); flex-shrink: 0; }
.contact__method span { display: flex; flex-direction: column; font-weight: 600; }
.contact__method small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(48px, 7vw, 72px) clamp(20px, 5vw, 40px) 36px;
  max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand img { width: 130px; margin-bottom: 6px; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer__nav a { color: var(--muted); transition: color 0.25s; }
.footer__nav a:hover { color: var(--text); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; text-align: right; }
.footer__contact a { color: var(--muted); transition: color 0.25s; }
.footer__contact a:hover { color: var(--brand-3); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted-2); font-size: 0.84rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad); color: #fff; z-index: 90;
  box-shadow: 0 12px 30px -10px rgba(109,59,255,0.8); opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(0.9); transition: opacity 0.4s, transform 0.4s var(--ease); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal, .timeline .reveal, .feature-grid .reveal { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards, .timeline, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; }
  .about__grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 14px;
    background: rgba(10, 10, 22, 0.96); backdrop-filter: blur(18px);
    padding: 40px; transform: translateX(100%); transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--border);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { padding: 14px 18px; font-size: 1.05rem; }
  .nav__toggle { display: flex; z-index: 110; }
}

@media (max-width: 560px) {
  .cards, .timeline, .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-column: span 1; }
  .footer__top { flex-direction: column; }
  .footer__contact { text-align: left; }
  .contact__methods { flex-direction: column; }
}
