/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f8fb;
  --bg-alt: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f3f5f9;
  --border: #e2e6ee;
  --text: #12151c;
  --text-muted: #5b6472;
  --accent: #3762e0;
  --accent-2: #7c3aed;
  --accent-soft: rgba(55, 98, 224, 0.12);
  --bright-cyan: #4338ca;
  --bright-pink: #6d28d9;
  --bright-amber: #9333ea;
  --bright-green: #1e3a8a;
  --bright-violet: #7e22ce;
  --accent-green: #16a34a;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 45px rgba(16, 24, 40, 0.12);
  --radius: 14px;
  --max-width: 1160px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: pageFade 0.5s ease both;
}

/* ---------- Motion: keyframes ---------- */
@keyframes pageFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
}

@keyframes floatCentered {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-16px) rotate(1.2deg); }
}

@keyframes auroraShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -3%) scale(1.06); }
}

/* ---------- Motion: scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

@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;
  }
}

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

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

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(55, 98, 224, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(55, 98, 224, 0.32);
}

.btn-ghost {
  background: rgba(17, 20, 28, 0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(17, 20, 28, 0.07);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px 0 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease;
}

a.logo:hover {
  transform: scale(1.04);
}

.logo-mark {
  height: 40px;
  width: auto;
}

.logo-text-img {
  height: 17px;
  width: auto;
}

.logo .dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.site-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-nav a.nav-cta:hover {
  background: rgba(55, 98, 224, 0.2);
  transform: translateY(-2px);
}

.nav-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  transition: transform 0.25s ease;
}

.nav-cta-arrow svg {
  width: 16px;
  height: 16px;
}

.site-nav a.nav-cta:hover .nav-cta-arrow {
  transform: rotate(45deg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(55, 98, 224, 0.16), transparent 42%),
    radial-gradient(circle at 80% 75%, rgba(124, 58, 237, 0.16), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(67, 56, 202, 0.12), transparent 38%),
    radial-gradient(circle at 15% 85%, rgba(109, 40, 217, 0.1), transparent 38%);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.hero-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-text > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-text .eyebrow { animation-delay: 0.05s; }
.hero-text h1 { animation-delay: 0.15s; }
.hero-text .lead { animation-delay: 0.25s; }
.hero-text .capability-pills { animation-delay: 0.33s; }
.hero-text .hero-actions { animation-delay: 0.41s; }

.capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 28px;
}

.capability-pills li {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.capability-pills li:nth-child(1) { color: var(--accent); }
.capability-pills li:nth-child(2) { color: var(--bright-pink); }
.capability-pills li:nth-child(3) { color: var(--bright-cyan); }
.capability-pills li:nth-child(4) { color: var(--bright-amber); }

.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-text .lead {
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 380px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.glow-card {
  position: absolute;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  width: 70%;
  height: 60%;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(55, 98, 224, 0.4), rgba(124, 58, 237, 0.25));
  border-color: rgba(55, 98, 224, 0.3);
  animation-delay: 0s;
}

.card-2 {
  width: 55%;
  height: 45%;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.32), rgba(124, 58, 237, 0.18));
  border-color: rgba(124, 58, 237, 0.25);
  animation-delay: 1.5s;
}

.card-3 {
  width: 35%;
  height: 30%;
  bottom: 20%;
  right: 10%;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.28), rgba(147, 51, 234, 0.18));
  border-color: rgba(109, 40, 217, 0.22);
  animation-delay: 3s;
}

.hero-logo {
  position: absolute;
  top: 67%;
  left: 55%;
  width: 44%;
  max-width: 220px;
  filter: drop-shadow(0 20px 40px rgba(55, 98, 224, 0.3));
  animation: floatCentered 6s ease-in-out infinite backwards;
  animation-delay: 0.75s;
}

/* ---------- Stats ---------- */
.stats {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat:nth-child(2) .stat-num { background: linear-gradient(135deg, var(--bright-pink), var(--bright-violet)); -webkit-background-clip: text; background-clip: text; }
.stat:nth-child(3) .stat-num { background: linear-gradient(135deg, var(--bright-cyan), var(--accent)); -webkit-background-clip: text; background-clip: text; }
.stat:nth-child(4) .stat-num { background: linear-gradient(135deg, var(--bright-amber), var(--bright-pink)); -webkit-background-clip: text; background-clip: text; }

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.alt-section {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-sub {
  max-width: 560px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: start;
}

.center-cta {
  margin-top: 48px;
  text-align: center;
}

/* ---------- Feature Cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent));
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-accent, var(--accent));
  background: var(--card-accent-soft, var(--accent-soft));
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box .icon-svg {
  width: 26px;
  height: 26px;
}

.feature-card:hover .icon-box {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 0 0 6px var(--card-accent-soft, var(--accent-soft));
}

.feature-card:nth-child(5n+1) { --card-accent: var(--bright-cyan); --card-accent-soft: rgba(67, 56, 202, 0.14); }
.feature-card:nth-child(5n+2) { --card-accent: var(--bright-pink); --card-accent-soft: rgba(109, 40, 217, 0.14); }
.feature-card:nth-child(5n+3) { --card-accent: var(--bright-amber); --card-accent-soft: rgba(147, 51, 234, 0.14); }
.feature-card:nth-child(5n+4) { --card-accent: var(--bright-green); --card-accent-soft: rgba(30, 58, 138, 0.14); }
.feature-card:nth-child(5n+5) { --card-accent: var(--bright-violet); --card-accent-soft: rgba(126, 34, 206, 0.14); }

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 16px;
}

.chip-row li {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--card-accent-soft, var(--accent-soft));
  color: var(--card-accent, var(--accent));
}

/* ---------- Product Cards ---------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent));
  box-shadow: var(--shadow-md);
}

.product-card:nth-child(1) { --card-accent: var(--bright-cyan); --card-accent-soft: rgba(67, 56, 202, 0.14); }
.product-card:nth-child(2) { --card-accent: var(--bright-amber); --card-accent-soft: rgba(147, 51, 234, 0.14); }

.product-card .icon-box {
  margin-bottom: 0;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-green);
  background: rgba(22, 163, 74, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
}

/* ---------- Values / Process ---------- */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--card-accent, var(--accent));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.value-item:hover {
  transform: translateX(4px);
}

.value-item:nth-child(1) { --card-accent: var(--bright-cyan); }
.value-item:nth-child(2) { --card-accent: var(--bright-pink); }
.value-item:nth-child(3) { --card-accent: var(--bright-amber); }

.value-item h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--card-accent, var(--accent));
}

