/* ==========================================================
   ShopTech Digital Solutions Pvt Ltd — One Page Website
   ========================================================== */

:root {
  --violet: #6D28D9;
  --violet-light: #A855F7;
  --magenta: #C026D3;
  --orange: #F97316;
  --green: #16A34A;
  --red: #DC2626;
  --grad: linear-gradient(135deg, var(--violet) 0%, var(--magenta) 55%, var(--orange) 100%);
  --grad-soft: linear-gradient(90deg, #C4B5FD, #F0ABFC, #FDBA74);

  --bg: #FFFFFF;
  --bg-alt: #F8F7FF;
  --surface: #FFFFFF;
  --surface-2: #FBFBFE;
  --ink: #1E1B4B;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --soft: #F3E8FF;
  --soft-2: #DDD6FE;
  --accent: #6D28D9;
  --deep: #1E1B4B;
  --header-bg: rgba(255, 255, 255, .78);
  --green-soft: #DCFCE7;

  --shadow-sm: 0 2px 8px rgba(30, 27, 75, .06);
  --shadow: 0 12px 32px rgba(30, 27, 75, .08);
  --shadow-lg: 0 24px 60px rgba(109, 40, 217, .18);

  --radius: 18px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
::selection { background: var(--violet-light); color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--violet-light); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  background: var(--violet); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-light {
  background: var(--grad-soft);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-link { color: var(--accent); font-weight: 700; border-bottom: 2px solid currentColor; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
  overflow: hidden;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--grad); background-size: 150% 150%; color: #fff; box-shadow: 0 10px 24px rgba(192, 38, 211, .3); }
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 32px rgba(192, 38, 211, .42); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet-light); color: var(--accent); }
.btn-light { background: #fff; color: var(--violet); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn .spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn.loading { pointer-events: none; opacity: .9; }
.btn.loading .spinner { display: block; }
.btn.loading .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.icon-btn:hover { color: var(--accent); border-color: var(--violet-light); transform: translateY(-1px); }
.icon-btn.small { width: 38px; height: 38px; border-radius: 10px; }
.icon-btn.small .ic { width: 17px; height: 17px; }
.icon-btn.copied { background: var(--green-soft); color: var(--green); border-color: transparent; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  background: var(--soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, transform .35s var(--ease);
}
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header.hide { transform: translateY(-100%); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-icon { width: 44px; height: 44px; transition: transform .4s var(--ease); }
.brand:hover .brand-icon { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.brand-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .32em; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-head, .nav-foot { display: none; }
.nav-link { font-weight: 600; font-size: 15px; color: var(--text); position: relative; padding: 6px 0; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .3s var(--ease), left .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; left: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0 11px; border-radius: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .3s, opacity .3s, width .3s; }
.nav-toggle span:nth-child(2) { width: 70%; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 99; background: rgba(6, 5, 26, .5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s;
}
.nav-overlay.show { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 72px) 0 110px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.blob-1 { width: 520px; height: 520px; background: #C4B5FD; top: -160px; right: -120px; animation: float 12s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: #FDBA74; bottom: -180px; left: -140px; opacity: .35; animation: float 14s ease-in-out infinite reverse; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(109, 40, 217, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(109, 40, 217, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
@keyframes float { 50% { transform: translate(30px, 40px) scale(1.05); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); letter-spacing: -.025em; margin-bottom: 22px; }
.rotator { display: inline-block; position: relative; }
.rotator-word { display: inline-block; transition: transform .45s var(--ease), opacity .45s var(--ease), filter .45s; }
.rotator-word.out { transform: translateY(-40%); opacity: 0; filter: blur(4px); }
.rotator-word.in-start { transform: translateY(40%); opacity: 0; filter: blur(4px); transition: none; }
.rotator::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; border-radius: 6px;
  background: var(--grad); opacity: .25;
}

.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.hero-points .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--green-soft); stroke: var(--green); stroke-width: 3; }

.hero-visual { position: relative; perspective: 1200px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .3s ease-out; }
.dash-card { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 26px; border: 1px solid var(--line); }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.dash-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.dash-title { font-weight: 800; color: var(--ink); font-size: 17px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill-green { background: var(--green-soft); color: var(--green); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.chart { height: 180px; }
.chart svg { width: 100%; height: 100%; }
.chart-line { stroke-dasharray: 500; stroke-dashoffset: 500; animation: draw 2.2s var(--ease) forwards .5s; }
.chart-area { opacity: 0; animation: fadeIn 1s ease forwards 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.dash-stats div { background: var(--bg-alt); border-radius: 14px; padding: 12px 14px; }
.dash-stats .k { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.dash-stats .v { font-weight: 800; color: var(--ink); font-size: 17px; display: inline-flex; align-items: center; gap: 4px; }
.dash-stats .v::after { font-size: 12px; }
.dash-stats .v.up::after { content: "\25B2"; color: var(--green); }
.dash-stats .v.down::after { content: "\25BC"; color: var(--green); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--surface); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: bob 5s ease-in-out infinite;
  transform: translateZ(40px);
}
.float-card strong { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.fc-1 { top: -44px; left: -40px; }
.fc-2 { bottom: -58px; right: -24px; animation-delay: -2.5s; }
.fc-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.fc-icon .ic { width: 22px; height: 22px; stroke-width: 2.4; }
.fc-purple { background: linear-gradient(135deg, var(--violet), var(--violet-light)); }
.fc-orange { background: linear-gradient(135deg, var(--magenta), var(--orange)); }
@keyframes bob { 50% { translate: 0 -10px; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--soft-2); border-radius: 20px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Platforms marquee ---------- */
.platforms { padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.platforms-title { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 56px; padding: 0 28px; margin: 0; list-style: none; }
.marquee-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--ink); opacity: .7; white-space: nowrap; transition: opacity .2s; }
.marquee-list li:hover { opacity: 1; }
.pdot { width: 12px; height: 12px; border-radius: 4px; background: var(--c); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Strip ---------- */
.strip { background: var(--deep); color: #fff; padding: 40px 0; position: relative; overflow: hidden; }
.strip::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 20% 0%, rgba(168, 85, 247, .25), transparent), radial-gradient(600px 200px at 80% 100%, rgba(249, 115, 22, .15), transparent); }
.strip-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.strip-item { position: relative; }
.strip-item + .strip-item::before { content: ""; position: absolute; left: -10px; top: 15%; bottom: 15%; width: 1px; background: rgba(255, 255, 255, .12); }
.strip-item strong { display: block; font-size: 38px; font-weight: 800; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.strip-item span { color: #CBD5E1; font-size: 14px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head h2, .why-content h2, .about-content h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Spotlight hover effect */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(168, 85, 247, .12), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::after { opacity: 1; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 24px; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--soft-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 18px; margin-top: 20px; }
.service-card p { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.s-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--soft); color: var(--accent); transition: background .3s ease, color .3s, transform .4s var(--ease);
}
.s-icon .ic { width: 26px; height: 26px; }
.service-card:hover .s-icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-link {
  position: relative; z-index: 1; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 700; font-size: 14px; color: var(--accent);
}
.card-link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card-link:hover .ic { transform: translateX(4px); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--soft-2); }
.ind-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent); transition: background .3s, color .3s; }
.industry:hover .ind-icon { background: var(--grad); color: #fff; }
.industry h3 { font-size: 16px; margin-bottom: 4px; }
.industry p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-content > p { color: var(--muted); font-size: 17px; }
.why-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.why-list li { display: flex; gap: 14px; }
.why-list h3 { font-size: 16px; margin-bottom: 4px; }
.why-list p { font-size: 14px; color: var(--muted); margin: 0; }
.w-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(192, 38, 211, .25); }
.w-icon .ic { width: 22px; height: 22px; stroke-width: 2.2; }

.why-visual { display: flex; justify-content: center; }
.ring-card { position: relative; width: min(360px, 100%); aspect-ratio: 1; background: var(--surface); border-radius: 50%; box-shadow: var(--shadow-lg); padding: 30px; border: 1px solid var(--line); }
.ring { width: 100%; height: 100%; }
.ring-track { stroke: var(--soft); }
.ring-progress { stroke-dasharray: 503; stroke-dashoffset: 503; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.why-visual.in .ring-progress { stroke-dashoffset: 75; }
.ring-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-label img { margin-bottom: 8px; }
.ring-label strong { font-size: 26px; color: var(--ink); line-height: 1.1; }
.ring-label span { color: var(--muted); font-weight: 600; }
.orbit {
  position: absolute; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
.orbit-1 { top: 6%; left: -6%; }
.orbit-2 { top: 40%; right: -12%; animation-delay: -1.6s; }
.orbit-3 { bottom: 4%; left: 6%; animation-delay: -3.2s; }

/* ---------- Process ---------- */
.process-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before, .process-grid::after {
  content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px;
}
.process-grid::before { background: var(--soft-2); }
.process-grid::after { background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.process-grid.in::after { transform: scaleX(1); }
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step-no {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--surface); border: 2px solid var(--soft-2);
  font-weight: 800; font-size: 20px; color: var(--accent); box-shadow: var(--shadow-sm);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.step:hover .step-no { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.step h3 { font-size: 19px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-content > p { color: var(--muted); font-size: 17px; }
.about-content p strong { color: var(--ink); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.mv { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.mv-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.mv h3 { font-size: 15px; margin-bottom: 4px; }
.mv p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--ink); }
.badge .ic { color: var(--accent); }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card { position: relative; overflow: hidden; background: var(--surface); border-radius: 22px; padding: 38px 24px 30px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s var(--ease); }
.team-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 84px; background: var(--grad); opacity: .12; }
.team-card:hover { transform: translateY(-6px); }
.avatar {
  position: relative; width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--magenta));
  box-shadow: 0 0 0 6px var(--surface), 0 0 0 8px var(--soft-2);
}
.avatar-alt { background: linear-gradient(135deg, var(--magenta), var(--orange)); }
.team-card h3 { font-size: 19px; margin-bottom: 8px; }
.role { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); background: var(--soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.team-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- CTA ---------- */
.cta-section { padding: 0 0 110px; background: var(--bg-alt); }
.cta-box {
  position: relative; overflow: hidden;
  background: var(--grad); color: #fff; border-radius: 28px; padding: 58px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: var(--shadow-lg);
}
.cta-box::before, .cta-box::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 60px solid rgba(255, 255, 255, .08);
}
.cta-box::before { width: 380px; height: 380px; right: -120px; top: -170px; }
.cta-box::after { width: 240px; height: 240px; left: -110px; bottom: -150px; border-width: 40px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.cta-box p { margin: 0; opacity: .92; font-size: 17px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow); border-color: var(--soft-2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--ink); font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft); color: var(--accent); font-size: 20px; font-weight: 700; transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq[open] summary::after { transform: rotate(135deg); background: var(--grad); color: #fff; }
.faq::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq[open]::details-content { block-size: auto; }
.faq-body { padding: 0 24px 20px; }
.faq-body p { color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 20px; transition: box-shadow .25s, border-color .25s; }
.info-card:hover { box-shadow: var(--shadow); border-color: var(--soft-2); }
.info-body { flex: 1; min-width: 0; }
.info-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; font-weight: 700; }
.info-card .info-body a { color: var(--ink); font-weight: 600; font-size: 15px; transition: color .2s; }
.info-card .info-body a:hover { color: var(--accent); }
.i-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.i-icon .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.map-wrap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 240px; background: var(--soft); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-form { background: var(--surface); border-radius: 24px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-head { margin-bottom: 24px; }
.form-head h3 { font-size: 22px; margin-bottom: 4px; }
.form-head p { margin: 0; color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.req { color: var(--magenta); }
.opt { color: var(--muted); font-weight: 500; font-size: 13px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none;
}
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239CA3BF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet-light); background: var(--surface); box-shadow: 0 0 0 4px rgba(168, 85, 247, .15); }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  display: grid; place-items: center; padding: 0 14px; font-weight: 700; color: var(--muted); font-size: 15px;
  background: var(--bg-alt); border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px;
}
.input-prefix input { border-radius: 0 12px 12px 0; }
.error-msg { display: none; color: var(--red); font-size: 13px; font-weight: 600; margin-top: 6px; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid select { border-color: var(--red); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.field.invalid .input-prefix span { border-color: var(--red); }
.field.valid input:not(:placeholder-shown) { border-color: rgba(22, 163, 74, .5); }
.char-count { position: absolute; right: 12px; bottom: 10px; font-size: 12px; color: var(--muted); pointer-events: none; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.channel { border: 0; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channel legend { font-weight: 700; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px;
  border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--muted);
  background: var(--surface-2); transition: all .2s;
}
.seg span .ic { width: 18px; height: 18px; }
.seg input:checked + span { border-color: var(--violet-light); color: var(--accent); background: var(--soft); box-shadow: 0 0 0 3px rgba(168, 85, 247, .12); }
.seg input:focus-visible + span { outline: 3px solid var(--violet-light); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #CBD5E1; padding: 84px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-tag { color: #94A3B8; }
.footer-brand p { margin: 18px 0 20px; font-size: 15px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #E2E8F0; transition: background .25s, transform .25s var(--ease);
}
.footer-social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer-social .ic { width: 18px; height: 18px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { transition: color .2s, padding .2s; }
.footer ul a:hover { color: #F0ABFC; }
.footer-contact li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; margin-top: 3px; color: #C4B5FD; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding: 24px 0; font-size: 14px; color: #94A3B8; }
.footer-bottom p { margin: 0; }

/* ---------- Floating actions ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
}
.wa-float .ic { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2s infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }
.wa-tip {
  position: absolute; right: 70px; top: 50%; translate: 0 -50%;
  background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 30px; bottom: 94px; z-index: 90;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, color .2s, border-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--violet-light); }

.mobile-bar { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--bg); padding: 14px 20px 14px 14px; border-radius: 14px; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: 15px;
  translate: -50% 0; transform: translateY(140%); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s;
}
.toast.show { transform: none; opacity: 1; }
.toast-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.toast-icon .ic { width: 16px; height: 16px; stroke-width: 3; }
.toast.error .toast-icon { background: var(--red); }

/* ---------- Reveal Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .services-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
}

@media (max-width: 1000px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }

  .nav {
    position: fixed; top: 0; right: 0; z-index: 200;
    width: min(340px, 86vw); height: 100vh; height: 100dvh;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); padding: 20px 24px calc(24px + env(safe-area-inset-bottom));
    box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
    transform: translateX(105%); visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
    overflow-y: auto;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .nav-title { font-weight: 800; color: var(--ink); font-size: 18px; }
  .nav-link { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; display: flex; justify-content: space-between; align-items: center; }
  .nav-link::after { position: static; content: "\203A"; width: auto; height: auto; background: none; font-size: 22px; color: var(--muted); }
  .nav-link:hover::after, .nav-link.active::after { width: auto; color: var(--accent); }
  .nav-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; }
  .nav-contact { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
  .nav-contact .ic { color: var(--accent); width: 18px; height: 18px; }

  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-grid, .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; margin: 30px auto 0; width: 100%; }
  .fc-1 { left: -10px; top: -48px; }
  .fc-2 { right: -10px; }
  .scroll-hint { display: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process-grid::before, .process-grid::after { display: none; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 44px 34px; }
  .why-visual { order: -1; }
  .orbit-2 { right: -4%; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 44px; }
  .services-grid, .industry-grid, .why-list, .team-grid, .form-row, .mv-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .strip-item:nth-child(3)::before { display: none; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 26px 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lead { font-size: 16.5px; }
  .eyebrow { font-size: 11px; letter-spacing: .06em; }
  .float-card { padding: 8px 12px 8px 8px; }
  .fc-icon { width: 34px; height: 34px; }
  .fc-icon .ic { width: 18px; height: 18px; }
  .float-card strong { font-size: 13px; }
  .dash-card { padding: 18px; }
  .chart { height: 150px; }
  .dash-stats { gap: 8px; }
  .dash-stats div { padding: 10px; }
  .dash-stats .v { font-size: 14px; }
  .brand-name { font-size: 19px; }
  .brand-tag { font-size: 8.5px; letter-spacing: .28em; }
  .brand-icon { width: 40px; height: 40px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .marquee-list li { font-size: 18px; }
  .marquee-list { gap: 40px; padding: 0 20px; }
  .ring-card { width: min(300px, 80%); }
  .orbit { font-size: 12px; padding: 6px 12px; }
  .footer-bottom { flex-direction: column; }

  .wa-float { display: none; }
  .to-top { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 50px; border-radius: 14px; font-weight: 700; font-size: 14px;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  }
  .mobile-bar .ic { width: 18px; height: 18px; }
  .mobile-bar .mb-wa { color: #16A34A; }
  .mobile-bar .mb-primary { background: var(--grad); color: #fff; border: 0; }
}
