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

:root {
  --primary: #1a6b4e;
  --primary-light: #e8f5f0;
  --primary-dark: #0f4a35;
  --accent: #2196f3;
  --text: #1a1a2e;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --bg-dark: #0f172a;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

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

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

/* Nav */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  height: 56px;
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.lang-switcher { display: flex; gap: 4px; }

.lang-btn {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.15s;
}

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

.lang-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 720px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
}

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

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

/* Problem / Solution */
.problem-solution { padding: 80px 0; }

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

.ps-card {
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ps-card h2 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.ps-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.problem {
  background: #fff5f5;
  border-left: 4px solid #e53e3e;
}

.solution {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
}

/* Features */
.features { padding: 80px 0; background: var(--bg-alt); }

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* How it works */
.how-it-works { padding: 80px 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step { text-align: center; }

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

.step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tech stack */
.tech-stack {
  padding: 60px 0;
  background: var(--bg-alt);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.badge {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* Contact */
.contact { padding: 80px 0; text-align: center; }

.contact-sub {
  color: var(--text-light);
  max-width: 560px;
  margin: -24px auto 36px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.15s;
}

.contact-link:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.contact-icon { font-size: 0.5rem; color: var(--primary); }

/* Privacy */
.privacy { padding: 80px 0; background: var(--bg-alt); }

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

.privacy-item {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.privacy-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-dark);
}

.privacy-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--bg-dark);
  color: #94a3b8;
  text-align: center;
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #64748b;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .ps-grid,
  .features-grid,
  .steps,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 100px 0 60px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .contact-links { flex-direction: column; align-items: center; }
}