/* ---------- Quotes ---------- */
.founder-quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 32px 28px 60px;
  margin-top: 28px;
}

.founder-quote::before {
  content: '\201C';
  position: absolute;
  top: 2px;
  left: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-2);
  opacity: 0.5;
}

.founder-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 14px;
}

.founder-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

.founder-quote cite span {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.quote-band {
  padding: 70px 0;
  text-align: center;
  background: linear-gradient(120deg, rgba(55, 98, 224, 0.08), rgba(124, 58, 237, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quote-band blockquote {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-band blockquote::before {
  content: '\201C ';
}

.quote-band blockquote::after {
  content: ' \201D';
}

.process-step {
  text-align: left;
}

.process-step:nth-child(1) { --card-accent: var(--bright-cyan); }
.process-step:nth-child(2) { --card-accent: var(--bright-pink); }
.process-step:nth-child(3) { --card-accent: var(--bright-amber); }
.process-step:nth-child(4) { --card-accent: var(--bright-green); }

.step-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--card-accent, var(--accent));
  margin-bottom: 10px;
  opacity: 0.9;
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(120deg, rgba(55, 98, 224, 0.1), rgba(67, 56, 202, 0.07), rgba(109, 40, 217, 0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band-wrap {
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.cta-band p {
  margin-bottom: 28px;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 25%, rgba(55, 98, 224, 0.16), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.15), transparent 42%),
    radial-gradient(circle at 60% 90%, rgba(67, 56, 202, 0.1), transparent 38%);
  animation: auroraShift 14s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -60px;
  right: 6%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: -1;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18), transparent 70%);
  animation: float 7s ease-in-out infinite;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lead,
.page-hero .btn {
  animation: fadeInUp 0.7s ease both;
}

.page-hero .eyebrow { animation-delay: 0.05s; }
.page-hero h1 { animation-delay: 0.15s; }
.page-hero .lead { animation-delay: 0.25s; }
.page-hero .btn { animation-delay: 0.35s; }

.page-hero h1 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.page-hero .lead {
  max-width: 600px;
  font-size: 1.1rem;
}

.hero-decor {
  position: absolute;
  top: 50%;
  right: 4%;
  width: 240px;
  height: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  animation: fadeInUp 0.9s ease 0.2s both;
}

/* --- About: milestone stat chips --- */
.stat-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.stat-chip .chip-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.stat-chip .chip-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.decor-about .chip-1 {
  width: 110px;
  height: 90px;
  top: 0;
  right: 10px;
  transform: rotate(-4deg);
  animation-delay: 0s;
}

.decor-about .chip-1 .chip-num { color: var(--accent); }

.decor-about .chip-2 {
  width: 100px;
  height: 80px;
  bottom: 0;
  left: 0;
  transform: rotate(3deg);
  animation-delay: 1.6s;
}

.decor-about .chip-2 .chip-num { color: var(--bright-violet); }

/* --- Services: floating capability bubbles --- */
.icon-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.decor-services .bubble-1 {
  width: 84px;
  height: 84px;
  top: 0;
  right: 20px;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(55, 98, 224, 0.25), rgba(124, 58, 237, 0.15));
  border: 1px solid rgba(55, 98, 224, 0.3);
  animation-delay: 0s;
}

.decor-services .bubble-1 .icon-svg { width: 38px; height: 38px; }

.decor-services .bubble-2 {
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 0;
  color: var(--bright-cyan);
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.24), rgba(109, 40, 217, 0.14));
  border: 1px solid rgba(67, 56, 202, 0.28);
  animation-delay: 1.2s;
}

.decor-services .bubble-2 .icon-svg { width: 28px; height: 28px; }

.decor-services .bubble-3 {
  width: 56px;
  height: 56px;
  bottom: 0;
  left: 10px;
  color: var(--bright-violet);
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.24), rgba(126, 34, 206, 0.14));
  border: 1px solid rgba(147, 51, 234, 0.28);
  animation-delay: 2.4s;
}

