/* ============================================================
   AppTeky — Main Stylesheet
   Design system: clean, technical, B2B SaaS tone
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=DM+Mono:wght@400;500&display=swap');

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

:root {
  --purple:      #6F15E5;
  --bg:          #FFFFFF;
  --bg-alt:      #F8F8F6;
  --dark:        #0F0F0F;
  --text:        #1A1A1A;
  --text-sec:    #6B6B6B;
  --border:      #E5E5E3;
  --r-card:      8px;
  --r-btn:       6px;
  --shadow:      0 1px 3px rgba(0,0,0,0.08);
  --max-w:       1160px;
  --section-pad: 80px 0;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--purple);
  color: #fff;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 16px; outline: none; }

/* ── Focus styles ── */
*:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity .15s, box-shadow .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: .88; }

.btn-primary {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover { opacity: 1; box-shadow: 0 4px 16px rgba(111,21,229,.28); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

.btn-white {
  background: #fff;
  color: var(--purple);
  font-weight: 600;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { border-color: #fff; }

.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── Typography helpers ── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}

h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; line-height: 1.2; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 15px; font-weight: 600; }

.section-header {
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 10px; }
.section-header p  { color: var(--text-sec); font-size: 17px; max-width: 580px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── Section spacing ── */
section { padding: var(--section-pad); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.07); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-logo {
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--purple); }

.nav-cta {
  margin-left: 16px;
  padding: 9px 18px;
  font-size: 14px;
}

.nav-hamburger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* Mobile nav overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

/* ============================================================
   HERO — HOMEPAGE
   ============================================================ */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 60px 0 80px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-left { max-width: 620px; }

.hero-h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-p {
  font-size: 18px;
  color: var(--text-sec);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust-pill {
  padding: 10px 18px;
  border: 0.5px solid var(--border);
  border-radius: var(--r-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
}

/* Terminal visual */
.terminal {
  background: var(--dark);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
}

.terminal-bar {
  background: #1e1e1e;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #2a2a2a;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red   { background: #ff5f57; }
.dot-amber { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #666;
  margin-left: 8px;
}

.terminal-body { padding: 24px 20px; }
.term-line {
  padding: 3px 0;
  white-space: pre;
}
.term-prompt { color: #666; }
.term-cmd    { color: #e2e2e2; }
.term-ok     { color: #28c840; }
.term-arrow  { color: var(--purple); }
.term-dim    { color: #555; }
.term-cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #e2e2e2;
  animation: blink 1s infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem { background: var(--bg-alt); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.problem-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.problem-card .icon {
  width: 40px;
  height: 40px;
  background: #fef2f2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #dc2626;
}

.problem-card h3 { margin-bottom: 10px; font-size: 16px; }
.problem-card p  { font-size: 15px; color: var(--text-sec); line-height: 1.65; }

.problem-tagline {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--purple);
}

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

/* ============================================================
   WHAT APPTEKY IS
   ============================================================ */
.what-appteky { background: var(--bg); }

.what-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.what-left p {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-top: 20px;
}
.what-left p + p { margin-top: 16px; }

.what-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--purple);
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.what-link:hover { border-color: var(--purple); }

.connection-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.connection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.entity-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  flex: 1;
  box-shadow: var(--shadow);
}

.connection-arrows {
  font-size: 20px;
  color: var(--purple);
  white-space: nowrap;
}

.connection-tools {
  text-align: center;
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: 20px;
}

.connection-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.c-tag {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sec);
}

@media (max-width: 768px) {
  .what-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.services { background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.service-card .s-icon {
  width: 44px;
  height: 44px;
  background: #f3ecff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 16px;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p  { font-size: 15px; color: var(--text-sec); line-height: 1.65; }

.services-more {
  margin-top: 32px;
  text-align: center;
}
.services-more a {
  font-size: 15px;
  font-weight: 500;
  color: var(--purple);
}
.services-more a:hover { text-decoration: underline; }

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

/* ============================================================
   HOW IT WORKS — HOMEPAGE STRIP
   ============================================================ */
.how-strip { background: var(--bg); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
}

.step-item {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--purple);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 1px;
  background: var(--border);
}

.step-item h4 { font-size: 14px; margin-bottom: 6px; }
.step-item p  { font-size: 13px; color: var(--text-sec); line-height: 1.5; }

@media (max-width: 768px) {
  .steps-row { grid-template-columns: 1fr; gap: 32px; }
  .step-item::after { display: none; }
  .step-item { text-align: left; display: flex; gap: 16px; align-items: flex-start; padding: 0; }
  .step-num  { flex-shrink: 0; margin: 0; }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing { background: var(--bg-alt); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--purple);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: .03em;
}

.price-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.price-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.price-duration {
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sec);
  padding: 5px 0;
}
.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F15E5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-sec);
  margin-top: 24px;
}

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

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies { background: var(--bg); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  background: #fff;
  transition: border-color .2s;
}
.case-card:hover { border-color: var(--purple); }

.case-tag {
  display: inline-block;
  background: #f0e8fe;
  color: var(--purple);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.case-card h3 { margin-bottom: 16px; font-size: 18px; }

.case-field {
  margin-bottom: 14px;
}
.case-field strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-sec);
  margin-bottom: 4px;
}
.case-field p { font-size: 14px; line-height: 1.6; color: var(--text-sec); }

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tech-tag {
  background: var(--bg-alt);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sec);
}

.case-result {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  border-left: 3px solid var(--purple);
  padding-left: 12px;
}

.case-cta { margin-top: 40px; text-align: center; }
.case-cta a {
  font-size: 15px;
  font-weight: 500;
  color: var(--purple);
}
.case-cta a:hover { text-decoration: underline; }

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

/* ============================================================
   ABOUT / FOUNDER DARK SECTION
   ============================================================ */
.founder-section {
  background: var(--dark);
  color: #fff;
}

.founder-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.founder-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2a2a2a;
}

.founder-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-right .eyebrow { color: var(--purple); }
.founder-right h2 { color: #fff; margin-bottom: 20px; }
.founder-right p  { color: #a0a0a0; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.founder-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--purple);
}
.founder-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .founder-inner { grid-template-columns: 1fr; }
  .founder-img, .founder-img-placeholder { max-width: 200px; }
}

/* ============================================================
   FINAL CTA BAND
   ============================================================ */
.cta-band {
  background: var(--purple);
  padding: var(--section-pad);
  text-align: center;
  color: #fff;
}

.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-band p  { color: rgba(255,255,255,.8); font-size: 17px; max-width: 520px; margin: 0 auto 36px; }

.cta-band-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.cta-band-contact {
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.cta-band-contact a { color: rgba(255,255,255,.9); }
.cta-band-contact a:hover { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.footer-brand .tagline {
  font-size: 13px;
  color: #666;
}

.footer-nav h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #555; margin-bottom: 16px; }
.footer-nav a {
  display: block;
  font-size: 14px;
  color: #999;
  padding: 4px 0;
  transition: color .15s;
}
.footer-nav a:hover { color: #fff; }

.footer-contact h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #555; margin-bottom: 16px; }
.footer-contact a {
  display: block;
  font-size: 14px;
  color: #999;
  padding: 4px 0;
  transition: color .15s;
}
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: #999; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--bg);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 16px; max-width: 640px; }
.page-hero p  {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-detail {
  padding: var(--section-pad);
}
.service-detail:nth-child(even) { background: var(--bg-alt); }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail h2 { margin-bottom: 16px; }
.service-detail p  { font-size: 16px; color: var(--text-sec); line-height: 1.8; margin-bottom: 12px; }

.include-list {
  margin-top: 20px;
}
.include-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-sec);
  padding: 6px 0;
}
.include-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F15E5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.info-card.dark-card {
  background: var(--dark);
  color: #fff;
  border-color: #2a2a2a;
}

.info-card h4 { margin-bottom: 12px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-sec); }
.dark-card h4 { color: #555; }

.info-stat {
  font-size: 36px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
}

.addon-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.addon-table th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-sec);
}
.addon-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sec);
}
.addon-table tr:last-child td { border-bottom: none; }
.addon-table td:first-child { color: var(--text); font-weight: 500; }

