/* ═══════════════════════════════════════════════
   SOUITRO INNOVATION TECH SOLUTIONS
   style.css — Global Stylesheet v2
   Design: Dark + Glassmorphism + Aurora UI
   Parallax: JS requestAnimationFrame, translateY
   Mobile: Full flat layout < 1024px
   Icons: Lucide SVG inline — NO emojis
   Motion: prefers-reduced-motion respected
═══════════════════════════════════════════════ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .parallax-layer {
    transform: none !important;
  }
}

/* ── TOKENS ── */
:root {
  --navy: #03045E;
  --navy-mid: #023E8A;
  --navy-light: #0077B6;
  --cyan: #00B4D8;
  --cyan-light: #90E0EF;
  --cyan-pale: #CAF0F8;
  --cyan-glow: rgba(0, 180, 216, 0.35);

  --bg: #020318;
  --bg2: rgba(3, 4, 94, 0.18);
  --bg3: rgba(0, 180, 216, 0.06);
  --glass: rgba(3, 4, 94, 0.32);
  --glass-hover: rgba(0, 119, 182, 0.18);
  --glass-border: rgba(0, 180, 216, 0.15);
  --glass-border-hover: rgba(0, 180, 216, 0.35);

  --text: #f0f8ff;
  --text-muted: rgba(240, 248, 255, 0.58);
  --text-faint: rgba(240, 248, 255, 0.30);
  --text-tiny: rgba(240, 248, 255, 0.20);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow: 0 8px 32px rgba(0, 180, 216, 0.08);
  --shadow-md: 0 16px 48px rgba(0, 180, 216, 0.12);
  --shadow-lg: 0 24px 72px rgba(0, 180, 216, 0.18);

  --t-fast: 150ms ease-out;
  --t-mid: 250ms ease-out;
  --t-slow: 400ms ease-out;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --nav-h: 68px;
}

/* ── BASE ── */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ════════════════════════════════════
   PARALLAX ENGINE
   - #parallax-root is the scrollable viewport
   - .parallax-scene wraps each section
   - .parallax-layer is a background layer
   - .parallax-content is the foreground
   - On mobile (<1024px) everything is flat
════════════════════════════════════ */

/* The fixed canvas stays completely separate — outside parallax root */
#cvs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* NAV lives outside parallax root — fixed, always on top */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--nav-h);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 3, 24, 0.65);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-mid);
}

#nav.scrolled {
  background: rgba(2, 3, 24, 0.94);
}

/* Mobile menu — also fixed, outside parallax */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: rgba(2, 3, 24, 0.98);
  backdrop-filter: blur(24px);
  padding: 1.5rem 5% 3rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open {
  display: flex;
}

/* ── PARALLAX ROOT ── */
/* This wraps ALL page content below the nav */
#parallax-root {
  position: relative;
  z-index: 1;
  /* padding top equals nav height so first section isn't hidden */
  padding-top: var(--nav-h);
}

/* ── PARALLAX SCENE ── */
/* Each section gets a scene wrapper */
.parallax-scene {
  position: relative;
  overflow: hidden;
  /* clip layers that scroll outside */
  /* min-height set per scene inline or in section rules */
}

/* ── PARALLAX LAYER (background) ── */
/* Moves at ~0.4x scroll speed — JS drives the transform */
.parallax-layer {
  position: absolute;
  inset: -25% 0;
  /* overshoot top/bottom so gaps don't appear during scroll */
  z-index: 0;
  will-change: transform;
  pointer-events: none;
  /* Default: subtle gradient orb. Override per scene. */
  background: radial-gradient(ellipse at 50% 40%,
      rgba(0, 180, 216, 0.07) 0%,
      rgba(3, 4, 94, 0.04) 45%,
      transparent 75%);
}

/* Variant layer styles — apply to individual scenes */
.parallax-layer.layer-hero {
  background: radial-gradient(ellipse at 35% 50%,
      rgba(0, 119, 182, 0.12) 0%,
      rgba(3, 4, 94, 0.06) 40%,
      transparent 70%);
}

