/* ============================================================
   OrbiThinX — Enhanced Global Stylesheet v2
   Full upgrade: depth, motion, glass, micro-interactions
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================
   NAVBAR — Obsium exact: grid-left | logo | center-links | CTA-right
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: 68px;
  background: rgba(8,8,13,0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,13,0.97);
  border-bottom-color: rgba(108,99,255,0.14);
  box-shadow: 0 1px 0 rgba(108,99,255,0.06), 0 8px 32px rgba(0,0,0,0.4);
}
.navbar.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── GRID BUTTON — extreme left ── */
.nav-grid-btn {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  margin-right: 16px;
}
.nav-grid-btn:hover,
.nav-grid-btn.active {
  background: var(--accent-dim);
  border-color: var(--border-accent);
}
/* 4-dot grid icon */
.grid-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 14px; height: 14px;
}
.grid-icon span {
  display: block;
  width: 5px; height: 5px;
  border-radius: 1px;
  background: var(--text-2);
  transition: background 0.2s;
}
.nav-grid-btn:hover .grid-icon span,
.nav-grid-btn.active .grid-icon span { background: var(--accent-light); }

/* ── LOGO ── */
.nav-logo {
  flex-shrink: 0;
  margin-right: 20px;
  display: flex; align-items: center;
}
.nav-logo img {
  height: 32px;
  transition: filter 0.2s;
}
.nav-logo:hover img {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(108,99,255,0.45));
}

/* ── CENTER LINKS ── */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: var(--transition-fast);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav-links > li > a.active { color: var(--accent-light); }
.chevron { transition: transform 0.22s ease; opacity: 0.6; flex-shrink: 0; }
.has-dropdown:hover .chevron { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #16161f;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  min-width: 260px;
  opacity: 0; visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  list-style: none; z-index: 100;
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem; color: var(--text-2);
  transition: var(--transition-fast);
}
.nav-dropdown li a:hover {
  background: var(--accent-dim); color: var(--text-1);
  padding-left: 16px;
}
.dd-icon {
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--accent-dim); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; color: var(--accent-light);
  transition: var(--transition-fast);
}
.nav-dropdown li a:hover .dd-icon { background: rgba(108,99,255,0.22); }

/* ── RIGHT SIDE: CTA + mobile toggle ── */
.nav-right {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  margin-left: 20px;
}

/* Pill CTA */
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.875rem; font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  letter-spacing: -0.01em;
  border: none;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px;
  background: none; border: none; z-index: 10;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text-2); border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* ── MOBILE MENU PANEL ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(8,8,13,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 800;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-links { list-style: none; }
.mobile-links li { border-bottom: 1px solid var(--border); }
.mobile-links li:last-child { border-bottom: none; }
.mobile-links li a,
.mobile-sub-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 8px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-2);
  background: none; border: none; cursor: pointer;
  text-align: left;
  transition: color 0.2s;
  font-family: var(--sans);
}
.mobile-links li a:hover,
.mobile-sub-toggle:hover { color: var(--text-1); }
.mobile-sub-toggle i { font-size: 0.8rem; transition: transform 0.2s; }
.mobile-has-sub.sub-open .mobile-sub-toggle i { transform: rotate(180deg); }
.mobile-sub {
  list-style: none;
  display: none;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  margin: 0 0 8px;
  padding: 4px 0;
}
.mobile-has-sub.sub-open .mobile-sub { display: block; }
.mobile-sub li a {
  padding: 11px 20px;
  font-size: 0.9rem;
  border-bottom: none;
}
.mobile-cta {
  display: flex !important;
  justify-content: center !important;
  margin: 12px 0 4px;
  padding: 13px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

/* ============================================================
   CONTACT DRAWER — Exact Obsium style
   ============================================================ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

.contact-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 360px;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.contact-drawer.open { transform: translateX(0); }

.drawer-inner {
  height: 100%;
  background: #15151e;
  border-right: 1px solid rgba(108,99,255,0.12);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: 12px 0 48px rgba(0,0,0,0.55);
}

/* Close tab on right edge — exactly like Obsium */
.drawer-close-tab {
  position: absolute;
  top: 50%; right: -44px;
  transform: translateY(-50%);
  width: 44px; height: 88px;
  background: #1e1e2c;
  border: 1px solid rgba(108,99,255,0.2);
  border-left: none;
  border-radius: 0 10px 10px 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px;
  cursor: pointer; color: var(--text-2);
  transition: var(--transition-fast);
  z-index: 1;
  padding: 0;
}
.drawer-close-tab:hover { background: rgba(108,99,255,0.15); color: var(--text-1); }
.drawer-close-tab span {
  writing-mode: vertical-rl;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3); font-family: var(--mono);
  transition: color 0.2s;
}
.drawer-close-tab:hover span { color: var(--text-2); }

