:root {
  --bg: #0b1220;
  --bg-soft: #111a2e;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #38bdf8;
  --success: #059669;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.16);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #f4f7fb;
  line-height: 1.55;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 14px 0;
  flex-wrap: nowrap;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}
.brand img { height: 36px; width: auto; }
.brand span { font-size: 1.05rem; letter-spacing: 0.02em; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.site-header.nav-open .nav-toggle-bars { background: transparent; }
.site-header.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px 12px;
  align-items: center;
  margin-left: auto;
}
.nav a.nav-tech {
  color: #93c5fd;
  font-weight: 700;
}

/* Language switcher (EN / ID / 中文 / 日本語 / ES / DE) */
.lang-switch {
  position: relative;
  flex-shrink: 0;
  margin-left: 4px;
  z-index: 80;
}
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-switch-btn:hover,
.lang-switch.is-open .lang-switch-btn {
  background: rgba(255,255,255,0.16);
}
.lang-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
  display: block;
}
.lang-switch-btn .lang-name { display: none; }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 6px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.38);
  z-index: 90;
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}
.lang-option:hover,
.lang-option.is-active { background: rgba(37,99,235,0.35); }
.lang-option .lang-native { font-weight: 650; }
.lang-option .lang-english {
  margin-left: auto;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.lang-switch-float {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
}
.nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav-drop {
  position: relative;
}
.nav-drop-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: rgba(255,255,255,0.88);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-drop-btn:hover,
.nav-drop.is-open .nav-drop-btn {
  color: #fff;
}
.nav-drop-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.15s ease;
}
.nav-drop.is-open .nav-drop-btn::after {
  transform: rotate(180deg);
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 248px;
  padding: 8px;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  z-index: 80;
}
.nav-drop-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
}
.nav-drop-menu a:hover,
.nav-drop-menu a:focus-visible {
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 901px) {
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu,
  .nav-drop.is-open .nav-drop-menu {
    display: block;
  }
}
.nav-cta {
  display: inline-flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}
.nav-overlay {
  display: none;
}

@media (max-width: 900px) {
  .brand { order: 1; }
  .lang-switch { order: 2; margin-left: auto; }
  .nav-toggle { order: 3; margin-left: 8px; display: inline-flex; }
  .nav { order: 4; margin-left: 0; }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 40;
  }
  .site-header.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 86vw);
    height: 100dvh;
    max-height: 100vh;
    margin: 0;
    padding: calc(72px + env(safe-area-inset-top, 0px)) 18px calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    background: #0f172a;
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: -12px 0 40px rgba(0,0,0,0.35);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 60;
    transform: translateX(105%);
    transition: transform 0.22s ease;
  }
  .site-header.nav-open .nav {
    transform: translateX(0);
  }
  .nav > a {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    white-space: normal;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav > a:hover,
  .nav > a:focus-visible {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
  .nav-drop {
    display: block;
  }
  .nav-drop-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-drop.is-open .nav-drop-btn {
    background: rgba(255,255,255,0.08);
  }
  .nav-drop-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 6px;
    padding: 0 0 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-drop.is-open .nav-drop-menu {
    display: block;
  }
  .nav-drop-menu a {
    padding: 11px 12px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-cta {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 8px;
  }
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  font-size: 0.95rem;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary-soft);
}
.btn-outline:hover { background: var(--primary-soft); }
.btn-lg { padding: 14px 22px; font-size: 1rem; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(37,99,235,0.45), transparent 60%),
    radial-gradient(700px 360px at 90% 0%, rgba(56,189,248,0.28), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #111a2e 70%, #f4f7fb 100%);
  color: #fff;
  padding: 72px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}
.hero p.lead {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.hero-points li::before {
  content: "✓ ";
  color: #34d399;
  font-weight: 700;
}
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.hero-card ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.85);
}
.hero-card li { margin-bottom: 8px; }

