/* =========================================================
   Apptechcs Infrabyte Technologies — Design System
   Glassmorphism · Indigo / Purple / Cyan / Orange accents
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --c-primary: #5B5BFF;        /* indigo */
  --c-primary-2: #7C5CFF;      /* purple */
  --c-cyan: #22D3EE;           /* cyan */
  --c-accent: #FF8A4C;         /* orange */
  --c-accent-2: #FFB86B;
  --c-success: #34D399;

  /* Surfaces (dark mode default) */
  --bg: #07070D;
  --bg-2: #0B0B16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #ECEDF5;
  --text-muted: #A6A9C0;
  --text-subtle: #7A7E99;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 16px 40px rgba(8, 8, 24, 0.45);
  --shadow-lg: 0 30px 80px rgba(8, 8, 24, 0.55);
  --shadow-glow: 0 0 60px rgba(124, 92, 255, 0.35);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7C5CFF 0%, #5B8DEF 50%, #22D3EE 100%);
  --grad-accent:  linear-gradient(135deg, #FF8A4C 0%, #FFB86B 100%);
  --grad-mix:     linear-gradient(135deg, #7C5CFF 0%, #FF8A4C 100%);

  /* Radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Spacing (8px grid) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 40px;
  --s-6: 48px; --s-7: 64px; --s-8: 80px; --s-9: 96px; --s-10: 120px;

  /* Type */
  --f-display: 'Poppins', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme='light'] {
  --bg: #F6F7FB;
  --bg-2: #ECEEF8;
  --surface: rgba(255, 255, 255, 0.6);
  --surface-2: rgba(255, 255, 255, 0.7);
  --surface-3: rgba(255, 255, 255, 0.85);
  --border: rgba(15, 18, 38, 0.10);
  --border-strong: rgba(15, 18, 38, 0.16);
  --text: #0C1024;
  --text-muted: #4B5072;
  --text-subtle: #777C95;
  --shadow-md: 0 16px 40px rgba(20, 22, 60, 0.10);
  --shadow-lg: 0 30px 80px rgba(20, 22, 60, 0.14);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 90% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[data-theme='light'] body {
  background-image:
    radial-gradient(1200px 600px at 90% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(34, 211, 238, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: rgba(124, 92, 255, 0.45); color: white; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-3); }

.section { padding: var(--s-9) 0; position: relative; }
@media (max-width: 768px) { .section { padding: var(--s-7) 0; } }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-6);
}
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: var(--s-1) 0 var(--s-2); }
.section-head p { color: var(--text-muted); margin: 0; }