/* Drawer main content */
.drawer-body {
  padding: 44px 36px 32px;
  display: flex; flex-direction: column;
  flex: 1;
  overflow-y: auto;
  position: relative; z-index: 1;
  gap: 0;
}
.drawer-body::-webkit-scrollbar { width: 3px; }
.drawer-body::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.3); border-radius: 2px; }

.drawer-logo {
  margin-bottom: 32px;
}
.drawer-logo img { height: 34px; }

.drawer-tagline {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 400;
}
.drawer-tagline strong { color: var(--text-1); font-weight: 600; display: block; }

.drawer-label {
  font-family: var(--mono);
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.drawer-contacts {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 32px;
}
.drawer-contacts p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}
.drawer-phone,
.drawer-email-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,0.2);
  transition: color 0.2s, text-decoration-color 0.2s;
}
.drawer-phone:hover,
.drawer-email-link:hover {
  color: var(--accent-light);
  text-decoration-color: var(--accent-light);
}

/* CTA button — pill outline like Obsium */
.drawer-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content;
  padding: 13px 30px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--text-1);
  font-size: 0.9rem; font-weight: 600;
  margin-bottom: 36px;
  transition: var(--transition);
  letter-spacing: -0.01em;
}
.drawer-cta-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* LinkedIn icon row */
.drawer-social-row {
  margin-top: auto;
  display: flex; gap: 10px;
}
.drawer-social-icon {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 0.95rem;
  transition: var(--transition-fast);
}
.drawer-social-icon:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* 3D decorative element — bottom of drawer */
.drawer-deco {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  pointer-events: none;
  overflow: hidden;
}
.drawer-deco-orb {
  position: absolute;
  bottom: -60px; left: 10px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(108,99,255,0.55) 0deg,
    rgba(0,212,255,0.4) 90deg,
    rgba(108,99,255,0.3) 180deg,
    rgba(139,85,255,0.5) 270deg,
    rgba(108,99,255,0.55) 360deg
  );
  filter: blur(28px);
  animation: orbSpin 8s linear infinite;
  opacity: 0.7;
}
@keyframes orbSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Mobile drawer */
@media (max-width: 480px) {
  .contact-drawer { width: 290px; }
  .drawer-body { padding: 36px 24px 24px; }
  .drawer-close-tab { right: -40px; width: 40px; height: 80px; }
}

/* ============================================================
   RESPONSIVE NAVBAR
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; } /* hidden on mobile — shown in mobile menu */
}
@media (max-width: 900px) {
  .nav-cta { display: none; }
}
/* Show CTA on tablet too */
@media (min-width: 640px) and (max-width: 900px) {
  .nav-cta { display: inline-flex; }
}





:root {
  --bg-primary:    #08080d;
  --bg-secondary:  #0e0e16;
  --bg-card:       #13131c;
  --bg-card-hover: #181824;
  --bg-glass:      rgba(19,19,28,0.7);
  --border:        rgba(255,255,255,0.06);
  --border-hover:  rgba(255,255,255,0.12);
  --border-accent: rgba(108,99,255,0.3);
  --accent:        #6c63ff;
  --accent-light:  #8b85ff;
  --accent-dark:   #4f46e5;
  --accent-dim:    rgba(108,99,255,0.1);
  --accent-glow:   rgba(108,99,255,0.2);
  --accent-glow2:  rgba(108,99,255,0.06);
  --cyan:          #00d4ff;
  --cyan-dim:      rgba(0,212,255,0.1);
  --green:         #00e676;
  --green-dim:     rgba(0,230,118,0.1);
  --amber:         #ffb700;
  --text-1:        #eeeef8;
  --text-2:        #9898b8;
  --text-3:        #52526a;
  --mono:          'JetBrains Mono', monospace;
  --sans:          'Inter', sans-serif;
  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-glow:   0 0 40px rgba(108,99,255,0.15);
  --transition:    all 0.24s cubic-bezier(0.4,0,0.2,1);
  --transition-fast: all 0.15s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.4s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--bg-primary);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.35); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(108,99,255,0.55); }

