/* Dilo Website — Global Styles */
:root {
  --violet: #7b5aac;
  --violet-dark: #553e80;
  --violet-deeper: #3d2d5c;
  --violet-light: #a78bfa;
  --mint: #98D4BB;
  --mint-dark: #7AC4A5;
  --mint-pale: #d1fae5;
  --bg: #1a1a3e;
  --bg-light: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.06);
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --text: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.50);
  --text-dim: rgba(255,255,255,0.35);
  --danger: #ef6b6b;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(170deg, var(--violet) 0%, var(--bg) 30%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

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

/* ═══ Glass card ═══ */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

/* ═══ Header ═══ */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-text { font-size: 28px; font-weight: 800; color: var(--white); }
.logo-text span { color: var(--mint); }
.header-nav { display: flex; align-items: center; gap: 16px; }
.header-nav a { color: var(--text-muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.header-nav a:hover { color: var(--white); text-decoration: none; }
.lang-switcher { display: flex; gap: 4px; }
.lang-switcher a {
  padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 600;
  color: var(--text-muted); text-decoration: none;
}
.lang-switcher a:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
.lang-switcher a.active {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--bg);
}
.btn-login {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.1); color: var(--white);
  border-radius: 10px; text-decoration: none;
}
.btn-login:hover { background: rgba(255,255,255,0.2); text-decoration: none; }

/* ═══ Hero ═══ */
.hero {
  text-align: center;
  padding: 60px 24px 80px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1.15; margin-bottom: 16px;
}
.hero .subtitle {
  font-size: 18px; color: var(--text-muted);
  max-width: 520px; margin: 0 auto 24px; line-height: 1.6;
}
.roles-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 32px;
}
.role-tag {
  padding: 6px 14px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.btn-cta {
  display: inline-block;
  padding: 16px 36px; font-size: 17px; font-weight: 700;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--bg); border-radius: 14px; text-decoration: none;
  box-shadow: 0 4px 24px rgba(152,212,187,0.35);
  transition: box-shadow 0.2s;
}
.btn-cta:hover { box-shadow: 0 6px 32px rgba(152,212,187,0.45); text-decoration: none; }

/* ═══ Sections ═══ */
.section {
  padding: 72px 24px;
}
.section-alt {
  padding: 72px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.section-title {
  font-size: 28px; font-weight: 700; color: var(--white);
  text-align: center; margin-bottom: 12px;
}
.section-subtitle {
  font-size: 15px; color: var(--text-muted);
  text-align: center; margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto;
}

/* ═══ Problem cards ═══ */
.problems-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.problem-card {
  padding: 28px; text-align: center;
}
.problem-icon {
  width: 48px; height: 48px;
  background: rgba(239,107,107,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 22px;
}
.problem-card p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ═══ Features grid ═══ */
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.feature-card { padding: 28px; }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(152,212,187,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 20px;
}
.feature-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ═══ Steps ═══ */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 900px; margin: 0 auto; text-align: center;
}
.step-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(152,212,187,0.2), rgba(152,212,187,0.05));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 24px; position: relative;
}
.step-number {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px;
  background: var(--mint); color: var(--bg);
  font-size: 12px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* ═══ Social proof ═══ */
.social-proof {
  text-align: center; padding: 48px 24px;
}
.social-proof p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.flags { font-size: 28px; display: flex; justify-content: center; gap: 12px; }

/* ═══ Pricing ═══ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 500px; margin: 0 auto;
}
.price-card { padding: 28px; text-align: center; }
.price-card.featured { border: 2px solid var(--mint); background: rgba(152,212,187,0.06); }
.price-badge {
  display: inline-block; font-size: 9px; font-weight: 700;
  background: var(--mint); color: var(--bg);
  padding: 3px 8px; border-radius: 10px; text-transform: uppercase;
  margin-left: 6px; vertical-align: middle;
}
.price-card h3 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--white); }
.price-period { font-size: 14px; color: var(--text-muted); }
.price-features { list-style: none; text-align: left; margin: 16px 0 24px; }
.price-features li {
  font-size: 13px; color: rgba(255,255,255,0.7);
  padding: 4px 0; display: flex; align-items: center; gap: 8px;
}
.price-features li::before { content: "✓"; color: var(--mint); font-weight: 700; font-size: 12px; }
.price-features li.highlight { color: var(--mint); font-weight: 600; }
.btn-price {
  display: block; width: 100%; padding: 12px;
  font-size: 14px; font-weight: 600;
  border-radius: 12px; text-decoration: none; text-align: center;
}
.btn-price-primary {
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  color: var(--bg);
}
.btn-price-secondary {
  background: rgba(255,255,255,0.1); color: var(--white);
}
.btn-price-secondary:hover { background: rgba(255,255,255,0.15); text-decoration: none; }

/* ═══ Referral ═══ */
.referral-section { text-align: center; padding: 72px 24px; }
.referral-icon {
  width: 56px; height: 56px;
  background: rgba(152,212,187,0.15); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px;
}
.referral-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  max-width: 380px; margin: 24px auto 0;
}
.referral-card { padding: 20px; text-align: center; border-radius: 16px; }
.referral-card.featured { border: 1px solid rgba(152,212,187,0.2); background: rgba(152,212,187,0.06); }
.referral-card .emoji { font-size: 28px; margin-bottom: 8px; }
.referral-card h4 { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.referral-card p { font-size: 12px; color: var(--text-muted); }
.referral-card.featured p { color: var(--mint); }

/* ═══ Final CTA ═══ */
.final-cta { text-align: center; padding: 80px 24px; }
.final-cta h2 { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 20px; }

/* ═══ Footer ═══ */
.site-footer {
  padding: 40px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.5); }
.footer-logo span { color: var(--mint); }
.footer-tagline { font-size: 11px; color: rgba(255,255,255,0.25); margin-top: 2px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-dim); text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 24px; }

/* ═══ Legal pages ═══ */
.legal-page { max-width: 700px; margin: 0 auto; }
.legal-page h1 { font-size: 32px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.legal-page h2 { font-size: 18px; font-weight: 600; color: var(--white); margin-top: 28px; margin-bottom: 10px; }
.legal-page p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { margin: 8px 0 16px 20px; }
.legal-page li { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 4px; }
.legal-page a { color: var(--mint); }

/* ═══ Responsive ═══ */
@media (max-width: 700px) {
  .hero h1 { font-size: 32px; }
  .hero .subtitle { font-size: 16px; }
  .problems-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 320px; }
  .referral-grid { grid-template-columns: 1fr; max-width: 280px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .site-header { flex-wrap: wrap; gap: 12px; }
  .header-nav { gap: 8px; }
}
