
:root {
  --ink: #0d0d0d;
  --ink2: #1a1a2e;
  --muted: #6b7280;
  --accent: #633fcd;
  --accent-light: #ede9fb;
  --surface: #ffffff;
  --bg: #f8f7f4;
  --border: #e8e4f0;
  --radius: 16px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── NAVBAR ─────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--ink2);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1200px; margin: auto; width: 90%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  padding: 2px 8px;
}
.nav-links {
  display: flex; gap: 36px; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: #cbd5e1;
  position: relative; padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content:''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: #a78bfa;
  transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-logo img {
  filter: drop-shadow(0 0 0px transparent);
  border-radius: 6px;
}
.nav-cta {
  background: var(--accent); color: #fff;
  padding: 10px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── HERO ───────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--ink2);
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(99,63,205,0.22), transparent),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(99,63,205,0.10), transparent);
}
.hero-grid {
  max-width: 1200px; margin: auto; width: 90%;
  display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,63,205,0.18); color: #c4b5f4;
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow span { width: 6px; height: 6px; background: #a78bfa; border-radius: 50%; display: inline-block; }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero h1 em { font-style: italic; color: #c4b5f4; }
.hero-sub {
  color: #94a3b8; font-size: 17px; max-width: 500px;
  line-height: 1.7; margin-bottom: 32px;
}
.hero-rating {
  display: flex; gap: 20px; margin-bottom: 36px;
}
.rating-pill {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; color: #e2e8f0;
}
.rating-pill .stars { color: #fbbf24; font-size: 11px; }
.hero-btns { display: flex; gap: 14px; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(99,63,205,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(99,63,205,0.45); }
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.2); color: #e2e8f0;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.35); }

/* HERO FORM */
.hero-form {
  background: #fff; border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.hero-form h3 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 600;
  margin-bottom: 6px; color: var(--ink);
}
.hero-form p { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.form-field { margin-bottom: 14px; }
.form-field input, .form-field select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9px; font-family: var(--font-body);
  font-size: 14px; color: var(--ink);
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.form-field input:focus, .form-field select:focus {
  outline: none; border-color: var(--accent);
  background: #fff;
}
.form-submit {
  width: 100%; padding: 14px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 9px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  cursor: pointer; margin-top: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.form-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.form-divider { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0; }
.form-contact-row { display: flex; gap: 10px; }
.form-contact-row a {
  flex: 1; padding: 11px; border-radius: 8px;
  font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: opacity 0.2s;
}
.form-contact-row a:hover { opacity: 0.85; }
.form-call { background: var(--ink2); color: #fff; }
.form-wa { background: #25d366; color: #fff; }

.popup-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 8, 19, 0.72);
  backdrop-filter: blur(8px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-card {
  width: min(440px, 100%);
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}

.popup-form-wrap {
  position: relative;
  padding: 42px 32px 32px;
  background: #fcfbff;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #efe9ff;
  color: var(--accent);
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.popup-close:hover {
  transform: rotate(90deg);
  opacity: 0.9;
}

.popup-form-wrap .hero-form {
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.popup-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.thanks-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 8, 19, 0.78);
  backdrop-filter: blur(8px);
  z-index: 3100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.thanks-overlay.active {
  opacity: 1;
  visibility: visible;
}

.thanks-card {
  width: min(440px, 100%);
  padding: 42px 32px;
  text-align: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.thanks-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #ede9fb, #fff2df);
  color: var(--accent);
  font-size: 34px;
}

.thanks-card h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 34px;
  color: var(--ink);
}

.thanks-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ── STATS ──────────────────────────────── */
.stats { background: var(--surface); padding: 60px 0; border-bottom: 1px solid var(--border); }
.stats-grid {
  max-width: 1200px; margin: auto; width: 90%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 20px 10px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: 52px; font-weight: 900;
  color: var(--accent); line-height: 1;
  display: block;
}
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── ABOUT ──────────────────────────────── */
.about { padding: 100px 0; }
.about-inner {
  max-width: 1200px; margin: auto; width: 90%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-img { position: relative; }
.about-img img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent); color: #fff;
  padding: 18px 24px; border-radius: 12px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(99,63,205,0.35);
}
.about-badge strong { font-family: var(--font-head); font-size: 28px; font-weight: 900; display: block; }
.about-badge span { font-size: 12px; opacity: 0.85; }
.section-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px; display: block;
}
.section-h {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900; line-height: 1;
  color: var(--ink);
}
.about-text { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.about-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.feat-row { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.feat-row i { color: var(--accent); font-size: 16px; }

/* ── SERVICES ───────────────────────────── */
.services { background: var(--surface); padding: 100px 0; }
.section-head {
  max-width: 1200px; margin: auto; width: 90%;
  margin-bottom: 56px;
}
.section-head p { color: var(--muted); max-width: 520px; }
.services-grid {
  max-width: 1200px; margin: auto; width: 90%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.svc-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  background: var(--bg);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(99,63,205,0.1);
  background: #fff;
}
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.svc-icon i { font-size: 20px; color: var(--accent); }
.svc-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* PORTFOLIO */
.portfolio {
  padding: 100px 0;
  background: linear-gradient(180deg, #fbfaf7 0%, #f6f4ef 100%);
}
.portfolio-shell {
  max-width: 1200px; margin: auto; width: 90%;
}
.portfolio-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}
.portfolio-top > div:first-child {
  max-width: 700px;
}
.portfolio-top p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 8px;
}
.portfolio-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.portfolio-summary-card {
  min-width: 160px;
  padding: 18px 20px;
  border: 1px solid rgba(99,63,205,0.12);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 44px rgba(99,63,205,0.07);
}
.portfolio-summary-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--accent);
}
.portfolio-summary-card span {
  font-size: 13px;
  color: var(--muted);
}
.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.portfolio-filter-btn {
  border: 1px solid #ddd8e7;
  background: rgba(255,255,255,0.9);
  color: #334155;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.portfolio-filter-btn:hover {
  transform: translateY(-1px);
  border-color: #b8aed4;
}
.portfolio-filter-btn.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 8px 20px rgba(17,24,39,0.14);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-grid.portfolio-scroll-mode {
  display: flex;
  gap: 24px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.portfolio-grid.portfolio-scroll-mode::-webkit-scrollbar {
  display: none;
}
.portfolio-grid.portfolio-scroll-mode .portfolio-card[data-category="website"] {
  flex: 0 0 360px;
  width: 360px;
}
.portfolio-grid.portfolio-scroll-mode .portfolio-card[data-category="app"] {
  flex: 0 0 250px;
  width: 250px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #e5dfed;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: #cfc4df;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-card[data-category="app"] {
  background: transparent;
  border: none;
  box-shadow: none;
}
.portfolio-card[data-category="app"]:hover {
  border: none;
  box-shadow: none;
}
.portfolio-card-head {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.72) 54%, rgba(15,23,42,0.96) 100%);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.portfolio-card:hover .portfolio-card-head {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
}
.portfolio-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 420px;
}
.portfolio-shot {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  background: #eef1f6;
}
.portfolio-card[data-category="app"] .portfolio-shot {
  min-height: auto;
  background: transparent;
}
.portfolio-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,18,0.02) 0%, rgba(10,10,18,0.12) 45%, rgba(10,10,18,0.24) 90%);
  pointer-events: none;
}
.portfolio-browser {
  padding: 3px;
}
.portfolio-browser-inner {
  height: 280px;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8e4ef;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
.portfolio-browser-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0 0;
}
.portfolio-mobile img {
  width: min(220px, 100%);
  aspect-ratio: 9 / 18.5;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  border: 8px solid #111318;
  box-shadow:
    0 20px 44px rgba(15, 23, 42, 0.26),
    0 0 0 1px rgba(255,255,255,0.08);
  transform: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover .portfolio-mobile img {
  transform: translateY(-4px);
  box-shadow:
    0 26px 54px rgba(15, 23, 42, 0.3),
    0 0 0 1px rgba(255,255,255,0.1);
}

/* ── PROCESS ────────────────────────────── */
.process { padding: 100px 0; background: var(--bg); }
.process-inner { max-width: 1200px; margin: auto; width: 90%; }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 56px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 32px; left: 12.5%; right: 12.5%;
  height: 1.5px; background: var(--border);
  z-index: 0;
}
.proc-step { text-align: center; position: relative; padding: 0 16px; }
.proc-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-head);
  font-size: 22px; font-weight: 900; color: var(--accent);
  position: relative; z-index: 1;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.proc-step:hover .proc-num {
  background: var(--accent); color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(99,63,205,0.3);
}
.proc-step h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.proc-step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── TESTIMONIALS ───────────────────────── */
.testimonials { background: var(--ink2); padding: 100px 0; overflow: hidden; }
.testimonials .section-tag { color: #a78bfa; }
.testimonials .section-h { color: #fff; }
.test-scroll-wrap { overflow: hidden; margin-top: 50px; }
.test-track {
  display: flex; gap: 24px;
  animation: scrollTest 30s linear infinite;
  width: max-content;
}
.test-track:hover { animation-play-state: paused; }
@keyframes scrollTest {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.test-card {
  min-width: 320px; max-width: 320px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px;
}
.test-stars { color: #fbbf24; font-size: 13px; margin-bottom: 14px; }
.test-card p { font-size: 15px; color: #cbd5e1; line-height: 1.7; margin-bottom: 20px; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-light); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 900; font-size: 18px; color: var(--accent);
}
.test-author-info strong { font-size: 14px; color: #f1f5f9; display: block; }
.test-author-info span { font-size: 13px; color: #64748b; }

/* ── BRANDS ─────────────────────────────── */
.brands { background: var(--surface); padding: 60px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-label { text-align: center; font-size: 13px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 36px; }
.brand-track {
  display: flex; gap: 60px; align-items: center;
  animation: scrollBrands 20s linear infinite;
  width: max-content;
}
.brand-item { min-width: 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.brand-item img { height: 60px; object-fit: contain; display: block; filter: grayscale(100%) opacity(0.5); transition: 0.3s; }
.brand-item img:hover { filter: none; }
.brand-name { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 600; }
@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TEAM ───────────────────────────────── */
.team { padding: 100px 0; background: var(--bg); }
.team-grid {
  max-width: 1000px; margin: auto; width: 90%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 50px;
}
.team-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1.5px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
  justify-content: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.team-top {
  background: var(--accent-light);
  padding: 28px 28px 0;
  display: flex;
  justify-content: center;
}
.team-top img {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}
.team-body { padding: 16px 20px 22px; }
.team-body h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--accent); font-weight: 500; }

/* ── FAQ ────────────────────────────────── */
.faq { background: var(--surface); padding: 100px 0; }
.faq-inner { max-width: 780px; margin: auto; width: 90%; }
.faq-list { margin-top: 48px; }
.faq-item {
  border-bottom: 1.5px solid var(--border);
}
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600; color: var(--ink);
  text-align: left; gap: 16px;
}
.faq-q .faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-a-inner { padding-bottom: 20px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 300px; }

/* ── CTA ────────────────────────────────── */
.cta-section {
  background: var(--accent); padding: 90px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255,255,255,0.12), transparent);
}
.cta-section h2 {
  font-family: var(--font-head); font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; color: #fff; position: relative;
  margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,0.75); font-size: 17px; margin-bottom: 36px; position: relative; }
.cta-btns { display: flex; gap: 14px; justify-content: center; position: relative; }
.btn-white {
  background: #fff; color: var(--accent);
  padding: 15px 32px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.5); color: #fff;
  padding: 15px 32px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* ── FOOTER ─────────────────────────────── */
footer {
  background: #08080f;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,63,205,0.12), transparent 70%);
  pointer-events: none;
}
.footer-inner {
  max-width: 1200px; margin: auto; width: 90%;
  position: relative; z-index: 1;
}

/* Big CTA strip at top of footer */
.footer-cta-strip {
  padding: 70px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.footer-cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  max-width: 500px;
}
.footer-cta-strip h2 em {
  font-style: italic;
  color: #a78bfa;
}
.footer-cta-btns { display: flex; gap: 12px; flex-shrink: 0; }
.footer-cta-btns a {
  padding: 13px 26px; border-radius: 9px;
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, opacity 0.2s;
}
.footer-cta-btns a:hover { transform: translateY(-2px); opacity: 0.88; }
.fcta-call { background: var(--accent); color: #fff; }
.fcta-wa { background: #25d366; color: #fff; }

/* Main footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-col .footer-logo img {
  height: 38px; width: auto; object-fit: contain;
 border-radius: 6px; padding: 3px 8px;
  display: block; margin-bottom: 20px;
}
.footer-brand-col p {
  font-size: 14px; line-height: 1.8; color: #8196b3;
  max-width: 260px;
}
.footer-social {
  display: flex; gap: 10px; margin-top: 22px;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #64748b; font-size: 15px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #fff;
  margin-bottom: 20px; display: block;
}
.footer-link-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-link-list li a {
  font-size: 14px; color: #8196b3;
  transition: color 0.2s; display: flex; align-items: center; gap: 6px;
}
.footer-link-list li a::before {
  content: '→';
  font-size: 11px; color: #633fcd;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-link-list li a:hover { color: #e2e8f0; }
.footer-link-list li a:hover::before { opacity: 1; transform: translateX(0); }

/* ── FOOTER CONTACT (fixed) ─────────────── */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(99,63,205,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #a78bfa;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-text {
  font-size: 13px;
  color: #8196b3;
  line-height: 1.6;
}
.footer-contact-text strong {
  color: #94a3b8;
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.footer-contact-text a {
  color: #a78bfa;
  transition: color 0.2s;
}
.footer-contact-text a:hover {
  color: #c4b5f4;
}

/* Bottom bar */
.footer-bar {
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bar p { font-size: 12px; color: #2d3748; }
.footer-bar-right { display: flex; gap: 20px; }
.footer-bar-right a { font-size: 12px; color: #2d3748; transition: color 0.2s; }
.footer-bar-right a:hover { color: #a78bfa; }

/* Responsive footer */
@media (max-width: 900px) {
  .footer-cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bar { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cta-btns { flex-direction: column; width: 100%; }
  .footer-cta-btns a { justify-content: center; }
}

/* ── FLOATING BTNS ──────────────────────── */
.floating-buttons {
  position: fixed; right: 20px; bottom: 24px;
  display: flex; flex-direction: column; gap: 12px; z-index: 9999;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transition: transform 0.25s, box-shadow 0.25s;
}
.float-btn:hover { transform: scale(1.1) translateY(-2px); }
.call-btn { background: var(--accent); }
.whatsapp-btn { background: #25d366; }

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-form { display: none; }
  .popup-card { max-height: calc(100vh - 40px); overflow-y: auto; }
  .about-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-top { align-items: flex-start; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio { padding: 80px 0; }
  .portfolio-summary { grid-template-columns: 1fr; }
  .portfolio-filter-bar { gap: 10px; }
  .portfolio-filter-btn { width: 100%; justify-content: center; }
  .portfolio-card { border-radius: 12px; }
  .portfolio-card-head { opacity: 1; transform: translateY(0); padding: 14px 12px 12px; }
  .portfolio-shot { min-height: 240px; }
  .portfolio-browser-inner { height: 190px; }
  .portfolio-mobile img { width: min(180px, 92%); }
  .hero-btns { flex-direction: column; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; }
  .popup-overlay { padding: 14px; }
  .popup-form-wrap, .thanks-card { padding: 28px 20px; }
}