@media (max-width: 960px) {
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-detail-inner.reverse { direction: ltr; }
}

/* ============================================================
   HOW IT WORKS PAGE
   ============================================================ */
.process-steps { padding: var(--section-pad); }

.step-panel {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.step-panel:last-child { border-bottom: none; }

.step-num-lg {
  font-size: 56px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  font-family: 'DM Mono', monospace;
}

.step-panel h3 { font-size: 20px; margin-bottom: 10px; }
.step-panel p  { font-size: 15px; color: var(--text-sec); line-height: 1.7; max-width: 640px; }

.tools-section { background: var(--bg-alt); padding: var(--section-pad); }

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.tool-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}

.ownership-section { padding: var(--section-pad); }

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.own-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 20px;
  text-align: center;
}
.own-card .own-icon {
  width: 44px;
  height: 44px;
  background: #f3ecff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin: 0 auto 12px;
}
.own-card h4 { font-size: 14px; margin-bottom: 6px; }
.own-card p  { font-size: 13px; color: var(--text-sec); }

@media (max-width: 768px) {
  .step-panel { grid-template-columns: 1fr; gap: 8px; }
  .step-num-lg { font-size: 36px; }
  .ownership-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.comparison-section { background: var(--bg-alt); padding: var(--section-pad); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 32px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th {
  background: var(--dark);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.compare-table th:first-child { background: #1a1a1a; }
.compare-table th.hl { background: var(--purple); }

.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-sec);
  vertical-align: top;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { font-weight: 500; color: var(--text); }
.compare-table td.good { color: #16a34a; font-weight: 500; }
.compare-table td.hl { background: #faf7ff; color: var(--text); font-weight: 500; }
.compare-table td.bad  { color: #dc2626; }

.roi-section { padding: var(--section-pad); }
.roi-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.roi-card h3 { font-size: 22px; margin-bottom: 24px; }

.roi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.roi-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-sec); margin-bottom: 16px; }

.roi-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.roi-item:last-child { border-bottom: none; }
.roi-item .label { color: var(--text-sec); }
.roi-item .val   { font-weight: 600; }
.roi-item .val.total { color: var(--purple); font-size: 16px; }

@media (max-width: 768px) {
  .roi-row { grid-template-columns: 1fr; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-alt); padding: var(--section-pad); }

.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  gap: 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform .2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer p {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story { padding: var(--section-pad); }

.story-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.story-inner h2 { margin-bottom: 20px; }
.story-inner p  { font-size: 16px; color: var(--text-sec); line-height: 1.8; margin-bottom: 16px; }

.timeline {
  margin-top: 40px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
}
.tl-item {
  position: relative;
  padding-bottom: 28px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--purple);
}
.tl-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.tl-item h4 { font-size: 15px; margin-bottom: 4px; }
.tl-item p  { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

.values-section { background: var(--bg-alt); padding: var(--section-pad); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.value-card h3 { font-size: 16px; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--text-sec); line-height: 1.65; }

@media (max-width: 768px) {
  .story-inner { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero { background: var(--bg); padding: var(--section-pad); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
}

.calendly-wrapper {
  min-height: 650px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-sidebar {}

.contact-alt {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}
.contact-alt h3 { margin-bottom: 16px; font-size: 16px; }
.contact-alt a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.contact-alt a:last-child { border-bottom: none; }
.contact-alt a:hover { color: var(--purple); }

.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sec);
  padding: 6px 0;
}
.expect-list li::before {
  content: '→';
  color: var(--purple);
  font-weight: 600;
  flex-shrink: 0;
}

.contact-form-section { background: var(--bg-alt); padding: var(--section-pad); }

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 100px; }

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   CASE STUDIES PAGE — individual
   ============================================================ */
.case-detail { padding: var(--section-pad); }
.case-detail-inner { max-width: 760px; }
.case-detail h2 { margin-bottom: 12px; }
.case-detail .case-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.case-section { margin-bottom: 36px; }
.case-section h3 { font-size: 16px; margin-bottom: 10px; color: var(--text); }
.case-section p  { font-size: 15px; color: var(--text-sec); line-height: 1.75; }

/* ============================================================
   404
   ============================================================ */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.not-found h1 { font-size: 80px; color: var(--border); margin-bottom: 16px; }
.not-found h2 { margin-bottom: 12px; }
.not-found p  { color: var(--text-sec); margin-bottom: 32px; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.divider { height: 1px; background: var(--border); margin: 0; }
