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

:root {
  --bg-gradient: radial-gradient(100% 80% at 50% 0%, #ecfdf5 0%, #ffffff 50%, #f8fafc 100%);
  --bg-grid: rgba(16, 185, 129, 0.04);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --brand-primary: #059669;
  --brand-accent: #20c677;
  --brand-light: #ecfdf5;
  --border-color: #e2e8f0;
  --card-bg: #ffffff;
  --btn-bg: #059669;
  --btn-hover: #047857;
  --btn-text: #ffffff;
  --pill-bg: #f1f5f9;
  --pill-active: #059669;
  --pill-active-text: #ffffff;
  --shadow: 0 20px 40px -15px rgba(5, 150, 105, 0.12), 0 0 1px 1px rgba(0,0,0,0.03);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-gradient: radial-gradient(100% 80% at 50% 0%, #062216 0%, #04160e 50%, #020b07 100%);
    --bg-grid: rgba(32, 198, 119, 0.06);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --brand-primary: #20c677;
    --brand-accent: #10b981;
    --brand-light: rgba(32, 198, 119, 0.12);
    --border-color: rgba(255, 255, 255, 0.12);
    --card-bg: rgba(255, 255, 255, 0.95);
    --btn-bg: #20c677;
    --btn-hover: #10b981;
    --btn-text: #022013;
    --pill-bg: rgba(255, 255, 255, 0.08);
    --pill-active: #20c677;
    --pill-active-text: #022013;
    --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.1);
  }
}

html, body {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background grid accent */
.bg-overlay {
  position: absolute;
  inset: 0;
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, var(--bg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bg-grid) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Header */
header {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--pill-bg);
  border: 1px solid var(--border-color);
  padding: 3px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
}

.locale-switcher a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.15s ease-in-out;
}

.locale-switcher a:hover {
  color: var(--text-main);
}

.locale-switcher a.active {
  background: var(--pill-active);
  color: var(--pill-active-text);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Main Content */
main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--brand-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  box-shadow: 0 0 0 0 rgba(32, 198, 119, 0.7);
  animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 198, 119, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(32, 198, 119, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(32, 198, 119, 0);
  }
}

.logo-wrapper {
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
}

.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.logo-card:hover {
  transform: translateY(-2px);
}

.logo-img {
  width: 260px;
  max-width: 80vw;
  height: auto;
  display: block;
}

h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text-main);
  max-width: 760px;
  margin: 0 auto 20px;
  text-wrap: balance;
}

p.tagline {
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.35);
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -5px rgba(5, 150, 105, 0.45);
}

.cta-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.cta-button:hover svg {
  transform: rotate(-12deg) scale(1.1);
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

@media (max-width: 640px) {
  header {
    justify-content: center;
    padding-top: 20px;
  }
  .logo-card {
    padding: 14px 26px;
  }
  .logo-img {
    width: 210px;
  }
}

