@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;600;700;800&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --bg: #000000;
  --surface-1: #080808;
  --surface-2: #0f0f0f;
  --surface-3: #161616;
  --border: #1c1c1c;
  --border-bright: #2e2e2e;
  --accent: #00e87a;
  --accent-dim: rgba(0, 232, 122, 0.07);
  --accent-glow: rgba(0, 232, 122, 0.22);
  --text-1: #ffffff;
  --text-2: #9a9a9a;
  --text-3: #4a4a4a;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --nav-h: 72px;
  --announce-h: 0px;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.announce-active { --announce-h: 38px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 38px;
  background: var(--accent);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 clamp(24px, 5vw, 80px);
  font-size: 13px;
  font-weight: 600;
}

.announce-bar.hidden { display: none; }

.announce-bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #000;
}

.announce-close {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #000;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.7;
  transition: opacity var(--ease);
}

.announce-close:hover { opacity: 1; }

.nav {
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  transition: background var(--ease), border-color var(--ease), top 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--ease);
  white-space: nowrap;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-sm { padding: 8px 18px; }
.btn-md { padding: 12px 28px; font-size: 15px; }
.btn-lg { padding: 15px 36px; font-size: 15px; }

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #05ff87;
  border-color: #05ff87;
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--text-2);
  background: var(--surface-2);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: 8px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--announce-h) + var(--nav-h));
  left: 0;
  right: 0;
  background: rgba(4, 4, 4, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 24px;
  z-index: 99;
  flex-direction: column;
  transition: top 0.3s ease;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 14px clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease), background var(--ease);
  display: block;
}

.nav-mobile a:last-of-type { border-bottom: none; }

.nav-mobile a:hover {
  color: var(--text-1);
  background: var(--surface-2);
}

.nav-mobile-btn {
  margin: 16px clamp(24px, 5vw, 80px) 0 !important;
  border-bottom: none !important;
  justify-content: center;
  text-align: center;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--announce-h) + var(--nav-h) + 60px) clamp(24px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -5%, rgba(0, 232, 122, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 70%, rgba(0, 232, 122, 0.03) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 0%, transparent 80%);
  opacity: 0.35;
}

.hero-content {
  position: relative;
  max-width: 820px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 122, 0.16);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero h1 .accent { color: var(--accent); }

.hero-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scrollAnim 2s ease infinite;
}

@keyframes scrollAnim {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.9; }
}

section { padding: 100px clamp(24px, 5vw, 80px); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.75;
}

.features { border-top: 1px solid var(--border); }
.features-header { margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background var(--ease);
}

.feature-card:hover { background: var(--surface-2); }

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 122, 0.14);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  padding: 80px clamp(24px, 5vw, 80px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.testimonials-section { border-top: 1px solid var(--border); }
.testimonials-header { margin-bottom: 64px; }

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

.testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--ease), background var(--ease);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
}

.testimonial-stars { display: flex; gap: 3px; }
.testimonial-stars span { color: var(--accent); font-size: 14px; }

.testimonial-text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 122, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name { font-size: 14px; font-weight: 600; color: var(--text-1); }
.testimonial-role { font-size: 12px; color: var(--text-3); margin-top: 2px; }

.faq-section { border-top: 1px solid var(--border); }
.faq-header { margin-bottom: 56px; }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: color var(--ease);
}

.faq-q:hover { color: var(--accent); }

.faq-arrow {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform 0.25s ease, color var(--ease);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }

.faq-a p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  padding-bottom: 22px;
}

.faq-a a { color: var(--accent); }
.faq-a a:hover { text-decoration: underline; }

.cta-section { border-top: 1px solid var(--border); }

.cta-box {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(48px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-box .section-title { margin-bottom: 16px; }
.cta-box .section-sub { margin: 0 auto 36px; }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 60px clamp(24px, 5vw, 80px) 40px;
  background: var(--surface-1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 14px; }

.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--ease);
}