.parallax-layer.layer-dark {
  background: radial-gradient(ellipse at 65% 50%,
      rgba(3, 4, 94, 0.25) 0%,
      rgba(2, 3, 24, 0.15) 50%,
      transparent 80%);
}

.parallax-layer.layer-cyan {
  background: radial-gradient(ellipse at 50% 60%,
      rgba(0, 180, 216, 0.1) 0%,
      rgba(0, 119, 182, 0.05) 45%,
      transparent 75%);
}

/* Geometric grid overlay — appears on some scenes */
.parallax-layer.layer-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Diagonal rule overlay */
.parallax-layer.layer-lines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 60px,
      rgba(0, 180, 216, 0.025) 60px,
      rgba(0, 180, 216, 0.025) 61px);
}

/* ── PARALLAX CONTENT (foreground) ── */
/* Scrolls at 1x speed — normal document flow */
.parallax-content {
  position: relative;
  z-index: 2;
}

/* ── DEPTH FLOATING ELEMENTS ── */
/* These orb/shape elements move at intermediate speed (0.65x) */
.depth-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  border-radius: 50%;
  opacity: 0.35;
}

.depth-element.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12), transparent 70%);
  top: 10%;
  right: -80px;
}

.depth-element.orb-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(3, 4, 94, 0.4), transparent 70%);
  bottom: 5%;
  left: -60px;
}

.depth-element.orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.08), transparent 70%);
  top: 40%;
  left: 20%;
}

/* ── SECTION SPACING ── */
.parallax-scene>.parallax-content>section,
.parallax-scene>.parallax-content>div.section-inner {
  padding: 7rem 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.15);
}

/* ────────────────────────────────────
   SECTION DIVIDER
──────────────────────────────────── */
.sec-divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* ════════════════════════════════════
   CONTAINER
════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
}

/* ════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════ */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.sec-label::before {
  content: '';
  width: 26px;
  height: 1.5px;
  background: var(--cyan);
  flex-shrink: 0;
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.7rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.sec-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 580px;
}

.grad-text {
  background: linear-gradient(90deg, var(--cyan-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center {
  text-align: center;
}

.text-center .sec-sub {
  margin-left: auto;
  margin-right: auto;
}

.text-center .sec-label {
  justify-content: center;
}

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy-mid), var(--cyan));
  color: #020318;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(0, 180, 216, 0.25);
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(0, 180, 216, 0.45);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cyan-light);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(0, 180, 216, 0.32);
  cursor: pointer;
  transition: all var(--t-mid);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(0, 180, 216, 0.1);
  border-color: var(--cyan);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--t-mid);
  text-decoration: none;
}

.btn-ghost:hover {
  color: var(--cyan-light);
  border-color: var(--glass-border-hover);
  background: var(--bg2);
}

/* ════════════════════════════════════
   GLASS CARDS
════════════════════════════════════ */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md);
}

.glass-card.no-hover:hover {
  transform: none;
  box-shadow: none;
}

.glass-card.glow-top {
  position: relative;
  overflow: hidden;
}

.glass-card.glow-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity var(--t-mid);
}

.glass-card.glow-top:hover::before {
  opacity: 1;
}

/* ════════════════════════════════════
   BADGE / TAG
════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.22);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.74rem;
  color: var(--cyan-light);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulseDot 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.7);
    opacity: 0.35;
  }
}

.tag {
  font-size: 0.7rem;
  padding: 4px 11px;
  border-radius: 50px;
  background: rgba(0, 180, 216, 0.07);
  border: 1px solid rgba(0, 180, 216, 0.16);
  color: var(--cyan-light);
  letter-spacing: 0.02em;
  display: inline-block;
}

/* ════════════════════════════════════
   ICON BOX
════════════════════════════════════ */
.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 21px;
  height: 21px;
  stroke: var(--cyan-light);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box.sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.icon-box.sm svg {
  width: 17px;
  height: 17px;
}

.icon-box.lg {
  width: 62px;
  height: 62px;
  border-radius: 18px;
}