/* ── SELECTION ── */
::selection { background: rgba(108,99,255,0.35); color: var(--text-1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: 130px 0 90px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* Animated mesh gradient background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
  filter: saturate(0.4) brightness(0.3);
}
.hero-bg-img.active { opacity: 1; }

/* Gradient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none; will-change: transform;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
  animation: orbFloat2 14s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.07) 0%, transparent 70%);
  animation: orbFloat3 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-20px,40px) scale(0.97); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px,-40px) scale(1.08); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.3); }
}

/* Grid dots pattern */
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(108,99,255,0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Bottom fade */
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-primary));
  z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

/* Badge */
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.08);
  border: 1px solid rgba(108,99,255,0.2);
  border-radius: 50px;
  padding: 6px 16px 6px 10px;
  font-family: var(--mono);
  font-size: 0.73rem; color: var(--accent-light);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  transition: var(--transition);
}
.hero-label:hover { border-color: rgba(108,99,255,0.4); background: rgba(108,99,255,0.12); }
.hero-label .blink {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--green); }
  50% { opacity:0.3; box-shadow: none; }
}

/* Hero heading */
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title del {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  color: var(--text-3);
}
.hero-title .grad {
  background: linear-gradient(135deg, #a78bfa 0%, var(--accent-light) 40%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: 1.1rem; color: var(--text-2);
  max-width: 540px; line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 400;
}

/* Hero pills */
.hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 40px;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-3);
  transition: var(--transition-fast);
}
.hero-pill:hover { border-color: var(--border-accent); color: var(--accent-light); }
.hero-pill i { font-size: 0.8rem; color: var(--accent-light); }

.btn-group-hero { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero tabs */
.hero-tabs {
  display: flex; gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--border);
}
.hero-tab {
  flex: 1; padding: 24px 20px 20px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.hero-tab:last-child { border-right: none; }
.hero-tab::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-glow2);
  opacity: 0; transition: opacity 0.3s;
}
.hero-tab::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: left;
}
.hero-tab.active::before,
.hero-tab:hover::before { opacity: 1; }
.hero-tab.active::after,
.hero-tab:hover::after { transform: scaleX(1); }
.hero-tab .tab-label {
  font-family: var(--mono); font-size: 0.68rem;
  color: var(--accent-light); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 7px;
  display: flex; align-items: center; gap: 6px;
}
.hero-tab h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 5px; line-height: 1.3; }
.hero-tab p { font-size: 0.78rem; color: var(--text-2); line-height: 1.5; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 20px; height: 1px;
  background: var(--accent-light); flex-shrink: 0;
}
.text-center .section-eyebrow { justify-content: center; }
.text-center .section-eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.12; margin-bottom: 16px;
}
.section-title del {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  color: var(--text-3);
}
.section-sub {
  font-size: 1rem; color: var(--text-2);
  line-height: 1.75; max-width: 560px;
}
.section-sub.centered { margin: 0 auto; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%);
  opacity: 0; transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow), 0 1px 0 rgba(255,255,255,0.15) inset;
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  border-color: var(--border-accent);
  color: var(--text-1);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ── TICKER ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; z-index: 2; width: 120px;
  pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }

.ticker-track {
  display: flex; gap: 52px;
  animation: ticker 32s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--text-3); font-weight: 500;
  white-space: nowrap; transition: color 0.2s;
}
.ticker-item:hover { color: var(--accent-light); }
.ticker-item i { color: rgba(108,99,255,0.6); font-size: 0.9rem; }

/* ── GRADIENT BORDER CARD ── */
.card-grad-border {
  position: relative;
  border-radius: var(--radius-lg);
}
.card-grad-border::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(135deg, rgba(108,99,255,0.3), transparent 50%, rgba(0,212,255,0.15));
  opacity: 0; transition: opacity 0.3s; z-index: 0;
  pointer-events: none;
}
.card-grad-border:hover::before { opacity: 1; }