.footer-col ul a:hover { color: var(--text-1); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--text-3); }
.footer-bottom a { color: var(--text-2); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--text-1); }
.footer-legal-links { display: flex; gap: 20px; }

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--announce-h) + var(--nav-h) + 24px) 24px 24px;
  position: relative;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 232, 122, 0.05) 0%, transparent 70%);
}

.auth-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 44px 40px;
  text-align: center;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 36px;
}

.auth-logo img { width: 34px; height: 34px; object-fit: contain; }

.auth-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.auth-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 36px;
  line-height: 1.65;
}

.auth-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.auth-actions .btn { width: 100%; padding: 14px; font-size: 15px; border-radius: 10px; }

.auth-sep { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-sep span { font-size: 12px; color: var(--text-3); }

.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-3);
}

.lock-icon { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.auth-note { margin-top: 20px; font-size: 12px; color: var(--text-3); line-height: 1.6; }

.auth-note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--ease);
}

.auth-note a:hover { color: var(--text-1); }

.legal-hub-page {
  min-height: 100vh;
  padding: calc(var(--announce-h) + var(--nav-h) + 80px) clamp(24px, 5vw, 80px) 100px;
}

.legal-hub-header { text-align: center; margin-bottom: 64px; }
.legal-hub-header .section-label { display: flex; justify-content: center; }
.legal-hub-header .section-sub { margin: 0 auto; }

.legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 80px;
}

.legal-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--ease);
}

.legal-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.legal-card-icon { font-size: 28px; margin-bottom: 4px; }

.legal-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; flex: 1; }
.legal-card-arrow { font-size: 13px; color: var(--accent); font-weight: 600; margin-top: 8px; }

.legal-content-page {
  padding: calc(var(--announce-h) + var(--nav-h) + 60px) clamp(24px, 5vw, 80px) 100px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page-header {
  margin-bottom: 52px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.legal-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.legal-meta span { font-size: 13px; color: var(--text-3); }
.legal-meta span strong { color: var(--text-2); font-weight: 500; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 36px;
  transition: color var(--ease);
}

.legal-back:hover { color: var(--text-1); }

.legal-body h2 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-body h2:first-child { border-top: none; }

.legal-body h3 { font-size: 15px; font-weight: 600; margin: 28px 0 10px; color: var(--text-1); }

.legal-body p { font-size: 15px; color: var(--text-2); line-height: 1.85; margin-bottom: 16px; }

.legal-body ul, .legal-body ol { padding-left: 24px; margin-bottom: 18px; }

.legal-body li { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 8px; }

.legal-body a { color: var(--accent); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration: underline; }

.legal-callout {
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 122, 0.14);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 24px 0;
}

.legal-callout p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.7; }
.legal-callout strong { color: var(--accent); }

.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.not-found-inner { max-width: 500px; }

.nf-code {
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 144px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-3);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.nf-code span { color: var(--accent); }

.not-found-inner h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.not-found-inner p { font-size: 15px; color: var(--text-2); margin-bottom: 36px; line-height: 1.7; }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  z-index: 150;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cookie-banner.cookie-hidden {
  display: none;
}

.cookie-banner.cookie-out {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.cookie-banner p { font-size: 13px; color: var(--text-2); line-height: 1.6; flex: 1; }
.cookie-banner a { color: var(--accent); text-underline-offset: 2px; }
.cookie-banner a:hover { text-decoration: underline; }

.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  color: var(--text-1);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color var(--ease), background var(--ease);
  pointer-events: none;
}

.scroll-top-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

.scroll-top-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.observe {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.observe.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 36px 28px; }
}