/* ---------- Aurora background decoration ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.aurora__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen;
  animation: float 20s ease-in-out infinite;
}
.aurora__blob--1 { width: 520px; height: 520px; top: -160px; left: -120px; background: #7C5CFF; }
.aurora__blob--2 { width: 480px; height: 480px; bottom: -120px; right: -80px; background: #22D3EE; animation-delay: -7s; }
.aurora__blob--3 { width: 380px; height: 380px; top: 40%; left: 55%; background: #FF8A4C; opacity: .35; animation-delay: -14s; }
[data-theme='light'] .aurora__blob { mix-blend-mode: multiply; opacity: .25; }
.aurora__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 70%);
}
[data-theme='light'] .aurora__grid {
  background-image:
    linear-gradient(rgba(15,18,38,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,18,38,0.05) 1px, transparent 1px);
}

@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.08); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p  { margin: 0 0 var(--s-2); }

.grad-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 600;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-family: var(--f-display);
  font-weight: 600; font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .3s, border-color .3s, color .3s;
  position: relative; isolation: isolate;
}
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn-primary {
  color: white;
  background: var(--grad-primary);
  background-size: 200% 200%;
  background-position: 0% 50%;
  box-shadow: 0 10px 28px -8px rgba(124, 92, 255, 0.55), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 18px 36px -8px rgba(124,92,255,.65), inset 0 0 0 1px rgba(255,255,255,0.28); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(124,92,255,.45); transform: translateY(-2px); }

/* ---------- Glass card base ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-md);
}
[data-theme='light'] .glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(7, 7, 13, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
[data-theme='light'] .navbar { background: rgba(255,255,255,0.65); }
.navbar.is-scrolled {
  background: rgba(7, 7, 13, 0.78);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
[data-theme='light'] .navbar.is-scrolled {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 8px 30px rgba(20,22,60,.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); }
.logo img { width: 40px; height: 40px; }
.logo-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.logo-text strong { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.logo-text em { font-style: normal; font-size: 11px; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.is-active { color: var(--text); background: var(--surface-2); }
.nav-links a.is-active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad-primary); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text);
  transition: background .2s, transform .2s;
}
.theme-toggle:hover { background: var(--surface-2); transform: rotate(15deg); }
.theme-toggle .icon-sun { display: none; }
[data-theme='light'] .theme-toggle .icon-moon { display: none; }
[data-theme='light'] .theme-toggle .icon-sun { display: inline-block; }

.hamburger {
  display: none; width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s-7); padding-bottom: var(--s-6); position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-7); align-items: center;
}
.hero-title { margin: var(--s-2) 0 var(--s-3); }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 560px; margin-bottom: var(--s-4); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-5); }

.hero-trust { display: flex; align-items: center; gap: 16px; }
.avatars { display: inline-flex; }
.avatars img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.avatars img:first-child { margin-left: 0; }
.hero-trust-text { font-size: 14px; color: var(--text-muted); }
.hero-trust-text strong { color: var(--text); margin-right: 6px; font-weight: 700; }

.hero-visual { position: relative; }
.hero-visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }
.hero-visual-glow {
  position: absolute; inset: 10% 10% 10% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(124,92,255,.45), transparent 70%);
  filter: blur(40px); z-index: -1;
}

.float-chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
  font-size: 13px;
  animation: hover-float 6s var(--ease) infinite;
}
.float-chip--1 { top: 8%; left: -4%; }
.float-chip--2 { bottom: 8%; right: -4%; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3s; }
.float-chip--3 { bottom: 8%; right: 6%; flex-direction: column; align-items: flex-start; gap: 2px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.chip-num { font-family: var(--f-display); font-weight: 800; font-size: 22px; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.chip-label { font-size: 11px; color: var(--text-muted); }

@keyframes hover-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Marquee */
.marquee {
  margin-top: var(--s-7); padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: inline-flex; gap: 60px; white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--text-muted);
}
.marquee-track span:hover { color: var(--text); }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Cards / Services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.card {
  position: relative;
  padding: var(--s-4);
  border-radius: var(--r-xl);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(124,92,255,.18), transparent 50%);
  opacity: 0; transition: opacity .35s;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-6px); border-color: rgba(124,92,255,.45); box-shadow: var(--shadow-lg), 0 0 60px rgba(124,92,255,.18); }

