/* ===========================
   PAGECRAFT — DESIGN SYSTEM
   =========================== */

:root {
  --midnight: #0b1d35;
  --deep-navy: #112844;
  --steel-blue: #1e4067;
  --sky-blue: #4a8fc4;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --cream: #faf8f4;
  --warm-white: #f5f3ee;
  --charcoal: #1a1a2e;
  --text-dark: #1a1a2e;
  --text-muted: #5a6a7e;
  --text-light: #8a9ab0;
  --surface: #ffffff;
  --border: #e8e4dc;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 29, 53, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: #ffffff; }

/* ===== HERO ===== */
.hero {
  background: var(--midnight);
  padding: 5rem 2rem 0;
  overflow: hidden;
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-lede {
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
}
.stat {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.05);
}
.stat-num {
  display: block;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--amber-light);
  margin-bottom: 0.25rem;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.1);
}

/* Browser frame */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.browser-frame {
  width: 100%;
  max-width: 520px;
  background: #1a1a2e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
}
.browser-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #0f0f1a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.browser-url {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 4px;
  font-family: monospace;
}
.browser-screen {
  padding: 0;
  background: #faf8f4;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

/* Site mockup inside browser */
.site-mock { padding: 20px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.mock-nav { height: 14px; background: #0b1d35; border-radius: 3px; width: 100%; }
.mock-hero-block { display: flex; gap: 12px; flex: 1; }
.mock-headline-block { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mock-h1 { height: 14px; background: #112844; border-radius: 3px; }
.mock-h1.short { width: 65%; }
.mock-para { height: 8px; background: #c8cdd5; border-radius: 2px; margin-top: 4px; width: 90%; }
.mock-cta { height: 18px; background: #f59e0b; border-radius: 3px; margin-top: 8px; width: 80px; }
.mock-img-block { width: 42%; border-radius: 8px; overflow: hidden; }
.mock-img-inner { width: 100%; height: 100%; background: linear-gradient(135deg, #4a8fc4 0%, #1e4067 100%); }
.mock-cards { display: flex; gap: 8px; }
.mock-card { flex: 1; height: 44px; background: #ffffff; border: 1px solid #e8e4dc; border-radius: 6px; }

/* ===== MANIFESTO ===== */
.manifesto {
  background: var(--deep-navy);
  padding: 5rem 2rem;
}
.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.manifesto-quote {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  border-left: 3px solid var(--amber);
  padding-left: 2rem;
  font-style: italic;
}
.manifesto-heading {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.manifesto-body {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

/* ===== SERVICES ===== */
.services {
  background: var(--cream);
  padding: 5rem 2rem;
}
.services-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-blue);
  margin-bottom: 1rem;
}
.section-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-card--cta {
  background: var(--midnight);
  grid-column: span 1;
}
.service-card--cta .service-title,
.service-card--cta .service-desc { color: #ffffff; }
.service-card--cta .service-desc { color: rgba(255,255,255,0.55); }
.service-icon {
  color: var(--steel-blue);
  margin-bottom: 0.25rem;
}
.service-card--cta .service-icon { color: var(--amber); }
.service-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}
.service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.service-cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.5rem;
  font-weight: 500;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 0.75rem;
}

/* ===== PROCESS ===== */
.process {
  background: var(--warm-white);
  padding: 5rem 2rem;
}
.process-header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.process-steps {
  max-width: 900px;
  margin: 0 auto 3.5rem;
  display: flex;
  align-items: center;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 1.5rem;
}
.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 1px;
  background: var(--border);
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(-45deg);
}
.step-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
}
.step-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.process-pricing-callout {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--amber);
  border-radius: 14px;
  padding: 2rem 2.5rem;
  background: var(--surface);
}
.pricing-callout-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.pricing-callout-price {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.pricing-callout-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  background: var(--midnight);
  padding: 7rem 2rem;
}
.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.closing-cta-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}
.closing-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-email {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.contact-phone {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

/* ===== FOOTER ===== */
.footer {
  background: #070f1c;
  padding: 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.25rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-lede { margin: 0 auto 2.5rem; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { display: none; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; gap: 0; }
  .step { padding: 2rem 0; border-left: 3px solid var(--amber); padding-left: 1.5rem; }
  .step-connector { display: none; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1.5rem 0; }
  .hero-headline { font-size: 2.25rem; }
  .manifesto, .services, .process, .closing { padding: 3.5rem 1.5rem; }
  .nav-links { display: none; }
}