/* ── Reset & Base ─────────────────────────────────────────────────────────── */

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

:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --blue: #3b82f6;
  --green: #22c55e;
  --red: #ef4444;
  --purple: #8b5cf6;
  --teal: #14b8a6;
  --yellow: #eab308;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--slate-700);
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--slate-900); line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 600; }

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

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 6px 14px; font-size: 0.825rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-ghost { background: transparent; color: var(--slate-700); border-color: var(--slate-300); }
.btn-ghost:hover { background: var(--slate-50); border-color: var(--slate-400); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-full { width: 100%; }

/* ── Nav ──────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.logo-icon { width: 32px; height: 32px; }

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

.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--slate-600); transition: color 0.15s; }
.nav-links a:hover { color: var(--slate-900); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-700);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; border-top: 1px solid var(--slate-100); }
  .nav-links .btn { margin: 12px 24px; width: calc(100% - 48px); }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--orange-light) 0%, #fff 100%);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--orange-dark);
  background: rgba(249, 115, 22, 0.1);
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-sub {
  max-width: 600px;
  margin: 20px auto 0;
  font-size: 1.125rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── Browser mockup ──────────────────────────────────────────────────────── */

.hero-image {
  margin-top: 56px;
  padding: 0 20px;
}

.browser-frame {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,.06);
  background: var(--slate-800);
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-600);
}

.browser-content {
  background: var(--slate-900);
  padding: 20px;
  min-height: 260px;
}

.mock-board { display: flex; flex-direction: column; gap: 12px; }

.mock-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-700);
}

.mock-spacer { flex: 1; }

.mock-pill {
  height: 20px;
  border-radius: 10px;
  width: 60px;
}
.mock-pill.small { height: 14px; width: 48px; border-radius: 7px; }
.mock-pill.orange { background: rgba(249,115,22,0.3); }
.mock-pill.blue { background: rgba(59,130,246,0.3); }
.mock-pill.green { background: rgba(34,197,94,0.3); }
.mock-pill.red { background: rgba(239,68,68,0.3); }

.mock-text {
  height: 12px;
  border-radius: 6px;
  background: var(--slate-600);
}
.mock-text.light { background: var(--slate-700); margin-top: 6px; }
.mock-text.w40 { width: 40%; }
.mock-text.w50 { width: 50%; }
.mock-text.w60 { width: 60%; }
.mock-text.w70 { width: 70%; }
.mock-text.w80 { width: 80%; }
.mock-text.w90 { width: 90%; }

.mock-cards { display: flex; flex-direction: column; gap: 8px; }

.mock-card {
  background: var(--slate-800);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--slate-700);
}

.mock-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

/* ── Trust ────────────────────────────────────────────────────────────────── */

.trust {
  padding: 40px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  text-align: center;
}

.trust-text {
  font-size: 0.95rem;
  color: var(--slate-400);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── Features ─────────────────────────────────────────────────────────────── */

.features {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--slate-500);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-icon.orange { background: rgba(249,115,22,0.1); color: var(--orange); }
.feature-icon.blue { background: rgba(59,130,246,0.1); color: var(--blue); }
.feature-icon.green { background: rgba(34,197,94,0.1); color: var(--green); }
.feature-icon.red { background: rgba(239,68,68,0.1); color: var(--red); }
.feature-icon.purple { background: rgba(139,92,246,0.1); color: var(--purple); }
.feature-icon.teal { background: rgba(20,184,166,0.1); color: var(--teal); }
.feature-icon.yellow { background: rgba(234,179,8,0.1); color: var(--yellow); }
.feature-icon.slate { background: rgba(100,116,139,0.1); color: var(--slate-500); }

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--slate-500); line-height: 1.6; }

/* ── How It Works ─────────────────────────────────────────────────────────── */

.how-it-works {
  padding: 100px 0;
  background: var(--slate-50);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.step { text-align: center; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--slate-500); max-width: 300px; margin: 0 auto; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */

.pricing {
  padding: 100px 0;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-900);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  margin-top: 4px;
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 24px 0;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--slate-600);
  border-bottom: 1px solid var(--slate-100);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2322c55e'%3E%3Cpath d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E") no-repeat center;
}

/* ── Contact ──────────────────────────────────────────────────────────────── */

.contact {
  padding: 100px 0;
  background: var(--slate-50);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-text h2 { margin-bottom: 16px; }
.contact-text p { font-size: 1.05rem; color: var(--slate-500); margin-bottom: 24px; }

.contact-methods { display: flex; flex-direction: column; gap: 12px; }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.15s;
}
.contact-link:hover { color: var(--orange); }
.contact-link svg { width: 20px; height: 20px; flex-shrink: 0; }

.contact-form {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.825rem; font-weight: 600; color: var(--slate-700); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  font-size: 0.9rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--slate-800);
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
}

.form-group textarea { resize: vertical; }

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--slate-200);
  background: #fff;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand { text-align: center; }
.footer-tagline { font-size: 0.875rem; color: var(--slate-400); margin-top: 8px; }

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a { font-size: 0.875rem; color: var(--slate-500); transition: color 0.15s; }
.footer-links a:hover { color: var(--slate-900); }

.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--slate-400); }

/* ── Animations ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .feature-card, .step, .pricing-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.5s ease forwards;
  }
  .feature-card:nth-child(1) { animation-delay: 0.05s; }
  .feature-card:nth-child(2) { animation-delay: 0.1s; }
  .feature-card:nth-child(3) { animation-delay: 0.15s; }
  .feature-card:nth-child(4) { animation-delay: 0.2s; }
  .feature-card:nth-child(5) { animation-delay: 0.25s; }
  .feature-card:nth-child(6) { animation-delay: 0.3s; }
  .feature-card:nth-child(7) { animation-delay: 0.35s; }
  .feature-card:nth-child(8) { animation-delay: 0.4s; }
  .step:nth-child(1) { animation-delay: 0.05s; }
  .step:nth-child(2) { animation-delay: 0.15s; }
  .step:nth-child(3) { animation-delay: 0.25s; }
  .pricing-card:nth-child(1) { animation-delay: 0.05s; }
  .pricing-card:nth-child(2) { animation-delay: 0.15s; }
  .pricing-card:nth-child(3) { animation-delay: 0.25s; }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}
