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

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate: #475569;
  --slate-light: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;
  --success: #059669;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--bg-alt);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.15s;
}

.nav a:not(.btn):hover {
  color: var(--navy);
}

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

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: 0.2s;
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  overflow: hidden;
}

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

.hero-content .hero-lead {
  font-size: 1.125rem;
  color: var(--slate);
  margin: 20px 0 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

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

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

.stat span {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* Browser mockup */
.browser-mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.browser-content {
  padding: 20px;
}

.mock-nav {
  height: 28px;
  background: var(--bg-alt);
  border-radius: 6px;
  margin-bottom: 16px;
}

.mock-hero {
  height: 120px;
  background: linear-gradient(135deg, var(--accent-soft), #dbeafe);
  border-radius: 8px;
  margin-bottom: 16px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.mock-grid div {
  height: 64px;
  background: var(--bg-alt);
  border-radius: 6px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: #cbd5e1;
}

.service-icon {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--slate);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card li {
  font-size: 0.875rem;
  color: var(--slate);
  padding-left: 18px;
  position: relative;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.pricing-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--slate-light);
  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price .amount {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price .period {
  font-size: 0.875rem;
  color: var(--slate-light);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 0.9375rem;
  color: var(--slate);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--slate-light);
}

/* ===== Templates ===== */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.template-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.template-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.template-preview {
  height: 140px;
  background: var(--bg-alt);
}

.template-a {
  background: linear-gradient(145deg, #1e3a5f 0%, #0f172a 100%);
}

.template-b {
  background: linear-gradient(145deg, #0f766e 0%, #134e4a 100%);
}

.template-c {
  background: linear-gradient(145deg, #7c3aed 0%, #4c1d95 100%);
}

.template-d {
  background: linear-gradient(145deg, #0369a1 0%, #0c4a6e 100%);
}

.template-info {
  padding: 16px;
}

.template-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.template-info p {
  font-size: 0.8125rem;
  color: var(--slate);
  margin-bottom: 10px;
  line-height: 1.45;
}

.template-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.templates-cta {
  text-align: center;
  margin-top: 36px;
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 0 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 50%;
  margin-bottom: 16px;
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--slate);
}

/* ===== Why Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.why-content h2 {
  margin-bottom: 16px;
}

.why-content > p {
  color: var(--slate);
  margin-bottom: 28px;
  font-size: 1.0625rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-list strong {
  font-size: 1rem;
}

.why-list span {
  font-size: 0.9375rem;
  color: var(--slate);
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.quote {
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.55;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.quote-author strong {
  display: block;
  font-size: 0.875rem;
}

.quote-author span {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* ===== CTA / Contact ===== */
.cta-section {
  padding-bottom: 96px;
}

.cta-box {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.cta-content h2 {
  margin-bottom: 12px;
  color: white;
}

.cta-content p {
  color: #94a3b8;
  font-size: 1.0625rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: var(--navy-light);
  color: white;
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--navy-light);
  color: white;
}

.form-note {
  font-size: 0.8125rem;
  color: #64748b;
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--slate);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-links h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-light);
  margin-bottom: 14px;
}

.footer-links a {
  display: block;
  font-size: 0.9375rem;
  color: var(--slate);
  margin-bottom: 8px;
  transition: color 0.15s;
}

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

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

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--slate-light);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner,
  .why-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .templates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 40px 0 56px;
  }

  .hero-stats {
    gap: 20px;
  }

  .section {
    padding: 56px 0;
  }

  .templates-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 24px;
  }

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

  .footer-links {
    gap: 32px;
  }
}