/* ── WHY / FEATURE CARDS ── */
.why-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.why-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.why-card:hover::before { opacity: 1; }
.why-card h4 { font-size: 1rem; font-weight: 600; margin: 16px 0 8px; letter-spacing: -0.01em; }
.why-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* ── ICON BOX ── */
.icon-box {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-dim);
  border: 1px solid rgba(108,99,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--accent-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-box.lg { width: 60px; height: 60px; font-size: 1.5rem; border-radius: 14px; }
.why-card:hover .icon-box {
  background: rgba(108,99,255,0.18);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 0 20px var(--accent-dim);
}

/* ── SERVICE CARDS ── */
.svc-card {
  padding: 28px 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative; overflow: hidden;
  display: block;
  text-decoration: none;
}
/* Glass shimmer on hover */
.svc-card::before {
  content: ''; position: absolute;
  top: -100%; left: -60%; width: 40%; height: 300%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0.6s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  transform-origin: left;
}
.svc-card:hover {
  border-color: rgba(108,99,255,0.25);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(108,99,255,0.1);
  text-decoration: none;
}
.svc-card:hover::before { left: 120%; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 16px 0 9px; letter-spacing: -0.02em;
  color: var(--text-1);
}
.svc-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-bottom: 18px; }
.svc-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--accent-light);
  display: inline-flex; align-items: center; gap: 5px;
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}
.svc-card:hover .svc-link { gap: 9px; color: var(--cyan); }

/* ── COUNTER ── */
.counter-wrap { display: flex; flex-wrap: wrap; gap: 0; }
.counter-item {
  flex: 1; min-width: 140px;
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.counter-item:last-child { border-right: none; }
.counter-item:hover { background: rgba(108,99,255,0.03); }
.counter-item .num {
  font-size: 2.8rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--text-1), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.counter-item .label {
  font-size: 0.83rem; color: var(--text-2); font-weight: 500;
}

/* ── LOGOS ROW ── */
.logos-row {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 36px 56px;
}
.logos-row img {
  height: 26px; opacity: 0.35;
  filter: grayscale(1) brightness(2);
  transition: var(--transition);
}
.logos-row img:hover { opacity: 0.75; filter: grayscale(0) brightness(1); transform: scale(1.05); }

/* ── TESTIMONIAL CARD ── */
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testi-card:hover {
  border-color: rgba(108,99,255,0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.testi-stars {
  display: flex; gap: 3px; margin-bottom: 16px;
}
.testi-star {
  color: var(--amber); font-size: 0.85rem;
}
.testi-text {
  font-size: 0.92rem; color: var(--text-2);
  line-height: 1.8; font-style: italic;
  margin-bottom: 24px; position: relative;
}
.testi-text::before {
  content: '\201C'; color: var(--accent);
  font-size: 2.5rem; line-height: 0; vertical-align: -10px;
  font-style: normal; margin-right: 2px; opacity: 0.8;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-hover);
  transition: var(--transition-fast);
}
.testi-card:hover .testi-avatar { border-color: var(--border-accent); }
.testi-name { font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em; }
.testi-role { font-size: 0.78rem; color: var(--text-3); margin-top: 2px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  color: var(--text-1); cursor: pointer; text-align: left;
  transition: var(--transition-fast);
  letter-spacing: -0.015em;
  gap: 16px;
}
.faq-q:hover { color: var(--accent-light); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-2); flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-light); border-color: var(--accent);
  background: var(--accent-dim);
}
.faq-a {
  font-size: 0.92rem; color: var(--text-2); line-height: 1.8;
  padding: 0; max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 22px; }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; position: relative; }
.steps::before {
  content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), rgba(108,99,255,0.1));
}
.step { display: flex; gap: 24px; padding: 28px 0; position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  color: var(--accent-light); flex-shrink: 0; position: relative; z-index: 1;
  transition: var(--transition);
}
.step:hover .step-num {
  background: var(--accent-dim);
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-dim);
}
.step-content { padding-top: 12px; }
.step-content h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-content p { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 148px 0 80px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -200px; right: -150px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.07) 0%, transparent 65%);
  pointer-events: none; animation: orbFloat2 16s ease-in-out infinite;
}
.page-hero::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.3), transparent);
}

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.73rem;
  color: var(--text-3); margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-3); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--accent-light); }

