:root {
  --bg: #030806;
  --bg-soft: #08120d;
  --surface: rgba(20, 36, 28, 0.45);
  --surface-strong: rgba(22, 43, 33, 0.85);
  --border: rgba(69, 216, 137, 0.15);
  --border-strong: rgba(69, 216, 137, 0.4);
  --text: #ffffff;
  --muted: #a4bea9;
  --primary: #52e592;
  --primary-glow: rgba(82, 229, 146, 0.4);
  --gold: #e8c678;
  --gold-glow: rgba(232, 198, 120, 0.25);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(69, 216, 137, 0.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(232, 198, 120, 0.08), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(69, 216, 137, 0.05), transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

::selection {
  background: var(--primary);
  color: #000;
}

.site-shell {
  width: min(calc(100% - 40px), var(--content-width));
  margin: 0 auto;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
  0% { transform: translateX(-150%); }
  50% { transform: translateX(150%); }
  100% { transform: translateX(150%); }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(135deg, rgba(82, 229, 146, 0.2), rgba(82, 229, 146, 0.05));
  border: 1px solid var(--border);
  border-radius: 99px;
  margin: 12px auto 0;
  padding: 8px 16px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 100%;
  line-height: 1.4;
  flex-wrap: wrap;
}

.announcement-bar a:hover {
  color: #b8ffd5;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 10px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 20px;
  margin-top: 10px;
  background: rgba(8, 18, 13, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 99px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.brand:hover {
  transform: scale(1.02);
}

.brand-mark-image {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-copy small {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  flex-wrap: wrap;
}

.topnav a {
  position: relative;
  padding: 8px 0;
}

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

.topnav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.topnav a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
}

.lang-switcher select {
  background: transparent;
  border: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.lang-switcher select option {
  background: var(--bg-soft);
  color: var(--text);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  text-align: center;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-copy {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  background: rgba(232, 198, 120, 0.1);
  border: 1px solid rgba(232, 198, 120, 0.2);
  border-radius: 99px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.split-card h2,
.privacy-strip h2,
.cta-card h2,
.policy-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  background: linear-gradient(to right, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  padding-bottom: 0.1em;
}

.hero-text,
.split-card p,
.cta-card p,
.policy-card p,
.policy-list li,
.feature-card p,
.stat-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.1rem;
}

.hero-text {
  max-width: 700px;
  margin: 24px auto 0;
  font-size: 1.25rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.button:hover::before {
  transform: translateX(100%);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button:active {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #3dbf77);
  color: #031208;
  box-shadow: 0 8px 24px var(--primary-glow);
  border: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: var(--primary);
  background: rgba(69, 216, 137, 0.05);
}

/* Meta Chips */
.hero-meta,
.privacy-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.hero-meta span,
.privacy-points span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.hero-meta span:hover,
.privacy-points span:hover {
  border-color: var(--primary);
  color: var(--text);
  background: rgba(69, 216, 137, 0.05);
  transform: translateY(-2px);
}

/* Cards & Layout */
.device-card,
.stat-card,
.feature-card,
.split-card,
.cta-card,
.policy-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.stat-card:hover,
.feature-card:hover,
.split-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary-glow);
}

/* Shine effect on hover */
.stat-card::after,
.feature-card::after,
.split-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.stat-card:hover::after,
.feature-card:hover::after,
.split-card:hover::after {
  left: 150%;
}

.stats-grid,
.split-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0 120px;
}

.stat-card {
  padding: 32px;
}

.stat-card strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text);
}

/* Feature Section */
.feature-section,
.cta-section,
.policy-layout {
  margin-bottom: 120px;
}

.section-heading {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-heading h2,
.privacy-strip h2,
.cta-card h2,
.policy-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

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

.feature-card {
  padding: 40px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.feature-card-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--surface), rgba(69, 216, 137, 0.05));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(232, 198, 120, 0.15);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 198, 120, 0.3);
  box-shadow: 0 4px 20px var(--gold-glow);
}

.feature-card h3,
.split-card h2,
.policy-card h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.split-section {
  grid-template-columns: repeat(2, 1fr);
}

.split-card {
  padding: 48px;
}

/* Privacy Strip */
.privacy-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px;
  margin: 0 0 120px;
  border-radius: var(--radius-xl);
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23g)"/></svg>'),
    linear-gradient(135deg, rgba(14, 38, 26, 0.95), rgba(5, 12, 9, 0.98));
  border: 1px solid rgba(69, 216, 137, 0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 80px rgba(69,216,137,0.05);
  text-align: center;
}

.privacy-strip .button {
  margin: 0 auto;
}

/* CTA Section */
.cta-card {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--surface-strong), rgba(10, 20, 15, 0.9));
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-card h2 {
  margin-bottom: 24px;
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.2rem;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.95rem;
}

.footer strong {
  color: var(--text);
  font-size: 1.1rem;
}

.footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  position: relative;
}
.footer-links a:hover {
  color: var(--primary);
}

/* Policy Pages */
.policy-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 60px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}

.policy-hero {
  padding: 0 0 24px;
  text-align: center;
}

.policy-hero p.eyebrow {
  margin: 0 auto 16px;
}

.policy-hero h1 {
  margin-bottom: 16px;
}

.policy-card {
  padding: 40px;
}

.policy-card h2 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.policy-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-list li {
  margin-bottom: 12px;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-card a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.policy-card a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 1150px) {
  .topbar {
    flex-direction: column;
    padding: 16px;
    border-radius: 24px;
    gap: 16px;
  }
  .topbar-actions {
    justify-content: center;
    width: 100%;
  }
  .topnav {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
  }
}

@media (max-width: 860px) {
  .stats-grid,
  .feature-grid,
  .split-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card-large {
    grid-column: span 1;
  }

  .topbar {
    flex-direction: column;
    padding: 16px;
    border-radius: 20px;
  }

  .topbar-actions {
    width: 100%;
    flex-direction: column;
    gap: 16px;
  }

  .topnav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-links {
    justify-content: center;
  }
  
  .privacy-strip {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-actions,
  .cta-actions,
  .hero-meta,
  .privacy-points {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }
  
  .stat-card,
  .feature-card,
  .split-card,
  .cta-card,
  .policy-card {
    padding: 24px;
  }
}
