/* ═══════════════════════════════════════════════════════════
   GOCUBE SOLUTION INDIA — Ultra Premium CSS
   Dark theme · Glassmorphism · Neon gradients · Grain overlay
═══════════════════════════════════════════════════════════ */

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

:root {
  --purple: #7c3aed;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --pink: #ec4899;
  --green: #10b981;
  --bg: #03030f;
  --bg2: #070714;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.07);
  --text: #e2e8f0;
  --muted: #64748b;
  --grad: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
  --grad-warm: linear-gradient(135deg, #ec4899, #7c3aed);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}

/* ─── Grain Overlay ─── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.45;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 4px;
}

/* ─── Selection ─── */
::selection {
  background: rgba(124, 58, 237, 0.35);
  color: #fff;
}

/* ─── Scroll Progress ─── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9900;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899);
  will-change: width;
}

/* ─── Custom Cursor ─── */
#cursor {
  position: fixed;
  z-index: 9800;
  width: 8px;
  height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s,
    opacity 0.2s;
}
#cursor-trail {
  position: fixed;
  z-index: 9799;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(124, 58, 237, 0.45);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition:
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    border-color 0.3s,
    opacity 0.3s;
}
body.c-hover #cursor {
  width: 16px;
  height: 16px;
  background: var(--cyan);
}
body.c-hover #cursor-trail {
  width: 52px;
  height: 52px;
  border-color: rgba(6, 182, 212, 0.4);
}
body.c-click #cursor {
  transform: translate(-50%, -50%) scale(0.7);
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  #cursor,
  #cursor-trail {
    display: none;
  }
}

/* ─── Preloader ─── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
#pre-logo {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(20px);
}
#pre-logo span {
  background: linear-gradient(135deg, #06b6d4, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pre-bar-track {
  width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
#pre-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, #06b6d4, #ec4899);
  border-radius: 99px;
  transition: width 0.04s linear;
}
#pre-count {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: "Inter", monospace;
}

/* ─── Navbar ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 48px;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    border-color 0.4s,
    padding 0.3s;
}
#navbar.scrolled {
  padding: 14px 48px;
  background: rgba(3, 3, 15, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(145deg, #0d0d1f, #1a1040);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow:
    0 0 14px rgba(124, 58, 237, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s;
}
.nav-brand:hover .brand-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow:
    0 0 22px rgba(124, 58, 237, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand-name {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  background: linear-gradient(120deg, #fff 30%, #c4b5fd 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.3px;
}
.brand-name .dot {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-tagline {
  font-family: "Inter", sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  opacity: 0.85;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.nav-link:hover {
  color: #fff;
}
.nav-link:hover::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: none;
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  opacity: 0.92;
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(124, 58, 237, 0.4);
}

@keyframes gradShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ─── Ripple ─── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transform: scale(0);
  animation: rippleAnim 0.65s linear forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to {
    transform: scale(4.5);
    opacity: 0;
  }
}

/* ─── Hamburger ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.35s var(--ease-out);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Mobile menu ─── */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease-out),
    opacity 0.35s;
  opacity: 0;
  background: rgba(3, 3, 15, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
#mobile-menu.open {
  max-height: 480px;
  opacity: 1;
}
.mob-link,
.mob-cta {
  display: block;
  padding: 13px 48px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-link:hover {
  color: #fff;
}
.mob-cta {
  margin: 12px 48px;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
}

/* ═══════════════════════════════════════════
   HERO — REDESIGNED
═══════════════════════════════════════════ */

/* ── Section shell ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 60px;
  /* Override the old flex-center so our grid can control layout */
  justify-content: center;
}

/* ── Canvas (mesh gradient) ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

/* ── Dot-grid overlay ── */
.h-dotgrid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(rgba(124, 58, 237, 0.28) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* ── Radial spotlight ── */
.h-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.22) 0%, rgba(6, 182, 212, 0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
}