.card h3 { margin: var(--s-2) 0 var(--s-1); font-size: 19px; }
.card p  { color: var(--text-muted); margin: 0 0 var(--s-3); font-size: 14.5px; }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 12px 30px -10px rgba(124,92,255,.55);
}
.card-icon svg { width: 26px; height: 26px; }
.icon-grad-1 { background: linear-gradient(135deg,#7C5CFF,#22D3EE); }
.icon-grad-2 { background: linear-gradient(135deg,#FF8A4C,#FFB86B); box-shadow: 0 12px 30px -10px rgba(255,138,76,.55); }
.icon-grad-3 { background: linear-gradient(135deg,#22D3EE,#5B8DEF); }
.icon-grad-4 { background: linear-gradient(135deg,#5B5BFF,#7C5CFF); }
.icon-grad-5 { background: linear-gradient(135deg,#7C5CFF,#FF8A4C); }
.icon-grad-6 { background: linear-gradient(135deg,#22D3EE,#7C5CFF); }

.card-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600;
  color: var(--text);
}
.card-link svg { transition: transform .2s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }
.card-link:hover { color: var(--c-cyan); }

/* ---------- About ---------- */
.about-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-7); align-items: center;
}
.about-visual { position: relative; }
.about-visual img { width: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }
.about-visual-glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34,211,238,.45), transparent 70%);
  filter: blur(40px); z-index: -1;
}
.about-content h2 { font-size: clamp(28px, 4vw, 44px); margin: var(--s-1) 0 var(--s-2); }
.about-content .lead { color: var(--text-muted); font-size: 17px; margin-bottom: var(--s-3); }

.check-list { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text); }
.check {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.check::after {
  content: ''; width: 8px; height: 4px; border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg); margin-top: -2px;
}

.industry-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-4); }
.industry-pills span {
  padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
  transition: background .2s, color .2s, border-color .2s;
}
.industry-pills span:hover { background: var(--surface-2); color: var(--text); border-color: rgba(124,92,255,.4); }

/* ---------- Stats ---------- */
.stats-section { padding-top: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  padding: var(--s-4);
  position: relative; overflow: hidden;
}
.stats-grid::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: var(--grad-primary); opacity: 0.5;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.stat { text-align: center; padding: var(--s-2); }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { color: var(--text-muted); font-size: 14px; margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.product-card {
  display: flex; flex-direction: column;
  padding: 0; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.product-card:hover {
  transform: translateY(-6px); border-color: rgba(124,92,255,.45);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124,92,255,.18);
}
.product-card--wide { grid-column: span 3; flex-direction: row; }
.product-card--wide .product-media { flex: 0 0 46%; min-height: 100%; }
.product-card--wide .product-media img { height: 100%; }
.product-card--wide .product-body { padding: var(--s-4) var(--s-5); }
.product-card--wide .feature-list--two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }

.product-media {
  position: relative;
  background: linear-gradient(180deg, rgba(124,92,255,0.08), rgba(34,211,238,0.04));
  overflow: hidden;
}
.product-media img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.04); }

.product-badge {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: white;
  backdrop-filter: blur(10px);
}
.product-badge--web  { background: var(--grad-primary); }
.product-badge--soft { background: var(--grad-accent); }

.product-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 19px; }
.product-body p  { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.feature-list { list-style: none; padding: 0; margin: 6px 0 6px; display: grid; gap: 8px; }
.feature-list li {
  position: relative; padding-left: 26px; font-size: 14px; color: var(--text);
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: inset 0 0 0 4px var(--bg);
}
.product-body .card-link { margin-top: auto; padding-top: 4px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3); margin-bottom: var(--s-5);
  align-items: stretch;
}

.plan {
  position: relative; padding: var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-2);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.4); }

.plan--featured {
  transform: translateY(-12px);
  border-color: transparent;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124, 92, 255, 0.22);
}
.plan--featured::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--grad-primary);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan--featured:hover { transform: translateY(-16px); }

