/* Tendiesbot — custom.css (navy / coral / yellow on light blue) */

/* ── Palette ─────────────────────────────────────────────────────────────── */
:root {
  --color-accent:       #F76C6C;   /* coral — primary CTA */
  --color-accent-dark:  #E55252;   /* deep coral — hover */
  --color-accent-light: #F98E8E;   /* lighter coral */
  --color-yellow:       #F8E9A1;   /* pastel yellow — highlights */
  --color-navy-mid:     #374785;   /* medium navy */
  --color-bg:           #A8D0E6;   /* light blue — page background */
  --color-bg-deep:      #8DC3DB;   /* deeper blue — alternating sections */
  --color-surface:      #FFFFFF;   /* white — card surface */
  --color-surface-2:    #EAF4FB;   /* very light blue — inner panels */
  --color-border:       #7BA7C8;   /* medium blue border */
  --color-text:         #24305E;   /* dark navy */
  --color-text-muted:   #374785;   /* medium navy */
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navy-theme text overrides ───────────────────────────────────────────── */
.text-white                  { color: var(--color-text) !important; }
.hover\:text-white:hover     { color: var(--color-accent) !important; }
.text-gray-200               { color: #374785 !important; }
.text-gray-300               { color: #374785 !important; }
.text-gray-400               { color: var(--color-text-muted) !important; }
.text-gray-500               { color: #5068A0 !important; }
.text-gray-600               { color: #6B7DB5 !important; }

/* ── Scroll-reveal ───────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ── Glow effects ────────────────────────────────────────────────────────── */
.green-glow {
  box-shadow: 0 0 40px rgba(247, 108, 108, 0.20), 0 0 80px rgba(247, 108, 108, 0.08);
}
.green-glow-text {
  text-shadow: 0 0 32px rgba(247, 108, 108, 0.45);
}

/* ── Gradient text (dark navy → medium navy → yellow) ───────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #24305E 0%, #374785 55%, #F8E9A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Card surface ────────────────────────────────────────────────────────── */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.card-hover {
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.card-hover:hover {
  border-color: rgba(247, 108, 108, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(247, 108, 108, 0.12);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 0.75rem 1.75rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  background-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent) !important;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  padding: 0.75rem 1.75rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-dark) !important;
}

/* ── Pricing highlight ───────────────────────────────────────────────────── */
.pricing-highlight {
  border-color: var(--color-accent) !important;
  box-shadow: 0 0 0 1px var(--color-accent), 0 8px 48px rgba(247, 108, 108, 0.18);
}

/* ── Stats number ────────────────────────────────────────────────────────── */
.stat-number { font-variant-numeric: tabular-nums; }

/* ── Section divider ─────────────────────────────────────────────────────── */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: #7BA7C8; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #374785; }

/* ── Selection ───────────────────────────────────────────────────────────── */
::selection { background-color: rgba(247, 108, 108, 0.25); color: var(--color-text); }

/* ── Focus ring ──────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

/* ── Ticker ──────────────────────────────────────────────────────────────── */
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-inner {
  display: flex;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.ticker-inner:hover { animation-play-state: paused; }

/* ── Pulse dot ───────────────────────────────────────────────────────────── */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}
.pulse-dot { animation: pulse-dot 2s ease-in-out infinite; }

/* ── Mobile menu ─────────────────────────────────────────────────────────── */
#mobile-menu { transition: opacity 0.2s ease; }