.icon-box.lg svg {
  width: 26px;
  height: 26px;
}

/* ════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.in {
  opacity: 1;
  transform: none;
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════
   NAV INTERNALS
════════════════════════════════════ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.55));
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--cyan-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links>li>a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links>li>a:hover {
  color: var(--cyan-light);
  background: rgba(0, 180, 216, 0.08);
}

.nav-links>li>a.active {
  color: var(--cyan-light);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.drop-chevron {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast);
  flex-shrink: 0;
}

.nav-dropdown:hover .drop-chevron,
.nav-dropdown.open .drop-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: rgba(2, 3, 24, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid);
  box-shadow: var(--shadow-md);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 0.855rem;
  color: var(--text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}

.dropdown-menu a:hover {
  color: var(--cyan-light);
  background: rgba(0, 180, 216, 0.1);
}

.dropdown-menu a svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.7;
}

.dropdown-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 6px 0;
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy-mid), var(--cyan)) !important;
  color: #020318 !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.845rem !important;
  box-shadow: 0 0 22px rgba(0, 180, 216, 0.22);
  transition: all var(--t-mid) !important;
}

.nav-cta:hover {
  box-shadow: 0 0 40px rgba(0, 180, 216, 0.45) !important;
  transform: translateY(-1px) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cyan-light);
  border-radius: 2px;
  transition: all var(--t-mid);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mob-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.07);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--t-fast);
}

.mob-link:hover {
  color: var(--cyan-light);
}

.mob-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.mob-section-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
  padding: 1.2rem 0 0.4rem;
}

.mob-sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(0, 180, 216, 0.05);
  color: rgba(240, 248, 255, 0.45);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}

.mob-sub-link:hover {
  color: var(--cyan-light);
}

.mob-sub-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero-scene {
  min-height: 100vh;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 4rem 5%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.04;
  margin-bottom: 1.3rem;
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.stat-item .stat-n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}

.stat-item .stat-l {
  font-size: 0.7rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero Orb */
.hero-orb {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0, 180, 216, 0.18), rgba(3, 4, 94, 0.04) 70%);
  border: 1px solid rgba(0, 180, 216, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatY 7s ease-in-out infinite;
  position: relative;
  flex-shrink: 0;
}

.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 180, 216, 0.08);
}

.orb-ring:nth-child(1) {
  width: 112%;
  height: 112%;
  animation: spinR 15s linear infinite;
}

.orb-ring:nth-child(2) {
  width: 130%;
  height: 130%;
  animation: spinR 22s linear infinite reverse;
}

.orb-ring:nth-child(3) {
  width: 150%;
  height: 150%;
  animation: spinR 30s linear infinite;
}

@keyframes spinR {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.orb-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.orb-inner img {
  width: 98px;
  height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(0, 180, 216, 0.65));
}

.orb-tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--cyan-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 10px;
}

/* ════════════════════════════════════
   SECTION SHARED COMPONENTS
════════════════════════════════════ */
.section-header {
  margin-bottom: 3rem;
}

.section-row-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  background: rgba(0, 180, 216, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step-item {
  padding: 2rem 1.5rem;
  background: var(--bg);
  border-right: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: background var(--t-mid);
}

.step-item:last-child {
  border-right: none;
}

.step-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform var(--t-mid);
}

.step-item:hover {
  background: rgba(0, 119, 182, 0.1);
}

.step-item:hover::after {
  transform: scaleX(1);
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 180, 216, 0.1);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.step-icon-wrap {
  margin-bottom: 0.7rem;
}

.step-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--cyan-light);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.hl-item {
  background: var(--bg2);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color var(--t-mid);
}

.hl-item:hover {
  border-color: rgba(0, 180, 216, 0.28);
}

.hl-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 0.6rem;
  display: block;
}

.hl-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan-light);
  margin-bottom: 0.3rem;
}

.hl-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  padding: 2rem;
}

.svc-card .svc-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 1.1rem 0 0.55rem;
}

.svc-card .svc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.1rem;
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.founder-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.founder-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: saturate(0.8);
}

