/* ============================================================
   TikiTech.io — Custom Stylesheet
   Complements Tailwind CSS utility classes
   ============================================================ */

/* ─── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --bg:        #09100f;
  --surface:   #111a18;
  --card:      #141f1d;
  --border:    #1e2e2b;
  --accent:    #00e5a0;
  --accent2:   #00bfff;
  --text:      #e8f0ef;
  --muted:     #7a9490;

  --font-display: 'Unbounded', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 16, 15, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  color: var(--bg);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  transition: opacity 0.2s ease;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* ─── HERO ───────────────────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 229, 160, 0.07);
  border: 1px solid rgba(0, 229, 160, 0.2);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-eyebrow .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--muted);
  background: var(--surface);
}

/* ─── SECTION LABELS ─────────────────────────────────────── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ─── AGENT CARDS ────────────────────────────────────────── */
.agent-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  position: relative;
  overflow: hidden;
}

.agent-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.agent-card:hover {
  border-color: rgba(0, 229, 160, 0.3);
  transform: translateY(-3px);
}

.agent-card:hover::before {
  opacity: 1;
}

.agent-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.agent-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.15);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.agent-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text);
}

.agent-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.agent-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.agent-feature:last-child {
  margin-bottom: 0;
}

.feature-arrow {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
  font-style: normal;
}

/* ─── ABOUT / PILLARS ────────────────────────────────────── */
.about-section-bg {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ─── INDUSTRY CHIPS ─────────────────────────────────────── */
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  transition: border-color 0.2s ease;
}

.industry-chip:hover {
  border-color: rgba(0, 229, 160, 0.25);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─── CTA BOX ────────────────────────────────────────────── */
.cta-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 229, 160, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-email {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 160, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.cta-email:hover {
  border-color: var(--accent);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer-wrapper {
  border-top: 1px solid var(--border);
}

.footer-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ─── DIVIDERS ───────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fadeUp 0.55s ease forwards;
}

.fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.bg-surface   { background-color: var(--surface); }
.bg-card      { background-color: var(--card); }
.border-brand { border-color: var(--border); }
.max-w-content { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links-mobile-hide {
    display: none;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 24px;
  }
}
