:root {
  --bg: #0b1220;
  --bg-elevated: #121b2e;
  --text: #eef2f8;
  --text-muted: #a7b3c6;
  --accent: #4a90d9;
  --accent-2: #6ad0e0;
  --border: #223049;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: var(--accent-2);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

header.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
}

.brand .logo-dot {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}

nav.links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
}

.lang-switch {
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

nav.links a {
  color: var(--text-muted);
  text-decoration: none;
}

nav.links a:hover {
  color: var(--text);
}

.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.1;
  margin: 0 0 16px;
  background: linear-gradient(135deg, var(--text) 20%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051320;
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-kofi {
  background: #29abe0;
  color: #051320;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.phone-mock {
  margin: 56px auto 0;
  width: 240px;
  height: 490px;
  border-radius: 40px;
  background: linear-gradient(160deg, var(--bg-elevated), #0a1526);
  border: 2px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  padding: 14px;
  position: relative;
}

.phone-mock .screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 10px;
}

.phone-mock .row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: 10px;
}

.phone-mock .thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  flex-shrink: 0;
}

.phone-mock .lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phone-mock .line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.phone-mock .line.short {
  width: 45%;
}

.logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-block;
  object-fit: cover;
}

.phone-frame {
  margin: 56px auto 0;
  width: 240px;
  border-radius: 40px;
  background: linear-gradient(160deg, var(--bg-elevated), #0a1526);
  border: 2px solid var(--border);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  padding: 10px;
}

.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 32px;
}

.screens-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-frame-small {
  margin: 0;
  width: 200px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
}

.lang-switch a {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.lang-switch a:hover {
  color: var(--text);
  border-color: var(--border);
}

.lang-switch a.active {
  color: var(--bg);
  background: var(--accent-2);
}

section {
  padding: 56px 0;
}

section h2 {
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  margin: 0 0 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.privacy-strip {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.privacy-strip h2 {
  margin-top: 0;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

footer a {
  color: var(--text-muted);
}

footer .footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.legal h1 {
  font-size: 28px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 36px;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 15px;
}

.legal {
  padding: 48px 0 64px;
}
