/* =========================================================
   Software 4 All — Futuristic Professional Theme (light)
   Palette derived from the logo: electric blue → violet
   ========================================================= */

:root {
  --bg: #f5f7fc;
  --bg-2: #eef2fb;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-2: rgba(37, 99, 235, 0.06);
  --border: rgba(30, 50, 120, 0.10);
  --border-strong: rgba(30, 50, 120, 0.18);

  --text: #0b1330;
  --text-2: #4a5578;
  --text-3: #7c86a6;

  --blue: #1d7bf2;
  --indigo: #4f46e5;
  --violet: #7c3aed;
  --cyan: #0891b2;
  --accent: #2563eb;
  --grad: linear-gradient(120deg, #0ea5e9 0%, #2563eb 38%, #4f46e5 68%, #7c3aed 100%);
  --grad-soft: linear-gradient(120deg, rgba(14, 165, 233, 0.12), rgba(124, 58, 237, 0.12));

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 60, 0.04), 0 18px 50px -20px rgba(30, 50, 140, 0.22);
  --glow: 0 10px 30px -10px rgba(37, 99, 235, 0.55);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --container: 1180px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(37, 99, 235, 0.2); color: var(--text); }

/* ---------- Background: aurora glows + tech grid ---------- */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-fx .orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.22; }
.bg-fx .orb-1 { width: 620px; height: 620px; background: #38bdf8; top: -260px; left: -140px; animation: drift 18s ease-in-out infinite alternate; }
.bg-fx .orb-2 { width: 520px; height: 520px; background: #8b5cf6; top: 10%; right: -200px; opacity: 0.16; animation: drift 22s ease-in-out infinite alternate-reverse; }
.bg-fx .orb-3 { width: 460px; height: 460px; background: #60a5fa; bottom: -220px; left: 30%; opacity: 0.14; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.08); } }

/* ---------- Utilities ---------- */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: rgba(8, 145, 178, 0.07); border: 1px solid rgba(8, 145, 178, 0.22);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(8, 145, 178, 0.6); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }

.section { padding: 5.5rem 0 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; letter-spacing: -0.03em;
  margin: 1.1rem 0 0.9rem;
}
.section-head p { color: var(--text-2); font-size: 1.05rem; }

.glass {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.62));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
/* Gradient hairline on top edge */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(37, 99, 235, 0.12) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 0.9rem 1.6rem; border-radius: 12px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(79, 70, 229, 0.65); }
.btn-ghost { color: var(--text); background: #fff; border: 1px solid var(--border-strong); box-shadow: 0 1px 2px rgba(15, 23, 60, 0.06); }
.btn-ghost:hover { border-color: rgba(37, 99, 235, 0.4); color: var(--accent); transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- Navigation ---------- */
.menu-wrapper { position: fixed; top: 1rem; left: 0; right: 0; z-index: 1000; padding: 0 16px; }
.menu-bar {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.menu-wrapper.scrolled .menu-bar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 12px 36px -14px rgba(30, 50, 140, 0.3); }
.logo-menu { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.logo-chip {
  display: grid; place-items: center; width: 44px; height: 38px; border-radius: 10px;
  background: #fff; padding: 3px; border: 1px solid var(--border); box-shadow: 0 4px 14px -6px rgba(37, 99, 235, 0.5);
}
.logo-chip img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo-text span { color: var(--blue); }

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  display: block; text-decoration: none; color: var(--text-2);
  font-size: 0.9rem; font-weight: 500; padding: 0.5rem 0.9rem; border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); font-weight: 600; background: var(--grad-soft); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2); }
/* Products dropdown: opens on hover and on keyboard focus; the invisible top padding bridges the
   gap so the pointer can travel from the link into the panel without it closing. */