.decor-services .bubble-3 .icon-svg { width: 26px; height: 26px; }

/* --- Products: mini module ring + product chips --- */
.decor-products {
  width: 220px;
  height: 220px;
}

.mini-ring-wrap {
  position: absolute;
  top: 0;
  right: 10px;
  width: 130px;
  height: 130px;
  animation: float 7s ease-in-out infinite;
}

.mini-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.mini-ring-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 16;
}

.mini-ring-seg {
  fill: none;
  stroke: var(--seg-color, var(--accent));
  stroke-width: 16;
}

.icon-chip {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}

.icon-chip .icon-svg {
  width: 26px;
  height: 26px;
}

.decor-products .chip-textile {
  bottom: 20px;
  left: 0;
  color: var(--accent);
  transform: rotate(-6deg);
  animation-delay: 1.5s;
}

.decor-products .chip-electronics {
  bottom: 0;
  left: 70px;
  color: var(--bright-violet);
  transform: rotate(5deg);
  animation-delay: 3s;
}

/* --- Portfolio: floating tag chips --- */
.tag-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: float 6s ease-in-out infinite;
}

.decor-portfolio .tag-1 {
  top: 10px;
  right: 0;
  color: var(--accent);
  transform: rotate(-5deg);
  animation-delay: 0s;
}

.decor-portfolio .tag-2 {
  top: 70px;
  right: 60px;
  color: var(--bright-cyan);
  transform: rotate(4deg);
  animation-delay: 1.3s;
}

.decor-portfolio .tag-3 {
  bottom: 10px;
  right: 20px;
  color: var(--bright-violet);
  transform: rotate(-3deg);
  animation-delay: 2.6s;
}

/* --- Contact: message bubble + ping --- */
.decor-contact {
  width: 200px;
  height: 200px;
}

.message-bubble {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 96px;
  height: 76px;
  border-radius: 20px 20px 4px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.message-bubble .icon-svg {
  width: 34px;
  height: 34px;
}

.ping-dot-wrap {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite 1.6s;
}

.ping-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.not-found {
  text-align: center;
  border-bottom: none;
}

.not-found::after {
  right: 50%;
  transform: translateX(50%);
}

.not-found .btn {
  margin-top: 24px;
}

/* ---------- Portfolio ---------- */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:nth-child(6n+1) { --card-accent: var(--accent); }
.project-card:nth-child(6n+2) { --card-accent: var(--bright-pink); }
.project-card:nth-child(6n+3) { --card-accent: var(--bright-cyan); }
.project-card:nth-child(6n+4) { --card-accent: var(--bright-amber); }
.project-card:nth-child(6n+5) { --card-accent: var(--bright-green); }
.project-card:nth-child(6n+6) { --card-accent: var(--bright-violet); }

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent));
  box-shadow: var(--shadow-md);
}

