:root {
  --bg-base: #07070b;
  --bg-surface: rgba(13, 13, 22, 0.65);
  --bg-surface-hover: rgba(20, 18, 36, 0.85);
  --bg-elevated: rgba(24, 21, 42, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-specular: rgba(167, 139, 250, 0.18);
  --border-glow: rgba(139, 92, 246, 0.45);
  --border-active: rgba(192, 132, 252, 0.75);

  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.28);
  --purple-accent: #d946ef;

  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-glow: rgba(245, 158, 11, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-base);
}

.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.6;
  will-change: transform;
}

.ambient-purple {
  width: 620px;
  height: 620px;
  top: -140px;
  left: 20%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
}

.ambient-indigo {
  width: 720px;
  height: 720px;
  top: 30%;
  right: -120px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
}

.ambient-magenta {
  width: 520px;
  height: 520px;
  bottom: -60px;
  left: 8%;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.12) 0%, transparent 70%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 70%, transparent 100%);
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 7, 11, 0.78);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: opacity var(--transition-fast);
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.email-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.email-pill-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--border-specular);
  color: var(--purple-300);
}

.email-pill-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.hero-section {
  padding: 96px 0 76px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-full);
  color: var(--purple-300);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 26px;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15);
}

.hero-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--purple-400);
  box-shadow: 0 0 10px var(--purple-400);
}

.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 35%, #c084fc 70%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #ffffff;
  box-shadow: 0 8px 25px var(--purple-glow), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(139, 92, 246, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-play {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: 0 8px 22px var(--emerald-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45);
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
  opacity: 0.7;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.status-live {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 10px var(--emerald-400);
  position: relative;
}

.status-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--emerald-400);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.status-upcoming {
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-300);
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.status-upcoming-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-400);
  box-shadow: 0 0 8px var(--purple-400);
}

.section {
  padding: 64px 0 84px;
}

.section-header {
  margin-bottom: 50px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--purple-400);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.product-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.08), 0 24px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.3), transparent);
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface-hover);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.25), 0 28px 65px -10px rgba(124, 58, 237, 0.28);
}

.product-card.card-active:hover {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.25), 0 28px 65px -10px rgba(16, 185, 129, 0.2);
}

.product-card.card-upcoming:hover {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.3), 0 28px 65px -10px rgba(139, 92, 246, 0.3);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.app-icon-wrapper {
  width: 78px;
  height: 78px;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal);
}

.product-card:hover .app-icon-wrapper {
  transform: scale(1.04);
}

.app-icon-img {
  width: 100%;
  height: 100%;
  display: block;
}

.app-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.25;
}

.app-description {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 26px;
  flex-grow: 1;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.card-action {
  margin-top: auto;
}

.card-action .btn {
  width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.value-card {
  background: rgba(13, 13, 22, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--border-specular);
  transform: translateY(-3px);
}

.value-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  color: var(--purple-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(167, 139, 250, 0.2);
}

.value-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.value-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.verification-banner {
  margin-top: 50px;
  padding: 26px 30px;
  background: rgba(13, 13, 22, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.verification-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.verification-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-300);
}

.verification-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.verification-text p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.verification-link {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--purple-300);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.verification-link:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple-400);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(18px);
  padding: 52px 0 38px;
  margin-top: 64px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
  max-width: 360px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  line-height: 1.6;
}

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

.footer-column h5 {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--purple-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.825rem;
  color: var(--text-muted);
}

dialog.privacy-modal {
  margin: auto;
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: var(--radius-lg);
  background: #0d0c18;
  color: var(--text-primary);
  width: min(92vw, 760px);
  max-height: 88vh;
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.15), 0 30px 90px rgba(0, 0, 0, 0.9);
  padding: 0;
  outline: none;
  overflow: hidden;
}

dialog.privacy-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

dialog.privacy-modal[open] {
  animation: modal-enter 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17, 15, 30, 0.95);
}

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-title-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--purple-400);
  color: var(--text-primary);
}

.modal-body {
  padding: 28px 30px;
  overflow-y: auto;
  max-height: calc(88vh - 160px);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.policy-block {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.policy-block h4 {
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.policy-block h4 span {
  color: var(--purple-400);
}

.policy-block p {
  margin-bottom: 10px;
}

.policy-block p:last-child {
  margin-bottom: 0;
}

.policy-block ul {
  margin: 10px 0 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.policy-block li {
  line-height: 1.6;
}

.policy-block a {
  color: var(--purple-300);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.policy-block a:hover {
  color: #ffffff;
}

.policy-block code {
  font-family: var(--font-mono);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  color: var(--purple-300);
}

.modal-footer {
  padding: 16px 30px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(17, 15, 30, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-footer a {
  color: var(--purple-400);
  text-decoration: none;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #131122;
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  color: var(--purple-400);
}

.privacy-page-container {
  max-width: 820px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.privacy-page-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.1), 0 24px 60px rgba(0, 0, 0, 0.6);
}

.privacy-page-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hero-section {
    padding: 60px 0 45px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 26px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-header {
    padding: 18px 20px;
  }

  .footer-top {
    flex-direction: column;
  }

  .email-pill-btn span {
    display: none;
  }
}
