/* ═══════════════════════════════════════════════════════════
   WebOrb — Styles
   Style: Bold Minimal Dark
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0A0A0A;
  --bg-surface: #111111;
  --bg-raised:  #181818;
  --border:     #222222;
  --border-mid: #2e2e2e;
  --text:       #FFFFFF;
  --text-muted: #888888;
  --text-dim:   #555555;
  --accent:     #4F8EF7;
  --accent-h:   #6BA3FF;
  --green:      #34C97A;
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }

p { color: var(--text-muted); }
em { font-style: normal; color: var(--text); }

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

.accent { color: var(--accent); }

.section {
  padding: 120px 0;
}

.section-dark {
  background: var(--bg-surface);
}

.section-header {
  margin-bottom: 72px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.br-lg { display: none; }
@media (min-width: 768px) { .br-lg { display: block; } }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(79, 142, 247, 0.3);
}

.btn:active { transform: translateY(0); }

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
}

.btn-ghost:hover {
  background: var(--bg-raised);
  color: var(--text);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-mid);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
  background: rgba(79, 142, 247, 0.05);
}

.arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.logo span:first-child { color: var(--accent); }
.dot { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  margin-right: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 24px;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-menu a:hover,
.mobile-menu a.btn { color: var(--text); }

.mobile-menu .btn { color: #fff; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero-content {
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 28px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg-surface);
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   PAIN POINTS
   ════════════════════════════════════════════════════════════ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pain-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  transition: border-color var(--transition), transform var(--transition);
}

.pain-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.pain-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 24px;
}

.pain-icon svg { width: 100%; height: 100%; }

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
}

.pain-card p { font-size: 0.95rem; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: monospace;
}

.service-card h3 { color: var(--text); margin: 0; }
.service-card p  { font-size: 0.9rem; line-height: 1.7; }

.service-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ════════════════════════════════════════════════════════════
   PROCESS
   ════════════════════════════════════════════════════════════ */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.process-step:last-child { border-bottom: none; }

.process-left {
  flex-shrink: 0;
  width: 80px;
}

.process-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--border-mid);
  line-height: 1;
  transition: color 0.3s;
}

.process-step:hover .process-num {
  color: var(--accent);
}

.process-right { flex: 1; }
.process-right h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 12px;
  color: var(--text);
}

.process-right p { font-size: 1rem; max-width: 560px; line-height: 1.8; }

/* ════════════════════════════════════════════════════════════
   CASE STUDIES
   ════════════════════════════════════════════════════════════ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.work-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.work-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(79, 142, 247, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}

.work-metric {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-top: 8px;
}

.work-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -4px;
}

.work-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 8px;
}

.work-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.work-tags span {
  font-size: 0.75rem;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════════════
   PRICING
   ════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.pricing-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-featured {
  border-color: var(--accent);
  background: var(--bg-raised);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 64px rgba(79, 142, 247, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-price {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.custom-price { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.price-currency { font-size: 0.6em; vertical-align: super; }

.price-or {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0;
}

.price-monthly {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-monthly small {
  font-size: 0.75rem;
  font-weight: 400;
}

.pricing-desc { font-size: 0.9rem; line-height: 1.6; }

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.pricing-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
  align-items: center;
}

.pricing-list li.dim { color: var(--text-dim); }
.pricing-list li.dim span { color: var(--text-dim); }

.check { color: var(--green); font-size: 0.9rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.stars { color: #F5A623; font-size: 1rem; letter-spacing: 2px; }

blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 { margin-bottom: 20px; }

.contact-sub {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.contact-link:hover { color: var(--accent); }

/* ── Form ──────────────────────────────────────────────────── */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

input, select, textarea {
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select option {
  background: var(--bg-raised);
  color: var(--text);
}

textarea { resize: vertical; min-height: 120px; }

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 142, 247, 0.1);
}

input.error, select.error, textarea.error {
  border-color: #e05252;
}

.field-error {
  font-size: 0.78rem;
  color: #e05252;
  min-height: 18px;
}

.form-submit { align-self: flex-start; }

.form-success {
  font-size: 0.9rem;
  color: var(--green);
  font-weight: 500;
}

input::placeholder, textarea::placeholder { color: var(--text-dim); }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  padding-bottom: 72px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 260px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

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

  .nav-links, .nav-inner > .btn { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu.open { display: block; }

  .process-step {
    flex-direction: column;
    gap: 16px;
  }

  .process-left { width: auto; }

  .form-row { grid-template-columns: 1fr; }

  .stats-inner {
    justify-content: center;
  }

  .stat-divider { display: none; }

  .stat { min-width: 120px; }
}

@media (max-width: 520px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS CAROUSEL
   ════════════════════════════════════════════════════════════ */
.carousel-outer {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 3 cards on desktop */
.carousel-track .testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
}

@media (max-width: 900px) {
  /* 2 cards on tablet */
  .carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 580px) {
  /* 1 card on mobile */
  .carousel-track .testimonial-card {
    flex: 0 0 100%;
  }
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.c-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-mid);
  background: var(--bg-raised);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.c-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 142, 247, 0.08);
}

.c-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.c-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.c-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-mid);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.c-dots button.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ════════════════════════════════════════════════════════════
   PORTFOLIO PAGE
   ════════════════════════════════════════════════════════════ */

