/* ===== VARIABLES ===== */
:root {
  --dark:        #07112a;
  --dark-2:      #0d1e3a;
  --dark-3:      #162847;
  --blue:        #1a5fa8;
  --blue-bright: #3b82f6;
  --cyan:        #06b6d4;
  --bg:          #f6f7fb;
  --bg-alt:      #ffffff;
  --text:        #4a4d52;
  --text-muted:  #838791;
  --heading:     #0d0f14;
  --border:      #e4e6ed;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-full: 999px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.09);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.13);
  --shadow-blue: 0 8px 32px rgba(59,130,246,0.35);
  --t:           0.25s ease;
  --max-w:       1180px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; box-sizing: border-box; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Space Grotesk", "Poppins", sans-serif; color: var(--heading); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.flex         { display: flex; }
.container    { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section      { padding: 6rem 0; }
.section-tag  {
  display: inline-block;
  background: rgba(59,130,246,0.1);
  color: var(--blue-bright);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(59,130,246,0.2);
}
.section-tag.light {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; margin: 0.65rem 0 1rem; }
.section-header p { color: var(--text-muted); font-size: 1rem; }
.light-heading { color: var(--white) !important; }
.light-text    { color: rgba(255,255,255,0.65) !important; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-inline {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATE IN ===== */
.animate-in { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--t); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-glow {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(59,130,246,0.4);
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(6,182,212,0.45); }
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-lg  { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
/* Transparent over dark hero */
.nav {
  padding: 0 1.5rem;
  background: transparent;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.header.scrolled .nav {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

/* Logo: light version for dark hero, dark version when scrolled */
.logo-light { display: block; }
.logo-dark  { display: none; filter: none; }
.header.scrolled .logo-light { display: none; }
.header.scrolled .logo-dark  { display: block; }

.nav .img-container { display: flex; align-items: center; }
.nav .img-container img { width: 10.7rem; height: 3.1rem; object-fit: contain; }

.nav-links { gap: 0.2rem; align-items: center; }
.nav-links li a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: color var(--t), background var(--t);
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.header.scrolled .nav-links li a { color: var(--text); }
.header.scrolled .nav-links li a:hover { color: var(--blue); background: rgba(59,130,246,0.07); }

.nav-right { align-items: center; gap: 0.75rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 38px; height: 38px;
  background: transparent; padding: 6px; border-radius: var(--radius-sm);
}
.hamburger span { display: block; height: 2px; background: white; border-radius: 2px; transition: all var(--t); }
.header.scrolled .hamburger span { background: var(--blue); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -100px; left: -100px;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 5rem 1.5rem 6rem;
  align-items: center; gap: 3.5rem;
  position: relative; z-index: 1;
}
.hero-content { flex: 1; max-width: 560px; }

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(59,130,246,0.12);
  color: var(--blue-bright);
  border: 1px solid rgba(59,130,246,0.25);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 1rem; border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 4px #22c55e; }
  50% { box-shadow: 0 0 10px #22c55e; }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.25rem;
  max-width: 470px;
  line-height: 1.7;
}
.hero-actions { gap: 1rem; flex-wrap: wrap; }

/* Code Editor */
.hero-visual { flex: 1; position: relative; max-width: 520px; height: 400px; }
.hero-code-editor {
  width: 100%; height: 100%;
  background: #0d1117;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(59,130,246,0.15);
  overflow: hidden;
  font-family: 'Courier New', 'Consolas', monospace;
}
.editor-titlebar {
  background: #161b22;
  padding: 0.65rem 1rem;
  align-items: center; gap: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.editor-dots { gap: 0.4rem; }
.ed-dot { width: 12px; height: 12px; border-radius: 50%; display: block; }
.ed-dot.red    { background: #ff5f57; }
.ed-dot.yellow { background: #ffbd2e; }
.ed-dot.green  { background: #28c940; }
.editor-filename { font-size: 0.78rem; color: rgba(255,255,255,0.5); flex: 1; text-align: center; font-family: inherit; }
.editor-lang { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.editor-body { padding: 1.25rem 1.25rem 1.25rem 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.code-line { display: flex; align-items: baseline; gap: 0.75rem; font-size: 0.82rem; line-height: 1.6; }
.code-line.blank { height: 0.8rem; }
.ln { color: rgba(255,255,255,0.2); font-size: 0.72rem; min-width: 18px; text-align: right; user-select: none; }
.c-indent { padding-left: 1.5rem; }
.c-comment { color: #6a737d; }
.c-keyword { color: #ff7b72; }
.c-var { color: #d2a8ff; }
.c-key { color: #79c0ff; }
.c-string { color: #a5d6ff; }
.c-num { color: #f2cc60; }
.c-op { color: #ff7b72; margin: 0 0.2rem; }
.c-brace { color: rgba(255,255,255,0.7); }
.c-punct { color: rgba(255,255,255,0.4); }
.cursor { color: var(--blue-bright); font-weight: 100; }

/* Floating metric cards */
.hero-metric {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  display: flex; align-items: center; gap: 0.75rem;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.m1 { top: -16px; right: -20px; animation: float 4s ease-in-out infinite; }
.m2 { bottom: 20px; left: -30px; animation: float 4s ease-in-out infinite 1.8s; }
.metric-icon {
  width: 36px; height: 36px;
  background: rgba(59,130,246,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright);
}
.metric-icon.green { background: rgba(34,197,94,0.2); color: #22c55e; }
.metric-icon svg { width: 17px; height: 17px; }
.hero-metric .metric-val { display: block; font-size: 1.2rem; font-weight: 700; color: white; line-height: 1; }
.hero-metric .metric-label { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ===== TICKER ===== */
.ticker {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 1.5rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track span {
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}
.ticker-track span.sep { color: rgba(255,255,255,0.2); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== STATS ===== */
.stats { background: var(--bg-alt); padding: 3.5rem 0; }
.stats-grid {
  display: flex; align-items: stretch; justify-content: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item { text-align: center; padding: 1rem 3rem; max-width: 220px; }
.stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(59,130,246,0.08);
  border-radius: var(--radius-sm);
  margin: 0 auto 0.85rem;
  color: var(--blue-bright);
}
.stat-icon svg { width: 20px; height: 20px; }
.stat-divider { width: 1px; background: var(--border); margin: 1rem 0; }
.stat-number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-plus { color: var(--blue-bright); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; line-height: 1.5; }

/* ===== SERVICES ===== */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.04), rgba(6,182,212,0.04));
  opacity: 0;
  transition: opacity var(--t);
}
.service-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-bright), var(--cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(59,130,246,0.2); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: scaleY(1); }

.service-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue-bright);
  border: 1px solid rgba(59,130,246,0.15);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.service-card p  { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.65; }
.service-link {
  font-size: 0.85rem; font-weight: 600;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap var(--t), color var(--t);
}
.service-link:hover { color: var(--blue-bright); gap: 0.5rem; }

/* ===== PORTFOLIO ===== */
.work { background: var(--bg-alt); }
.work-filters { gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.83rem; font-weight: 500;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all var(--t);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: 0 4px 12px rgba(7,17,42,0.2);
}
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.work-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t), opacity var(--t);
  cursor: pointer;
}
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.work-img {
  height: 200px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.work-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
  backdrop-filter: blur(2px);
}
.work-card:hover .work-overlay { opacity: 1; }
.overlay-label {
  color: white; font-size: 0.9rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
}
.work-mockup {
  background: rgba(255,255,255,0.1);
  border-radius: 8px; width: 100%;
  padding: 0.6rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  border: 1px solid rgba(255,255,255,0.15);
}
.wm-nav  { height: 14px; background: rgba(255,255,255,0.3); border-radius: 4px; }
.wm-hero { height: 50px; background: rgba(255,255,255,0.18); border-radius: 4px; }
.wm-row  { gap: 0.4rem; }
.wm-block { flex: 1; height: 24px; background: rgba(255,255,255,0.13); border-radius: 4px; }
.wm-block.wide { flex: 2; }
.wm-logo-preview { display: flex; align-items: center; gap: 0.75rem; }
.wm-logo-circle { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.25); border: 3px solid rgba(255,255,255,0.45); }
.wm-logo-lines { display: flex; flex-direction: column; gap: 8px; }
.wm-logo-lines div:first-child { width: 90px; height: 12px; background: rgba(255,255,255,0.4); border-radius: 4px; }
.wm-logo-lines div:last-child  { width: 60px; height: 8px;  background: rgba(255,255,255,0.22); border-radius: 4px; }
.work-info { padding: 1.25rem 1.5rem 1.5rem; }
.work-tag {
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue-bright);
  background: rgba(59,130,246,0.1);
  padding: 0.2rem 0.6rem; border-radius: var(--radius-full);
  margin-bottom: 0.6rem; display: inline-block;
  border: 1px solid rgba(59,130,246,0.15);
}
.work-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.work-info p  { font-size: 0.83rem; color: var(--text-muted); }

/* Coming soon cards */
.work-grid-3 { grid-template-columns: repeat(3, 1fr); }
.work-card.coming-soon { opacity: 0.85; }
.work-card.coming-soon:hover { opacity: 1; }
.soon-content {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; height: 100%;
}
.soon-icon { color: rgba(255,255,255,0.5); }
.soon-icon svg { width: 40px; height: 40px; }
.soon-label {
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 0.9rem; border-radius: var(--radius-full);
}

/* ===== PROCESS (dark) ===== */
.process {
  background: var(--dark);
  position: relative; overflow: hidden;
}
.process-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  right: -100px; top: -100px;
  pointer-events: none;
}
.process-steps {
  display: flex; align-items: flex-start; gap: 0;
  flex-wrap: nowrap; overflow-x: auto;
  padding-bottom: 0.5rem; position: relative; z-index: 1;
}
.process-step {
  flex: 1; min-width: 200px;
  text-align: center; padding: 0 1rem;
}
.step-number {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  color: var(--white);
  font-size: 1rem; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
  font-family: "Space Grotesk", sans-serif;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.step-content p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.process-connector {
  flex-shrink: 0; width: 60px; height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.5), rgba(6,182,212,0.5));
  margin-top: 29px;
}

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); }
.about-inner { gap: 4.5rem; align-items: center; }

.about-visual { flex: 1; position: relative; min-height: 400px; }
.about-main-card {
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 1.25rem;
  height: 100%; min-height: 340px; justify-content: center;
}
.about-card-icon svg { width: 72px; height: 72px; opacity: 0.7; }
.about-main-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.about-card-avatars { gap: -6px; justify-content: center; gap: 0; }
.av {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.8rem;
  border: 2px solid var(--dark);
  margin-left: -8px;
}
.av.plus { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); font-size: 0.72rem; }
.av:first-child { margin-left: 0; }

.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem;
  border: 1px solid var(--border);
}
.badge-icon { display: flex; }
.badge-icon svg { width: 28px; height: 28px; flex-shrink: 0; }
.badge-text { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; line-height: 1.5; }

.about-badge-2 {
  position: absolute; top: 20px; right: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.65rem;
  border: 1px solid var(--border);
}
.about-badge-2 svg { width: 22px; height: 22px; flex-shrink: 0; }
.about-badge-2 strong { display: block; font-size: 0.82rem; color: var(--heading); }
.about-badge-2 span  { font-size: 0.72rem; color: var(--text-muted); }

.about-content { flex: 1; }
.about-content .section-tag { margin-bottom: 0.75rem; }
.about-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 1.25rem; }
.about-content p  { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.about-list { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-list li {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.9rem; font-weight: 500; color: var(--heading);
}
.about-list li svg { width: 20px; height: 20px; color: var(--blue-bright); flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-card.featured {
  background: linear-gradient(135deg, var(--dark), var(--dark-3));
  border-color: rgba(59,130,246,0.25);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.testimonial-card.featured p,
.testimonial-card.featured .quote-icon { color: rgba(255,255,255,0.8); }
.testimonial-card.featured .client strong { color: white; }
.testimonial-card.featured .client span { color: rgba(255,255,255,0.5); }
.quote-icon { color: var(--blue-bright); opacity: 0.3; }
.quote-icon svg { width: 28px; height: 28px; }
.testimonial-card > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; flex: 1; }
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 0.95rem; }
.client { align-items: center; gap: 0.85rem; }
.client-avatar {
  width: 42px; height: 42px;
  background: var(--av, var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.client strong { display: block; font-size: 0.88rem; color: var(--heading); }
.client span   { font-size: 0.77rem; color: var(--text-muted); }

/* ===== CONTACT (dark) ===== */
.contact { background: var(--dark); position: relative; overflow: hidden; }
.contact-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.15) 0%, transparent 70%);
  left: -100px; bottom: -100px; pointer-events: none;
}
.contact-inner { gap: 4rem; align-items: flex-start; position: relative; z-index: 1; }
.contact-content { flex: 1; padding-top: 0.5rem; }
.contact-content h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: white; margin: 0.75rem 0 1rem; }
.contact-content p  { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.7; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { align-items: center; gap: 1rem; color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.contact-item a { color: rgba(255,255,255,0.8); transition: color var(--t); }
.contact-item a:hover { color: var(--blue-bright); }
.contact-icon {
  width: 40px; height: 40px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright); flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

/* Contact Form */
.contact-form {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.contact-form h3 { font-size: 1.15rem; font-weight: 700; color: var(--heading); margin-bottom: -0.25rem; }
.form-row { gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--heading); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--heading);
  background: var(--bg);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-bright);
  background: white;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-result { font-size: 0.82rem; text-align: center; min-height: 1.2rem; }

/* work-card as <a> tag */
a.work-card { display: block; color: inherit; }

/* ===== FOOTER ===== */
.footer { background: #040b18; color: rgba(255,255,255,0.6); }
.footer-inner { padding: 4.5rem 1.5rem 2rem; }
.footer-top { flex-wrap: wrap; gap: 2.5rem; margin-bottom: 3rem; align-items: flex-start; }
.footer-brand { flex: 2; min-width: 220px; }
.footer-logo { width: 10rem; height: 2.8rem; object-fit: contain; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.7; }
.footer-brand p { font-size: 0.87rem; max-width: 280px; line-height: 1.7; margin-bottom: 1.5rem; }
.socials { gap: 0.65rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all var(--t);
}
.social-link:hover { background: rgba(59,130,246,0.2); color: var(--blue-bright); border-color: rgba(59,130,246,0.3); }
.social-link svg { width: 17px; height: 17px; }
.footer-links-group { min-width: 140px; }
.footer-links-group h4 { color: white; font-size: 0.88rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links-group a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-links-group a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid     { grid-template-columns: repeat(2, 1fr); }
  .about-inner   { gap: 2.5rem; }
  .about-badge-2 { right: 0; }
  .stat-item     { padding: 1rem 2rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  /* Nav */
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: white;
    flex-direction: column; padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform var(--t), opacity var(--t);
    z-index: 99; opacity: 0; pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li a { display: block; padding: 0.65rem 0.75rem; color: var(--text) !important; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner { flex-direction: column; padding: 3.5rem 1.5rem 4rem; min-height: auto; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { width: 100%; max-width: 400px; margin: 0 auto; height: 300px; }
  .m1, .m2 { display: none; }

  /* Stats */
  .stats-grid { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat-item { flex: 1; min-width: 140px; padding: 1rem; }

  /* Services / Work */
  .services-grid { grid-template-columns: 1fr; }
  .work-grid     { grid-template-columns: 1fr; }

  /* Process */
  .process-steps    { flex-direction: column; align-items: center; }
  .process-step     { min-width: auto; width: 100%; max-width: 380px; padding: 0; }
  .process-connector { width: 1px; height: 36px; background: rgba(59,130,246,0.4); margin: 0 auto; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card.featured { transform: none; }

  /* About */
  .about-inner   { flex-direction: column; }
  .about-visual  { width: 100%; min-height: 260px; }
  .about-badge   { bottom: -16px; right: 0; }
  .about-badge-2 { top: -16px; right: 0; }

  /* Contact */
  .contact-inner { flex-direction: column; }
  .form-row { flex-direction: column; }

  /* Footer */
  .footer-brand  { min-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.1rem; }
  .contact-form { padding: 1.75rem; }
  .editor-body { padding: 0.75rem; }
  .code-line { font-size: 0.72rem; }
}