/* ── SERVICE FEATURE LIST ── */
.service-feature-list { list-style: none; }
.service-feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-2); transition: color 0.2s;
}
.service-feature-list li:last-child { border-bottom: none; }
.service-feature-list li:hover { color: var(--text-1); }
.service-feature-list li::before {
  content: '✓'; color: var(--green);
  font-weight: 700; flex-shrink: 0; margin-top: 1px;
  font-size: 0.85rem;
}

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.82rem; color: var(--text-2); margin-bottom: 7px; font-weight: 500; }
.form-control {
  width: 100%; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--sans); font-size: 0.9rem; color: var(--text-1);
  transition: var(--transition); outline: none;
  letter-spacing: -0.01em;
}
.form-control::placeholder { color: var(--text-3); }
.form-control:focus {
  border-color: var(--accent);
  background: rgba(108,99,255,0.04);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }
select.form-control option { background: var(--bg-card); color: var(--text-1); }

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  position: relative;
}
footer::before {
  content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.3), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 56px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 30px; transition: var(--transition); }
.footer-logo:hover img { filter: brightness(1.15) drop-shadow(0 0 8px rgba(108,99,255,0.4)); }
.footer-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.75; max-width: 290px; }
.footer-tagline {
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--text-3); margin-top: 10px; letter-spacing: 0.04em;
}
.footer-socials { display: flex; gap: 8px; margin-top: 22px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 0.95rem;
  transition: var(--transition);
}
.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px var(--accent-dim);
}
.footer-heading {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-1); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 0.875rem; color: var(--text-2);
  transition: var(--transition-fast);
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-links li a::before {
  content: ''; display: block; width: 0; height: 1px;
  background: var(--accent-light); transition: width 0.2s;
}
.footer-links li a:hover { color: var(--accent-light); }
.footer-links li a:hover::before { width: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.78rem; color: var(--text-3);
}
.footer-bottom-right {
  font-family: var(--mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.04em;
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Slide in from left */
.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Scale in */
.reveal-scale {
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1),
              transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── GRID HELPERS ── */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ── GLOW BOX ── */
.glow-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.08) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid rgba(108,99,255,0.18);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.glow-box::before {
  content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.5), transparent);
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); }
.divider-grad {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

/* ── PAGE TRANSITION ── */
.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--accent-dark);
  transform: translateY(100%);
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .counter-wrap { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    position: fixed; inset: 68px 0 0 0;
    background: rgba(8,8,13,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 16px;
    gap: 2px; overflow-y: auto;
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 13px 16px; font-size: 1rem; border-radius: var(--radius-md); }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: rgba(255,255,255,0.03); box-shadow: none;
    border: none; border-radius: var(--radius-md); padding: 4px 0 4px 16px;
    min-width: auto;
  }
  .nav-cta { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: flex; }

  section { padding: 64px 0; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-tabs { flex-direction: column; gap: 0; }
  .hero-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-tab:last-child { border-bottom: none; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.7rem; }
  .steps::before { left: 23px; }

  /* Two column grids on tablet */
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.5rem; }
  .btn-group-hero { flex-direction: column; }
  .btn-group-hero .btn { justify-content: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .counter-item { border-right: none; border-bottom: 1px solid var(--border); }
  .counter-item:last-child { border-bottom: none; }
  .hero-pills { gap: 6px; }
  .hero-pill { font-size: 0.68rem; padding: 4px 10px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.1ms !important; }
  .hero-orb-1, .hero-orb-2, .hero-orb-3 { animation: none; }
  .hero-title .grad { animation: none; }
}

/* ── HERO OVERLAY (bg image darkener) ── */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8,8,13,0.55) 0%,
    rgba(8,8,13,0.35) 40%,
    rgba(8,8,13,0.85) 100%
  );
}

/* ── COUNTER responsive ── */
@media (max-width: 600px) {
  .counter-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .counter-item:last-child { border-bottom: none; }
}



/* ============================================================
   HERO v3 — Two column layout + Terminal card
   ============================================================ */

/* Remove bg image related styles */
.hero-bg-img { display: none !important; }
.hero-overlay { display: none !important; }