.founder-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 45%, rgba(2, 3, 24, 0.88));
}

.founder-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.founder-badge .fb-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.founder-badge .fb-role {
  font-size: 0.78rem;
  color: var(--cyan);
  margin-top: 2px;
}

/* Project cards */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.proj-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.proj-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.proj-thumb-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(3, 4, 94, 0.55), rgba(0, 119, 182, 0.22));
}

.proj-thumb svg {
  width: 46px;
  height: 46px;
  stroke: rgba(0, 180, 216, 0.45);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
}

.proj-info {
  padding: 1.3rem;
}

.proj-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.proj-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--cyan);
  font-weight: 500;
}

.proj-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  padding: 2rem;
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-cat {
  font-size: 0.7rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.blog-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.blog-excerpt {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.1rem;
  font-size: 0.77rem;
  color: var(--text-faint);
}

.blog-meta svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  padding: 2rem;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}

.testi-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--cyan);
  stroke: var(--cyan);
  stroke-width: 1.5;
}

.testi-quote {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-mid), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #020318;
  flex-shrink: 0;
}

.testi-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.testi-biz {
  font-size: 0.76rem;
  color: var(--text-faint);
}

/* CTA */
.cta-section {
  padding: 6rem 0;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.1), rgba(3, 4, 94, 0.25));
  border: 1px solid rgba(0, 180, 216, 0.16);
  border-radius: var(--radius-xl);
  padding: 4.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.09), transparent 65%);
  pointer-events: none;
}

.cta-contact-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-ci {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-ci svg {
  width: 15px;
  height: 15px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-ci a {
  color: var(--cyan-light);
}

.cta-ci a:hover {
  text-decoration: underline;
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 3, 24, 0.9);
  backdrop-filter: blur(18px);
  padding: 3.5rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  line-height: 1.7;
  max-width: 270px;
}

.footer-tagline {
  color: var(--cyan);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.45));
}

.footer-logo-wrap span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(90deg, var(--cyan-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 1.1rem;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 4px 0;
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--cyan-light);
}

.footer-col a svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 180, 216, 0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.07);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-mid);
}