.plan-ribbon {
  position: absolute; top: -14px; right: 24px;
  padding: 6px 14px; border-radius: var(--r-pill);
  font-family: var(--f-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
  color: white; background: var(--grad-accent);
  box-shadow: 0 8px 22px -8px rgba(255,138,76,.6);
}

.plan-head h3 {
  font-size: 22px; font-family: var(--f-display); font-weight: 700; margin-bottom: 4px;
}
.plan-tag { color: var(--text-muted); font-size: 13px; margin: 0; }

.plan-price {
  display: flex; align-items: baseline; gap: 2px;
  margin-top: 6px;
}
.plan-currency {
  font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--text-muted);
  margin-right: 2px;
}
.plan-amount {
  font-family: var(--f-display); font-weight: 800;
  font-size: 48px; line-height: 1; letter-spacing: -0.02em;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.plan--featured .plan-amount { background: var(--grad-mix); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.plan-period { color: var(--text-muted); font-size: 13px; margin-left: 6px; }

.plan-renewal {
  margin: 0 0 4px; font-size: 13px; color: var(--text-muted);
}
.plan-renewal strong { color: var(--text); font-weight: 600; }

.plan-features {
  list-style: none; padding: 0; margin: var(--s-1) 0 var(--s-3); display: grid; gap: 10px;
  border-top: 1px solid var(--border); padding-top: var(--s-2);
}
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.plan-features li:has(.cross) { color: var(--text-subtle); }

.tick, .cross {
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 11px;
}
.tick { background: rgba(52,211,153,.15); color: #6EE7B7; border: 1px solid rgba(52,211,153,.30); position: relative; }
.tick::after {
  content: ''; width: 7px; height: 4px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}
.cross { background: rgba(255,99,99,.10); color: #FCA5A5; border: 1px solid rgba(255,99,99,.25); position: relative; }
.cross::before, .cross::after {
  content: ''; position: absolute; width: 10px; height: 2px; background: currentColor; border-radius: 2px;
}
.cross::before { transform: rotate(45deg); }
.cross::after  { transform: rotate(-45deg); }

.plan-cta { margin-top: auto; width: 100%; }

/* Comparison table */
.comparison-wrap {
  margin-top: var(--s-4); margin-bottom: var(--s-5);
}
.comparison-head { text-align: center; margin-bottom: var(--s-3); }
.comparison-head h3 { font-family: var(--f-display); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.comparison-head p  { color: var(--text-muted); margin: 0; }

.table-scroll {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
[data-theme='light'] .table-scroll { background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55)); }

.comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.comparison-table thead th {
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  text-align: center; padding: 18px 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  position: relative;
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.is-featured {
  color: white;
  background: linear-gradient(180deg, rgba(124,92,255,0.25), rgba(34,211,238,0.18));
}
.th-pop {
  display: inline-block; margin-left: 8px;
  padding: 3px 8px; border-radius: var(--r-pill);
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--grad-accent); color: white;
}

.comparison-table tbody th, .comparison-table tbody td {
  padding: 14px 16px; vertical-align: middle;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.comparison-table tbody th {
  text-align: left; font-weight: 600; color: var(--text);
}
.comparison-table tbody td { color: var(--text-muted); }
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table tbody td.is-featured {
  background: rgba(124, 92, 255, 0.06);
  color: var(--text);
}

.comparison-table .row-price td,
.comparison-table .row-price th { font-size: 16px; padding-top: 18px; padding-bottom: 8px; }
.comparison-table .row-price strong {
  font-family: var(--f-display); font-weight: 800; font-size: 20px;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.comparison-table .row-renewal td,
.comparison-table .row-renewal th { padding-top: 4px; padding-bottom: 18px; }

.cell-tick {
  display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.35);
  align-items: center; justify-content: center; position: relative; color: #6EE7B7;
}
.cell-tick::after {
  content: ''; width: 8px; height: 4px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
}
.cell-cross { color: #FCA5A5; font-weight: 700; font-size: 16px; }

.renewal-note {
  margin-top: var(--s-3);
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  color: var(--text-muted); font-size: 14px;
}
.renewal-note p { margin: 0; }
.renewal-note strong { color: var(--text); font-weight: 600; }
.renewal-note em { font-style: normal; color: var(--c-cyan); font-weight: 600; }
.renewal-note__icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; background: var(--grad-accent);
  box-shadow: 0 8px 22px -10px rgba(255,138,76,.6);
}

/* Key Highlights */
.highlights {
  margin-top: var(--s-5); padding: var(--s-4);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  position: relative; overflow: hidden;
}
.highlights::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: var(--grad-primary); opacity: 0.45;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.highlights h3 {
  font-family: var(--f-display); font-size: 16px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
  text-align: center; margin-bottom: var(--s-2);
}
.highlights-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}
.highlights-grid li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px; color: var(--text);
}
.hl-check {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: var(--grad-primary);
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  box-shadow: 0 8px 20px -10px rgba(124,92,255,.6);
}
.hl-check::after {
  content: ''; width: 9px; height: 5px;
  border-left: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-1px);
}

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: var(--s-4);
}
.filter-btn {
  padding: 8px 16px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.filter-btn:hover { background: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.filter-btn.is-active {
  color: white; background: var(--grad-primary); border-color: transparent;
  box-shadow: 0 8px 22px -8px rgba(124,92,255,.6);
}

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
}
.portfolio-item {
  position: relative; display: block; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.portfolio-item img { width: 100%; height: 240px; object-fit: cover; transition: transform .8s var(--ease-out); }
.portfolio-item:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: var(--shadow-lg); }
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0; padding: var(--s-3);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(8,8,16,0) 30%, rgba(8,8,16,.85) 100%);
  color: white;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-tag {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--grad-primary); font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  align-self: flex-start; margin-bottom: 8px;
}
.portfolio-overlay h3 { color: white; font-size: 18px; margin-bottom: 4px; }
.portfolio-overlay p  { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }
.portfolio-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-size: 18px;
  border: 1px solid rgba(255,255,255,0.25);
}