/* Two column hero layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 260px);
}
.hero-copy { display: flex; flex-direction: column; }

/* ── TERMINAL CARD ── */
.hero-terminal {
  display: flex;
  justify-content: flex-end;
}

.terminal-card {
  background: #1a1b26;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 80px rgba(108,99,255,0.08);
  animation: terminalFloat 6s ease-in-out infinite;
}
@keyframes terminalFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}

.terminal-header {
  background: #13141f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: 6px;
  letter-spacing: 0.02em;
}

.terminal-body {
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.t-line {
  padding: 4px 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  animation: typeLine 0.3s ease forwards;
}
.t-blank { height: 10px; padding: 0; }

/* Terminal colors */
.t-prompt { color: rgba(108,99,255,0.8); font-weight: 600; flex-shrink: 0; }
.t-cmd    { color: #00bfff; font-weight: 500; }
.t-check  { color: #00e676; flex-shrink: 0; }
.t-arr    { color: #ffb700; flex-shrink: 0; }
.t-play   { color: #00e676; flex-shrink: 0; }
.t-hi     { color: #a78bfa; }

.t-success { color: rgba(255,255,255,0.45); }
.t-arrow   { color: rgba(255,255,255,0.45); }
.t-complete {
  color: #00e676 !important;
  font-weight: 600;
  margin-top: 4px;
  font-size: 0.84rem;
}

/* Blinking cursor */
.t-cursor {
  width: 8px; height: 16px;
  background: var(--accent-light);
  opacity: 0.8;
  margin-top: 8px;
  border-radius: 1px;
  animation: cursorBlink 1.1s step-end infinite;
}
@keyframes cursorBlink {
  0%,100% { opacity: 0.8; }
  50% { opacity: 0; }
}

/* Typewriter animation for terminal lines */
@keyframes typeLine {
  from { opacity: 0; transform: translateX(-4px); }
  to   { opacity: 1; transform: translateX(0); }
}
.terminal-body .t-line:nth-child(1)  { animation-delay: 0.1s; }
.terminal-body .t-line:nth-child(2)  { animation-delay: 0.3s; }
.terminal-body .t-line:nth-child(3)  { animation-delay: 0.5s; }
.terminal-body .t-line:nth-child(4)  { animation-delay: 0.6s; }
.terminal-body .t-line:nth-child(5)  { animation-delay: 0.8s; }
.terminal-body .t-line:nth-child(6)  { animation-delay: 1.0s; }
.terminal-body .t-line:nth-child(7)  { animation-delay: 1.2s; }
.terminal-body .t-line:nth-child(8)  { animation-delay: 1.3s; }
.terminal-body .t-line:nth-child(9)  { animation-delay: 1.5s; }
.terminal-body .t-line:nth-child(10) { animation-delay: 1.7s; }
.terminal-body .t-line:nth-child(11) { animation-delay: 1.9s; }
.terminal-body .t-line:nth-child(12) { animation-delay: 2.0s; }
.terminal-body .t-line:nth-child(13) { animation-delay: 2.2s; }
.terminal-body .t-line:nth-child(14) { animation-delay: 2.4s; }
.terminal-body .t-line:nth-child(15) { animation-delay: 2.6s; }
.terminal-body .t-cursor             { animation-delay: 2.8s; }

/* Initially hide all lines, show via animation */
.terminal-body .t-line,
.terminal-body .t-cursor {
  opacity: 0;
  animation-fill-mode: forwards;
}

/* ── RESPONSIVE: hide terminal on mobile ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .hero-terminal { justify-content: center; }
  .terminal-card { max-width: 100%; }
}

@media (max-width: 600px) {
  .hero-terminal { display: none; }
}

/* ── HERO BG without images ── */
.hero {
  background: var(--bg-primary);
}

/* ============================================================
   CONTACT DRAWER — Left slide-in panel
   ============================================================ */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.drawer-overlay.open {
  opacity: 1; visibility: visible;
}

.contact-drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 340px;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact-drawer.open {
  transform: translateX(0);
}

.drawer-inner {
  height: 100%;
  background: #16161f;
  border-right: 1px solid rgba(108,99,255,0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 0 40px rgba(0,0,0,0.5);
}

/* Close button — rotated on right edge */
.drawer-close {
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  width: 38px;
  height: 80px;
  background: #1e1e2e;
  border: 1px solid rgba(108,99,255,0.2);
  border-left: none;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-2);
  transition: var(--transition-fast);
  z-index: 1;
}
.drawer-close:hover { background: var(--accent-dim); color: var(--text-1); }
.drawer-close span {
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-family: var(--mono);
}

.drawer-content {
  padding: 48px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  position: relative; z-index: 1;
}

.drawer-logo { margin-bottom: 28px; }

.drawer-tagline {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 36px;
  font-weight: 400;
}
.drawer-tagline strong { color: var(--text-1); font-weight: 600; }

.drawer-section { margin-bottom: 32px; }

.drawer-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.drawer-addr {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}

.drawer-email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--accent-light);
  transition: color 0.2s;
}
.drawer-email:hover { color: var(--cyan); }

.drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(108,99,255,0.5);
  background: transparent;
  color: var(--text-1);
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
  transition: var(--transition);
  margin-bottom: 32px;
}
.drawer-cta:hover {
  background: var(--accent-dim);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.drawer-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.drawer-socials a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); font-size: 1rem;
  transition: var(--transition-fast);
}
.drawer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* Decorative orb at bottom of drawer */
.drawer-orb {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,99,255,0.25) 0%, rgba(0,212,255,0.15) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  animation: orbFloat1 8s ease-in-out infinite;
}

/* Mobile drawer adjustments */
@media (max-width: 480px) {
  .contact-drawer { width: 300px; }
  .drawer-content { padding: 40px 28px 28px; }
}

/* ============================================================
   NAVBAR TEXT LOGO + MOBILE FIXES
   ============================================================ */

/* Text logo — no image */
.nav-logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
  font-family: var(--sans);
  transition: color 0.2s;
}
.nav-logo:hover .nav-logo-text { color: var(--accent-light); }