/* ── Orbs ── */
.h-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
}
.h-orb-1 {
  width: 560px;
  height: 560px;
  background: rgba(124, 58, 237, 0.16);
  top: -140px;
  left: -120px;
  animation: hOrbFloat 11s ease-in-out infinite;
}
.h-orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(6, 182, 212, 0.12);
  top: 15%;
  right: -80px;
  animation: hOrbFloat 9s ease-in-out 3s infinite;
}
.h-orb-3 {
  width: 320px;
  height: 320px;
  background: rgba(236, 72, 153, 0.1);
  bottom: -60px;
  left: 35%;
  animation: hOrbFloat 13s ease-in-out 6s infinite;
}
.h-orb-4 {
  width: 280px;
  height: 280px;
  background: rgba(37, 99, 235, 0.1);
  bottom: 10%;
  right: 20%;
  animation: hOrbFloat 10s ease-in-out 2s infinite;
}
@keyframes hOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(18px, -28px) scale(1.04);
  }
  66% {
    transform: translate(-12px, 18px) scale(0.97);
  }
}

/* ── Light beams ── */
.h-beam {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);
}
.h-beam-1 {
  width: 3px;
  height: 400px;
  top: 0;
  left: 22%;
  background: linear-gradient(to bottom, rgba(124, 58, 237, 0.5), transparent);
  transform: rotate(-25deg);
  transform-origin: top center;
  animation: beamPulse 6s ease-in-out infinite;
}
.h-beam-2 {
  width: 3px;
  height: 360px;
  top: 0;
  right: 18%;
  background: linear-gradient(to bottom, rgba(6, 182, 212, 0.4), transparent);
  transform: rotate(22deg);
  transform-origin: top center;
  animation: beamPulse 8s ease-in-out 2s infinite;
}
@keyframes beamPulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ── Parallax rings + dots ── */
#parallax-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.p-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.22);
  will-change: transform;
}
.pr-1 {
  width: 140px;
  height: 140px;
  top: 18%;
  left: 7%;
  animation: pRingFloat 8s ease-in-out infinite;
}
.pr-2 {
  width: 80px;
  height: 80px;
  bottom: 22%;
  right: 9%;
  border-color: rgba(6, 182, 212, 0.28);
  animation: pRingFloat 10s ease-in-out 2s infinite;
}
.pr-3 {
  width: 220px;
  height: 220px;
  bottom: 18%;
  left: 4%;
  border-color: rgba(99, 102, 241, 0.16);
  animation: pRingFloat 14s ease-in-out 4s infinite;
}
@keyframes pRingFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(5deg);
  }
}
.p-dot {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.pd-1 {
  width: 6px;
  height: 6px;
  background: rgba(167, 139, 250, 0.7);
  top: 28%;
  right: 22%;
  animation: pDotFloat 5s ease-in-out infinite;
}
.pd-2 {
  width: 4px;
  height: 4px;
  background: rgba(6, 182, 212, 0.8);
  top: 62%;
  left: 16%;
  animation: pDotFloat 7s ease-in-out 1s infinite;
}
.pd-3 {
  width: 8px;
  height: 8px;
  background: rgba(236, 72, 153, 0.6);
  bottom: 30%;
  right: 28%;
  animation: pDotFloat 6s ease-in-out 3s infinite;
}
@keyframes pDotFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ══════════════════════════════════════
   HERO LAYOUT GRID
══════════════════════════════════════ */
.hero-wrap {
  position: relative;
  z-index: 10;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 56px;
  align-items: center;
}

/* ── Left column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Status badge */
.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 9px;
  border-radius: 99px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(16px);
}
.h-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: hBadgePulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes hBadgePulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px #4ade80;
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 14px #4ade80;
  }
}
.h-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.06em;
}
.h-badge-sep {
  color: rgba(167, 139, 250, 0.4) !important;
  font-weight: 400 !important;
}
.h-badge-count {
  color: rgba(255, 255, 255, 0.5) !important;
  font-weight: 500 !important;
}

