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

:root {
  --blue: #0B63E5;
  --blue-dark: #0950B8;
  --blue-light: #EBF3FF;
  --text: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --bg: #FFFFFF;
  --bg-subtle: #F9FAFB;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: var(--radius-sm); transition: all .2s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(11,99,229,.3); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); background: var(--bg-subtle); }

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--bg-subtle);
  font-size: 12px; font-weight: 700; color: var(--text-secondary); transition: all .15s;
  border: 1px solid var(--border);
}
.lang-toggle:hover { background: var(--border); }
.mobile-menu { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.mobile-menu span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* ─── Hero ─── */
.hero { padding: 140px 0 80px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: var(--blue-light); color: var(--blue); font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { font-size: 52px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px; }
.hero h1 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--blue); }
.hero-sub { font-size: 18px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 12px; }
.hero-avatars { display: flex; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff;
  margin-right: -8px;
}
.hero-proof span { font-size: 13px; color: var(--text-muted); }

/* Browser mockup */
.hero-visual { position: relative; }
.browser-frame {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; padding: 12px 16px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FEBC2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-content { padding: 0; }

.mock-dashboard { display: flex; min-height: 300px; }
.mock-sidebar { width: 52px; background: #1E293B; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mock-nav-item { width: 28px; height: 28px; border-radius: 6px; background: rgba(255,255,255,.08); }
.mock-nav-item.active { background: var(--blue); }
.mock-main { flex: 1; padding: 20px; background: var(--bg-subtle); }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mock-title { width: 140px; height: 18px; background: var(--border); border-radius: 4px; }
.mock-btn { width: 80px; height: 28px; background: var(--blue); border-radius: 6px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-card { background: #fff; border-radius: 8px; padding: 14px; border: 1px solid var(--border); }
.mock-card-icon { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.mock-card-num { font-size: 20px; font-weight: 700; color: var(--text); }
.mock-card-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.mock-calendar { background: #fff; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; }
.mock-cal-row { display: grid; grid-template-columns: 48px 1fr 1fr 1fr; gap: 4px; padding: 4px; border-bottom: 1px solid var(--border); }
.mock-cal-row:last-child { border-bottom: none; }
.mock-cal-time { font-size: 10px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; }
.mock-cal-event { height: 32px; border-radius: 4px; }
.mock-cal-empty { height: 32px; }
.ev1 { background: #DBEAFE; border-left: 3px solid #3B82F6; }
.ev2 { background: #D1FAE5; border-left: 3px solid #10B981; }
.ev3 { background: #FEF3C7; border-left: 3px solid #F59E0B; }

/* ─── Logos Section ─── */
.logos-section { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.logos-label { text-align: center; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.logos-row .dot { color: var(--text-muted); }

/* ─── Features ─── */
.features { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  background: var(--blue-light); color: var(--blue); font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--text-secondary); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
  transition: all .2s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); transform: translateY(-2px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 10px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  color: var(--blue);
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── How it Works ─── */
.how-section { padding: 100px 0; background: var(--bg-subtle); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; max-width: 900px; margin: 0 auto; }
.step { flex: 1; text-align: center; padding: 0 24px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin-bottom: 20px;
}
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.step-line { width: 80px; height: 2px; background: var(--border); margin-top: 24px; flex-shrink: 0; }

/* ─── Testimonials ─── */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--border);
  background: #fff;
}
.testimonial-stars { color: #F59E0B; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: var(--text-secondary);
}
.testimonial-author strong { display: block; font-size: 14px; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq { padding: 100px 0; background: var(--bg-subtle); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0; font-size: 16px; font-weight: 600;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
}
.faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--text-muted); transition: transform .2s; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding-bottom: 20px; font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ─── Demo Section ─── */
.demo-section { padding: 100px 0; }
.demo-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.demo-text h2 { font-size: 36px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.demo-text p { font-size: 17px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; }
.demo-checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.demo-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--text-secondary);
}
.demo-checks li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: #D1FAE5; color: #16A34A;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.demo-form-wrap {
  background: #fff; padding: 40px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,99,229,.1); }
.form-note { text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-muted); }

.form-success { text-align: center; padding: 40px 20px; }
.success-icon { margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.form-success p { font-size: 15px; color: var(--text-secondary); }

/* ─── Footer ─── */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ─── Mobile ─── */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 600px; }
  .hero h1 { font-size: 42px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .mobile-menu { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; gap: 0; }
  .step-line { width: 2px; height: 40px; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .demo-form-wrap { padding: 24px; }
  .demo-text h2 { font-size: 28px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 28px; }
}