/* Sections */
.section {
  padding: 72px 0;
}
.section.alt { background: #fff; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.section.alt .product-card { background: #f8fafc; }
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product-card h3 { margin: 0; font-size: 1.15rem; }
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.product-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 8px;
  border-radius: 999px;
  width: fit-content;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.product-price {
  margin: 4px 0 0;
  padding: 12px 14px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--ink, #0f172a);
}
.product-price .price-from {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.02rem;
}
.product-price ul {
  margin: 8px 0 0;
  padding-left: 1.1em;
}
.product-price li { margin: 3px 0; color: var(--muted); }
.product-price .price-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Feature / product detail pages */
.page-hero {
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(37,99,235,0.45), transparent 60%),
    radial-gradient(700px 360px at 90% 0%, rgba(56,189,248,0.28), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #111a2e 85%, #f4f7fb 100%);
  color: #fff;
  padding: 56px 0 72px;
}
.page-hero .breadcrumb {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: #93c5fd; }
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  max-width: 720px;
}
.hero-price {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fde047;
  letter-spacing: -0.02em;
}
.hero-price span {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.page-hero .lead {
  margin: 0 0 22px;
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 640px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.price-line {
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  border-radius: 12px;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.45;
}
.price-line strong { color: #1d4ed8; }

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.feature-block:nth-of-type(even) {
  direction: rtl;
}
.feature-block:nth-of-type(even) > * {
  direction: ltr;
}
.feature-media {
  border-radius: 14px;
  overflow: hidden;
  background: #eef4ff;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-body .feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.feature-body h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.25;
}
.feature-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.feature-body p + p {
  margin-top: 10px;
}
.feature-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}
@media (max-width: 900px) {
  .feature-block,
  .feature-block:nth-of-type(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Page hero highlight chips */
.hero-highlights {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-highlights li {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e0f2fe;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 14px;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-card.featured {
  border-color: #93c5fd;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #eff6ff 0%, #fff 40%);
}
.pricing-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
}
.pricing-card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.pricing-amount {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.pricing-amount span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.pricing-sub {
  margin: 4px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.pricing-apple {
  margin: 2px 0 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b45309;
}
.pricing-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  flex: 1;
  font-size: 0.92rem;
  color: var(--text);
}
.install-steps {
  margin: 12px 0 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 10px;
}
.install-steps li { line-height: 1.45; }

.pricing-specs li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: 700;
}
.pricing-card .btn {
  margin-top: 4px;
  width: 100%;
}
.pricing-note {
  margin: 0 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Additional IP packages */
.ip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.ip-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}
.ip-card strong {
  font-size: 1.15rem;
  color: var(--primary-dark);
}
.ip-card span {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .ip-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .ip-grid { grid-template-columns: 1fr; }
}

/* Opening remark above pricing / FAQ */
.opening-remark {
  text-align: left;
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 32px 28px;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 55%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.08);
}
.opening-remark h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
  color: #5b21b6;
  text-align: center;
}
.opening-remark p {
  margin: 0 0 14px;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.65;
}
.opening-remark p:last-child {
  margin-bottom: 0;
}

/* Content remark blocks (image + text) before FAQ */
.remark-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
  margin: 36px 0 8px;
  padding: 24px;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 55%, #f5f3ff 100%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.08);
}
.remark-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ddd6fe;
  aspect-ratio: 16 / 10;
  background: #f5f3ff;
}
.remark-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.remark-body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.25;
  color: #5b21b6;
}
.remark-body p {
  margin: 0 0 12px;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
}
.remark-body p:last-of-type {
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .remark-block {
    grid-template-columns: 1fr;
  }
}

/* Q&A accordion with interactive images */
.qa-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) 1.2fr;
  gap: 28px;
  align-items: start;
}
.qa-preview {
  position: sticky;
  top: 88px;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 70%);
  border: 1px solid #e9d5ff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.1);
}
.qa-preview-media {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid #ddd6fe;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f3ff;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  position: relative;
}
.qa-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease, transform 0.35s ease;
}
.qa-preview-media:hover img {
  transform: scale(1.04);
}
.qa-preview-zoom {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(91, 33, 182, 0.82);
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.qa-preview-label {
  margin: 14px 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #5b21b6;
}

.qa-accordion {
  display: grid;
  gap: 14px;
}
.qa-item {
  background: transparent;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.15s ease;
}
.qa-item.is-open {
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.28);
}
.qa-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  /* Bright enchanted light-purple BUTTON (not grey) */
  background: linear-gradient(135deg, #c4b5fd 0%, #a78bfa 40%, #d8b4fe 100%);
  border: 2px solid #a78bfa;
  border-radius: 18px;
  padding: 18px 18px 18px 16px;
  cursor: pointer;
  font: inherit;
  color: #3b0764;
  box-shadow:
    0 8px 22px rgba(168, 85, 247, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease, border-color 0.15s ease;
}
.qa-question:hover {
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 35%, #e9d5ff 100%);
  border-color: #c084fc;
  box-shadow:
    0 12px 30px rgba(168, 85, 247, 0.45),
    0 0 0 3px rgba(216, 180, 254, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}
.qa-question:active {
  transform: translateY(0);
}
.qa-item.is-open .qa-question {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 45%, #a855f7 100%);
  border-color: #7c3aed;
  border-radius: 18px 18px 0 0;
  color: #fff;
  box-shadow:
    0 10px 28px rgba(124, 58, 237, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.qa-q-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #7c3aed;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}
.qa-item.is-open .qa-q-num {
  background: #fff;
  color: #6d28d9;
}
.qa-q-text {
  flex: 1;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.qa-chevron {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(124, 58, 237, 0.28);
  position: relative;
  transform: none;
  margin: 0;
  transition: background 0.15s ease, transform 0.2s ease;
}
.qa-chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #7c3aed;
  border-bottom: 3px solid #7c3aed;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.2s ease, border-color 0.15s ease;
}
.qa-item.is-open .qa-chevron {
  background: rgba(255, 255, 255, 0.95);
  transform: none;
  margin: 0;
  border: 0;
}
.qa-item.is-open .qa-chevron::before {
  top: 55%;
  border-color: #6d28d9;
  transform: translate(-50%, -50%) rotate(225deg);
}
.qa-answer {
  border: 2px solid #c4b5fd;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  padding: 4px 20px 20px;
  background: linear-gradient(180deg, #f5f3ff 0%, #faf5ff 100%);
  animation: qaOpen 0.22s ease;
}
@keyframes qaOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.qa-answer-media {
  display: block;
  width: 100%;
  margin: 16px 0 14px;
  padding: 0;
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f3ff;
  aspect-ratio: 16 / 9;
  cursor: zoom-in;
}
.qa-answer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.qa-answer-media:hover img {
  transform: scale(1.03);
}
.qa-answer-body p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
}
.qa-answer-body p + p {
  margin-top: 10px;
}
.qa-answer .pricing-grid {
  margin-top: 16px;
  margin-bottom: 12px;
}

/* Lightbox */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.82);
  cursor: pointer;
}
.lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  max-height: min(90vh, 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}
.lightbox-panel img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-x:hover { background: rgba(37, 99, 235, 0.95); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 900px) {
  .qa-layout { grid-template-columns: 1fr; }
  .qa-preview {
    position: static;
    order: -1;
  }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.about-panel,
.contact-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.about-panel h3,
.contact-panel h3 {
  margin: 0 0 12px;
}
.about-panel p { color: var(--muted); margin: 0 0 12px; }
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-list li {
  display: grid;
  gap: 2px;
}
.contact-list strong { font-size: 0.85rem; color: var(--muted); }
.contact-list span,
.contact-list a { color: var(--text); font-weight: 600; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #1d4ed8, #2563eb 50%, #0ea5e9);
  color: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; font-size: 1.6rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.9); max-width: 520px; }
.cta-band .btn-outline {
  background: #fff;
  color: var(--primary-dark);
  border: none;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.75);
  padding: 36px 0 24px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}
.footer-brand img { height: 28px; }
.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.95rem;
}
.site-footer a {
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.tech-brief {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.tech-brief-copy h2 { margin: 0 0 12px; }
.tech-brief-copy p { color: var(--muted); }
.tech-brief-media img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.tech-pillars article {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}
.tech-pillars h3 { margin: 0 0 8px; font-size: 1.02rem; }
.tech-pillars p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.contact-phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.contact-phone-row .btn { width: auto; margin: 0; padding: 8px 12px; font-size: 0.85rem; }

.chat-pop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  box-sizing: border-box;
}
.chat-pop.is-open { display: flex; }
.chat-pop-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}
.chat-pop-panel {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: min(92vh, 640px);
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}
.chat-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #0f172a;
  color: #fff;
}
.chat-pop-head h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.chat-pop-head p { margin: 2px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.72); }
.chat-pop-x {
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.2rem;
  cursor: pointer;
}
.chat-pop-body { padding: 14px 16px 16px; overflow-y: auto; }
.chat-pop-panel.wa-panel { max-height: min(94vh, 680px); }
.wa-lead {
  display: none;
  flex-direction: column;
  padding: 16px 16px 18px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  background: #fff;
}
.wa-lead.is-on { display: flex; }
.wa-compose.is-off { display: none !important; }
.wa-lead-send {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 6px 0 0;
  border: 0;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  font: inherit;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.wa-lead-send:hover { background: #1ebe5d; }
.wa-lead-send:disabled { opacity: 0.55; cursor: wait; }
.wa-lead input,
.wa-lead textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
}
.wa-lead textarea { min-height: 96px; resize: vertical; }
.wa-lead label { font-size: 0.88rem; margin-bottom: 6px; }
.wa-head { background: #075e54 !important; gap: 10px; }
.wa-head-ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center; flex: 0 0 auto;
}
.wa-body {
  flex: 1;
  background: #ece5dd;
  padding: 12px 12px 8px;
  overflow-y: auto;
  min-height: 220px;
}
.wa-msg {
  max-width: 82%;
  padding: 8px 10px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}
.wa-msg-bot {
  background: #fff;
  border-radius: 0 10px 10px 10px;
  color: #111;
}
.wa-msg-user {
  background: #dcf8c6;
  border-radius: 10px 0 10px 10px;
  margin-left: auto;
  color: #111;
}
.wa-msg.pending { opacity: 0.7; }
.wa-msg.err { color: #b91c1c; }
.wa-compose {
  display: flex; gap: 8px; align-items: center;
  padding: 8px 10px;
  background: #f0f0f0;
}
.wa-compose input {
  flex: 1; margin: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  padding: 10px 14px !important;
}
.wa-send {
  width: 48px; height: 48px; min-width: 48px; border: 0; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; cursor: pointer; flex: 0 0 auto;
}
.wa-send:disabled { opacity: 0.5; }
.wa-fab {
  width: 64px !important; height: 64px !important;
  background: #25d366 !important;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.45);
}
.wa-fab-icon { width: 34px !important; height: 34px !important; filter: none !important; }
.ask-fab:has(.wa-fab) { width: 64px; }
.chat-bubble {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 12px;
  font-size: 0.92rem;
  margin-bottom: 14px;
  color: #1e3a5f;
}
.chat-pop label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.chat-pop input,
.chat-pop textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.95rem;
}
.chat-pop textarea { min-height: 90px; resize: vertical; }
.chat-pop .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.chat-pop-status { font-size: 0.85rem; margin: 0 0 8px; min-height: 1.2em; }
.chat-pop-status.ok { color: var(--success); }
.chat-pop-status.err { color: #b91c1c; }
.chat-pop .btn { width: 100%; }

.ask-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  border: 0;
  background: transparent;
  padding: 0;
  width: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ask-fab-float {
  width: 102px;
  height: 102px;
  background: transparent;
  display: grid;
  place-items: center;
  perspective: 520px;
  animation: ask-hover 2.8s ease-in-out infinite;
}
.ask-fab-x {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  background: transparent;
  transform-style: preserve-3d;
  pointer-events: none;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.28));
}
.ask-fab-float:hover .ask-fab-x,
.ask-fab-x.is-spin {
  animation: ask-spin 0.75s ease-in-out;
}
.ask-fab-label {
  margin-top: 2px;
  width: 118px;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}