/* Headline */
.hero-h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.18;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 20px;
  max-width: 580px;
}
.h1-row {
  display: block;
  overflow: hidden;
}
.h1-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
}
.h1-grad {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 100%);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.h1-warm {
  background: linear-gradient(120deg, #f9a8d4, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub-headline */
.hero-sub {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(18px);
}
.typing-text {
  color: #a78bfa;
  font-weight: 600;
}
.typing-text::after {
  content: "|";
  animation: blink 0.75s step-end infinite;
  color: #7c3aed;
  margin-left: 1px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* CTA row */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(18px);
}
.hcta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #2563eb 50%, #06b6d4);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    opacity 0.2s;
  box-shadow: 0 0 0 rgba(124, 58, 237, 0);
}
.hcta-primary:hover {
  box-shadow:
    0 8px 48px rgba(124, 58, 237, 0.55),
    0 0 0 1px rgba(124, 58, 237, 0.4);
  opacity: 0.92;
}
.hcta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.3s;
}
.hcta-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}

/* Social proof */
.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(16px);
}
.proof-avatars {
  display: flex;
}
.pa {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-left: -8px;
  border: 2px solid var(--bg);
  flex-shrink: 0;
}
.pa:first-child {
  margin-left: 0;
}
.proof-text {
  line-height: 1.3;
}
.proof-stars {
  font-size: 0.85rem;
  color: #fbbf24;
  letter-spacing: 1px;
}
.proof-label {
  font-size: 0.75rem;
  color: #64748b;
}
.proof-label strong {
  color: #94a3b8;
}
.proof-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.07);
}
.proof-stats {
  display: flex;
  gap: 18px;
}
.ps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ps-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.ps-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
}

/* ══════════════════════════════════════
   RIGHT — HERO CARD
══════════════════════════════════════ */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

/* Floating glass dashboard card */
.hcard {
  width: 100%;
  max-width: 460px;
  background: rgba(12, 12, 28, 0.75);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  position: relative;
  animation: hCardFloat 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes hCardFloat {
  0%,
  100% {
    transform: translateY(0) rotate3d(1, 0, 0, 0deg);
  }
  50% {
    transform: translateY(-14px) rotate3d(1, 0, 0, 1.5deg);
  }
}
.hcard-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 0%, rgba(124, 58, 237, 0.18), transparent 60%);
  pointer-events: none;
}

/* Browser chrome */
.hcard-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hcc-dots {
  display: flex;
  gap: 5px;
}
.hcc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hcc-dots span:nth-child(1) {
  background: #ff5f56;
}
.hcc-dots span:nth-child(2) {
  background: #ffbd2e;
}
.hcc-dots span:nth-child(3) {
  background: #27c93f;
}
.hcc-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.68rem;
  color: #475569;
  font-family: "Inter", monospace;
}
.hcc-actions {
  color: #334155;
}

/* Card body */
.hcard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Metrics row */
.hcb-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hcb-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hcm-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hcm-icon svg {
  width: 14px;
  height: 14px;
}
.hcm-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hcm-lbl {
  font-size: 0.62rem;
  color: #475569;
  margin-top: 3px;
  line-height: 1;
}

/* Chart */
.hcb-chart {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
}
.hcb-chart-label {
  font-size: 0.7rem;
  color: #475569;
  margin-bottom: 12px;
}
.hcb-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 68px;
}
.hcb-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}
.hcb-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  height: var(--h);
  background: rgba(124, 58, 237, 0.35);
  transition: background 0.3s;
  animation: barGrow 0.8s var(--ease-out) both;
}
.hcb-bar--active {
  background: linear-gradient(to top, #7c3aed, #06b6d4);
}
@keyframes barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    transform: scaleY(1);
  }
}
.hcb-bar-wrap span {
  font-size: 0.58rem;
  color: #334155;
  white-space: nowrap;
}

/* Activity row */
.hcb-activity {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 10px;
}
.hcba-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hcba-dot--green {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: hBadgePulse 2s ease-in-out infinite;
}
.hcba-text {
  font-size: 0.72rem;
  color: #64748b;
  flex: 1;
}
.hcba-text strong {
  color: #94a3b8;
}
.hcba-time {
  font-size: 0.65rem;
  color: #334155;
  white-space: nowrap;
}

/* Floating mini-badges */
.hf-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(8, 8, 20, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  animation: hfBadgeFloat 5s ease-in-out infinite;
  will-change: transform;
  min-width: 170px;
}
.hfb-1 {
  top: 0;
  left: -80px;
  animation-delay: 0s;
}
.hfb-2 {
  bottom: 40px;
  left: -70px;
  animation-delay: 1.5s;
}
.hfb-3 {
  top: 40%;
  right: -70px;
  animation-delay: 3s;
}
@keyframes hfBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.hfb-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hfb-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}
.hfb-sub {
  font-size: 0.66rem;
  color: #475569;
  margin-top: 2px;
}

