/* ============================================================
   RapidDev — style.css  (v3 — Premium Redesign)
   Dark theme · Orange accent · Inter font · Mobile-first
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --bg-alt: #0d0d0d;
  --accent: #e87040;
  --accent-light: #f0a050;
  --accent-dim: rgba(232, 112, 64, 0.12);
  --accent-glow: rgba(232, 112, 64, 0.3);
  --text: #f0f0f0;
  --text-secondary: #9a9a9a;
  --text-muted: #606060;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(232, 112, 64, 0.4);
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(232, 112, 64, 0.2);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --nav-h: 70px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }
svg { flex-shrink: 0; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Gradient text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Icon helpers ── */
.icon-invert { filter: invert(1) brightness(0.85); }

/* ── Sections ── */
.section { padding: 112px 0; }
.section-dark { background: var(--bg-alt); }
.section-alt { background: var(--bg-alt); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(232, 112, 64, 0.15);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 112, 64, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232, 112, 64, 0.5); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45); }
.btn-service {
  width: 100%;
  justify-content: center;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-top: auto;
  transition: all var(--transition);
}
.btn-service:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Fade-up animation ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; } }

/* ============================================================
   LOGO BOX
   ============================================================ */
.logo-box {
  width: 34px;
  height: 34px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232, 112, 64, 0.35);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(232, 112, 64, 0.3);
  -webkit-text-fill-color: #fff !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(232, 112, 64, 0.5) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: all; }
.mobile-menu ul { padding: 16px 24px 28px; }
.mobile-menu li { border-bottom: 1px solid var(--border); }
.mobile-link { display: block; padding: 16px 0; font-size: 1rem; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.mobile-link:hover { color: var(--text); }
.mobile-link-cta { color: var(--accent) !important; font-weight: 700; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) 20px 80px;
  overflow: hidden;
  text-align: center;
}
#particleCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; animation: orbFloat 8s ease-in-out infinite; z-index: 0; }
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(232,112,64,0.12) 0%, transparent 70%); top: -200px; right: -100px; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(240,160,80,0.08) 0%, transparent 70%); bottom: -100px; left: -150px; animation-delay: -4s; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-28px) scale(1.04); } }

.hero-content {
  position: relative; z-index: 1;
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px;
  background: rgba(232, 112, 64, 0.08);
  border: 1px solid rgba(232, 112, 64, 0.22);
  border-radius: 100px;
  font-size: 0.8125rem; font-weight: 500; color: var(--accent-light);
}
.badge-pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.35); } }
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.typing-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  animation: blink 0.9s step-end infinite;
  vertical-align: baseline;
  margin-left: 3px;
  height: 0.85em;
  border-radius: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}
.hero-highlights {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px;
}
.h-pill {
  display: inline-block; padding: 5px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px; font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition);
}
.h-pill:hover { border-color: rgba(232,112,64,0.3); color: var(--accent-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-top: 8px;
  width: 100%;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 24px; gap: 6px; }
.stat-value-row { display: flex; align-items: baseline; gap: 2px; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-suf { font-size: 1.25rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; }
.stat-sep { width: 1px; height: 52px; background: var(--border); flex-shrink: 0; }

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--text-muted); font-size: 0.75rem; z-index: 1;
  animation: scrollBounce 2.2s ease-in-out infinite;
}
.scroll-mouse { width: 22px; height: 34px; border: 1.5px solid var(--text-muted); border-radius: 12px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-wheel { width: 3px; height: 6px; background: var(--text-muted); border-radius: 2px; animation: scrollWheel 2.2s ease-in-out infinite; }
@keyframes scrollWheel { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: 0; transform: translateY(6px); } }
@keyframes scrollBounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(4px); } }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(232, 112, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(232, 112, 64, 0.08);
}
.service-glow {
  position: absolute; top: -60px; right: -60px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(232, 112, 64, 0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.service-glow-featured { background: radial-gradient(circle, rgba(232, 112, 64, 0.14) 0%, transparent 70%); }
.service-card-featured {
  border-color: rgba(232, 112, 64, 0.2);
  background: linear-gradient(135deg, rgba(232, 112, 64, 0.04) 0%, var(--bg-card) 50%);
}
.service-card-featured:hover { border-color: rgba(232, 112, 64, 0.4); }
.service-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--gradient); color: #fff;
  font-size: 0.6875rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
}
.service-icon-wrap {
  width: 56px; height: 56px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
  flex-shrink: 0;
}
.service-card:hover .service-icon-wrap { background: var(--accent); color: #fff; }
.service-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-body h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.service-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.service-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
}
.price-label { font-size: 0.75rem; color: var(--text-muted); }
.price-value { font-size: 1.375rem; font-weight: 800; color: var(--accent); }
.price-unit { font-size: 0.8125rem; font-weight: 500; color: var(--text-secondary); }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: all var(--transition);
  cursor: default;
}
.tech-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(232, 112, 64, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.tech-icon-wrap {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}
.tech-item:hover .tech-icon-wrap { transform: scale(1.08); }
.tech-item span { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-align: center; }
.openai-badge {
  width: 48px; height: 48px;
  background: #10A37F;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em;
}

/* ============================================================
   WERKWIJZE TIMELINE
   ============================================================ */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  padding: 0 0 16px;
}
.timeline-step {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  position: relative; padding: 0 12px;
}
.timeline-icon {
  width: 72px; height: 72px;
  background: var(--accent-dim);
  border: 1.5px solid rgba(232, 112, 64, 0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition);
  z-index: 1; position: relative;
}
.timeline-step:hover .timeline-icon {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}
.timeline-num {
  font-size: 0.6875rem; font-weight: 700; color: var(--accent); letter-spacing: 0.12em;
  background: var(--accent-dim); padding: 3px 10px; border-radius: 6px;
}
.timeline-body h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.timeline-body p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.timeline-time {
  font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-top: 6px;
  display: flex; align-items: center; gap: 5px; justify-content: center;
}
.timeline-connector {
  display: flex; align-items: center; justify-content: center; padding-top: 22px;
  color: var(--text-muted); flex-shrink: 0;
}

