:root {
  --gr-primary: #0f766e;
  --gr-secondary: #14b8a6;
  --gr-accent: #2dd4bf;
  --gr-bg: #f0fdfa;
  --gr-card: #ffffff;
  --gr-dark: #0f172a;
  --gr-muted: #64748b;
  --gr-border: #e2e8f0;
  --gr-success: #10b981;
  --gr-warning: #f59e0b;
  --gr-error: #ef4444;
  --gr-radius: 0.5rem;
  --gr-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --gr-font: "Inter", "Segoe UI", system-ui, sans-serif;
}

html {
  height: 100%;
  background: #082f2c;
}

html, body {
  font-family: var(--gr-font);
  color: var(--gr-dark);
  margin: 0;
}

body.site-body {
  min-height: 100%;
  min-height: 100dvh;
  background: #082f2c;
}

.site-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  margin-top: auto;
}

a { color: var(--gr-primary); }

.gr-navbar {
  background: #fff;
  border-bottom: 1px solid var(--gr-border);
}

.gr-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  color: var(--gr-dark) !important;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}

.gr-logo {
  width: 36px;
  height: 36px;
}

.gr-nav-link {
  color: #334155 !important;
  font-weight: 500;
  font-size: 0.92rem;
}

.gr-nav-link:hover, .gr-nav-link.active {
  color: var(--gr-primary) !important;
}

.btn-gr {
  background: var(--gr-primary);
  color: #fff;
  border: none;
  border-radius: 0.45rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
}

.btn-gr:hover { background: #0b5f59; color: #fff; }

.btn-gr-outline {
  background: #fff;
  color: var(--gr-primary);
  border: 1.5px solid var(--gr-primary);
  border-radius: 0.45rem;
  font-weight: 600;
  padding: 0.65rem 1.15rem;
}

.btn-gr-outline:hover { background: var(--gr-bg); color: var(--gr-primary); }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(45, 212, 191, 0.22), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(20, 184, 166, 0.16), transparent 28%),
    linear-gradient(180deg, #f7fffd 0%, #ffffff 72%);
  padding: 4.6rem 0 3.2rem;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.2), transparent 68%);
  pointer-events: none;
  animation: gr-pulse 8s ease-in-out infinite;
}

@keyframes gr-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--gr-border);
  color: var(--gr-primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

.discovery-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 1.1rem 0 0.4rem;
}

.discovery-tabs button {
  border: 1px solid var(--gr-border);
  background: #fff;
  color: var(--gr-muted);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.discovery-tabs button.active {
  background: var(--gr-primary);
  border-color: var(--gr-primary);
  color: #fff;
}

.dashboard-card {
  position: relative;
  z-index: 1;
  animation: gr-float 7s ease-in-out infinite;
}

@keyframes gr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.hero-accent { color: var(--gr-primary); }

.hero-lead {
  color: var(--gr-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--gr-bg);
  color: var(--gr-primary);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.dashboard-card {
  background: var(--gr-card);
  border: 1px solid var(--gr-border);
  border-radius: 1rem;
  box-shadow: var(--gr-shadow);
  padding: 1.1rem;
}

.stat-tile {
  background: #f8fffd;
  border: 1px solid #d9f3ee;
  border-radius: 0.7rem;
  padding: 0.8rem;
}

.stat-tile small { color: var(--gr-muted); }
.stat-tile strong { display: block; font-size: 1.05rem; }

.search-bar {
  margin-top: -1.6rem;
  background: #fff;
  border: 1px solid var(--gr-border);
  border-radius: 0.9rem;
  box-shadow: var(--gr-shadow);
  padding: 0.85rem;
}

.chip {
  display: inline-block;
  background: var(--gr-bg);
  color: var(--gr-primary);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.15rem 0.2rem 0 0;
}

.logo-strip {
  padding: 2rem 0;
  color: var(--gr-muted);
  border-bottom: 1px solid var(--gr-border);
}

.logo-name {
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section { padding: 4.2rem 0; }
.section-mint { background: var(--gr-bg); }
.section-dark { background: #0b4f4a; color: #fff; }

.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.feature-card, .dataset-card, .price-card {
  background: #fff;
  border: 1px solid var(--gr-border);
  border-radius: 0.85rem;
  padding: 1.35rem;
  height: 100%;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.7rem;
  background: var(--gr-bg);
  color: var(--gr-primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.price-card.popular {
  border: 2px solid var(--gr-primary);
  transform: translateY(-6px);
}

.badge-popular {
  background: var(--gr-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
}

.stats-banner {
  background: linear-gradient(90deg, #0f766e, #0d9488);
  color: #fff;
  padding: 2rem 0;
}

.stats-banner .label { opacity: 0.85; font-size: 0.8rem; }
.stats-banner .value { font-weight: 800; font-size: 1.25rem; }

.footer {
  background: #082f2c;
  color: #d1fae5;
  padding: 3rem 0 1.2rem;
}

.footer a { color: #99f6e4; text-decoration: none; }
.footer h6 { color: #fff; font-weight: 700; }

.trust-bar {
  background: #0f766e;
  color: #fff;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.page-hero {
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, #f0fdfa, #fff);
}

.form-control, .form-select {
  border-color: var(--gr-border);
  border-radius: 0.45rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gr-secondary);
  box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.18);
}

.gr-map {
  width: 100%;
  height: 150px;
  border-radius: 0.6rem;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.22)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath fill='%230f766e' fill-opacity='0.35' d='M120 180l40-20 50 10 20 30-30 40-50-10zM260 140l80-30 70 20 10 50-60 35-70-10zM480 160l90-25 70 35-20 45-90 10zM220 250l45 10 20 30-40 20-35-15z'/%3E%3C/svg%3E");
  background-size: cover;
}

.trend {
  height: 70px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.trend span {
  flex: 1;
  background: linear-gradient(#14b8a6, #0f766e);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

.donut {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#0f766e 0 38%, #14b8a6 38% 62%, #2dd4bf 62% 78%, #99f6e4 78% 100%);
}

.auth-card {
  max-width: 440px;
  margin: 3rem auto;
  background: #fff;
  border: 1px solid var(--gr-border);
  border-radius: 1rem;
  box-shadow: var(--gr-shadow);
  padding: 2rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin: 1.25rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--gr-border);
}

.btn-oauth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  background: #fff;
  color: #111827;
  border: 1px solid #111827;
  border-radius: 0.65rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.btn-oauth:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--gr-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.playbook-card {
  border: 1px solid var(--gr-border);
  border-radius: 0.85rem;
  padding: 1.25rem;
  background: #fff;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.playbook-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--gr-shadow);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--gr-muted);
}

.dash-shell {
  min-height: 100vh;
  display: flex;
  background: #f8fffd;
}

.dash-sidebar {
  width: 250px;
  background: #082f2c;
  color: #d1fae5;
  padding: 1.25rem 1rem;
  flex-shrink: 0;
}

.dash-sidebar a {
  display: block;
  color: #99f6e4;
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
}

.dash-sidebar a.active, .dash-sidebar a:hover {
  background: #0f766e;
  color: #fff;
}

.dash-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dash-top {
  background: #fff;
  border-bottom: 1px solid var(--gr-border);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-body {
  padding: 1.5rem;
}

.dash-shell .dashboard-card {
  animation: none;
}

@media (max-width: 991px) {
  .hero { padding-top: 2.2rem; }
  .price-card.popular { transform: none; }
  .dash-shell { flex-direction: column; }
  .dash-sidebar { width: 100%; }
}