.project-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.08);
}

.thumb-icon {
  width: 72px;
  height: 72px;
  color: var(--card-accent, var(--accent));
  animation: float 5s ease-in-out infinite;
}

.project-tag {
  color: var(--card-accent, var(--accent));
}

.thumb-1 { background: linear-gradient(135deg, rgba(55, 98, 224, 0.28), rgba(55, 98, 224, 0.05)); }
.thumb-2 { background: linear-gradient(135deg, rgba(109, 40, 217, 0.26), rgba(109, 40, 217, 0.05)); }
.thumb-3 { background: linear-gradient(135deg, rgba(67, 56, 202, 0.26), rgba(67, 56, 202, 0.05)); }
.thumb-4 { background: linear-gradient(135deg, rgba(147, 51, 234, 0.26), rgba(147, 51, 234, 0.05)); }
.thumb-5 { background: linear-gradient(135deg, rgba(30, 58, 138, 0.26), rgba(30, 58, 138, 0.05)); }
.thumb-6 { background: linear-gradient(135deg, rgba(126, 34, 206, 0.26), rgba(126, 34, 206, 0.05)); }

.project-body {
  padding: 24px;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.project-body h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.project-highlights {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-highlights li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-highlights li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-accent, var(--accent));
}

/* ---------- Contact ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form .btn {
  align-self: flex-start;
}

.success-box {
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.5s ease both;
}

.form-error {
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.success-box h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-info h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.contact-info > p {
  margin-bottom: 20px;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 32px;
}

.contact-meta {
  display: flex;
  gap: 32px;
}

.contact-meta h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-meta p {
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
  background: var(--bg-alt);
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin-top: 10px;
  max-width: 260px;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact a {
  color: var(--accent);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.85rem;
}

.policy-content {
  max-width: 760px;
}

.policy-content .updated-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.policy-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.policy-content p {
  margin-bottom: 14px;
}

.policy-list {
  margin: 0 0 14px;
  padding-left: 22px;
}

.policy-list li {
  margin-bottom: 8px;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 0.95rem;
}

.policy-table th,
.policy-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
}

.policy-table th {
  background: var(--bg-alt);
  font-weight: 600;
}

.footer-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.footer-logo-r {
  height: 92px;
  width: auto;
}

.footer-logo-text {
  height: 46px;
  width: auto;
}

/* ---------- Product detail (Products page) ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.product-detail-reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.product-detail-reverse .product-detail-chart {
  order: -1;
}

.product-detail-copy .eyebrow {
  margin-top: 16px;
}

.product-detail-copy .section-title {
  margin-bottom: 16px;
}

.product-detail-copy p {
  margin-bottom: 14px;
}

.product-detail-copy .btn {
  margin-top: 8px;
}

.feature-mini-grid {
  gap: 12px;
  margin: 20px 0 24px;
}

.feature-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.feature-mini-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.product-card-compact p {
  margin-bottom: 0;
}

/* ---------- Donut chart ---------- */
.product-detail-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.chart-pop {
  transform: translateY(24px) scale(0.9);
}

.chart-pop.in-view {
  transform: translateY(0) scale(1);
}

.donut-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 24;
}

.donut-seg {
  fill: none;
  stroke: var(--seg-color, var(--accent));
  stroke-width: 24;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-center-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.donut-center-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 90px;
  margin-top: 4px;
}

.donut-legend {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  text-align: left;
}

.donut-legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Capability bars ---------- */
.capability-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.bar-track {
  background: var(--border);
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view .bar-fill {
  width: var(--bar-target, 100%);
}

/* ---------- Timeline ---------- */
.timeline {
  margin-top: 32px;
}

.timeline-track {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  margin-bottom: 40px;
  overflow: hidden;
}

.timeline-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--bright-cyan));
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline.in-view .timeline-fill {
  width: 100%;
}