/* ============================================================
   ASSI INTRO CARD
   ============================================================ */
.assi-intro-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(135deg, rgba(232,112,64,0.06) 0%, var(--bg-card) 50%);
  border: 1px solid rgba(232, 112, 64, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 64px;
  overflow: hidden;
  position: relative;
}
.assi-intro-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,112,64,0.1) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.assi-intro-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.assi-intro-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 3px solid rgba(232,112,64,0.3);
  object-fit: cover;
}
.assi-intro-fallback {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 3px solid rgba(232,112,64,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.assi-intro-status-dot {
  position: absolute; bottom: 4px; right: 4px;
  width: 18px; height: 18px;
  background: #4ade80;
  border-radius: 50%;
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 8px rgba(74,222,128,0.5);
}
.assi-intro-text h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.assi-intro-text p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; max-width: 600px; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: rgba(232, 112, 64, 0.2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.feature-card strong { color: var(--text); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.portfolio-card:hover {
  border-color: rgba(232, 112, 64, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.portfolio-thumb {
  height: 220px;
  background: linear-gradient(135deg, var(--ga, #1a1a1a) 0%, var(--gb, #2a2a2a) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-wireframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.portfolio-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 1; position: relative;
}
.portfolio-inner span {
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.12em;
  background: rgba(0,0,0,0.4); padding: 5px 14px; border-radius: 100px;
  backdrop-filter: blur(8px);
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-overlay span {
  background: #fff; color: #111; padding: 10px 24px; border-radius: 100px;
  font-size: 0.875rem; font-weight: 700;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { padding: 24px; }
.portfolio-info h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.portfolio-info p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; background: rgba(232, 112, 64, 0.1); color: var(--accent); border-radius: 6px; font-size: 0.75rem; font-weight: 600; }

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 20px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.review-card {
  min-width: 360px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  transition: border-color var(--transition);
}
.review-card:hover { border-color: rgba(232,112,64,0.2); }
.review-stars { display: flex; align-items: center; gap: 4px; color: #f59e0b; }
.review-text {
  font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75; font-style: italic; flex: 1;
  position: relative; padding-left: 16px;
}
.review-text::before { content: '"'; color: var(--accent); font-size: 2rem; line-height: 1; position: absolute; left: 0; top: -4px; font-style: normal; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; gap: 2px; }
.review-name { font-size: 0.9375rem; font-weight: 600; }
.review-company { font-size: 0.8125rem; color: var(--text-secondary); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.carousel-btn {
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px; background: var(--border); border-radius: 50%;
  cursor: pointer; transition: all var(--transition); border: none;
}
.carousel-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item.open { border-color: rgba(232, 112, 64, 0.3); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 30px; text-align: left; color: var(--text);
  font-size: 1.0625rem; font-weight: 600;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-chevron { flex-shrink: 0; color: var(--text-secondary); transition: transform 0.3s ease, color var(--transition); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 30px 26px; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.85; }
.faq-a a { color: var(--accent); text-decoration: underline; }
.faq-item.open .faq-a { max-height: 360px; }

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar {
  padding: 96px 0;
  background: linear-gradient(135deg, rgba(232, 112, 64, 0.12) 0%, rgba(240, 160, 80, 0.06) 100%);
  border-top: 1px solid rgba(232, 112, 64, 0.12);
  border-bottom: 1px solid rgba(232, 112, 64, 0.12);
  position: relative; overflow: hidden;
}
.cta-bar::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; }
.cta-text h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-text p { color: var(--text-secondary); font-size: 1.0625rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.req { color: var(--accent); }
.opt { color: var(--text-muted); font-weight: 400; font-size: 0.8125rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 0.9375rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232, 112, 64, 0.12);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 42px;
}
.form-group select option { background: #1a1a1a; color: var(--text); }
textarea { resize: vertical; min-height: 140px; }
.form-notice {
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.875rem; display: none;
}
.form-notice.success { display: block; background: rgba(74, 222, 128, 0.08); border: 1px solid rgba(74, 222, 128, 0.25); color: #4ade80; }
.form-notice.error { display: block; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.25); color: #f87171; }

/* Contact Info Sidebar */
.contact-info-sidebar { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.info-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.contact-method {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.contact-method:hover { border-color: var(--accent); background: var(--accent-dim); }
.contact-method-wa .method-icon { color: #25D366; }
.contact-method-email .method-icon { color: var(--accent); }
.method-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.04); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.method-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.method-label { font-size: 0.6875rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.method-val { font-size: 0.875rem; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.method-badge { background: var(--gradient); color: #fff; font-size: 0.625rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; flex-shrink: 0; }
.location-details { display: flex; flex-direction: column; gap: 12px; }
.loc-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; gap: 12px; }
.loc-row strong { color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.loc-row span { color: var(--text); text-align: right; }
.guarantee-card {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 16px !important;
  background: linear-gradient(135deg, rgba(232, 112, 64, 0.07) 0%, var(--bg-card) 60%) !important;
  border-color: rgba(232, 112, 64, 0.18) !important;
}
.guarantee-icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.guarantee-card strong { font-size: 0.9375rem; font-weight: 700; display: block; margin-bottom: 6px; }
.guarantee-card p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); }
.footer-main { padding: 72px 0; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: 1rem; font-weight: 700; color: var(--accent); margin: 16px 0 8px; }
.footer-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.75; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all var(--transition);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 700; margin-bottom: 18px;
  color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: var(--text-secondary); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-secondary); }
.footer-contact-list svg { color: var(--accent); flex-shrink: 0; }
.footer-contact-list a { color: var(--text-secondary); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-contact-list span { color: var(--text-secondary); }
.footer-bottom { padding: 20px 0; background: var(--bg); border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.8125rem; color: var(--text-muted); }
.footer-ai { display: flex; align-items: center; gap: 4px; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 100px; right: 24px; z-index: 900;
  width: 46px; height: 46px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: all; }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ============================================================
   ASSI CHAT WIDGET
   ============================================================ */
.assi-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assi-toggle {
  width: 62px; height: 62px; background: var(--gradient); border-radius: 50%;
  box-shadow: 0 8px 32px rgba(232, 112, 64, 0.45); display: flex; align-items: center; justify-content: center;
  overflow: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; cursor: pointer; border: none;
}
.assi-toggle:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(232, 112, 64, 0.6); }
.assi-toggle-avatar { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: opacity 0.3s ease; }
.assi-toggle-close { position: absolute; opacity: 0; transition: opacity 0.3s ease; color: #fff; }
.assi-widget.open .assi-toggle-avatar { opacity: 0; }
.assi-widget.open .assi-toggle-close { opacity: 1; }
.assi-bubble {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px 12px 0 12px;
  padding: 10px 16px; font-size: 0.8125rem; font-weight: 500; color: var(--text);
  box-shadow: var(--shadow-card); animation: bubbleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2s both; white-space: nowrap;
}
@keyframes bubbleIn { 0% { opacity: 0; transform: scale(0.8) translateY(10px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
.assi-widget.open .assi-bubble { display: none; }
.assi-panel {
  width: 360px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.65); display: flex; flex-direction: column; max-height: 520px; overflow: hidden;
  transform-origin: bottom right; transform: scale(0.9) translateY(10px); opacity: 0; pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.assi-widget.open .assi-panel { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.assi-panel-header {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light)); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.assi-header-info { display: flex; align-items: center; gap: 12px; }
.assi-header-avatar-wrap { position: relative; }
.assi-header-avatar { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.3); object-fit: cover; }
.assi-online-dot { position: absolute; bottom: 0; right: 0; width: 10px; height: 10px; background: #4ade80; border-radius: 50%; border: 2px solid var(--accent); }
.assi-header-name { display: block; font-size: 0.9375rem; font-weight: 700; color: #fff; }
.assi-header-status { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.8); }
.assi-close {
  width: 30px; height: 30px; background: rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background var(--transition); cursor: pointer; border: none;
}
.assi-close:hover { background: rgba(255,255,255,0.25); }
.assi-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.assi-messages::-webkit-scrollbar { width: 4px; }
.assi-messages::-webkit-scrollbar-track { background: transparent; }
.assi-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.assi-msg { display: flex; gap: 8px; align-items: flex-end; }
.assi-msg-bot { flex-direction: row; }
.assi-msg-user { flex-direction: row-reverse; }
.assi-msg-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.assi-msg-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 0.875rem; line-height: 1.55; }
.assi-msg-bot .assi-msg-bubble { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); border-radius: 4px 16px 16px 16px; }
.assi-msg-user .assi-msg-bubble { background: var(--gradient); color: #fff; border-radius: 16px 4px 16px 16px; }
.assi-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 4px 36px; }
.assi-chip {
  padding: 6px 12px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.75rem; font-weight: 500; color: var(--text-secondary); cursor: pointer;
  transition: all var(--transition); font-family: inherit; display: inline-flex; align-items: center; gap: 5px;
}
.assi-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.assi-typing { display: flex; align-items: flex-end; gap: 8px; padding: 0 16px 8px; }
.assi-typing[hidden] { display: none; }
.assi-typing-dots {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px 16px 16px 16px;
}
.assi-typing-dots span { width: 6px; height: 6px; background: var(--text-muted); border-radius: 50%; animation: typingDot 1.2s ease-in-out infinite; }
.assi-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.assi-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.assi-typing-label { font-size: 0.75rem; color: var(--text-muted); align-self: center; }
.assi-input-area { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); }
.assi-input {
  flex: 1; background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: 20px;
  padding: 10px 16px; color: var(--text); font-size: 0.875rem; resize: none;
  max-height: 80px; overflow-y: auto; transition: border-color var(--transition); line-height: 1.4;
  scrollbar-width: none;
}
.assi-input::-webkit-scrollbar { display: none; }
.assi-input:focus { outline: none; border-color: var(--accent); }
.assi-input::placeholder { color: var(--text-muted); }
.assi-send {
  width: 38px; height: 38px; background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  flex-shrink: 0; transition: all var(--transition); cursor: pointer; border: none;
}
.assi-send:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(232, 112, 64, 0.4); }

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { max-width: 100%; }
  .contact-layout { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .timeline { flex-direction: column; align-items: stretch; gap: 0; }
  .timeline-step { flex-direction: row; text-align: left; gap: 20px; padding: 0 0 32px; align-items: flex-start; }
  .timeline-connector { display: none; }
  .assi-intro-card { flex-direction: column; text-align: center; }
  .assi-intro-card::before { display: none; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 12px; gap: 0; }
  .stat { padding: 12px 8px; }
  .stat-sep { display: none; }
  .stat-num { font-size: 1.625rem; }
  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .review-card { min-width: calc(100vw - 48px); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
  .assi-panel { width: calc(100vw - 48px); }
  .cta-bar { padding: 64px 0; }
  .cta-inner { flex-direction: column; text-align: center; gap: 24px; }
  .back-to-top { bottom: 88px; right: 16px; }
  .faq-q { padding: 20px 22px; font-size: 1rem; }
  .faq-a p { padding: 0 22px 20px; }
  .assi-intro-card { padding: 28px 24px; }
  .assi-intro-avatar { width: 80px; height: 80px; }
  .assi-intro-fallback { width: 80px; height: 80px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .tech-icon-wrap { width: 48px; height: 48px; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .portfolio-thumb { height: 200px; }
  .timeline-step { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { max-width: 100%; }
  .review-card { min-width: calc(100vw - 32px); padding: 24px; }
  .assi-intro-card { padding: 24px 20px; gap: 20px; }
}