.ask-fab-label img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  background: transparent;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.22));
}
body.chat-open .ask-fab {
  opacity: 0;
  pointer-events: none;
}
@keyframes ask-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ask-spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@media (max-width: 900px) {
  .ask-fab { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: 58px; }
  .ask-fab-float { width: 58px; height: 58px; }
  .wa-fab { width: 58px !important; height: 58px !important; }
  .wa-fab-icon { width: 30px !important; height: 30px !important; }
  .ask-fab-x { width: 80px; height: 80px; }
  .ask-fab-label { width: 96px; }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .footer-grid,
  .tech-brief,
  .tech-pillars { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 72px; }
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.product-tabs a {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.product-tabs a:hover { background: rgba(255,255,255,0.2); text-decoration: none; }
.xdc-dl-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
}
.xdc-dl-nav { display: flex; flex-direction: column; gap: 4px; }
.xdc-dl-nav button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  border-radius: 12px 0 0 12px;
  font: inherit;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.xdc-dl-nav button.on { background: #ddd6fe; color: #1e1b4b; }
.xdc-dl-pane {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.xdc-os { display: none; }
.xdc-os.on { display: block; }
.xdc-os h3 { margin: 0 0 6px; }
.xdc-os .muted { color: var(--muted); margin: 0 0 12px; }
.xdc-pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 8px;
  overflow: auto;
  font-size: 0.88rem;
}
.xdc-dl-pane .btn { margin-top: 8px; display: inline-block; }
@media (max-width: 720px) {
  .xdc-dl-grid { grid-template-columns: 1fr; }
  .xdc-dl-nav { flex-direction: row; flex-wrap: wrap; }
  .xdc-dl-nav button { border-radius: 10px; }
}
