/* ============================================================
   Dimensions Tech — Landing Page
   Brand: deep black + metallic blue gradient
   ============================================================ */
:root {
  --bg: #04070d;
  --bg-2: #080d16;
  --bg-3: #0c1320;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(120, 170, 255, 0.14);
  --border-strong: rgba(120, 170, 255, 0.35);
  --text: #e8eef7;
  --text-soft: #a7b4c6;
  --text-mute: #6c7a90;
  --blue: #1b9bff;
  --blue-deep: #0a6ad1;
  --blue-light: #6fd0ff;
  --grad: linear-gradient(120deg, #6fd0ff 0%, #1b9bff 45%, #0a6ad1 100%);
  --grad-soft: linear-gradient(120deg, rgba(111,208,255,.18), rgba(10,106,209,.18));
  --shadow-blue: 0 18px 50px -18px rgba(27, 155, 255, 0.55);
  --radius: 18px;
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .brand-name { font-family: var(--font-head); }

a { text-decoration: none; }

::selection { background: rgba(27,155,255,.35); color: #fff; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-muted-2 { color: var(--text-mute); font-weight: 400; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 999px; transition: .3s ease; }
.btn-grad {
  background: var(--grad);
  color: #041018;
  border: none;
  box-shadow: var(--shadow-blue);
}
.btn-grad:hover { color: #041018; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 22px 55px -16px rgba(27,155,255,.7); }
.btn-outline-glow {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: transparent;
}
.btn-outline-glow:hover { color: #fff; border-color: var(--blue); background: var(--grad-soft); transform: translateY(-2px); }
.btn-light { border-radius: 999px; font-weight: 700; }

/* ---------- Navbar ---------- */
.dt-nav {
  padding: .9rem 0;
  transition: .35s ease;
  background: transparent;
}
.dt-nav.scrolled {
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: .5rem 0;
  box-shadow: 0 10px 30px -20px #000;
}
.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--border); }
.brand-name { font-weight: 800; letter-spacing: .5px; font-size: 1.15rem; color: #fff; }
.dt-nav .nav-link {
  color: var(--text-soft);
  font-weight: 500;
  padding: .5rem 1rem;
  position: relative;
}
.dt-nav .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .35rem; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; border-radius: 2px;
}
.dt-nav .nav-link:hover, .dt-nav .nav-link.active { color: #fff; }
.dt-nav .nav-link:hover::after, .dt-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border: 1px solid var(--border-strong); color: var(--text); font-size: 1.4rem; padding: .25rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(8,13,22,.97); margin-top: .75rem; border: 1px solid var(--border);
    border-radius: 16px; padding: 1rem; backdrop-filter: blur(14px);
  }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 75% 15%, rgba(27,155,255,.22), transparent 60%),
    radial-gradient(50% 50% at 15% 80%, rgba(10,106,209,.18), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,170,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}
.hero-content { z-index: 2; }
.badge-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-soft); font-size: .82rem; font-weight: 500;
  padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.badge-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 10px var(--blue); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.3rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.2rem; letter-spacing: -1px; }
.hero-lead { font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--text-soft); max-width: 620px; margin-bottom: 2rem; }
.hero-lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; color: var(--text-mute); font-size: .9rem; }
.hero-trust i { color: var(--blue-light); margin-right: .3rem; }

/* Hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-logo { width: 78%; max-width: 340px; border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(27,155,255,.6); border: 1px solid var(--border); animation: floaty 6s ease-in-out infinite; }
.glow-ring {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(27,155,255,.5), transparent 60%);
  filter: blur(30px); animation: spin 12s linear infinite; opacity: .7;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }
.float-card {
  position: absolute; background: rgba(10,16,26,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); color: var(--text); font-size: .85rem; font-weight: 600;
  padding: .6rem .95rem; border-radius: 12px; box-shadow: 0 12px 30px -14px #000;
  font-family: var(--font-head);
}
.float-card i { color: var(--blue-light); margin-right: .35rem; }
.fc-1 { top: 8%; left: -6%; animation: floaty 5s ease-in-out infinite; }
.fc-2 { bottom: 14%; right: -8%; animation: floaty 6.5s ease-in-out infinite .5s; }
.fc-3 { bottom: 2%; left: 6%; animation: floaty 5.8s ease-in-out infinite 1s; }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--text-mute); font-size: 1.4rem; animation: bob 2s infinite; z-index: 3;
}
.scroll-cue:hover { color: var(--blue-light); }
@keyframes bob { 0%,100%{ transform: translate(-50%,0) } 50%{ transform: translate(-50%,8px) } }

/* ---------- Stats ---------- */
.stats-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-card { padding: 1rem .5rem; position: relative; }
.stat-num, .stat-suffix {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem);
  display: inline-block; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--text-soft); font-size: .92rem; margin-top: .6rem; margin-bottom: 0; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg), var(--bg-3) 50%, var(--bg)); }
.section-head { max-width: 720px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .78rem; font-weight: 600; color: var(--blue-light); margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.5px; margin-bottom: 1rem; }
.section-sub { color: var(--text-soft); font-size: 1.05rem; }
.section-head.text-center .section-sub { margin: 0 auto; }