.portfolio-item.is-hidden { display: none; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
}
.testimonial { padding: var(--s-4); position: relative; }
.testimonial p { font-size: 15.5px; line-height: 1.7; color: var(--text); margin: 0 0 var(--s-3); }
.quote-mark {
  position: absolute; top: 14px; right: 22px;
  font-family: var(--f-display); font-size: 80px; line-height: 1;
  color: rgba(124, 92, 255, 0.2);
}
.testimonial-foot { display: flex; align-items: center; gap: 12px; }
.testimonial-foot img { width: 48px; height: 48px; border-radius: 50%; }
.testimonial-foot strong { display: block; font-weight: 600; font-size: 14px; }
.testimonial-foot span { color: var(--text-muted); font-size: 12px; }
.stars { margin-left: auto; color: #FFB86B; font-size: 14px; letter-spacing: 1px; }

/* ---------- Career ---------- */
.perks-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2);
  margin-bottom: var(--s-6);
}
.perk { padding: var(--s-3); display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), border-color .3s; }
.perk:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); }
.perk h4 { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.perk p  { color: var(--text-muted); font-size: 13.5px; margin: 0; }
.perk-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; box-shadow: 0 8px 22px -10px rgba(124,92,255,.55);
}
.perk-icon svg { width: 22px; height: 22px; }

.career-block { margin-bottom: var(--s-6); }
.career-block-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-3);
  margin-bottom: var(--s-3); flex-wrap: wrap;
}
.career-block-head h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.career-block-head p  { color: var(--text-muted); margin: 0; }
.career-block-head p strong { color: var(--text); font-weight: 600; }

.career-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.career-stats span {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 13px; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border);
}
.career-stats strong { color: var(--text); font-weight: 700; margin-right: 4px; }

.career-filter { justify-content: flex-start; margin-bottom: var(--s-3); }

