:root {
  --primary: #1D9E75;
  --primary-dark: #177D5D;
  --primary-light: #E8F5F0;
  --bg: #FFFFFF;
  --bg-alt: #F8FAF9;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---- 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(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  flex-shrink: 0;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--primary);
  color: white;
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ---- HERO ---- */
.hero {
  padding: 140px 0 80px;
  overflow: hidden;
}

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

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.highlight { color: var(--primary); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  margin: 24px 0 32px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}
.stat span {
  font-size: 13px;
  color: var(--text-muted);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 300px;
  background: #1A1A1A;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.1);
}

.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  overflow: hidden;
  padding-bottom: 16px;
}

.mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 8px;
  background: var(--bg);
}
.mock-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text);
}
.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-welcome {
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 16px 8px;
}

.mock-tabs {
  display: flex;
  gap: 6px;
  padding: 0 16px 10px;
}
.mock-tab {
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.mock-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.mock-card {
  margin: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}

.mock-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.mock-company-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}
.mock-company { font-size: 11px; font-weight: 700; }
.mock-loc { font-size: 9px; color: var(--text-muted); }
.mock-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  background: var(--primary);
  color: white;
}
.mock-badge.haster { background: #EA580C; }
.mock-title {
  font-size: 12px;
  font-weight: 700;
  margin: 8px 0 4px;
}
.mock-meta { font-size: 9px; color: var(--text-muted); }
.mock-tags {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.mock-tags span {
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 9px;
  background: var(--bg-alt);
}

/* ---- SECTIONS ---- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

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

.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- HOW IT WORKS ---- */
.how-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: var(--bg);
  border-radius: 50px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
}

.toggle-btn {
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}
.toggle-btn.active {
  background: var(--primary);
  color: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.steps.hidden { display: none; }

.step {
  text-align: center;
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.branch-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.branch-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.branch-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.branch-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.branch-card p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- TRUST ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-item {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.trust-item h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.trust-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- CTA ---- */
.section-cta {
  background: var(--primary);
  color: white;
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-inner > p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 14px 24px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 16px;
  background: rgba(255,255,255,0.15);
  color: white;
  outline: none;
  min-width: 280px;
  font-family: var(--font);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form input:focus { border-color: white; }

.cta-form .btn {
  background: white;
  color: var(--primary);
}
.cta-form .btn:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

.cta-note {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 16px;
}

/* ---- FOOTER ---- */
.footer {
  padding: 64px 0 0;
  background: #0F172A;
  color: #94A3B8;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1E293B;
}

.footer-brand { max-width: 300px; }
.footer-brand .logo { color: white; }
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 64px;
}
.footer-links h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  padding: 24px 0;
  font-size: 13px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero h1 { font-size: 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 260px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .branches-grid { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .footer-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 600px) {
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 64px 0; }
  .section-header h2 { font-size: 28px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }

  .cta-form { flex-direction: column; align-items: center; }
  .cta-form input { min-width: 100%; }
}