.has-sub { position: relative; }
.has-sub > a { display: flex; align-items: center; gap: 0.4rem; }
.sub-caret { font-size: 0.65rem; transition: transform 0.25s; }
.has-sub:hover .sub-caret, .has-sub:focus-within .sub-caret { transform: rotate(180deg); }
.sub-menu {
  list-style: none; position: absolute; top: 100%; left: 50%; z-index: 10;
  width: 300px; padding: 0.75rem 0 0;
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.sub-menu::before {
  content: ""; position: absolute; inset: 0.75rem 0 0; z-index: -1; border-radius: 14px;
  background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 50px -18px rgba(30, 50, 140, 0.35);
}
.sub-menu li:first-child { padding-top: 0.45rem; }
.sub-menu li:last-child { padding-bottom: 0.45rem; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .sub-menu a { display: flex; align-items: center; gap: 0.8rem; margin: 0 0.45rem; padding: 0.65rem 0.7rem; }
.sub-icon {
  flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  color: #fff; font-size: 0.85rem; background: var(--grad); box-shadow: 0 6px 16px -8px rgba(37, 99, 235, 0.7);
}
.sub-icon.logo { background: #fff; border: 1px solid var(--border); padding: 2px; overflow: hidden; }
.sub-icon.logo img { width: 100%; height: 100%; object-fit: contain; }
.sub-text { display: flex; flex-direction: column; line-height: 1.3; }
.sub-text strong { color: var(--text); font-size: 0.9rem; font-weight: 600; }
.sub-text small { color: var(--text-3); font-size: 0.76rem; }
.nav-links .sub-menu a:hover .sub-text strong { color: var(--accent); }

.nav-cta { padding: 0.6rem 1.1rem; font-size: 0.875rem; border-radius: 10px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-size: 1.05rem;
}

/* ---------- Hero slideshow ---------- */
.hero { padding-top: 7.5rem; }
.slideshow {
  display: grid; grid-template-columns: 1.05fr 1fr; min-height: 520px; overflow: hidden;
}
.slideshow-text { padding: 3.5rem; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.text-content { animation: slideIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.slide-label { margin-bottom: 1.4rem; }
.slide-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 1.2rem;
}
.slide-title span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.slide-description { color: var(--text-2); font-size: 1.07rem; max-width: 460px; margin-bottom: 1.6rem; }
.slide-meta { display: flex; align-items: center; gap: 1rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); }
.slide-meta .tag { color: var(--accent); padding: 0.3rem 0.75rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.slide-meta i { margin-right: 0.35rem; }

.slide-controls { display: flex; gap: 0.5rem; margin-top: 2.4rem; }
.slide-dot {
  position: relative; width: 44px; height: 4px; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(15, 23, 60, 0.1); overflow: hidden;
}
.slide-dot::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--grad); }
.slide-dot.done::after { transform: scaleX(1); }
.slide-dot.active::after { animation: progress var(--slide-ms, 5000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.image-wrapper { position: absolute; inset: 0; }
.slideshow-image {
  position: relative; min-height: 320px; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 55%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 55%);
}
.image-wrapper img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center;
  opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 6s ease;
}
.image-wrapper img.active { opacity: 1; transform: scale(1); }
/* Fade image into the text side + colour tint */
.slideshow-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.02));
}
/* Scanline HUD overlay */
.slideshow-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px);
}
.hud-corner { position: absolute; z-index: 2; width: 22px; height: 22px; border-color: rgba(255, 255, 255, 0.9); border-style: solid; }
.hud-corner.tr { top: 18px; right: 18px; border-width: 2px 2px 0 0; }
.hud-corner.br { bottom: 18px; right: 18px; border-width: 0 2px 2px 0; }
.image-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-family: var(--font-mono); font-size: 0.85rem; }