/* ── Scroll cue ── */
.h-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0;
}
.hsc-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}
.hsc-wheel {
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
  animation: wheelScroll 2s ease-in-out infinite;
}
@keyframes wheelScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}
.h-scroll-cue span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #334155;
  text-transform: uppercase;
}

/* ── Gradient + warm text (global reuse) ── */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #38bdf8 50%, #a78bfa 100%);
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.warm-text {
  background: linear-gradient(135deg, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

/* ── Hero responsive ── */
@media (max-width: 1100px) {
  .hero-h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  }
  .hero-wrap {
    gap: 44px;
  }
  .hfb-1 {
    left: -24px;
  }
  .hfb-2 {
    left: -24px;
  }
  .hfb-3 {
    right: -24px;
  }
}
@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
    padding: 0 28px;
  }
  .hero-left {
    align-items: center;
  }
  .hero-h1 {
    max-width: 100%;
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: -1px;
  }
  .hero-sub {
    text-align: center;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-proof {
    justify-content: center;
  }
  .hfb-1,
  .hfb-2 {
    left: 0;
  }
  .hfb-3 {
    right: 0;
  }
  .sub-br {
    display: none;
  }
}
@media (max-width: 640px) {
  #hero {
    padding-top: 76px;
    padding-bottom: 36px;
  }
  .hero-wrap {
    padding: 0 20px;
  }
  .hero-h1 {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .hero-right {
    display: none;
  }
  .proof-divider,
  .proof-stats {
    display: none;
  }
  .hfb-1,
  .hfb-2,
  .hfb-3 {
    display: none;
  }
}

/* ─── Layout Utilities ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.section-dark {
  background: var(--bg2);
}

/* ─── Section head ─── */
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 99px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.28);
  font-size: 0.7rem;
  font-weight: 600;
  color: #a78bfa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.s-title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.s-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Section Blob ─── */
.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  width: 600px;
  height: 500px;
  top: -100px;
  left: -100px;
}
.blob-purple {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12), transparent 70%);
}
.blob-cyan {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 70%);
}
.blob-pink {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.09), transparent 70%);
}
.blob-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
}

/* ─── Glass card ─── */
.glass-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}
.svc-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  cursor: none;
  transition:
    border-color 0.35s,
    background 0.35s;
  transform-style: preserve-3d;
}
.svc-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.svc-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.svc-card:hover .svc-glow {
  opacity: 1;
}
.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ig1), var(--ig2));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-out);
}
.svc-card:hover .svc-icon-wrap {
  transform: scale(1.1) rotate(-3deg) translateZ(12px);
}
.svc-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: #fff;
}
.svc-card h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
  transform: translateZ(8px);
}
.svc-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.svc-tags span {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.svc-arrow {
  position: absolute;
  bottom: 24px;
  right: 28px;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.svc-card:hover .svc-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* CTA card variant */
.svc-card--cta {
  background: none !important;
  border: none !important;
  padding: 0;
}
.svc-cta-bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  z-index: 0;
}
.svc-card--cta > *:not(.svc-cta-bg) {
  position: relative;
  z-index: 1;
}
.svc-card--cta {
  padding: 36px 32px;
}
.svc-card--cta h3 {
  color: #fff;
}
.svc-card--cta p {
  color: rgba(255, 255, 255, 0.75);
}
.svc-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.3s;
}
.svc-cta-link:hover {
  gap: 14px;
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-visual {
  position: relative;
}

/* Code window */
.code-window {
  background: #0a0a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.cw-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #0f0f22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cw-dots {
  display: flex;
  gap: 6px;
}
.cw-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.cw-dots span:nth-child(1) {
  background: #ff5f56;
}
.cw-dots span:nth-child(2) {
  background: #ffbd2e;
}
.cw-dots span:nth-child(3) {
  background: #27c93f;
}
.cw-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  height: 22px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: "Inter", monospace;
}
.cw-body {
  padding: 24px 28px;
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 2;
  min-height: 260px;
}
.code-line {
  white-space: nowrap;
}
.i1 {
  padding-left: 1.5rem;
}
.i2 {
  padding-left: 3rem;
}
.ck {
  color: #c792ea;
} /* keyword */
.cv {
  color: #82aaff;
} /* var */
.co {
  color: #89ddff;
} /* op */
.ca {
  color: #ffcb6b;
} /* arg */
.cf {
  color: #80cbc4;
} /* fn */
.cs {
  color: #c3e88d;
} /* string */
.cb {
  color: #ff9cac;
} /* bool */

