/* ===================== Reset & base ===================== */
:root {
  --ink: #0B1220;
  --ink-soft: #334155;
  --muted: #64748B;
  --paper: #F7F8FB;
  --surface: #FFFFFF;
  --border: #E6E9F0;
  --accent: #4338CA;
  --accent-dark: #3730A3;
  --accent-soft: #EEF2FF;
  --mint: #10B981;
  --navy: #0B1220;
  --navy-deep: #070B14;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  margin: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 15px 26px;
  box-shadow: 0 8px 24px rgba(67, 56, 202, .45);
}
.btn-primary.small { padding: 12px 22px; box-shadow: none; }
.btn-ghost-dark {
  background: transparent;
  color: #E2E8F0;
  padding: 15px 26px;
  border: 1px solid rgba(226, 232, 240, .3);
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.section-head h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-head p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; }

/* ===================== Header ===================== */
.site-header {
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.site-header .inner {
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #6366F1);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-mark span { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: var(--ink); }
.brand-text small { font-size: 11px; color: #8B93A3; letter-spacing: .03em; }

.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  width: 100%;
  background: var(--navy);
  overflow: hidden;
}
.hero-glow-1, .hero-glow-2 { position: absolute; border-radius: 50%; filter: blur(10px); }
.hero-glow-1 { top: -180px; right: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(99,102,241,.35), transparent 70%); }
.hero-glow-2 { bottom: -220px; left: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 70%); }
.hero .inner {
  padding: 96px 32px 110px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: rgba(99,102,241,.14); border: 1px solid rgba(99,102,241,.35);
  border-radius: 999px; padding: 7px 16px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #818CF8; }
.hero-badge span.label { color: #C7D2FE; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.hero-copy h1 { color: #F8FAFC; font-size: 50px; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.hero-copy p.lead { color: #A6AEC2; font-size: 18px; line-height: 1.65; max-width: 560px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-trust { color: #6B7589; font-size: 13px; margin: 10px 0 0; }

.hero-visual { flex: 1 1 420px; min-width: 320px; position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.browser-card { position: relative; width: 420px; height: 300px; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.45); overflow: hidden; }
.browser-bar { height: 38px; background: #F1F2F6; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; }
.browser-bar span:nth-child(1) { background: #F87171; }
.browser-bar span:nth-child(2) { background: #FBBF24; }
.browser-bar span:nth-child(3) { background: #34D399; }
.browser-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.skeleton-row { display: flex; gap: 10px; }
.skeleton-thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--accent-soft); flex: none; }
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.skeleton-line { height: 9px; border-radius: 5px; background: var(--border); }
.skeleton-divider { height: 1px; background: #EEF0F4; margin: 2px 0; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.skeleton-tile { height: 48px; border-radius: 8px; background: #F5F6F9; }
.skeleton-tile.alt { background: var(--accent-soft); }

.phone-card {
  position: absolute; bottom: -24px; left: 0; width: 148px; height: 230px;
  background: #0F172A; border-radius: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.5);
  padding: 10px; border: 1px solid rgba(255,255,255,.08);
}
.phone-card .screen { width: 100%; height: 100%; border-radius: 14px; background: #111827; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.phone-card .screen .bar { height: 7px; border-radius: 4px; background: #2A3344; width: 50%; }
.phone-card .screen .cta { height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #6366F1); margin-top: 6px; }
.phone-card .screen .row { height: 28px; border-radius: 9px; background: #1F2733; }

/* ===================== Stats ===================== */
.stats { width: 100%; background: var(--surface); border-bottom: 1px solid var(--border); }
.stats .inner { padding: 40px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; text-align: center; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 34px; font-weight: 700; color: var(--ink); }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ===================== Services ===================== */
.services { width: 100%; background: var(--paper); }
.services .inner { padding: 96px 32px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 30px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.service-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.service-card h3 { font-size: 18px; font-weight: 600; }
.service-card p, .process-step p, .portfolio-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ===================== Process ===================== */
.process { width: 100%; background: var(--surface); }
.process .inner { padding: 96px 32px; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.process-step { display: flex; flex-direction: column; gap: 10px; }
.process-step .number { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #D8DCE8; }
.process-step h3 { font-size: 17px; font-weight: 600; }

/* ===================== Portfolio ===================== */
.portfolio { width: 100%; background: var(--paper); }
.portfolio .inner { padding: 96px 32px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.portfolio-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.portfolio-thumb { height: 160px; display: flex; align-items: center; justify-content: center; }
.portfolio-thumb .shape-wide { width: 120px; height: 78px; background: rgba(255,255,255,.12); border-radius: 8px; border: 1px solid rgba(255,255,255,.25); }
.portfolio-thumb .shape-tall { width: 70px; height: 110px; background: rgba(255,255,255,.12); border-radius: 14px; border: 1px solid rgba(255,255,255,.25); }
.portfolio-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.portfolio-category { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.portfolio-card h3 { font-size: 17px; font-weight: 600; }

/* ===================== Why us + testimonials ===================== */
.about { width: 100%; background: var(--surface); }
.about .inner { padding: 96px 32px; display: flex; gap: 64px; flex-wrap: wrap; }
.about-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about-col h2 { font-size: 30px; font-weight: 700; letter-spacing: -.01em; max-width: 420px; }
.reason-list { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.reason-item { display: flex; gap: 14px; align-items: flex-start; }
.reason-check {
  width: 28px; height: 28px; border-radius: 8px; background: #ECFDF5;
  display: flex; align-items: center; justify-content: center; flex: none;
  color: var(--mint); margin-top: 1px;
}
.reason-item h3 { font-size: 15.5px; font-weight: 600; margin: 0; }
.reason-item p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 4px 0 0; }

.testimonial-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.testimonial-card { background: var(--paper); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.testimonial-card .quote-mark { font-family: 'Space Grotesk', sans-serif; font-size: 28px; color: var(--accent); line-height: 1; }
.testimonial-card p.quote { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; margin: 0; }
.testimonial-person { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--border); flex: none; }
.testimonial-person .name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-person .role { font-size: 12.5px; color: var(--muted); }

/* ===================== CTA ===================== */
.cta { width: 100%; background: var(--navy); }
.cta .inner { max-width: 900px; margin: 0 auto; padding: 80px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta h2 { color: #F8FAFC; font-size: 32px; font-weight: 700; letter-spacing: -.01em; }
.cta p { color: #A6AEC2; font-size: 16px; line-height: 1.6; max-width: 520px; margin: 0; }

/* ===================== Footer ===================== */
.site-footer { width: 100%; background: var(--navy-deep); }
.footer-cols { max-width: 1200px; margin: 0 auto; padding: 72px 32px 32px; display: flex; gap: 48px; flex-wrap: wrap; }
.footer-brand { flex: 1 1 280px; min-width: 240px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .row { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--accent), #6366F1); display: flex; align-items: center; justify-content: center; flex: none; }
.footer-brand .mark span { color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; }
.footer-brand strong { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: #F1F2F6; }
.footer-brand p { color: #808AA0; font-size: 14px; line-height: 1.6; margin: 0; max-width: 280px; }
.footer-col { flex: 1 1 160px; min-width: 160px; display: flex; flex-direction: column; gap: 12px; }
.footer-col.contact { flex: 1 1 220px; min-width: 220px; }
.footer-col .heading { color: #F1F2F6; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.footer-col a, .footer-col span { color: #808AA0; font-size: 14px; }
.contact-line { display: flex; align-items: flex-start; gap: 9px; }
.contact-line svg { flex: none; margin-top: 2px; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 22px 32px; border-top: 1px solid #1A2130; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span, .footer-bottom a { color: #5B6477; font-size: 13px; }
.footer-social { display: flex; gap: 18px; }