/* Drawer text logo */
.drawer-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.03em;
  font-family: var(--sans);
  display: block;
}

/* ── MOBILE NAVBAR FIX ── */
/* On mobile: grid-btn | logo-text | hamburger — clean 3-item row */
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 14px;
    gap: 0;
    justify-content: space-between;
  }

  /* Grid button stays left */
  .nav-grid-btn {
    margin-right: 10px;
    flex-shrink: 0;
  }

  /* Logo in center — flex-grow to push right side away */
  .nav-logo {
    flex: 1;
    margin-right: 0;
  }
  .nav-logo-text {
    font-size: 1.05rem;
  }

  /* Nav links hidden on mobile */
  .nav-links { display: none !important; }

  /* Right side — only hamburger on mobile */
  .nav-right {
    margin-left: 0;
    gap: 6px;
  }

  /* Hide CTA on small mobile, show hamburger */
  .nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; }
}

/* Tablet 640-900: show CTA, hide hamburger */
@media (min-width: 640px) and (max-width: 900px) {
  .nav-cta {
    display: inline-flex !important;
    padding: 8px 18px !important;
    font-size: 0.82rem !important;
  }
  .nav-toggle { display: flex !important; }
}

/* Small mobile < 380px */
@media (max-width: 380px) {
  .nav-logo-text { font-size: 0.95rem; }
  .nav-grid-btn { width: 34px; height: 34px; margin-right: 8px; }
  .nav-inner { padding: 0 10px; }
}

/* ── HERO MOBILE FIXES ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding-top: 20px;
  }
  .hero { padding: 100px 0 60px; }
  .hero-terminal { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-pills { gap: 7px; }
  .hero-pill { font-size: 0.7rem; padding: 5px 10px; }
  .btn-group-hero { flex-direction: column; }
  .btn-group-hero .btn { width: 100%; justify-content: center; }
  .hero-tabs { flex-direction: column; }
  .hero-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-tab:last-child { border-bottom: none; }
}

/* ── GENERAL MOBILE SECTION FIXES ── */
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Performance section stack */
  div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.4rem; }
  .counter-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 24px 16px; }
  .counter-item:last-child { border-bottom: none; }

  /* Contact page form grid */
  div[style*="grid-template-columns:1fr 1.6fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }
  div[style*="grid-template-columns:1fr 1fr;gap:16px"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .testi-card { padding: 20px; }
  .why-card { padding: 20px; }
}