.about-badge {
  position: absolute;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.ab-top {
  top: -20px;
  right: -20px;
}
.ab-bottom {
  bottom: -20px;
  left: -20px;
}
.ab-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.ab-green {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.ab-purple {
  background: rgba(124, 58, 237, 0.18);
  color: #a78bfa;
}
.ab-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.ab-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

.about-content {
  position: relative;
  z-index: 1;
}
.about-content .s-tag {
  margin-bottom: 12px;
}
.about-content .s-title {
  text-align: left;
}
.about-p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-p strong {
  color: var(--text);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 32px;
}
.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.af-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.001); /* fallback; overridden inline via style */
  color: var(--c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.af-item span {
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* ─── Why choose us ─── */
.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.counters-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.counter-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.counter-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-4px);
}
.cc-num {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cc-suffix {
  font-size: 2rem;
}
.cc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 8px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.why-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.3s,
    transform 0.3s,
    background 0.3s;
}
.why-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg {
  width: 22px;
  height: 22px;
  color: var(--wc);
}
.why-card h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: #fff;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   PORTFOLIO — Premium v2
════════════════════════════════════════ */

/* ── Filter bar ── */
.port-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.pf-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: none;
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.2s;
}
.pf-btn:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
  transform: translateY(-1px);
}
.pf-btn.active {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.5);
  color: #a78bfa;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.2);
}
.pf-btn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}
.pf-btn.active .pf-btn-dot {
  opacity: 1;
  background: #a78bfa;
  box-shadow: 0 0 6px #a78bfa;
}

/* ── Grid ── */
.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
  min-height: 200px;
}

/* ── Card ── */
.port-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: none;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s,
    border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.port-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.3);
}

/* ── Image wrapper ── */
.port-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #0d0d1f;
  flex-shrink: 0;
}

/* ── Screenshot image — zoom on hover ── */
.port-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transition: transform 0.5s ease;
}
.port-card:hover .port-img {
  transform: scale(1.05);
}

/* ── Fallback gradient (shown when no image / image error) ── */
.port-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.port-img-wrap:has(.port-img):not(.no-img) .port-fallback {
  opacity: 0;
}
.port-img-wrap.no-img .port-img {
  display: none;
}
.port-img-wrap.no-img .port-fallback {
  opacity: 1;
}
.port-fallback-inner {
  text-align: center;
  padding: 24px;
}
.port-fallback-label {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}
.port-fallback-stack {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* ── Hover overlay (fades in over image) ── */
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 3, 20, 0.97) 0%, rgba(10, 5, 30, 0.85) 45%, rgba(124, 58, 237, 0.3) 100%);
  display: flex;
  align-items: flex-end;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.38s ease;
}
.port-card:hover .port-overlay {
  opacity: 1;
}
.port-overlay-inner {
  padding: 22px;
  width: 100%;
  transform: translateY(8px);
  transition: transform 0.38s ease;
}
.port-card:hover .port-overlay-inner {
  transform: translateY(0);
}
.port-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 99px;
  padding: 2px 10px;
  margin-bottom: 8px;
}
.port-overlay-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.3;
}
.port-overlay-stack {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 14px;
}
.port-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.port-view-btn:hover {
  opacity: 0.88;
  transform: translateX(2px);
}

/* ── Card footer ── */
.port-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}
.port-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.port-card-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.port-card-cat {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}
.port-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
  text-decoration: none;
  flex-shrink: 0;
  transition:
    background 0.25s,
    transform 0.25s;
}
.port-card-arrow:hover {
  background: rgba(124, 58, 237, 0.25);
  transform: scale(1.1);
}

