@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  color-scheme: light dark;

  /* Brand Accents */
  --accent-orange: #f97316;
  --accent-orange-hover: #ea6b08;
  --accent-amber: #fbbf24;
  --accent-teal: #10b981;
  --accent-blue: #3b82f6;

  /* Light-first surfaces */
  --surface-bg: light-dark(#f8f9fc, #0a0b0d);
  --surface-card: light-dark(#ffffff, #111216);
  --surface-card-hover: light-dark(#f1f5f9, #16181f);
  --surface-subtle: light-dark(#f1f5f9, #0d0e12);

  --text-primary: light-dark(#0f172a, #f9fafb);
  --text-secondary: light-dark(#64748b, #9ca3af);
  --text-muted: light-dark(#94a3b8, #6b7280);

  --border-color: light-dark(#e2e8f0, #1f222a);
  --border-focus: light-dark(rgba(249, 115, 22, 0.4), rgba(249, 115, 22, 0.4));
  --bg-glass: light-dark(rgba(255,255,255,0.85), rgba(17,18,22,0.85));
  --nav-bg: light-dark(rgba(248,249,252,0.9), rgba(10,11,13,0.9));

  /* Console theme (always dark) */
  --console-bg: #1e2130;
  --console-text: #e2e8f0;
  --console-border: #2d3148;
  --console-keyword: #f97316;
  --console-string: #10b981;
  --console-var: #38bdf8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.07), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg: 0 10px 30px rgba(15,23,42,0.10), 0 4px 8px rgba(15,23,42,0.06);
  --shadow-glow: 0 0 20px rgba(249,115,22,0.18);
  --shadow-card: 0 2px 8px rgba(15,23,42,0.06), 0 0 1px rgba(15,23,42,0.04);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition-smooth: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"]  { color-scheme: dark; }

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface-bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

button, input, select, textarea { font-family: inherit; }

/* Scrollbar */
body { scrollbar-color: var(--accent-orange) var(--surface-bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--surface-bg); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-orange); }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Navigation ─────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo svg {
  width: 26px;
  height: 26px;
  color: var(--accent-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-smooth), background-color var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--surface-card-hover);
}

.nav-links a.active {
  color: var(--accent-orange);
  background: light-dark(rgba(249,115,22,0.07), rgba(249,115,22,0.1));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.theme-btn:hover {
  background: var(--surface-card-hover);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .sun-icon { display: none; }
html[data-theme="light"] .theme-btn .moon-icon { display: none; }
html[data-theme="light"] .theme-btn .sun-icon  { display: block; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249,115,22,0.3);
}

.btn-primary:hover {
  background: var(--accent-orange-hover);
  box-shadow: 0 4px 16px rgba(249,115,22,0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface-card-hover);
  border-color: var(--accent-orange);
  transform: translateY(-1px);
}

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
  background: linear-gradient(160deg,
    light-dark(#fff7ed, #0a0b0d) 0%,
    light-dark(#f8f9fc, #0d0e14) 50%,
    light-dark(#eff6ff, #0a0c10) 100%
  );
}

/* Subtle decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.6rem;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  color: var(--text-primary);
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Stats row in hero */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Developer Console / Hero Visual ────────────────────────── */
.hero-visual { width: 100%; }

.developer-playground {
  background: var(--console-bg);
  border: 1px solid var(--console-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
}

.playground-header {
  background: #161825;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--console-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.playground-dots { display: flex; gap: 6px; }
.playground-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2d3148;
}
.playground-dot.red    { background: #ff5f56; }
.playground-dot.yellow { background: #ffbd2e; }
.playground-dot.green  { background: #27c93f; }

.playground-tabs {
  display: flex;
  background: #161825;
  border-bottom: 1px solid var(--console-border);
}

.playground-tab {
  padding: 0.55rem 1.1rem;
  border: none;
  background: none;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  border-right: 1px solid var(--console-border);
  transition: all var(--transition-smooth);
}

.playground-tab.active {
  background: var(--console-bg);
  color: var(--accent-orange);
  font-weight: 600;
}

.playground-content {
  padding: 1.5rem;
  min-height: 210px;
  overflow-x: auto;
  white-space: pre;
  color: var(--console-text);
  line-height: 1.6;
}

/* Syntax Highlighting */
.keyword { color: var(--console-keyword); }
.string  { color: var(--console-string); }
.var     { color: var(--console-var); }
.comment { color: #4b5568; }

/* ── Clients Strip ───────────────────────────────────────────── */
.clients-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--surface-card);
}

.clients-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.clients-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
}

.client-logo-item {
  opacity: 0.38;
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
  width: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.client-logo-item:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* ── Services Section ────────────────────────────────────────── */
.services {
  padding: 96px 0;
  border-top: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.service-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: light-dark(rgba(249,115,22,0.1), rgba(249,115,22,0.08));
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.65;
}

.service-features {
  list-style: none;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li svg {
  width: 13px; height: 13px;
  color: var(--accent-teal);
  flex-shrink: 0;
}

/* ── Campaigns Portfolio ─────────────────────────────────────── */
.campaigns {
  padding: 96px 0;
  border-top: 1px solid var(--border-color);
  background: var(--surface-subtle);
}

.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
}

.campaign-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.campaign-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.campaign-header {
  padding: 1rem 1.5rem;
  background: light-dark(#fafbfc, #131419);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.campaign-client {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.campaign-tag {
  background: light-dark(rgba(249,115,22,0.08), rgba(249,115,22,0.12));
  color: var(--accent-orange);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid light-dark(rgba(249,115,22,0.2), rgba(249,115,22,0.25));
}

.campaign-body {
  padding: 1.75rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.campaign-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.campaign-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.campaign-metrics {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metric-item { display: flex; flex-direction: column; gap: 0.2rem; }

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ── Estimator Section ───────────────────────────────────────── */
.estimator {
  padding: 96px 0;
  border-top: 1px solid var(--border-color);
}

.estimator-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.control-header span {
  color: var(--accent-orange);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.range-slider {
  width: 100%;
  height: 5px;
  background: var(--border-color);
  border-radius: 99px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(249,115,22,0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 10px rgba(249,115,22,0.5);
}

.range-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-orange);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(249,115,22,0.4);
}

.campaign-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.type-option {
  border: 1.5px solid var(--border-color);
  background: var(--surface-bg);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}

.type-option:hover { border-color: var(--accent-orange); color: var(--text-primary); }

.type-option.active {
  border-color: var(--accent-orange);
  background: light-dark(rgba(249,115,22,0.06), rgba(249,115,22,0.1));
  color: var(--accent-orange);
  font-weight: 600;
}

.estimator-results {
  background: var(--surface-subtle);
  border: 1.5px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.result-heading {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.result-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  font-family: 'Outfit', sans-serif;
}

.result-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 0.25rem;
}

.result-metrics {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* ── Contact Section ─────────────────────────────────────────── */
.contact {
  padding: 96px 0;
  border-top: 1px solid var(--border-color);
  background: var(--surface-subtle);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-icon {
  width: 42px; height: 42px;
  background: light-dark(rgba(249,115,22,0.1), rgba(249,115,22,0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  flex-shrink: 0;
}

.info-icon svg { width: 18px; height: 18px; }

.info-text h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-text p {
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.info-text p a {
  color: inherit;
  text-decoration: none;
}

.info-text p a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  outline: none;
  font-size: 0.93rem;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.form-input:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.submit-btn { margin-top: 0.25rem; }

.form-toast {
  display: none;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--accent-teal);
  font-weight: 500;
  font-size: 0.88rem;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: light-dark(#0f172a, #090a0d);
  color: #cbd5e1;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand .logo {
  color: #f1f5f9;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-links h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-smooth);
}

.footer-links a:hover { color: var(--accent-orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* ── About Page Styles ───────────────────────────────────────── */
.about-hero {
  padding: 180px 0 100px;
  text-align: center;
  background: linear-gradient(135deg,
    light-dark(#fff7ed, #0f1115) 0%,
    light-dark(#f0f4f8, #07080a) 50%,
    light-dark(#eef2f7, #0a0b0d) 100%
  );
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, rgba(251,191,36,0.04) 50%, transparent 80%);
  pointer-events: none;
  filter: blur(60px);
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 70%);
}

.about-hero-badge {
  display: inline-block;
  background: light-dark(rgba(249,115,22,0.08), rgba(249,115,22,0.15));
  color: var(--accent-orange);
  border: 1px solid light-dark(rgba(249,115,22,0.2), rgba(249,115,22,0.3));
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(249,115,22,0.05);
  backdrop-filter: blur(8px);
}

.about-hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.03em;
}

.about-hero p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* Story section */
.about-story { padding: 90px 0; }

.about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  margin-bottom: 0.85rem;
}

.about-story-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.about-story-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about-story-content p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

/* Stats panel */
.about-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  position: sticky;
  top: 100px;
}

.about-stat-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: light-dark(rgba(249,115,22,0.3), rgba(249,115,22,0.4));
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.about-stat-card:hover::before {
  opacity: 1;
}

.about-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.about-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* Offerings section */
.about-offerings {
  padding: 90px 0;
  border-top: 1px solid var(--border-color);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
}

.offering-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.offering-card:hover {
  transform: translateY(-6px);
  border-color: light-dark(rgba(249,115,22,0.35), rgba(249,115,22,0.45));
  box-shadow: var(--shadow-lg), 0 0 24px rgba(249,115,22,0.12);
}

.offering-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: light-dark(rgba(249,115,22,0.06), rgba(249,115,22,0.08));
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth), color var(--transition-smooth);
}

.offering-card:hover .offering-icon {
  transform: scale(1.08) rotate(3deg);
  background: var(--accent-orange);
  color: #fff;
}

.offering-icon svg { width: 22px; height: 22px; }

.offering-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.offering-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Pillars */
.about-pillars {
  padding: 90px 0;
  border-top: 1px solid var(--border-color);
  background: var(--surface-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-color);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: light-dark(rgba(249,115,22,0.35), rgba(249,115,22,0.45));
  box-shadow: var(--shadow-lg), 0 0 24px rgba(249,115,22,0.12);
}

.pillar-icon {
  width: 48px; height: 48px;
  background: light-dark(rgba(249,115,22,0.06), rgba(249,115,22,0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 1.5rem;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth), color var(--transition-smooth);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(3deg);
  background: var(--accent-orange);
  color: #fff;
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* Position statement banner */
.about-position {
  padding: 90px 0;
  border-top: 1px solid var(--border-color);
}

.position-card {
  background: linear-gradient(135deg,
    light-dark(rgba(255, 255, 255, 0.7), rgba(17, 18, 22, 0.6)),
    light-dark(rgba(255, 255, 255, 0.4), rgba(17, 18, 22, 0.3))
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.position-quote-icon {
  width: 38px; height: 38px;
  color: var(--accent-orange);
  opacity: 0.4;
  margin: 0 auto 1.5rem;
  display: block;
}

.position-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .estimator-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .estimator-card { padding: 2rem; }
 
  .about-stats-panel { position: static; grid-template-columns: repeat(2, 1fr); }
  .about-hero h1 { font-size: 2.4rem; }
  .position-card { padding: 2.5rem 1.75rem; }
  .position-card p { font-size: 1.2rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 130px 0 80px; }
  .hero-content h1 { font-size: 2.4rem; }
  .section-header h2 { font-size: 2rem; }
  .about-hero h1 { font-size: 2rem; }
  .about-stats-panel { grid-template-columns: 1fr; }
  .offerings-grid { grid-template-columns: 1fr; }

  .campaigns-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 1.75rem; }
  .estimator-card { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .result-price { font-size: 2.4rem; }
  .clients-logos { gap: 2rem; }
}

/* ── Logo filter: invert on dark mode for b&w logos ─────────── */
html[data-theme="dark"] .client-logo-item img[style*="brightness(0)"] {
  filter: brightness(0) invert(1) !important;
}
