/* Snabbast Software Solutions — Light & playful theme */
:root {
  --bg: #F6F5F3;
  --surface: #FFFFFF;
  --ink: #2E2E2E;
  --ink-2: #4A4A4A;
  --muted: #5C5C5C;
  --line: #E2DFDA;
  --orange: #FBB040;
  --coral: #F25C7A;
  --blue: #3678F2;
  --purple: #6A3FD0;
  --tint-orange: #FDE7C4;
  --tint-coral: #FCD9E0;
  --tint-blue: #D7E4FC;
  --tint-purple: #E4DCF6;
  --radius: 24px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Decorative bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble { position: absolute; border-radius: 50%; }
.page { position: relative; z-index: 1; }

/* Header */
.site-header { position: relative; z-index: 10; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand-name { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-name strong { font-size: 21px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.brand-name small { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--purple); }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 12px; width: 48px; height: 48px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 15px 28px; border-radius: 999px; border: 2px solid var(--ink); transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 11px 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero { padding: 88px 0 112px; max-width: 840px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; margin: 24px 0; letter-spacing: -0.02em; line-height: 1.05; }
.hero p.lead { font-size: 20px; color: var(--ink-2); margin: 0 0 40px; max-width: 640px; }
.page-hero { padding: 64px 0 72px; max-width: 820px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 18px 0; }
.page-hero p { font-size: 19px; color: var(--ink-2); margin: 0; }

/* Facts */
.facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 56px; }
.fact strong { display: block; font-family: var(--font-display); font-size: 30px; }
.fact span { color: var(--muted); }

/* Sections */
.section { padding: 0 0 112px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 36px; }
.section-head h2, .section h2 { font-size: clamp(30px, 3.5vw, 40px); margin: 0; }
.section-sub { color: var(--muted); margin: 10px 0 0; max-width: 620px; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-work { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; margin: 14px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.swatch { width: 44px; height: 44px; border-radius: 50%; display: block; }

.work-card { background: var(--surface); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(46,46,46,.08); color: var(--ink); }
.work-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.work-body h3 { font-size: 24px; margin: 0; }
.work-body p { margin: 0; color: var(--muted); }
.work-more { margin-top: auto; padding-top: 12px; font-weight: 700; }

/* Cover tile (stands in for screenshots) */
.cover { position: relative; overflow: hidden; height: 220px; display: flex; align-items: flex-end; padding: 24px 28px; }
.cover-lg { height: 360px; border-radius: 32px; padding: 40px; }
.cover .c1, .cover .c2, .cover .c3 { position: absolute; border-radius: 50%; }
.cover .c1 { width: 220px; height: 220px; right: -40px; top: -60px; opacity: .85; }
.cover .c2 { width: 110px; height: 110px; right: 40px; bottom: -50px; opacity: .7; }
.cover .c3 { width: 22px; height: 22px; right: 120px; top: 36px; }
.cover-label { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1.1; max-width: 70%; }
.cover-lg .cover-label { font-size: clamp(30px, 4vw, 48px); }
.cover img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-orange { background: var(--tint-orange); } .t-coral { background: var(--tint-coral); }
.t-blue { background: var(--tint-blue); } .t-purple { background: var(--tint-purple); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border-radius: 999px; padding: 11px 20px; font-weight: 500; text-decoration: none; }
a.chip:hover { color: var(--purple); }
.chip-sm { padding: 7px 14px; font-size: 14px; }

/* CTA band */
.cta { margin: 0 0 80px; background: var(--ink); color: #fff; border-radius: 40px; padding: 72px 48px; position: relative; overflow: hidden; }
.cta h2 { position: relative; font-size: clamp(32px, 4vw, 52px); margin: 0 0 14px; max-width: 640px; }
.cta p { position: relative; font-size: 18px; margin: 0 0 32px; color: #E6E6E6; }
.cta .btn { position: relative; background: #fff; color: var(--ink); border-color: #fff; }
.cta .b1, .cta .b2 { position: absolute; border-radius: 50%; }
.cta .b1 { width: 260px; height: 260px; background: var(--orange); right: -60px; top: -80px; }
.cta .b2 { width: 140px; height: 140px; background: var(--blue); right: 160px; bottom: -50px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }

/* Case study */
.crumb { font-size: 15px; color: var(--muted); padding-top: 24px; }
.crumb a { color: var(--muted); }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 40px 0; }
.meta div { background: #fff; border-radius: 18px; padding: 18px 22px; }
.meta dt { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.meta dd { margin: 4px 0 0; font-weight: 500; }
.cs-layout { display: flex; flex-wrap: wrap; gap: 48px; padding: 72px 0 96px; }
.cs-main { flex: 999 1 560px; min-width: 0; }
.cs-side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.cs-main h2 { font-size: 30px; margin: 0 0 16px; }
.cs-main p { color: var(--ink-2); margin: 0 0 32px; }
.deliverables { display: grid; gap: 16px; margin: 0 0 48px; }
.deliverable { background: #fff; border-radius: 22px; padding: 24px 28px; }
.deliverable-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.deliverable .swatch { width: 14px; height: 14px; flex: none; }
.deliverable h3 { font-size: 20px; margin: 0; }
.deliverable p { margin: 0 0 12px; color: var(--muted); }
.deliverable .chips { gap: 8px; }
.deliverable .chip { background: var(--bg); }
.chip-link { color: var(--blue); }
.app-icon { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.stat { display: inline-block; font-size: 14px; font-weight: 700; color: var(--purple); margin-top: 2px; }
.shots { display: flex; gap: 14px; overflow-x: auto; margin-top: 20px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.shots img { height: 300px; width: auto; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--bg); }

/* Phone screenshots inside cover tiles */
.cover.has-phones { align-items: flex-end; }
.phones { position: absolute; right: 20px; bottom: -40px; display: flex; gap: 12px; align-items: flex-end; }
.phone { width: 96px; border-radius: 14px; box-shadow: 0 10px 24px rgba(46,46,46,.18); background: #fff; }
.phone:nth-child(2) { transform: translateY(-18px); }
.cover:not(.cover-lg) .phone { width: 84px; }
.cover:not(.cover-lg) .phone:nth-child(3) { display: none; }
.cover-lg .phones { right: 48px; bottom: -70px; gap: 20px; }
.cover-lg .phone { width: 170px; border-radius: 22px; }
.cover-label-sm { max-width: 42%; font-size: 22px; }
.cover-lg .cover-label-sm { max-width: 40%; }
.cover-logo { position: relative; max-height: 56px; max-width: 220px; margin-bottom: 18px; display: block; }
.cover:has(.cover-logo) { flex-direction: column; align-items: flex-start; justify-content: flex-end; }

/* Client logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.logo-tile { background: #fff; border-radius: 20px; padding: 20px 16px; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.logo-tile span { font-size: 14px; color: var(--muted); font-weight: 500; }
.logo-tile .logo-icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.logo-tile .logo-wide { max-width: 130px; max-height: 44px; object-fit: contain; }
.logo-text strong { font-family: var(--font-display); font-size: 17px; }

.side-card { background: #fff; border-radius: 22px; padding: 24px; }
.side-card h3 { font-size: 16px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--font-body); }
.side-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.side-card .chip { background: var(--bg); }
.next-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 0 0 80px; }
.next-nav a { font-weight: 700; text-decoration: none; }

/* Work filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { font: inherit; font-weight: 500; background: #fff; border: 2px solid transparent; border-radius: 999px; padding: 10px 18px; cursor: pointer; min-height: 44px; }
.filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.work-card[hidden] { display: none; }

/* About */
.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > * { flex: 1 1 420px; min-width: 0; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--purple); }
.step h3 { font-size: 20px; margin: 10px 0 6px; }
.step p { margin: 0; color: var(--muted); }

/* Contact */
.form { background: #fff; border-radius: 32px; padding: 40px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea { font: inherit; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.form-note { font-size: 15px; color: var(--muted); margin: 0; }
.contact-cards { display: grid; gap: 16px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 84px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 14px 30px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .btn { text-align: center; }
  .hero { padding: 48px 0 80px; }
  .cta { padding: 56px 28px; border-radius: 28px; }
  .cover-lg { height: 300px; padding: 28px; }
  .cover-lg .phone { width: 110px; }
  .cover-lg .phones { right: 20px; bottom: -40px; }
  .phone { width: 80px; }
  .shots img { height: 280px; }
  .grid-work { grid-template-columns: 1fr; }
  .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* AI section */
.ai { margin: 0 0 112px; border-radius: 32px; background: #17171D; color: #fff; overflow: hidden; position: relative; }
.ai::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(106,63,208,.55), rgba(54,120,242,.25) 45%, rgba(23,23,29,0) 70%); }
.ai-inner { position: relative; padding: 64px 48px; display: flex; flex-wrap: wrap; gap: 48px; }
.ai-head { flex: 1 1 320px; }
.ai-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 10px 0 16px; color: #fff; }
.ai-head p { color: #CFCFD8; margin: 0 0 28px; }
.ai-eyebrow { color: #FBB040 !important; }
.ai .ai-btn { background: #fff; color: #17171D; border-color: #fff; }
.ai .ai-btn:hover { color: #17171D; }
.ai-grid { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.ai-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 24px; }
.ai-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #6A3FD0, #3678F2); }
.ai-card h3 { font-size: 19px; margin: 14px 0 6px; color: #fff; }
.ai-card p { margin: 0; color: #BDBDC8; font-size: 16px; }
@media (max-width: 760px) { .ai-inner { padding: 40px 24px; } .ai { border-radius: 24px; } }