/* ── Portfolio footer row ── */
.port-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.port-count-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.port-load-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 28px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #a78bfa;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: none;
  transition:
    background 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
}
.port-load-more:hover {
  background: rgba(124, 58, 237, 0.2);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.25);
  transform: translateY(-2px);
}

/* ─── Pricing ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.price-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s;
}
.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}
.price-card--featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.1));
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.18);
}
.pc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  border-radius: 99px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}
.pc-header {
  margin-bottom: 28px;
}
.pc-tier {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.pc-price {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
}
.pc-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.pc-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.pc-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pc-feats li {
  font-size: 0.875rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pc-feats li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.pc-feats li.yes::before {
  background-color: rgba(16, 185, 129, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2310B981' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.pc-feats li.no {
  color: var(--muted);
  text-decoration: line-through;
}
.pc-feats li.no::before {
  background-color: rgba(100, 116, 139, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}
.pc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.2s;
}
.pc-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(124, 58, 237, 0.4);
}
.pc-btn--grad {
  background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  border: none;
}
.pc-btn--grad:hover {
  opacity: 0.9;
}
.pc-btn--cyan {
  border-color: rgba(6, 182, 212, 0.3);
}
.pc-btn--cyan:hover {
  border-color: rgba(6, 182, 212, 0.6);
  background: rgba(6, 182, 212, 0.1);
}

/* ─── Testimonials ─── */
.testi-outer {
  overflow: hidden;
  position: relative;
}
#testi-track {
  display: flex;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.testi-card {
  flex-shrink: 0;
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  margin: 0 9px;
  transition: border-color 0.3s;
}
.testi-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
}
.tc-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.8;
  margin-bottom: 20px;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.tc-author strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
}
.tc-author span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.tc-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: none;
  transition: all 0.3s;
}
.tc-btn svg {
  width: 18px;
  height: 18px;
}
.tc-btn:hover {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.15);
  transform: scale(1.08);
}
#testi-dots {
  display: flex;
  gap: 8px;
}
.t-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  cursor: none;
  transition: all 0.35s;
}
.t-dot.active {
  width: 22px;
  background: var(--purple);
}

/* ─── CTA ─── */
.cta-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;
}
.cta-bg-anim {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4, #ec4899);
  background-size: 300% 300%;
  animation: gradShift 8s ease infinite;
  opacity: 0.9;
}
.cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(60px);
  pointer-events: none;
}
.cta-glow-l {
  top: -100px;
  left: -100px;
}
.cta-glow-r {
  bottom: -100px;
  right: -100px;
}
.cta-inner {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  text-align: center;
}
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s infinite;
}
.cta-h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cta-emoji {
  font-style: normal;
}
.cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 20px;
}
.cta-btn-main,
.cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  cursor: none;
  transition:
    transform 0.25s,
    background 0.25s;
  position: relative;
  overflow: hidden;
}
.cta-btn-main {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cta-btn-main:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.04);
}
.cta-btn-wa {
  background: rgba(37, 211, 102, 0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(37, 211, 102, 0.4);
}
.cta-btn-wa:hover {
  background: rgba(37, 211, 102, 0.4);
  transform: scale(1.04);
}
.cta-meta {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Footer ─── */
#footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 300px;
  margin: 12px 0 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.fsoc {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}
.fsoc svg {
  width: 16px;
  height: 16px;
}
.fsoc:hover {
  color: #fff;
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.14);
  transform: scale(1.1);
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ─── GSAP initial states ─── */
.gsap-fade {
  opacity: 0;
  transform: translateY(36px);
}
.gsap-stagger {
  opacity: 0;
  transform: translateY(40px);
}
.gsap-scale {
  opacity: 0;
  transform: scale(0.88);
}
.gsap-slide-left {
  opacity: 0;
  transform: translateX(-60px);
}
.gsap-slide-right {
  opacity: 0;
  transform: translateX(60px);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 28px;
  }
  #navbar {
    padding: 16px 28px;
  }
  #navbar.scrolled {
    padding: 12px 28px;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .counters-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ab-top {
    top: -14px;
    right: -10px;
  }
  .ab-bottom {
    bottom: -14px;
    left: -10px;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 80px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .counters-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .port-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    padding: 48px 28px;
  }
  .mob-link,
  .mob-cta {
    padding-left: 28px;
    padding-right: 28px;
  }
  .mob-cta {
    margin: 12px 28px;
  }
  .stat-div {
    display: none;
  }
}

