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

:root {
  --brand: #3b82f6;
  --brand-dark: #1d4ed8;
  --brand-light: #eff6ff;
  --text: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius: 12px;
}

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

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

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

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 60px;
}
.nav-inner .logo { margin-right: auto; }
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
}
.logo-icon { font-size: 1.4rem; }
.logo-img { width: 28px; height: 28px; border-radius: 6px; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  border: 2px solid transparent;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand-light); transform: translateY(-1px); }
.btn-white {
  background: #fff;
  color: var(--brand);
}
.btn-white:hover { background: #f0f0ff; transform: translateY(-1px); }

/* HERO */
.hero {
  padding: 80px 0 72px;
  text-align: center;
  background: linear-gradient(160deg, #eff6ff 0%, #ffffff 60%);
}
.badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* PROOF BAR */
.proof-bar {
  background: var(--brand);
  color: #fff;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 500;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.proof-inner .sep { opacity: 0.5; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* GRID */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

/* CARDS */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(99,102,241,0.1); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* STEPS */
.steps { display: flex; flex-direction: column; gap: 28px; max-width: 700px; margin: 0 auto; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: var(--text-muted); font-size: 0.95rem; }

/* PERSONAS */
.persona {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.persona h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.persona p { color: var(--text-muted); font-size: 0.95rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--brand); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* LANGUAGE GRID */
.lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
}
.lang-grid span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
}

/* ABOUT BLOCKS */
.about-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.about-block h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--brand-dark); }
.about-block p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* CTA SECTION */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-logo { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 24px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta-inner p { font-size: 1.05rem; opacity: 0.85; margin-bottom: 32px; }

/* FOOTER */
.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer a:hover { color: var(--brand); }

@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .step { flex-direction: column; }
}

/* LANG SWITCHER */
#lang-switcher-btn:hover { border-color: var(--brand); color: var(--brand); }
#lang-dropdown button { display:block; width:100%; text-align:left; padding:9px 16px; background:none; border:none; font-size:0.875rem; cursor:pointer; color:var(--text); font-family:inherit; }
#lang-dropdown button:hover { background:var(--bg-alt); color:var(--brand); }
[dir="rtl"] #lang-dropdown { right:auto; left:0; }
[dir="rtl"] #lang-dropdown button { text-align:right; }