@media (max-width: 580px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal-links { flex-direction: column; gap: 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; bottom: 16px; }
  .cookie-banner .btn { width: 100%; }
  .scroll-top-btn { bottom: 20px; right: 20px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  }

@media (max-width: 768px) {
  .btn-lg {
    padding: 12px 24px;
    font-size: 14px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: unset;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-col ul {
    gap: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-legal-links {
    flex-direction: row;
    gap: 20px;
  }

  .features-grid {
    border-radius: var(--radius);
  }

  .cta-box {
    padding: 40px 24px;
  }

  .stats-grid {
    gap: 28px;
  }

  .testimonials-grid {
    gap: 16px;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .hero h1 {
    font-size: clamp(36px, 9vw, 56px);
  }
}

@media (max-width: 400px) {
  .btn-lg {
    padding: 11px 20px;
    font-size: 13px;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 10px;
  }

  .stat-number {
    font-size: 32px;
  }
}

.team-page {
  min-height: 100vh;
  padding: calc(var(--announce-h) + var(--nav-h) + 80px) clamp(24px, 5vw, 80px) 100px;
}

.team-header {
  margin-bottom: 72px;
}

.team-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.team-rest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.team-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 232, 122, 0), transparent);
  transition: background 0.4s ease;
}

.team-card:hover {
  border-color: var(--border-bright);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.team-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 20px;
  transition: border-color var(--ease);
  flex-shrink: 0;
}

.team-card:hover .team-avatar {
  border-color: var(--accent);
}

.team-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-1);
  margin-bottom: 6px;
}

.team-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 232, 122, 0.14);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.team-divider {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .team-founders {
    grid-template-columns: 1fr;
  }

  .team-rest {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .team-card {
    padding: 28px 24px;
  }
}

.team-bio {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  margin-bottom: 36px;
  padding: 8px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all var(--ease);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-back::before {
  content: '';
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(1px, -1px);
  flex-shrink: 0;
  transition: transform var(--ease);
}

.legal-back:hover {
  color: var(--text-1);
  border-color: var(--border-bright);
  background: var(--surface-2);
}

.legal-back:hover::before {
  transform: rotate(45deg) translate(-1px, -1px);
}

.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  color: var(--text-1);
  font-size: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color var(--ease), background var(--ease);
  pointer-events: none;
}

.scroll-top-btn::before {
  content: '';
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
  transition: transform var(--ease);
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
}

.scroll-top-btn:hover::before {
  transform: rotate(45deg) translate(2px, 4px);
}

body.light {
  --bg: #f0f0f0;
  --surface-1: #e0e0e0;
  --surface-2: #d7d7d7;
  --surface-3: #c8c8c8;
  --border: #d0d0d0;
  --border-bright: #bbbbbb;
  --accent: #00a854;
  --accent-dim: rgba(0, 168, 84, 0.08);
  --accent-glow: rgba(0, 168, 84, 0.2);
  --text-1: #1a1a1a;
  --text-2: #666666;
  --text-3: #888888;
}

body.light .nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
}

body.light .nav-mobile {
  background: rgba(255, 255, 255, 0.98);
}

body.light .hero-grid {
  opacity: 0.2;
}

body.light .feature-card {
  background: #f9f9f9;
}

body.light .feature-card:hover {
  background: var(--surface-1);
}

body.light .stats-section {
  background: var(--surface-1);
}

body.light .testimonial-card {
  background: #f9f9f9;
}

body.light .cta-box {
  background: var(--surface-1);
}

body.light .footer {
  background: var(--surface-1);
}

body.light .auth-card {
  background: #f9f9f9;
}

body.light .legal-card {
  background: #f9f9f9;
}

body.light .legal-card:hover {
  background: var(--surface-1);
}

body.light .legal-callout {
  background: rgba(0, 168, 84, 0.06);
}

body.light .incident-card,
body.light .no-incidents {
  background: #f9f9f9;
}

body.light .cookie-banner {
  background: #f9f9f9;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

body.light .scroll-top-btn {
  background: #f9f9f9;
}

body.light .team-card {
  background: #f9f9f9;
}

body.light .team-card:hover {
  background: var(--surface-1);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--ease);
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  border-color: var(--border-bright);
  background: var(--surface-3);
}

.theme-toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.icon-sun,
.icon-moon {
  position: absolute;
  inset: 0;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #00a854; /* Green color for the sun icon in dark mode */
}

.icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

body.light .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

body.light .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

@media (max-width: 768px) {
  .theme-toggle {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 48px;
    height: 48px;
  }

  .theme-toggle-icon {
    width: 24px;
    height: 24px;
  }

  .icon-sun,
  .icon-moon {
    width: 18px;
    height: 18px;
  }
}