/* ════════════════════════════════════════════
   SECTION SPACING — reduced globally
════════════════════════════════════════════ */
.section {
  padding: 80px 0;
}
.section-head {
  margin-bottom: 52px;
}

/* ════════════════════════════════════════════
   PORTFOLIO — grid transition
════════════════════════════════════════════ */
#port-grid {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* ════════════════════════════════════════════
   FAQ SECTION — Two-column premium layout
════════════════════════════════════════════ */
.faq-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

/* ─── Left column ─── */
.faq-left {
  position: sticky;
  top: 100px;
}
.faq-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 16px 0 16px;
}
.faq-sub {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 300px;
}
.faq-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    box-shadow 0.3s,
    transform 0.2s;
  margin-bottom: 40px;
}
.faq-wa-btn:hover {
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Animated blob visual */
.faq-blob-wrap {
  position: relative;
  width: 200px;
  height: 160px;
  margin-top: 0;
}
.faq-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.55;
}
.faq-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}
.faq-orb-1 {
  width: 180px;
  height: 180px;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 65%);
  animation: faqOrb1 7s ease-in-out infinite;
}
.faq-orb-2 {
  width: 130px;
  height: 130px;
  bottom: 10%;
  right: 5%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 65%);
  animation: faqOrb1 9s ease-in-out infinite reverse;
}
.faq-orb-3 {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent 65%);
  animation: faqOrb1 11s ease-in-out infinite 2s;
}
@keyframes faqOrb1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(18px, -14px) scale(1.08);
  }
  66% {
    transform: translate(-12px, 16px) scale(0.94);
  }
}

/* ─── Right column ─── */
.faq-right {
  flex: 1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}
.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.03);
}
.faq-item.open {
  border-color: rgba(124, 58, 237, 0.4);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #cbd5e1;
  font-family: "Inter", sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s;
}
.faq-q:hover {
  color: #a78bfa;
}
.faq-item.open .faq-q {
  color: #a78bfa;
}

.faq-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s;
}
.faq-icon svg {
  width: 14px;
  height: 14px;
  color: #a78bfa;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: rgba(124, 58, 237, 0.22);
}

/* Smooth height transition using max-height */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a {
  max-height: 320px;
}

.faq-a-inner {
  padding: 14px 22px 20px;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.78;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* FAQ responsive */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left {
    position: static;
  }
  .faq-blob-wrap {
    display: none;
  }
  .faq-heading {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }
}
@media (max-width: 640px) {
  .faq-sub {
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════
   CONTACT SECTION
════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Info column */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 32px 28px;
  backdrop-filter: blur(16px);
}
.ci-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg {
  width: 18px;
  height: 18px;
}
.ci-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
  margin-bottom: 3px;
}
.ci-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.ci-value:hover {
  color: #a78bfa;
}
.ci-quick {
  margin-top: 8px;
}

/* WhatsApp CTA button (reused in contact info) */
.cta-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.3s,
    opacity 0.2s;
}
.cta-btn-wa:hover {
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  opacity: 0.92;
}

/* Form column */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 36px 32px;
  backdrop-filter: blur(16px);
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.cf-row .cf-group {
  margin-bottom: 0;
}
.cf-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.cf-label span {
  color: #a78bfa;
}
.cf-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.cf-wrap.focused {
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.cf-wrap:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}
.cf-wrap.has-error,
.cf-group.has-error .cf-wrap {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.cf-group.is-valid .cf-wrap {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08);
}
.cf-icon {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: color 0.25s;
}
.cf-icon svg {
  width: 15px;
  height: 15px;
}
.cf-wrap.focused .cf-icon {
  color: #a78bfa;
}
.cf-group.is-valid .cf-wrap .cf-icon {
  color: #10b981;
}
.cf-group.has-error .cf-wrap .cf-icon {
  color: #f87171;
}
.cf-input,
.cf-select,
.cf-textarea {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  padding: 12px 14px 12px 0;
}
.cf-input::placeholder,
.cf-textarea::placeholder {
  color: #334155;
}
.cf-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 32px;
}
.cf-select option {
  background: #0f0f1a;
  color: #e2e8f0;
}
.cf-wrap-ta {
  align-items: flex-start;
}
.cf-wrap-ta .cf-icon {
  padding-top: 12px;
  align-items: flex-start;
}
.cf-textarea {
  resize: none;
  min-height: 120px;
  padding: 14px 16px 14px 0;
  line-height: 1.6;
}
.cf-err {
  font-size: 0.72rem;
  color: #f87171;
  display: none;
  margin-top: 4px;
  padding-left: 2px;
}