/* ---------- Intro / Miracle ---------- */
.hero-miracle { text-align: center; padding-top: 6rem; }
.hero-miracle h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.045em;
  max-width: 900px; margin: 1.4rem auto 1.4rem;
}
.hero-miracle .lead { color: var(--text-2); font-size: 1.15rem; max-width: 680px; margin: 0 auto 2.2rem; }
.hero-miracle .highlight { color: var(--text); font-weight: 600; border-bottom: 2px solid rgba(37, 99, 235, 0.35); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ---------- About ---------- */
.about-container { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; padding: 3.5rem; align-items: center; }
.about-container h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 1.1rem 0 1.1rem; }
.about-container .lead { font-size: 1.15rem; color: var(--text); margin-bottom: 1.3rem; }
.about-container .body-text p { color: var(--text-2); margin-bottom: 1rem; }
.about-container .highlight { color: var(--text); font-weight: 600; }
.signature { display: flex; flex-direction: column; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.signature .name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.signature .title { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }

.values { display: grid; gap: 1rem; }
.value {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.3rem;
  border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.value:hover { border-color: rgba(37, 99, 235, 0.35); background: #fff; transform: translateX(4px); }
.value h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.15rem; }
.value p { color: var(--text-2); font-size: 0.9rem; line-height: 1.5; }

.icon-box {
  flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  font-size: 1.1rem; color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ---------- Features ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  position: relative; padding: 1.9rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.7));
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.35s;
}
.card::after { /* spotlight follows the cursor (set via JS) */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 235, 0.10), transparent 45%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 24px 50px -20px rgba(37, 99, 235, 0.35); }
.card:hover::after { opacity: 1; }
.card .icon-box { margin-bottom: 1.4rem; }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.45rem; }
.card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.6; }
.card .num { position: absolute; top: 1.4rem; right: 1.5rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }

/* ---------- Stats ---------- */
.stats-section { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 2.4rem 2rem; text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
}
.stat-icon { color: var(--accent); font-size: 1.1rem; margin-bottom: 0.9rem; opacity: 0.9; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.4rem, 4.5vw, 3.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat-number .plus { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: 0.6rem; color: var(--text-2); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Ticker ---------- */
.ticker-wrap {
  margin-top: 5.5rem; overflow: hidden; padding: 1.1rem 0;
  border-block: 1px solid var(--border); background: rgba(255, 255, 255, 0.55);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 0.7rem; padding-right: 2.5rem; white-space: nowrap; color: var(--text-2); font-weight: 500; }
.ticker-item i { color: var(--accent); }
.ticker-item .highlight { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: var(--accent); padding: 0.15rem 0.5rem; border-radius: 6px; background: rgba(37, 99, 235, 0.07); border: 1px solid rgba(37, 99, 235, 0.2); }
.ticker-item .separator { color: var(--text-3); margin-left: 1.8rem; }
@keyframes scroll { to { transform: translateX(-33.333%); } }

/* ---------- Form + Contact ---------- */
.two-col { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.form-card, .contact-card { padding: 2.5rem; height: 100%; }
.form-card h2, .contact-card h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 0.35rem; }
.form-card .sub { color: var(--text-2); margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-2); margin-bottom: 0.45rem; }
.form-group label .req { color: #dc2626; }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px; outline: none;
  font: inherit; font-size: 0.95rem; color: var(--text);
  background: #fff; border: 1px solid var(--border-strong);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 8px 24px -12px rgba(37, 99, 235, 0.5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .btn { width: 100%; margin-top: 0.6rem; padding: 1rem; }
.form-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-3); display: flex; align-items: center; gap: 0.5rem; }
.form-success { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 12px; font-size: 0.9rem; color: #047857; background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.3); }
.form-success.show { display: flex; gap: 0.6rem; align-items: center; animation: slideIn 0.5s ease both; }

.contact-card .address { font-style: normal; color: var(--text-2); margin: 1.2rem 0 1.6rem; padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }
.contact-card .address strong { display: flex; align-items: center; gap: 0.6rem; color: var(--text); font-family: var(--font-display); margin-bottom: 0.4rem; }
.contact-card .address strong i { color: var(--accent); }
.contact-card .address .line { display: block; font-size: 0.93rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--border); }
.contact-detail .icon-box { width: 42px; height: 42px; font-size: 0.95rem; }
.contact-detail .info { display: flex; flex-direction: column; font-weight: 500; }
.contact-detail .info a { text-decoration: none; transition: color 0.2s; }
.contact-detail .info a:hover { color: var(--accent); }
.contact-detail small { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Footer ---------- */
.footer { margin-top: 6rem; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.9)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer .brand p { color: var(--text-2); font-size: 0.93rem; max-width: 340px; margin-top: 1.1rem; }
.footer h4 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1.1rem; }
.footer .links { display: grid; gap: 0.55rem; }
.footer .links a { color: var(--text-2); text-decoration: none; font-size: 0.93rem; width: fit-content; transition: color 0.2s, transform 0.2s; }
.footer .links a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--border); }
.footer .copy { font-size: 0.85rem; color: var(--text-3); }
.footer .social { display: flex; gap: 0.5rem; }
.footer .social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; text-decoration: none;
  color: var(--text-2); background: #fff; border: 1px solid var(--border); transition: all 0.25s;
}
.footer .social a:hover { color: #fff; background: var(--grad); border-color: transparent; box-shadow: var(--glow); transform: translateY(-2px); }

/* ---------- Simple page hero (product.html) ---------- */
.page-hero { padding: 10rem 0 2rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin: 1.3rem 0 1.1rem; }
.page-hero p { color: var(--text-2); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

/* ---------- Product cards (index.html) ---------- */
.product-duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; text-decoration: none; padding: 2.3rem 2.1rem; }
.product-card h3 { font-size: 1.55rem; letter-spacing: -0.03em; margin-bottom: 0.7rem; }
.product-card p { font-size: 0.97rem; }
.product-logo { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: #fff; border: 1px solid var(--border); margin-bottom: 1.4rem; }
.product-kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; }
.tick-list { list-style: none; display: grid; gap: 0.55rem; margin: 1.3rem 0 1.6rem; }
.tick-list li { position: relative; padding-left: 1.7rem; color: var(--text-2); font-size: 0.93rem; line-height: 1.5; }
.tick-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 0.7rem;
  position: absolute; left: 0; top: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--grad);
}
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--accent); font-size: 0.93rem; }
.card-link i { transition: transform 0.25s; }
.product-card:hover .card-link i { transform: translateX(4px); }

