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

:root {
  --brand:       #0057ff;
  --brand-dark:  #0041cc;
  --accent:      #00c2a8;
  --text:        #1a1a2e;
  --muted:       #6b7280;
  --bg:          #ffffff;
  --bg-alt:      #f5f7ff;
  --border:      #e5e7eb;
  --radius:      10px;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

/* ── Header ───────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }

nav a {
  margin-left: 32px;
  font-weight: 500;
  color: var(--muted);
  font-size: .95rem;
}
nav a:hover, nav a.active {
  color: var(--brand);
  text-decoration: none;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf9 100%);
  padding: 96px 0 80px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf9 100%);
  padding: 60px 0 48px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.page-hero p { font-size: 1.1rem; color: var(--muted); }

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 80px 0;
  background: var(--bg);
}
.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.social-proof {
  background: var(--bg-alt);
  padding: 72px 0;
  text-align: center;
}
.social-proof h2 { font-size: 2rem; font-weight: 700; margin-bottom: 40px; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
blockquote {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: left;
}
blockquote p { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
cite { font-size: .85rem; color: var(--muted); font-style: normal; }

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--brand);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 28px; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.cta-banner .btn-primary:hover { background: #e8efff; border-color: #e8efff; }

/* ── Products page ────────────────────────────────────────── */
.products { padding: 72px 0; }

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px 0;
}
.product-row.reverse { direction: rtl; }
.product-row.reverse > * { direction: ltr; }

.product-tag {
  display: inline-block;
  background: #eef2ff;
  color: var(--brand);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 14px;
}
.product-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.product-info p { color: var(--muted); margin-bottom: 20px; }
.product-info ul { list-style: none; margin-bottom: 28px; }
.product-info ul li {
  padding: 6px 0;
  color: var(--muted);
  font-size: .95rem;
}
.product-info ul li::before { content: "✓ "; color: var(--accent); font-weight: 700; }

.product-divider { border: none; border-top: 1px solid var(--border); }

/* Product visuals */
.product-visual {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-summary {
  background: var(--bg-alt);
  padding: 72px 0;
  text-align: center;
}
.pricing-summary h2 { font-size: 2rem; font-weight: 700; margin-bottom: 40px; }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
}
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.price span { font-size: 1rem; color: var(--muted); }
.pricing-card p { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-section { padding: 72px 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap h2,
.contact-details h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--brand); }
.contact-form .btn { width: 100%; text-align: center; }

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #065f46;
  font-weight: 600;
  font-size: 1rem;
}
.hidden { display: none; }

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item strong { display: block; margin-bottom: 4px; }
.contact-item p { color: var(--muted); margin: 0; font-size: .95rem; }
.hours { font-size: .85rem; color: var(--muted); }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: .875rem;
  color: var(--muted);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .product-row,
  .product-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}