.social-btn:hover {
  background: rgba(0, 180, 216, 0.14);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--cyan-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(3, 4, 94, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.input-error {
  border-color: #e74c3c !important;
}

.error-msg {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 2px;
}

.success-msg {
  font-size: 0.82rem;
  color: #2ecc71;
  margin-top: 4px;
}

/* ════════════════════════════════════
   MOBILE BREAKPOINT — FULL FLAT LAYOUT
   Disables ALL parallax below 1024px
════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Kill every parallax layer */
  .parallax-layer,
  .depth-element {
    display: none !important;
  }

  /* Remove overflow:hidden from scenes so mobile layout isn't clipped */
  .parallax-scene {
    overflow: visible;
  }

  /* Parallax content becomes normal document flow */
  .parallax-content {
    position: static;
    z-index: auto;
  }

  /* Nav collapses to hamburger */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Layouts */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 5%;
  }

  .hero-sub {
    margin: 0 auto 2.4rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .founder-img-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-box {
    padding: 2.5rem 1.5rem;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .step-item {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .step-item:last-child {
    border-bottom: none;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .cta-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* ══════════════════════════════════════════════
     SOUITRO — FLOATING BUTTONS + CHATBOT WIDGET
     Paste before </body> on every page
══════════════════════════════════════════════ */

/* ── FLOATING BUTTONS WRAPPER ── */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── TOOLTIP LABEL ── */
.float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(2, 3, 24, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 180, 216, 0.2);
  color: #f0f8ff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0, 180, 216, 0.2);
}

/* ── SHARED BUTTON BASE ── */
.float-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── WHATSAPP BUTTON ── */
.float-btn-wa {
  background: linear-gradient(135deg, #128c7e, #25d366);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.float-btn-wa:hover {
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.55);
}

/* ── BOT BUTTON ── */
.float-btn-bot {
  background: linear-gradient(135deg, #023E8A, #00B4D8);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.float-btn-bot:hover {
  box-shadow: 0 8px 36px rgba(0, 180, 216, 0.55);
}

/* Pulse ring on bot button */
.float-btn-bot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0, 180, 216, 0.45);
  animation: pulseRing 2.5s ease-out infinite;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Notification dot */
.float-notif {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 14px;
  height: 14px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid #020318;
  font-size: 0px;
  /* invisible text, just dot */
  animation: bounceDot 2s ease infinite;
}

@keyframes bounceDot {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.25);
  }
}

/* ════════════════════════════════════════════
     CHATBOT WIDGET
  ════════════════════════════════════════════ */
.sits-chat {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 9989;
  width: 380px;
  max-height: 620px;
  display: flex;
  flex-direction: column;
  background: rgba(2, 3, 24, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 180, 216, 0.08);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sits-chat.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Chat header */
.chat-header {
  background: linear-gradient(135deg, #023E8A, #0077B6);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.2);
  border: 2px solid rgba(0, 180, 216, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-header-info {
  flex: 1;
}

.chat-header-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #f0f8ff;
  line-height: 1.2;
}

.chat-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: rgba(240, 248, 255, 0.65);
  margin-top: 2px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulseDot 2s ease infinite;
}

.chat-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-close svg {
  width: 16px;
  height: 16px;
  stroke: #f0f8ff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Chat body — scrollable messages */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar {
  width: 4px;
}

.chat-body::-webkit-scrollbar-track {
  background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
  background: rgba(0, 180, 216, 0.2);
  border-radius: 2px;
}

/* Message bubbles */
.chat-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  animation: msgIn 0.3s ease;
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.855rem;
  line-height: 1.65;
}

.chat-msg.bot .chat-bubble {
  background: rgba(3, 4, 94, 0.55);
  border: 1px solid rgba(0, 180, 216, 0.15);
  color: rgba(240, 248, 255, 0.9);
  border-radius: 4px 14px 14px 14px;
}

.chat-msg.user .chat-bubble {
  background: linear-gradient(135deg, #023E8A, #0077B6);
  color: #f0f8ff;
  border-radius: 14px 14px 4px 14px;
}

.chat-timestamp {
  font-size: 0.65rem;
  color: rgba(240, 248, 255, 0.3);
  margin-top: 4px;
  padding: 0 4px;
}

.chat-msg.user .chat-timestamp {
  text-align: right;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(3, 4, 94, 0.55);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 4px 14px 14px 14px;
  width: fit-content;
  animation: msgIn 0.3s ease;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.6);
}

.typing-dot:nth-child(1) {
  animation: typingBounce 1.2s ease infinite 0s;
}

.typing-dot:nth-child(2) {
  animation: typingBounce 1.2s ease infinite 0.2s;
}

.typing-dot:nth-child(3) {
  animation: typingBounce 1.2s ease infinite 0.4s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Quick reply buttons */
.chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  max-width: 100%;
}

.qr-btn {
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.25);
  color: #90E0EF;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.qr-btn:hover {
  background: rgba(0, 180, 216, 0.18);
  border-color: rgba(0, 180, 216, 0.5);
  color: #CAF0F8;
  transform: translateY(-1px);
}

/* Chat input area */
.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 180, 216, 0.1);
  flex-shrink: 0;
  background: rgba(3, 4, 94, 0.2);
}

.chat-input {
  flex: 1;
  background: rgba(3, 4, 94, 0.4);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 50px;
  color: #f0f8ff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.855rem;
  padding: 10px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input::placeholder {
  color: rgba(240, 248, 255, 0.3);
}

.chat-input:focus {
  border-color: rgba(0, 180, 216, 0.5);
}

.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #023E8A, #00B4D8);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 180, 216, 0.3);
}

.chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.5);
}

.chat-send svg {
  width: 16px;
  height: 16px;
  stroke: #f0f8ff;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Chat footer note */
.chat-footer-note {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(240, 248, 255, 0.2);
  padding: 6px 0 10px;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .sits-chat {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
  }

  .float-btns {
    right: 16px;
    bottom: 20px;
  }
}