/* ---------- Product detail (product.html) ---------- */
.product-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }
.product-section { scroll-margin-top: 6.5rem; }
.product-showcase { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; padding: 3rem; }
.product-showcase.flip .showcase-media { order: 2; }
.showcase-media { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); }
.showcase-media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.showcase-copy h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin: 1rem 0 0.9rem; }
.showcase-copy .lead { color: var(--text-2); font-size: 1.07rem; margin-bottom: 0.4rem; }
.showcase-copy .hero-actions { justify-content: flex-start; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.5rem; }
.feature { padding: 1.5rem 1.4rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, background 0.3s; }
.feature:hover { border-color: rgba(37, 99, 235, 0.35); background: #fff; }
.feature .icon-box { width: 40px; height: 40px; font-size: 0.95rem; margin-bottom: 0.9rem; }
.feature h3 { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin-bottom: 0.3rem; }
.feature p { color: var(--text-2); font-size: 0.9rem; line-height: 1.55; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 1.1rem; list-style: none; }
.steps li { counter-increment: step; position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); color: var(--text-2); font-size: 0.9rem; line-height: 1.55; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); margin-bottom: 0.5rem; }
.steps li strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.2rem; }
.note-strip { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.1rem; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); background: rgba(245, 158, 11, 0.07); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--text-2); font-size: 0.92rem; }
.note-strip i { color: #b45309; margin-top: 0.2rem; }
.note-strip a { color: var(--accent); font-weight: 600; }
.legal-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }
.legal-links a { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 0.45rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); transition: color 0.2s, border-color 0.2s; }
.legal-links a:hover { color: var(--accent); border-color: rgba(37, 99, 235, 0.4); }
.sub-head { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2.6rem; }

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .product-duo { grid-template-columns: 1fr; }
  .product-showcase { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .product-showcase.flip .showcase-media { order: 0; }
}
@media (max-width: 600px) {
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .product-card { padding: 1.8rem 1.4rem; }
}