.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.job-card {
  position: relative;
  padding: var(--s-3);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.job-card::before {
  content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  background: var(--grad-primary); border-radius: 0 4px 4px 0;
  opacity: 0; transform: translateX(-3px);
  transition: opacity .25s, transform .25s var(--ease);
}
.job-card:hover { transform: translateY(-3px); border-color: rgba(124,92,255,.4); box-shadow: var(--shadow-md); }
.job-card:hover::before { opacity: 1; transform: translateX(0); }
.job-card.is-hidden { display: none; }

.job-tag {
  display: inline-block; align-self: flex-start;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.job-tag--eng    { background: rgba(124,92,255,.15); color: #C4B5FD; border: 1px solid rgba(124,92,255,.3); }
.job-tag--design { background: rgba(34,211,238,.15); color: #67E8F9; border: 1px solid rgba(34,211,238,.3); }
.job-tag--mkt    { background: rgba(255,138,76,.15); color: #FFB86B; border: 1px solid rgba(255,138,76,.3); }
.job-tag--biz    { background: rgba(91,141,239,.15); color: #93C5FD; border: 1px solid rgba(91,141,239,.3); }
.job-tag--intern { background: rgba(52,211,153,.15); color: #6EE7B7; border: 1px solid rgba(52,211,153,.3); }
[data-theme='light'] .job-tag--eng    { color: #5B21B6; }
[data-theme='light'] .job-tag--design { color: #0E7490; }
[data-theme='light'] .job-tag--mkt    { color: #C2410C; }
[data-theme='light'] .job-tag--biz    { color: #1D4ED8; }
[data-theme='light'] .job-tag--intern { color: #047857; }

.job-card h4 { font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.job-meta {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 13px; color: var(--text-muted);
}
.job-meta li { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { color: var(--c-cyan); }
.job-desc { font-size: 14px; color: var(--text-muted); margin: 0; }
.job-apply { margin-top: auto; align-self: flex-start; }

.jobs-empty {
  padding: var(--s-3); text-align: center; color: var(--text-muted);
  border: 1px dashed var(--border-strong); border-radius: var(--r-md);
  margin-top: var(--s-2);
}

/* Hiring process timeline */
.career-process { margin: var(--s-6) 0; }
.career-process h3 {
  font-family: var(--f-display); font-size: 22px; font-weight: 700;
  text-align: center; margin-bottom: var(--s-3);
}
.process-timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2);
  position: relative;
}
.process-timeline::before {
  content: ''; position: absolute; left: 8%; right: 8%; top: 56px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(124,92,255,.5), rgba(34,211,238,.5), transparent);
  z-index: 0;
}
.process-timeline li {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  padding: var(--s-3);
  text-align: center;
}
[data-theme='light'] .process-timeline li { background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55)); }
.process-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto var(--s-1);
  font-family: var(--f-display); font-weight: 800; font-size: 20px;
  color: white; background: var(--grad-primary);
  box-shadow: 0 8px 22px -10px rgba(124,92,255,.6);
}
.process-timeline li:nth-child(2) .process-step { background: var(--grad-accent); }
.process-timeline li:nth-child(3) .process-step { background: linear-gradient(135deg,#22D3EE,#5B8DEF); }
.process-timeline li:nth-child(4) .process-step { background: linear-gradient(135deg,#34D399,#22D3EE); }
.process-timeline h5 { font-family: var(--f-display); font-size: 15px; font-weight: 600; margin: 4px 0; }
.process-timeline p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* Application form */
.career-apply { margin-top: var(--s-6); }
.apply-head { text-align: center; margin-bottom: var(--s-3); }
.apply-head h3 { font-family: var(--f-display); font-size: 26px; font-weight: 700; margin: var(--s-1) 0 6px; }
.apply-head p  { color: var(--text-muted); margin: 0; }
.apply-form { padding: var(--s-4); max-width: 920px; margin: 0 auto; }

.req { color: #FCA5A5; font-weight: 700; margin-left: 2px; }

/* Honeypot — visually hidden but still in tab/DOM for bots */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Loading button + spinner */
.btn .btn-loading { display: none; align-items: center; gap: 8px; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-label { display: none; }
.btn.is-loading .btn-loading { display: inline-flex; }
.spinner {
  display: inline-block; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.30);
  border-top-color: white;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Apply fallback row */
.apply-fallback {
  margin: 12px 0 0; font-size: 13px; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.apply-fallback a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.apply-fallback a:hover { color: white; }
.apply-fallback-note { color: var(--text-subtle); font-size: 12.5px; }

select.is-pulsed {
  animation: selectPulse 1.2s var(--ease);
}
@keyframes selectPulse {
  0%   { box-shadow: 0 0 0 0 rgba(124,92,255,0.55); border-color: rgba(124,92,255,0.7); }
  60%  { box-shadow: 0 0 0 10px rgba(124,92,255,0);  border-color: rgba(124,92,255,0.7); }
  100% { box-shadow: 0 0 0 0 rgba(124,92,255,0);     border-color: var(--border); }
}

.file-drop {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: var(--s-3);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.file-drop.is-dragging,
.file-drop:focus-within {
  border-color: rgba(124, 92, 255, 0.7);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.18);
}
.file-drop.has-error { border-color: rgba(255,99,99,.6); }

.file-drop-empty { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.file-drop-empty strong { color: var(--text); font-weight: 600; }
.file-drop-empty > div:nth-child(2) { flex: 1; min-width: 200px; }
.file-drop-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  background: var(--grad-primary);
  box-shadow: 0 10px 26px -10px rgba(124,92,255,.55);
}
.file-drop-hint { color: var(--text-muted); font-size: 12.5px; margin: 4px 0 0; }

.file-drop-filled { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.file-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.file-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; background: var(--grad-accent);
}
.file-meta { display: flex; flex-direction: column; min-width: 0; }
.file-meta strong {
  font-weight: 600; font-size: 14.5px; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.file-meta span { color: var(--text-muted); font-size: 12.5px; }
.file-remove {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.file-remove:hover { background: rgba(255,99,99,.10); border-color: rgba(255,99,99,.3); color: #FCA5A5; }

.file-error { margin: 8px 0 0; font-size: 13px; color: #FCA5A5; }

.consent {
  display: flex; align-items: flex-start; gap: 10px; margin: var(--s-2) 0;
  font-size: 13.5px; color: var(--text-muted); cursor: pointer;
}
.consent input[type='checkbox'] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  flex-shrink: 0; margin-top: 2px; cursor: pointer;
  transition: background .2s, border-color .2s;
  position: relative;
}
.consent input[type='checkbox']:checked {
  background: var(--grad-primary); border-color: transparent;
}
.consent input[type='checkbox']:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 6px; height: 10px;
  border-right: 2px solid white; border-bottom: 2px solid white;
  transform: rotate(45deg);
}

/* ---------- Contact ---------- */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-6); align-items: start;
}
.contact-info h2 { font-size: clamp(28px, 4vw, 42px); margin: var(--s-1) 0 var(--s-2); }
.contact-info > p { color: var(--text-muted); margin-bottom: var(--s-3); }

.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: var(--s-2); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.contact-list a { color: var(--text-muted); }
.contact-list a:hover { color: var(--c-cyan); }
.contact-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--c-cyan);
  display: inline-flex; align-items: center; justify-content: center;
}

.map-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  position: relative; overflow: hidden;
}
.map-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(400px 160px at 30% 50%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(380px 160px at 80% 80%, rgba(34,211,238,.20), transparent 60%);
}
.map-pin {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-primary); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px rgba(124,92,255,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 6px rgba(124,92,255,.18); }
  50%     { box-shadow: 0 0 0 14px rgba(124,92,255,0); }
}
.map-meta { display: flex; flex-direction: column; }
.map-meta strong { font-weight: 600; }
.map-meta span { color: var(--text-muted); font-size: 13px; }
.map-card .btn { margin-left: auto; }

.contact-form { padding: var(--s-4); }
.contact-form h3 { font-size: 22px; margin-bottom: var(--s-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-2); }
.form-field label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  font: inherit; font-size: 14.5px; color: var(--text);
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-subtle); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: rgba(124,92,255,0.55);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(124,92,255,0.18);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: var(--s-2); flex-wrap: wrap; }
.form-hint { color: var(--text-subtle); font-size: 13px; }
.form-toast {
  margin-top: 12px; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(52,211,153,.10); color: #6EE7B7; border: 1px solid rgba(52,211,153,.30);
  font-size: 14px; display: none;
}
.form-toast.is-visible { display: block; }
.form-toast.is-error { background: rgba(255,99,99,.10); color: #FCA5A5; border-color: rgba(255,99,99,.30); }

.btn-whatsapp { position: relative; }
.btn-whatsapp::after {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(37,211,102,0) 0%, rgba(37,211,102,.55) 100%);
  opacity: 0; transition: opacity .25s; z-index: -1; filter: blur(10px);
}
.btn-whatsapp:hover::after { opacity: 1; }

/* ---------- CTA banner ---------- */
.cta-banner { padding: var(--s-6) 0 var(--s-9); }
.cta-banner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-5) var(--s-5);
  position: relative; overflow: hidden;
}
.cta-banner-inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 250px at 20% 50%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(500px 250px at 80% 50%, rgba(34,211,238,.30), transparent 60%);
}
.cta-banner-inner h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 6px; }
.cta-banner-inner p { color: var(--text-muted); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  position: relative; margin-top: var(--s-6);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(7,7,13,.8));
}
[data-theme='light'] .footer { background: linear-gradient(180deg, transparent, rgba(255,255,255,.7)); }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: var(--s-5);
  padding: var(--s-7) var(--s-3);
}
.footer-brand p { color: var(--text-muted); max-width: 320px; margin-top: 12px; }
.socials { display: flex; gap: 8px; margin-top: var(--s-2); }
.socials a {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.socials a:hover { color: white; background: var(--grad-primary); border-color: transparent; transform: translateY(-2px); }

.footer-col h4 {
  font-family: var(--f-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text);
  margin-bottom: var(--s-2);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: 14px; }
.footer-col a:hover { color: var(--text); }

.newsletter { display: flex; gap: 8px; margin-top: 10px; }
.newsletter input {
  flex: 1; padding: 11px 14px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: 14px; outline: none;
}
.newsletter input:focus { border-color: rgba(124,92,255,.5); }
.newsletter .btn { padding: 11px 14px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: var(--s-3) var(--s-3) var(--s-4);
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 13.5px;
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a:hover { color: var(--text); }

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-primary); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -10px rgba(124,92,255,.65);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.scroll-top.is-visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px) scale(1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero-visual, .about-visual { order: -1; max-width: 560px; margin: 0 auto; }
  .cards-grid, .portfolio-grid, .testimonial-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--wide { grid-column: span 2; flex-direction: column; }
  .product-card--wide .product-media { flex: 0 0 auto; }
  .product-card--wide .product-media img { height: 200px; }
  .product-card--wide .product-body { padding: var(--s-3); }
  .pricing-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-4px); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-left: 1px solid var(--border); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7, 7, 13, 0.95);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch;
    padding: var(--s-2);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
  }
  [data-theme='light'] .nav-links { background: rgba(255,255,255,0.95); }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; border-radius: 10px; }
  .nav-login { display: none; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 var(--s-2); }
  .section { padding: var(--s-6) 0; }
  .hero { padding-top: var(--s-5); }
  .cards-grid, .portfolio-grid, .testimonial-grid, .products-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: span 1; }
  .feature-list--two { grid-template-columns: 1fr !important; }
  .highlights-grid { grid-template-columns: 1fr; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 640px; }
  .plan-amount { font-size: 40px; }
  .perks-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .career-block-head { flex-direction: column; align-items: flex-start; }
  .career-stats { gap: 8px; }
  .file-drop-empty { flex-direction: column; align-items: stretch; text-align: center; }
  .file-drop-empty .file-drop-icon { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-5) var(--s-2); }
  .footer-bottom { padding: var(--s-2) var(--s-2) var(--s-3); flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: var(--s-3); }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; padding: var(--s-3); }
  .float-chip--1 { left: 4%; }
  .float-chip--2 { right: 4%; }
  .marquee-track { gap: 36px; font-size: 16px; }
  .logo-text em { display: none; }
}
