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

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

:root {
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #EFF6FF;
  --navy:       #0F172A;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-300:   #CBD5E1;
  --gray-400:   #94A3B8;
  --gray-500:   #64748B;
  --gray-600:   #475569;
  --gray-700:   #334155;
  --gray-800:   #1E293B;
  --gray-900:   #0F172A;
  --amber:      #F59E0B;

  --font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:     8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --shadow:     0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg:  0 16px 40px rgba(0,0,0,0.12);
  --max-width:  1100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto; padding: 0 1.5rem;
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 18px; font-weight: 700;
  color: var(--navy); text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--blue); }
.nav-links {
  display: flex; align-items: center; gap: 0.1rem; list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-600);
  text-decoration: none; padding: 0.4rem 0.8rem;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--gray-900); background: var(--gray-100); }
.nav-links a.active { color: var(--blue); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.15s; white-space: nowrap; font-family: var(--font);
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-outline:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--gray-100); }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 15px; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

.section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700;
  color: var(--gray-900); letter-spacing: -0.03em;
  line-height: 1.15; margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 17px; color: var(--gray-500); max-width: 520px; line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 7rem 0 6rem;
  color: white;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 12px; font-weight: 600; color: #93C5FD;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(147,197,253,0.12);
  padding: 0.3rem 0.8rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 1.25rem; max-width: 700px; color: white;
}
.hero-title em { font-style: normal; color: #60A5FA; }
.hero-subtitle {
  font-size: 18px; color: #94A3B8;
  max-width: 500px; line-height: 1.7; margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-strip {
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.hero-stat-number {
  font-size: 1.75rem; font-weight: 700; color: white;
  letter-spacing: -0.04em; line-height: 1;
}
.hero-stat-label { font-size: 13px; color: #64748B; margin-top: 0.2rem; }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 4rem 0 3.5rem; color: white;
}
.page-hero .section-label { color: #93C5FD; }
.page-hero .section-title { color: white; }
.page-hero .section-subtitle { color: #94A3B8; }

/* ── Feature cards ───────────────────────────────────────── */
.feature-card {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--blue-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 1rem;
}
.feature-title {
  font-size: 15px; font-weight: 600; color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.feature-text { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

/* ── Checklist ───────────────────────────────────────────── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.checklist li {
  font-size: 14px; color: var(--gray-600);
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.checklist li::before {
  content: '✓'; color: var(--blue); font-weight: 700;
  font-size: 12px; margin-top: 2px; flex-shrink: 0;
}

/* ── Portfolio cards ─────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.portfolio-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.browser-mockup {
  height: 230px; background: #1a1f2e;
  display: flex; flex-direction: column;
}
.browser-bar {
  height: 30px; background: #252b3b;
  display: flex; align-items: center; padding: 0 12px; gap: 6px; flex-shrink: 0;
}
.browser-dot { width: 9px; height: 9px; border-radius: 50%; }
.browser-url-bar {
  flex: 1; margin: 0 10px; height: 17px; background: #1a1f2e;
  border-radius: 4px; display: flex; align-items: center; padding: 0 8px; gap: 5px;
}
.browser-url-bar svg { opacity: 0.4; }
.browser-url-text { font-size: 10px; color: #6B7280; font-family: monospace; }
.browser-content {
  flex: 1; background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
}
.browser-content iframe {
  width: 100%; height: 100%; border: none;
  pointer-events: none; transform-origin: top left;
}
.portfolio-body { padding: 1.5rem; }
.portfolio-tag {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--blue);
  background: var(--blue-light); padding: 0.2rem 0.6rem;
  border-radius: 100px; display: inline-block; margin-bottom: 0.75rem;
}
.portfolio-title {
  font-size: 17px; font-weight: 600; color: var(--gray-900);
  margin-bottom: 0.4rem;
}
.portfolio-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 1.25rem; }
.portfolio-link {
  font-size: 13px; font-weight: 500; color: var(--blue);
  text-decoration: none;
}
.portfolio-link:hover { text-decoration: underline; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 680px; }
.pricing-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 2rem; position: relative;
}
.pricing-card.featured { border-color: var(--blue); border-width: 2px; }
.pricing-badge {
  position: absolute; top: -1px; right: 1.5rem;
  background: var(--blue); color: white;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 12px; border-radius: 0 0 8px 8px;
}
.pricing-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 0.75rem;
}
.pricing-price {
  font-size: 42px; font-weight: 700; color: var(--gray-900);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.25rem;
}
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; font-weight: 500; }
.pricing-price span { font-size: 15px; font-weight: 400; color: var(--gray-400); }
.pricing-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 1.5rem; }
.pricing-divider { border: none; border-top: 1px solid var(--gray-200); margin-bottom: 1.5rem; }

.pricing-addons {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.25rem;
}
.pricing-addons-title { font-size: 14px; font-weight: 600; color: var(--gray-900); margin-bottom: 0.4rem; }
.pricing-addons-text { font-size: 14px; color: var(--gray-500); line-height: 1.65; }

.pricing-note {
  border-top: 1px solid var(--gray-200); padding-top: 1.25rem; margin-top: 1.75rem;
  font-size: 13px; color: var(--gray-500); line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-label { font-size: 13px; font-weight: 500; color: var(--gray-700); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 0.625rem 0.875rem;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  font-size: 14px; font-family: var(--font); color: var(--gray-900);
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
  outline: none; appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── CTA banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--blue); padding: 4rem 0; color: white; text-align: center;
}
.cta-banner .section-title { color: white; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 17px; }

/* ── Steps / Process ─────────────────────────────────────── */
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.step-number {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue); color: white;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.step-title { font-size: 15px; font-weight: 600; color: var(--gray-900); margin-bottom: 0.3rem; }
.step-text { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--gray-900); color: var(--gray-400); padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  font-size: 18px; font-weight: 700; color: var(--white);
  text-decoration: none; letter-spacing: -0.02em; display: block; margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--blue); }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-heading { font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 14px; color: var(--gray-400); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--gray-800); padding-top: 1.5rem;
  font-size: 13px; color: var(--gray-600);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}

/* ── Demo index ──────────────────────────────────────────── */
.demo-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: box-shadow 0.15s;
}
.demo-card:hover { box-shadow: var(--shadow); }

/* ── Misc ────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--gray-200); margin: 0; }
.section-gray { background: var(--gray-50); }
.section-dark { background: var(--gray-900); }
.section-dark .section-label { color: #93C5FD; }
.section-dark .section-title { color: white; }
.section-dark .section-subtitle { color: var(--gray-400); }
.section-dark .feature-card { background: var(--gray-800); border-color: var(--gray-700); }
.section-dark .feature-icon { background: rgba(37,99,235,0.2); }
.section-dark .feature-title { color: white; }
.section-dark .feature-text { color: var(--gray-400); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-3 { gap: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .portfolio-grid, .pricing-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hero { padding: 4.5rem 0 4rem; }
  .hero-strip { gap: 2rem; }
  section { padding: 3.5rem 0; }
  .page-hero { padding: 3rem 0 2.5rem; }
}
