:root {
  --bg: #0b1120;
  --bg-card: #111a2e;
  --bg-card-hover: #15223c;
  --bg-card-border: rgba(96, 165, 250, 0.15);
  --border: rgba(255, 255, 255, 0.05);
  --text-main: #fcfcfc;
  --text-muted: #94a3b8;
  --accent: #60a5fa;
  --accent-light: #93c5fd;
  --accent-glow: rgba(96, 165, 250, 0.35);
  --font-body: 'Inter', -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Animated Waves Background */
.waves-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70vh;
  overflow: hidden;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.wave {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.wave-layer-1 { fill: rgba(30, 58, 138, 0.5); animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave-layer-2 { fill: rgba(30, 58, 138, 0.4); animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave-layer-3 { fill: rgba(30, 58, 138, 0.2); animation: move-forever 15s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave-layer-4 { fill: rgba(30, 58, 138, 0.1); animation: move-forever 10s cubic-bezier(.55,.5,.45,.5) infinite; }

@keyframes move-forever {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-weight: 400;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-main);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  cursor: pointer;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg);
  border-color: var(--text-main);
}

.btn-primary:hover {
  background: var(--bg);
  color: var(--text-main);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
}

.arrow-icon {
  background: var(--accent);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0 6rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 5rem;
}

.partner-logo {
  height: 28px;
  opacity: 0.5;
  filter: grayscale(1) brightness(1.5);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
}

/* Sections */
.section {
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.section-badge {
  display: inline-block;
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent);
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  margin-bottom: 4rem;
  font-size: 1.1rem;
}

/* Cards Base */
.card-dark {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: left;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card-dark:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card-dark h3 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 0.75rem;
}

.card-dark p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-wide {
  grid-column: span 2;
}

.feature-full { grid-column: 1 / -1; }

.dual-agent-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
}

.agent-column h3 { color: var(--accent); margin-top: 0; }
.agent-column p { margin-bottom: 0; }
.agent-column.right-align { text-align: right; }

.agent-interaction {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}

.sync-circle {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px dashed var(--accent);
  background: rgba(96, 165, 250, 0.05);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  animation: spin 10s linear infinite;
}

.sync-icon { width: 32px; height: 32px; }
.sync-text { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); font-weight: 500;}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Circular Loop Visual */
.circular-loop-container {
  grid-column: 1 / -1;
  padding: 2rem 2rem 0;
  margin: 2rem 0 0;
  text-align: center;
  position: relative;
}

.loop-text {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.loop-text h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.loop-text p {
  color: var(--text-muted);
}

.loop-visual-wrapper {
  position: relative;
  width: 440px;
  height: 440px;
  margin: 0 auto;
}

.circular-path {
  position: absolute;
  top: 20px; bottom: 20px; left: 20px; right: 20px;
  border: 2px dashed rgba(96, 165, 250, 0.3);
  border-radius: 50%;
}

.orbit-wrapper {
  position: absolute;
  top: 20px; bottom: 20px; left: 20px; right: 20px;
  border-radius: 50%;
  animation: spin-orbit 4s linear infinite;
}

.glow-orb {
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 4px var(--accent-glow);
}

@keyframes spin-orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.circular-node {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 0 16px rgba(0,0,0,0.5);
}

.node-up { top: 20px; left: 50%; transform: translate(-50%, -50%); }
.node-right { right: 20px; top: 50%; transform: translate(50%, -50%); }
.node-down { bottom: 20px; left: 50%; transform: translate(-50%, 50%); }
.node-left { left: 20px; top: 50%; transform: translate(-50%, -50%); }

/* Grid 3 (Why Us) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2.5rem 2rem;
}
.icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Split Section (Protection) */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.features-split .section-badge {
  margin-bottom: 1.5rem;
}

.protection-list {
  margin: 2rem 0;
}

.protection-list li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chk {
  color: var(--accent);
  background: rgba(96, 165, 250, 0.15);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}

.split-visual {
  padding: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sv-title {
  color: var(--text-muted); margin-bottom: 1rem; font-size: 0.9rem;
}

.split-stats {
  display: flex; align-items: flex-end; gap: 1rem; margin-bottom: 3rem;
}

.stat-big {
  font-size: 4rem; font-weight: 400; line-height: 1; letter-spacing: -0.04em;
}

.badge-sm {
  background: rgba(255,255,255,0.1); border-radius: 999px;
  padding: 0.25rem 0.75rem; font-size: 0.8rem; border: 1px solid var(--border);
}

.bar-chart-lg {
  display: flex; gap: 1.5rem; align-items: flex-end; flex: 1;
}

.bar-lg {
  flex: 1; border-radius: 8px 8px 0 0;
}
.bar-orange { background: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.bar-dark { background: rgba(255,255,255,0.05); }

/* Responsive Grid Adjustments */
@media (max-width: 900px) {
  .feature-grid, .grid-3 { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .features-split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3rem; }
  .partner-logos { flex-wrap: wrap; }
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.admin-table th {
  color: var(--accent);
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-weight: 500;
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-main);
  font-size: 0.95rem;
}
.admin-table tr:last-child td {
  border-bottom: none;
}
