/* ============================================================
   TheScientist.info — LIGHT theme
   modern, glossy, futuristic, trustful
   ============================================================ */

:root {
  --bg-0: #f5f7fb;
  --bg-1: #eef2f9;
  --bg-2: #e6ecf7;

  --surface: rgba(255, 255, 255, 0.70);
  --surface-strong: rgba(255, 255, 255, 0.92);

  --border: rgba(20, 30, 60, 0.08);
  --border-strong: rgba(20, 30, 60, 0.16);

  --text: #0b1530;
  --text-dim: #495575;
  --text-faint: #7a869e;

  --accent-1: #00a3c4;   /* cyan */
  --accent-2: #6a5cff;   /* violet */
  --accent-3: #e8489e;   /* pink */
  --accent-glow: rgba(0, 163, 196, 0.30);

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --shadow-soft: 0 10px 30px rgba(40, 60, 120, 0.10);
  --shadow-hard: 0 20px 50px rgba(40, 60, 120, 0.18);
  --shadow-glow: 0 0 0 1px rgba(0, 163, 196, 0.28),
                 0 10px 36px rgba(0, 163, 196, 0.22);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(106, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 700px at 110% 10%, rgba(0, 163, 196, 0.18), transparent 60%),
    radial-gradient(700px 500px at 50% 110%, rgba(232, 72, 158, 0.12), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fc 40%, #eef2f9 100%);
  min-height: 100vh;
  position: relative;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.2rem; }

p { margin: 0.6em 0; color: var(--text-dim); }

code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  background: rgba(0, 163, 196, 0.08);
  color: #007a94;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 163, 196, 0.18);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   Decorative background
   ============================================================ */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.50;
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite;
}
.bg-orb-1 {
  width: 520px; height: 520px;
  top: -160px; left: -140px;
  background: radial-gradient(circle, var(--accent-2), transparent 60%);
}
.bg-orb-2 {
  width: 460px; height: 460px;
  top: 30%; right: -160px;
  background: radial-gradient(circle, var(--accent-1), transparent 60%);
  animation-delay: -6s;
}
.bg-orb-3 {
  width: 380px; height: 380px;
  bottom: -120px; left: 30%;
  background: radial-gradient(circle, var(--accent-3), transparent 60%);
  opacity: 0.30;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(30px, -20px); }
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(20, 30, 60, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 30, 60, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 163, 196, 0.30),
              inset 0 1px 0 rgba(255,255,255,0.45);
}

.brand-text em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text) !important;
}

.nav-cta:hover {
  background: #ffffff;
  box-shadow: var(--shadow-glow);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 120px 0 80px;
  position: relative;
}

.hero-inner {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 28px;
}

.eyebrow a {
  color: #007a94;
  border-bottom: 1px dashed rgba(0, 163, 196, 0.45);
}

.hero-title {
  margin-bottom: 20px;
}

.grad {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-dim);
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 163, 196, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 163, 196, 0.45),
              inset 0 1px 0 rgba(255,255,255,0.4);
}

.btn-ghost {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ============================================================
   Section base
   ============================================================ */

.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #007a94;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 163, 196, 0.10);
  border: 1px solid rgba(0, 163, 196, 0.22);
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.05rem; }

/* ============================================================
   Cards (What we offer)
   ============================================================ */

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

.card {
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.35), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hard), inset 0 1px 0 rgba(255,255,255,0.9);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.18), rgba(106, 92, 255, 0.18));
  border: 1px solid var(--border-strong);
  font-size: 1.3rem;
  color: #007a94;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.card h3 { margin-bottom: 8px; }

/* ============================================================
   Pricing
   ============================================================ */

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

.plan {
  padding: 36px 30px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan:hover { transform: translateY(-4px); }

.plan:first-child {
  border-color: rgba(0, 163, 196, 0.40);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.9);
}

.plan:first-child::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0, 163, 196, 0.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.plan-head { margin-bottom: 22px; }

.plan-head h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.plan-tag {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007a94;
}

.plan-price {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #0b1530, #2b3d6b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.unit {
  color: var(--text-faint);
  font-size: 0.9rem;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.plan-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-dim);
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(20, 30, 60, 0.07);
}

.plan-list li:last-child { border-bottom: none; }

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-1), transparent 70%);
  box-shadow: 0 0 10px rgba(0, 163, 196, 0.45);
}

.plan-cta {
  align-self: stretch;
}

.plan-addon .amount {
  background: linear-gradient(90deg, var(--accent-3), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Compare
   ============================================================ */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  padding: 34px 30px;
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.compare-recommend {
  border-color: rgba(0, 163, 196, 0.40);
  box-shadow: var(--shadow-glow);
}

.compare-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(0, 163, 196, 0.35);
}

.compare-card h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.compare-lead {
  color: var(--text);
  margin-bottom: 20px;
}

.compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.compare-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 30, 60, 0.07);
  font-size: 0.95rem;
  color: var(--text-dim);
}

.compare-card li strong { color: var(--text); margin-right: 4px; }

.compare-note {
  font-size: 0.9rem;
  color: var(--text-faint);
  border-left: 2px solid rgba(0, 163, 196, 0.40);
  padding-left: 14px;
}

/* ============================================================
   Example
   ============================================================ */

.example-card {
  display: block;
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82));
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hard);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.example-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard), 0 0 0 1px rgba(0, 163, 196, 0.35);
}

.example-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(20, 30, 60, 0.04);
  border-bottom: 1px solid var(--border);
}

.example-dot {
  width: 11px; height: 11px; border-radius: 50%;
}
.example-dot.r { background: #ff5f57; }
.example-dot.y { background: #febc2e; }
.example-dot.g { background: #28c840; }

.example-bar {
  margin-left: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85rem;
  flex: 1;
}

.example-body {
  padding: 36px 32px;
}

.example-body h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.example-link {
  display: inline-block;
  margin-top: 14px;
  color: #007a94;
  font-weight: 500;
}

/* ============================================================
   Quote
   ============================================================ */

.quote-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
  border-radius: var(--radius-l);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0, 163, 196, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.85));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-hard);
}

.quote-card .kicker { margin-bottom: 16px; }
.quote-card h2 { margin-bottom: 16px; }
.quote-card p { max-width: 560px; margin: 12px auto; }

.quote-format {
  margin-top: 20px !important;
  padding: 14px 18px;
  background: rgba(232, 72, 158, 0.08);
  border: 1px solid rgba(232, 72, 158, 0.25);
  border-radius: var(--radius-m);
  color: var(--text);
  font-size: 0.95rem;
  display: inline-block;
}

.quote-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  padding: 40px 0 50px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: #007a94;
}

.footer-small { color: var(--text-faint); }

/* ============================================================
   Reveal animation
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .cards-3      { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 640px) {
  .hero            { padding: 80px 0 60px; }
  .section         { padding: 70px 0; }
  .cards-3         { grid-template-columns: 1fr; }
  .pricing-grid    { grid-template-columns: 1fr; }
  .quote-card      { padding: 40px 24px; }
  .header-inner    { padding: 14px 16px; }
  .brand-text      { display: none; }
  .nav             { gap: 14px; }
  .hero-meta       { gap: 16px; }
}