/* Submit button */
.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 28px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #2563eb 50%, #06b6d4);
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  transition:
    box-shadow 0.3s,
    opacity 0.2s;
}
.cf-submit:hover {
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.5);
  opacity: 0.92;
}
.cf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.btn-loader {
  display: none;
}
.btn-loader svg {
  width: 18px;
  height: 18px;
  animation: spinBtn 0.7s linear infinite;
}
@keyframes spinBtn {
  to {
    transform: rotate(360deg);
  }
}
.cf-submit.loading .btn-loader {
  display: flex;
}
.cf-submit.loading .btn-arrow {
  display: none;
}
.cf-submit.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: none;
}
@keyframes btnShake {
  0%,
  100% {
    transform: translateX(0);
  }
  20%,
  60% {
    transform: translateX(-6px);
  }
  40%,
  80% {
    transform: translateX(6px);
  }
}
.cf-submit.btn-shake {
  animation: btnShake 0.45s ease;
}

/* Feedback messages */
.form-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
}
.form-msg--success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}
.form-msg--error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}
.form-msg svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Contact responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-info {
    order: 2;
  }
  .contact-form-wrap {
    order: 1;
  }
}
@media (max-width: 640px) {
  .cf-row {
    grid-template-columns: 1fr;
  }
  .contact-form-wrap {
    padding: 24px 18px;
  }
  .contact-info {
    padding: 24px 18px;
  }
}

/* ════════════════════════════════════════════
   FLOATING WHATSAPP + CALL BUTTONS
════════════════════════════════════════════ */
.float-btns {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.3s ease;
  animation: fbFloat 3.5s ease-in-out infinite;
}
.float-btn:hover {
  transform: scale(1.12);
}
.float-btn-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
  animation-delay: 0s;
}
.float-btn-wa:hover {
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}
.float-btn-call {
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: #fff;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.3);
  animation-delay: 0.8s;
}
.float-btn-call:hover {
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.55);
}
@keyframes fbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
.float-btn:hover {
  animation-play-state: paused;
}

/* Ripple ring around float buttons */
.float-ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: fbRipple 2.4s ease-out infinite;
  pointer-events: none;
}
.float-btn-wa .float-ripple {
  border: 2px solid rgba(37, 211, 102, 0.5);
}
.float-btn-call .float-ripple {
  border: 2px solid rgba(124, 58, 237, 0.5);
}
@keyframes fbRipple {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Tooltips */
.float-tooltip {
  background: rgba(8, 8, 20, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  position: absolute;
  right: 64px;
}
.float-tooltip-wa {
  bottom: 108px;
  right: 24px;
  position: fixed;
}
.float-tooltip-call {
  bottom: 48px;
  right: 24px;
  position: fixed;
}

.float-btn-wa:hover ~ .float-tooltip-wa,
#fb-wa:hover + .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Simpler tooltip approach via sibling */
.float-btns:has(#fb-wa:hover) .float-tooltip-wa {
  opacity: 1;
  transform: translateX(0);
}
.float-btns:has(#fb-call:hover) .float-tooltip-call {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 480px) {
  .float-btns {
    bottom: 20px;
    right: 16px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
  }
  .float-tooltip-wa,
  .float-tooltip-call {
    display: none;
  }
}

/* ── Form field: prevent hiding behind fixed navbar on focus ── */
input,
textarea,
select {
  scroll-margin-top: 100px;
}