/* ---------- Download (download.html) ---------- */
.download-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; padding: 3rem; }
.download-card h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 1rem 0 0.8rem; }
.download-card .lead { color: var(--text-2); font-size: 1.05rem; }
.download-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 1.6rem; }
.download-meta span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-2); padding: 0.35rem 0.75rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.download-meta i { color: var(--accent); margin-right: 0.35rem; }
.download-next { margin-top: 1.5rem; }
.download-card.product-section { scroll-margin-top: 6.5rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.fine-print { margin-top: 1rem; font-size: 0.82rem; color: var(--text-3); }
.fine-print a { color: var(--accent); }

/* ---------- Pricing (pricing.html) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 2.1rem 1.9rem 1.9rem;
  border-radius: var(--radius); background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.75));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.price-card.featured { border-color: rgba(37, 99, 235, 0.45); box-shadow: 0 26px 60px -24px rgba(37, 99, 235, 0.5); }
.price-card .icon-box { margin-bottom: 1.1rem; }
.price-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.price-card .who { color: var(--text-2); font-size: 0.92rem; margin-top: 0.2rem; }
.license-note {
  display: flex; align-items: center; gap: 0.6rem; width: fit-content; margin: 0 0 1.4rem;
  padding: 0.55rem 0.9rem; border-radius: 10px; font-size: 0.88rem; font-weight: 600; color: #92400e;
  background: rgba(245, 158, 11, 0.09); border: 1px solid rgba(245, 158, 11, 0.35);
}
.license-note i { color: #d97706; }
.showcase-copy .license-note { margin-top: -0.4rem; }
.summary .license-note { width: 100%; margin: 1.1rem 0 0; }
.price-row .per { font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; color: var(--text-3); -webkit-text-fill-color: var(--text-3); letter-spacing: 0; }
.price-limit { display: inline-flex; align-items: center; gap: 0.45rem; width: fit-content; margin-top: 0.9rem; font-size: 0.8rem; font-weight: 600; color: var(--accent); padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid rgba(37, 99, 235, 0.18); }
.price-rows { display: grid; gap: 0.7rem; margin: 1.5rem 0 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.price-row .label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.price-row .amt { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.price-row.main .amt { font-size: 2.3rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-row.sub .amt { font-size: 1.3rem; color: var(--text); }
.price-gst { font-size: 0.8rem; color: var(--text-3); margin-top: -0.3rem; text-align: right; }
.price-actions { margin-top: auto; display: grid; gap: 0.6rem; }
.price-actions .btn { width: 100%; }
.price-notes { margin-top: 2rem; padding: 1.4rem 1.6rem; display: grid; gap: 0.5rem; }
.price-notes p { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--text-2); font-size: 0.93rem; }
.price-notes i { color: var(--accent); margin-top: 0.25rem; }
.price-table-wrap { overflow-x: auto; margin-top: 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--border); background: #fff; }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.93rem; }
.price-table th, .price-table td { padding: 0.85rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; background: var(--bg-2); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td strong { font-family: var(--font-display); }
.price-table .na { color: var(--text-3); }

/* ---------- Buy (buy.html) ---------- */
.buy-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; align-items: start; }
.buy-panel { padding: 2.2rem; }
.buy-panel h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.7rem; }
.buy-panel h2 .step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: 0.85rem; color: #fff; background: var(--grad); }
.buy-panel .sub { color: var(--text-2); font-size: 0.93rem; margin-bottom: 1.4rem; }
.buy-panel + .buy-panel { margin-top: 1.5rem; }
.choice-grid { display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.choice-grid.two { grid-template-columns: 1fr 1fr; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice-grid.three .box { height: 100%; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--border-strong); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.choice .box .t { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.choice .box strong { font-size: 0.97rem; }
.choice .box small { color: var(--text-3); font-size: 0.8rem; }
.choice .box .p { font-family: var(--font-display); font-weight: 700; color: var(--text); white-space: nowrap; }
.choice .radio { flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); transition: border 0.2s; }
.choice input:checked + .box { border-color: var(--accent); background: rgba(37, 99, 235, 0.04); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }
.choice input:checked + .box .radio { border: 5px solid var(--accent); }
.choice input:focus-visible + .box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.group-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.55rem; }
.form-group select {
  width: 100%; padding: 0.9rem 1rem; border-radius: 12px; outline: none; font: inherit; font-size: 0.95rem; color: var(--text);
  background: #fff; border: 1px solid var(--border-strong); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12); }
.form-group .hint { display: block; margin-top: 0.35rem; font-size: 0.77rem; color: var(--text-3); }
.form-group input:user-invalid, .form-group select:user-invalid { border-color: #dc2626; }
.optional { color: var(--text-3); font-weight: 400; }
.summary { position: sticky; top: 6.5rem; padding: 2rem; }
.summary h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 1.1rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; color: var(--text-2); font-size: 0.95rem; }
.summary-line.total { margin-top: 0.5rem; padding-top: 1rem; border-top: 1px dashed var(--border-strong); color: var(--text); font-weight: 700; font-size: 1.1rem; }
.summary-line.total span:last-child { font-family: var(--font-display); font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.summary .btn { width: 100%; margin-top: 1.3rem; }
.summary .fine-print { text-align: center; }
.pay-grid { display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; }
.qr-box { display: grid; place-items: center; width: 232px; height: 232px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.qr-box img, .qr-box canvas { width: 206px !important; height: 206px !important; }
.pay-info p { color: var(--text-2); font-size: 0.93rem; margin-bottom: 0.5rem; }
.pay-amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.upi-id { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.88rem; padding: 0.4rem 0.75rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.upi-apps { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; color: var(--text-3); font-size: 0.8rem; }
.pay-app-btn { display: none; margin-top: 1rem; }
@media (hover: none) and (pointer: coarse) { .pay-app-btn { display: inline-flex; } }
.pay-pending { padding: 1.2rem 1.3rem; border-radius: var(--radius-sm); background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.35); color: #92400e; font-size: 0.93rem; }
.after-pay { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.after-pay .btn { width: 100%; }
[hidden] { display: none !important; }

@media (max-width: 1024px) {
  .price-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .download-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 2rem; }
  .buy-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .buy-panel, .summary { padding: 1.6rem 1.25rem; }
  .choice-grid.two, .choice-grid.three { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

/* ---------- Ughrani Mitra / Vepari Mitra ---------- */
.logo-media img { object-fit: contain; background: #fff; padding: 1.2rem; }
.tagline-gu { font-size: 1.05rem; font-weight: 600; color: #c2410c; margin: -0.3rem 0 0.8rem; }
.btn-logo { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; background: #fff; }
.variant-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.1rem 0 0; }
.variant-legend > div { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-2); line-height: 1.45; }
.vcode { flex-shrink: 0; min-width: 2.6rem; text-align: center; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: #fff; padding: 0.2rem 0.5rem; border-radius: 7px; background: var(--grad); }
.feature-table td { color: var(--text-2); }
.feature-table td:first-child { color: var(--text); font-weight: 500; }
.feature-table thead th { text-transform: none; letter-spacing: 0; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--text); }
.feature-table thead th:first-child { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.feature-table th small { display: block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; color: var(--accent); margin-top: 0.15rem; }
.feature-table .yes { color: #16a34a; }
.feature-table .price-tr td { background: var(--bg-2); }
.watch { margin-left: 0.4rem; font-size: 0.78rem; font-weight: 600; color: #dc2626; text-decoration: none; white-space: nowrap; }
.watch:hover { text-decoration: underline; }
.price-section { scroll-margin-top: 6.5rem; }
.price-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.price-head img { width: 64px; height: 64px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); object-fit: contain; }
.price-head .icon-box { width: 64px; height: 64px; border-radius: 16px; font-size: 1.5rem; }
.price-head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.price-head p { color: var(--text-2); font-size: 0.95rem; }
.price-logo { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--border); object-fit: contain; background: #fff; margin-bottom: 1.1rem; }
.tick-list.compact { margin: 0 0 1.5rem; gap: 0.4rem; }
.tick-list.compact li { font-size: 0.86rem; }
@media (max-width: 900px) { .variant-legend { grid-template-columns: 1fr; } }

/* Seven menu items plus the call-back button do not fit between 900px and ~1240px; the button
   goes first, since "Contact" in the menu leads to the same form. */
@media (max-width: 1240px) and (min-width: 901px) {
  .nav-cta { display: none; }
  .nav-links a { padding: 0.5rem 0.7rem; }
}

/* ---------- Scroll reveal ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-on-scroll .card { opacity: 0; transform: translateY(20px); }
.animate-on-scroll.visible .card { animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.animate-on-scroll.visible .card:nth-child(2) { animation-delay: 0.08s; }
.animate-on-scroll.visible .card:nth-child(3) { animation-delay: 0.16s; }
.animate-on-scroll.visible .card:nth-child(4) { animation-delay: 0.24s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links a { padding: 0.5rem 0.65rem; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 16px; right: 16px;
    flex-direction: column; gap: 0.25rem; padding: 0.75rem;
    background: rgba(255, 255, 255, 0.97); border: 1px solid var(--border); border-radius: 16px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 60px -16px rgba(30, 50, 140, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.25s ease;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 0.8rem 1rem; }

  /* Phone menu: the two products sit indented under Products, always shown. */
  .sub-caret { display: none; }
  .sub-menu, .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu {
    position: static; width: auto; padding: 0 0 0 0.9rem; margin: 0.15rem 0 0.25rem 1rem;
    opacity: 1; visibility: visible; transform: none; border-left: 2px solid rgba(37, 99, 235, 0.15);
  }
  .sub-menu::before { display: none; }
  .sub-menu li:first-child, .sub-menu li:last-child { padding: 0; }
  .nav-links .sub-menu a { margin: 0; padding: 0.55rem 0.6rem; }
  .sub-icon { width: 30px; height: 30px; font-size: 0.75rem; }

  .slideshow { grid-template-columns: 1fr; }
  .slideshow-image { order: -1; min-height: 260px; }
  .slideshow-image { mask-image: linear-gradient(0deg, transparent 0%, #000 45%); -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 45%); }
  .slideshow-text { padding: 1.5rem 1.75rem 2.25rem; }
  .text-content { min-height: 300px; }

  .about-container { grid-template-columns: 1fr; padding: 2.25rem 1.75rem; gap: 2rem; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer .brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding-top: 4rem; }
  .hero-miracle { padding-top: 4.5rem; }
  .logo-text { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-section { grid-template-columns: 1fr; }
  .stat-item + .stat-item::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
  .form-row { grid-template-columns: 1fr; }
  .form-card, .contact-card { padding: 1.75rem 1.4rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@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; }
  .animate-on-scroll, .animate-on-scroll .card { opacity: 1; transform: none; }
}

/* =========================================================
   Software 4 All Support Bot — Floating Robot & Call Back Panel
   ========================================================= */
.sba-bot {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 950;
  width: 76px;
  height: 56px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: grid;
  place-items: center;
  animation: sba-float 3.2s ease-in-out infinite;
}
.sba-bot:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; border-radius: 12px; }
.sba-bot svg {
  width: 72px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 10px rgba(2, 132, 199, .35));
  transition: transform .25s ease-out, filter .2s;
}
.sba-bot:hover svg { filter: drop-shadow(0 8px 14px rgba(2, 132, 199, .55)); }

@keyframes sba-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.sba-eyes { transition: transform .12s ease-out; }
.sba-eye { transform-box: fill-box; transform-origin: center; transition: transform .09s ease-in; }
.sba-bot.blink .sba-eye { transform: scaleY(.1); }

/* Happy reaction on click / submit */
.sba-happy-eyes, .sba-blush { opacity: 0; transition: opacity .15s; }
.sba-bot.happy .sba-eye { transform: scaleY(0); }
.sba-bot.happy .sba-happy-eyes { opacity: 1; }
.sba-bot.happy .sba-blush { opacity: .75; }
.sba-bot.happy { animation: sba-hop .7s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes sba-hop {
  0%   { transform: translateY(0) scale(1, 1); }
  20%  { transform: translateY(2px) scale(1.12, .86); }
  50%  { transform: translateY(-22px) scale(.92, 1.1); }
  75%  { transform: translateY(0) scale(1.06, .94); }
  100% { transform: translateY(0) scale(1, 1); }
}
.sba-bot.happy .sba-antenna-tip { animation: sba-glow .18s ease-in-out infinite alternate; }

.sba-spark {
  position: fixed;
  z-index: 951;
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
  animation: sba-spark .9s ease-out forwards;
}
@keyframes sba-spark {
  0%   { transform: translate(0, 0) scale(.3); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(var(--rot)); opacity: 0; }
}

.sba-antenna-tip { animation: sba-glow 1.6s ease-in-out infinite alternate; }
.sba-antenna-tip.right { animation-delay: .8s; }
@keyframes sba-glow {
  from { fill: #0284c7; }
  to   { fill: #a5f3fc; }
}

/* Panel */
.sba-panel {
  --sba-accent: #0284c7;
  position: fixed;
  left: 24px;
  bottom: 92px;
  z-index: 949;
  width: min(375px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .24);
  border: 1px solid rgba(2, 132, 199, .15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom left;
  transform: scale(.85) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
  font-family: var(--font-body);
  font-size: 14px;
  color: #1e293b;
  text-align: left;
}
.sba-panel.open { transform: none; opacity: 1; pointer-events: auto; }

.sba-head {
  background: linear-gradient(135deg, #0284c7, #0c4a6e);
  color: #fff;
  padding: 13px 15px;
}
.sba-head-top { display: flex; justify-content: space-between; align-items: center; }
.sba-head-top b { font-size: 15px; display: block; line-height: 1.25; }
.sba-head-top small { display: block; opacity: .85; font-size: 12px; margin-top: 2px; }
.sba-head-top button { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; }
.sba-head-actions { display: flex; align-items: center; gap: 10px; }

.sba-lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .45); border-radius: 99px; overflow: hidden; }
.sba-head-top .sba-lang button {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.4;
}
.sba-head-top .sba-lang button.on { background: #fff; color: #0369a1; }

.sba-body {
  padding: 14px 15px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sba-msg {
  background: #f0f9ff;
  border: 1px solid #e0f2fe;
  padding: 10px 12px;
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  line-height: 1.45;
  color: #0c4a6e;
  font-size: 13.5px;
}
.sba-panel[lang="hi"] .sba-msg { line-height: 1.6; }

.sba-cb-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sba-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
}
.sba-field label .req { color: #dc2626; }
.sba-field input,
.sba-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  padding: 8.5px 11px;
  font: inherit;
  font-size: 13.5px;
  color: #0f172a;
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.sba-field input:focus,
.sba-field textarea:focus {
  border-color: var(--sba-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, .15);
}
.sba-field textarea {
  min-height: 78px;
  resize: vertical;
  line-height: 1.45;
}
.sba-err {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
}
.sba-send-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, opacity .15s, box-shadow .2s;
  box-shadow: 0 8px 20px -8px rgba(2, 132, 199, .65);
}
.sba-send-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(2, 132, 199, .8);
}
.sba-send-btn:disabled { opacity: .65; cursor: default; }

.sba-success-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 14px;
  color: #14532d;
  line-height: 1.5;
  font-size: 13.5px;
}
.sba-success-box b { color: #15803d; }
.sba-again-btn {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0369a1;
  border-radius: 9px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.sba-again-btn:hover { background: #f0f9ff; border-color: #bae6fd; }

@media (max-width: 700px) {
  .sba-bot { left: 16px; bottom: 16px; }
  .sba-panel { left: 16px; bottom: 84px; }
}