.timeline-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.timeline-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px var(--accent-soft);
  margin-bottom: 6px;
}

.tl-year {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.tl-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.faq-item p {
  font-size: 0.92rem;
}

/* ---------- Product showcase mockups ---------- */
.showcase-block {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 56px;
}

.showcase-block:first-of-type {
  margin-top: 48px;
}

.showcase-block-reverse {
  flex-direction: row-reverse;
}

.showcase-copy {
  flex: 0 0 260px;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.showcase-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.showcase-copy p {
  font-size: 0.95rem;
}

.browser-mockup {
  position: relative;
  flex: 1;
  max-width: 640px;
  filter: drop-shadow(0 24px 50px rgba(16, 24, 40, 0.16));
}

.browser-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }

.chrome-url {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0 40px 0 0;
}

.browser-body {
  display: flex;
  min-height: 400px;
}

.mock-sidebar {
  flex: 0 0 130px;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}

.mock-brand {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.mock-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-nav li {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.mock-nav li.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.mock-status {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.mock-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

.mock-main {
  flex: 1;
  min-width: 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mock-topbar h4 {
  flex-shrink: 0;
  font-size: 0.95rem;
  margin: 0;
}

.mock-search {
  flex: 1;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}

.mock-avatar {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-stat-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.mock-stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.mock-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.mock-stat-delta {
  font-size: 0.66rem;
  font-weight: 600;
}

.mock-stat-delta.up { color: var(--accent-green); }
.mock-stat-delta.down { color: var(--text-muted); }

.mock-panels {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  flex: 1;
}

.mock-chart-panel,
.mock-list-panel,
.mock-product-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}

.mock-chart-panel h5,
.mock-list-panel h5,
.mock-product-panel h5 {
  font-size: 0.78rem;
  margin: 0 0 12px;
  color: var(--text);
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
}

.mock-bar.reveal {
  flex: 1;
  min-width: 0;
  border-radius: 4px 4px 0 0;
  background: var(--accent-soft);
  opacity: 1;
  transform: none;
  height: 0;
  transition: height 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-bar.reveal.in-view {
  height: var(--h, 40%);
}

.mock-bar-highlight.reveal {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-list-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
}

.mock-list-id {
  color: var(--text-muted);
  flex-shrink: 0;
}

.mock-list-name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-pill {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.pill-green { background: rgba(22, 163, 74, 0.12); color: var(--accent-green); }
.pill-amber { background: rgba(147, 51, 234, 0.12); color: var(--bright-amber); }
.pill-blue { background: var(--accent-soft); color: var(--accent); }

.mock-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mock-product-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
}

.mock-product-tile:nth-child(2) { background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), transparent); }
.mock-product-tile:nth-child(3) { background: linear-gradient(135deg, rgba(67, 56, 202, 0.14), transparent); }
.mock-product-tile:nth-child(4) { background: linear-gradient(135deg, rgba(126, 34, 206, 0.14), transparent); }

.mock-product-price {
  position: absolute;
  bottom: 6px;
  left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 7px;
}

.mock-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.badge-check-svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.badge-erp-1 {
  top: -18px;
  left: -20px;
  animation-delay: 0s;
}

.badge-erp-2 {
  bottom: -18px;
  right: -20px;
  animation-delay: 1.5s;
}

.badge-shop-1 {
  top: -18px;
  right: -20px;
  animation-delay: 0.5s;
}

.badge-shop-2 {
  bottom: -18px;
  left: -20px;
  animation-delay: 2s;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 260px;
    order: -1;
  }

  .hero-decor {
    display: none;
  }

  .showcase-block,
  .showcase-block-reverse {
    flex-direction: column;
    gap: 28px;
  }

  .showcase-copy {
    flex: none;
  }

  .browser-mockup {
    max-width: 100%;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-panels {
    grid-template-columns: 1fr;
  }

  .mock-badge {
    display: none;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail,
  .product-detail-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-detail-reverse .product-detail-chart {
    order: 0;
  }

  .timeline-points {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 96px;
    left: 24px;
    right: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 16px 20px 20px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .contact-meta {
    flex-direction: column;
    gap: 16px;
  }

  .footer-logo-r {
    height: 56px;
  }

  .footer-logo-text {
    height: 26px;
  }

  .footer-logo-lockup {
    gap: 10px;
  }
}