/* Page hero (work.html) */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding-top: 68px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.page-hero .section-eyebrow { margin-bottom: 16px; }
.page-hero h1 { margin-bottom: 20px; }

.page-hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px;
  line-height: 1.7;
}

/* Filter bar */
.filter-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 50;
}

.filter-inner {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* Project card */
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-5px);
}

.project-card.hidden {
  display: none;
}

/* Browser mockup */
.project-mockup {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.mock-bar {
  height: 28px;
  background: #141414;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 12px;
  border-bottom: 1px solid #1f1f1f;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e2e2e;
}

.mock-dot:nth-child(1) { background: #3f3f3f; }
.mock-dot:nth-child(2) { background: #333; }
.mock-dot:nth-child(3) { background: #2a2a2a; }

.mock-url {
  flex: 1;
  height: 13px;
  background: #1c1c1c;
  border-radius: 3px;
  margin-left: 8px;
}

.mock-body {
  background: #0d0d0d;
  height: 170px;
  display: flex;
  flex-direction: column;
}

.mock-hero {
  height: 90px;
  background: var(--pc, #4F8EF7);
  flex-shrink: 0;
  position: relative;
  opacity: 0.88;
}

/* faux heading lines inside hero */
.mock-hero::before,
.mock-hero::after {
  content: '';
  position: absolute;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
}

.mock-hero::before {
  left: 14px;
  bottom: 30px;
  width: 46%;
  height: 10px;
}

.mock-hero::after {
  left: 14px;
  bottom: 14px;
  width: 28%;
  height: 7px;
}

.mock-content {
  flex: 1;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  align-items: flex-start;
}

.mock-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mock-col::before,
.mock-col::after {
  content: '';
  display: block;
  height: 7px;
  background: #202020;
  border-radius: 2px;
}

.mock-col:nth-child(2)::after { width: 72%; }
.mock-col:nth-child(3)::before { width: 85%; }
.mock-col:nth-child(3)::after  { width: 55%; }

/* Project card info area */
.project-info {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.project-location {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.project-card h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
}

.project-metric {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.metric-val {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  flex: 1;
}

/* nav-active link style */
.nav-active {
  color: var(--text) !important;
}

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section {
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-sub {
  font-size: 1.1rem;
  max-width: 400px;
}

/* ════════════════════════════════════════════════════════════
   FOUNDING CLIENTS PAGE (work.html)
   ════════════════════════════════════════════════════════════ */

.launch-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(79, 142, 247, 0.35);
  background: rgba(79, 142, 247, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

/* Story layout */
.founding-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-left h2 { margin-bottom: 24px; }
.story-left p  { margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.story-left p:last-child { margin-bottom: 0; }

/* Expertise card */
.expertise-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.expertise-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.expertise-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.expertise-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.expertise-years {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  min-width: 36px;
  flex-shrink: 0;
}

.expertise-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* Founding why grid */
.founding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.founding-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.founding-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.founding-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: monospace;
}

.founding-card h3 { color: var(--text); }
.founding-card p  { font-size: 0.9rem; line-height: 1.75; }

/* Trades grid (work.html) */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trade-tile {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  transition: border-color var(--transition), transform var(--transition);
}

.trade-tile:hover {
  border-color: var(--border-mid);
  transform: translateY(-3px);
}

.trade-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.trade-icon svg { width: 100%; height: 100%; }

.trade-tile h3 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 12px;
}

.trade-tile ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trade-tile li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 14px;
  position: relative;
}

.trade-tile li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

.trades-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Offer layout */
.offer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.offer-left h2 { margin-bottom: 28px; }

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}

.offer-cta-card {
  background: var(--bg-raised);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 0 0 1px var(--accent), 0 24px 64px rgba(79, 142, 247, 0.1);
}

.offer-from {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.offer-price {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--text);
  line-height: 1;
}

.offer-price span { font-size: 0.8em; }

.offer-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.offer-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE — WHO WE BUILD FOR (trade cards)
   ════════════════════════════════════════════════════════════ */
.trades-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.trade-home-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-home-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.thc-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.thc-icon svg { width: 100%; height: 100%; }

.trade-home-card h3 {
  font-size: 1rem;
  color: var(--text);
}

.trade-home-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.trades-cta {
  text-align: center;
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE — WHY US / TRUST GRID
   ════════════════════════════════════════════════════════════ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.trust-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition), transform var(--transition);
}

.trust-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
}

.trust-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 1;
}

.trust-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.3;
}

.trust-card p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.trust-cta { text-align: center; }

/* ── Responsive for new sections ───────────────────────────── */
@media (max-width: 900px) {
  .founding-story  { grid-template-columns: 1fr; gap: 48px; }
  .founding-grid   { grid-template-columns: 1fr; }
  .trades-grid     { grid-template-columns: repeat(2, 1fr); }
  .offer-inner     { grid-template-columns: 1fr; gap: 48px; }
  .trades-grid-home { grid-template-columns: repeat(2, 1fr); }
  .trust-grid      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .trades-grid      { grid-template-columns: 1fr; }
  .trades-grid-home { grid-template-columns: 1fr; }
}