/* ---------- Service cards ---------- */
.service-card, .process-card {
  height: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.7rem; transition: .35s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: .35s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 25px 50px -25px rgba(27,155,255,.4); }
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.svc-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.6rem; color: #04101a; background: var(--grad); margin-bottom: 1.2rem;
  box-shadow: var(--shadow-blue);
}
.svc-icon.sm { width: 50px; height: 50px; font-size: 1.35rem; }
.service-card h3, .process-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p, .process-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; }

/* ---------- Process ---------- */
.process-row { position: relative; }
.process-card { text-align: left; }
.process-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 25px 50px -25px rgba(27,155,255,.4); }
.step-num {
  position: absolute; top: 1rem; right: 1.3rem; font-family: var(--font-head); font-weight: 800;
  font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1px rgba(120,170,255,.25); line-height: 1;
}

/* ---------- About ---------- */
.about-visual { position: relative; display: grid; place-items: center; padding: 2rem; }
.about-glow { position: absolute; inset: 10%; background: var(--grad); filter: blur(70px); opacity: .3; border-radius: 50%; }
.about-logo { position: relative; width: 82%; max-width: 380px; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 30px 70px -25px rgba(0,0,0,.8); }
.exp-badge {
  position: absolute; bottom: 6%; right: 4%; background: rgba(8,13,22,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: 18px; padding: 1rem 1.3rem; text-align: center;
  box-shadow: var(--shadow-blue);
}
.exp-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.exp-num span { font-size: 1rem; }
.exp-text { font-size: .78rem; color: var(--text-soft); text-transform: uppercase; letter-spacing: 1px; }
.why-list { list-style: none; padding: 0; margin: 1.6rem 0 1.5rem; }
.why-list li { display: flex; gap: .8rem; margin-bottom: 1rem; color: var(--text-soft); }
.why-list i { color: var(--blue-light); font-size: 1.2rem; flex-shrink: 0; margin-top: .15rem; }
.why-list strong { color: var(--text); }

/* ---------- Tech marquee ---------- */
.tech-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tech-track { display: flex; gap: 1rem; width: max-content; animation: marquee 28s linear infinite; }
.tech-marquee:hover .tech-track { animation-play-state: paused; }
.tech-chip {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .7rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text);
}
.tech-chip i { color: var(--blue-light); font-size: 1.15rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA banner ---------- */
.cta-banner { padding: 2rem 0; }
.cta-inner {
  background: var(--grad); border-radius: 26px; padding: 2.6rem 2.8rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  box-shadow: 0 30px 70px -25px rgba(27,155,255,.6); position: relative; overflow: hidden;
}
.cta-inner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 120%, rgba(255,255,255,.25), transparent 50%);
}
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #041018; font-weight: 800; margin-bottom: .3rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-inner p { color: rgba(4,16,24,.8); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; color: var(--text-soft); }
.contact-list .ci { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--blue-light); font-size: 1.2rem; }
.contact-list strong { color: var(--text); }
.contact-list a { color: var(--text-soft); }
.contact-list a:hover { color: var(--blue-light); }
.social-row { display: flex; gap: .7rem; margin-top: 1.5rem; }
.social-row a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-soft); font-size: 1.15rem; transition: .3s ease;
}
.social-row a:hover { color: #041018; background: var(--grad); border-color: transparent; transform: translateY(-3px); }

.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 25px 60px -35px #000;
}
.form-label { font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--text-soft); margin-bottom: .4rem; }
.contact-card .form-control, .contact-card .form-select {
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: .7rem .9rem;
}
.contact-card .form-control::placeholder { color: var(--text-mute); }
.contact-card .form-control:focus, .contact-card .form-select:focus {
  background: var(--bg-2); border-color: var(--blue); color: var(--text); box-shadow: 0 0 0 .2rem rgba(27,155,255,.18);
}
.contact-card .form-select option { background: var(--bg-2); color: var(--text); }
.form-success {
  margin-top: 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 500;
  background: rgba(35,200,120,.12); border: 1px solid rgba(35,200,120,.4); color: #7ff0b6;
}
.form-success i { margin-right: .4rem; }

/* ---------- Footer ---------- */
.dt-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.dt-footer .brand-logo { width: 38px; height: 38px; }
.footer-tag { color: var(--text-mute); font-size: .92rem; max-width: 360px; }
.dt-footer h6 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: var(--text); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: var(--text-soft); font-size: .92rem; transition: .25s; }
.footer-links a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-hr { border-color: var(--border); margin: 2.5rem 0 1.5rem; opacity: 1; }
.footer-copy { color: var(--text-mute); font-size: .85rem; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: var(--grad); color: #041018; font-size: 1.2rem;
  box-shadow: var(--shadow-blue); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .35s ease; z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { color: #041018; filter: brightness(1.1); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991px) {
  .section { padding: 4.5rem 0; }
  .hero-visual { min-height: 340px; margin-top: 2rem; }
}
@media (max-width: 575px) {
  .cta-inner { padding: 2rem 1.5rem; text-align: center; justify-content: center; }
  .hero-trust { gap: .8rem 1.2rem; }
  .contact-card { padding: 1.5rem; }
  .section { padding: 4rem 0; }
}
