/* ============================================================
   Kubatana — Theme matched to Pipeline + Pitch pages
   Palette: #0A0A10 black · #E8A020 gold · #2E9FFF blue
   Font: Montserrat (user preference)
   ============================================================ */

:root {
  --black:    #0A0A10;
  --dark:     #12121C;
  --dark2:    #1A1A28;
  --gold:     #E8A020;
  --gold-lt:  #F5C060;
  --gold-dk:  #B07810;
  --blue:     #2E9FFF;
  --blue-lt:  #6ABBFF;
  --green:    #2ecc71;
  --white:    #FFFFFF;
  --grey:     #A8A8BC;
  --body-txt: #D4D4E2;
  --border:   rgba(255,255,255,0.08);

  --font:       'Montserrat', sans-serif;
  --max-width:  1080px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body-txt);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-lt); text-decoration: none; }
h1, h2, h3, h4 { color: var(--white); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.05rem; font-weight: 700; }
p  { color: var(--body-txt); line-height: 1.75; }

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--gold); color: var(--black);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 700; transition: top var(--transition);
}
.skip-link:focus { top: 1rem; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER — matches pitch page nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,16,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-logo img { height: 26px; width: auto; }
.logo-text {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}
.logo-text span { color: var(--white); font-weight: 300; }

/* Nav */
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grey);
  transition: color var(--transition);
}
.site-nav a:hover,
.site-nav a.active { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 16px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO — tree background with dark overlay + radial gradients
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/tree2.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.18;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(232,160,32,0.1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 15% 75%, rgba(46,159,255,0.06) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(10,10,16,0.3) 0%, rgba(10,10,16,0.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 5rem 24px 4rem;
  width: 100%;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: hint-fade 2s ease 1.5s both;
}
.scroll-hint svg {
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}
@keyframes hint-fade {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.3);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 0.75rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 1.2rem;
  color: #C8C8DC;
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats row — matches pipeline stats bar style */
.hero-stats {
  display: flex;
  gap: 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat {
  flex: 1;
  min-width: 120px;
  padding-right: 2rem;
}
.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1.1;
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--grey);
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 80px 24px; }
.section-dark  { background: var(--dark); }
.section-black { background: var(--black); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 14px; }
.section-body {
  color: #C8C8DC;
  font-size: 0.98rem;
  max-width: 540px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ── Contact card ── */
.contact-card {
  max-width: 540px;
  background: var(--dark2);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}
.contact-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.contact-card h2 { margin-bottom: 0.75rem; }
.contact-card p  { color: var(--grey); font-size: 0.95rem; max-width: 380px; margin: 0 auto 2rem; }
.contact-btn {
  display: inline-block;
  font-size: 0.9rem;
  padding: 14px 32px;
}
.contact-note {
  margin-top: 0.75rem !important;
  font-size: 0.72rem !important;
  color: rgba(168,168,188,0.4) !important;
  letter-spacing: 0.04em;
}

/* ── Problem / intro grid ── */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.intro-item {
  background: var(--dark2);
  padding: 32px 28px;
}
.intro-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.intro-item h3 { color: var(--white); margin-bottom: 8px; }
.intro-item p  { font-size: 0.88rem; }

/* ── Services / deliverables grid ── */
.del-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.del-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition);
}
.del-item:hover { border-color: rgba(232,160,32,0.3); }
.del-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.del-item h3 { font-size: 0.95rem; margin-bottom: 6px; }
.del-item p  { font-size: 0.83rem; color: var(--grey); }

/* ── Solution card ── */
.solution-card {
  background: linear-gradient(135deg, var(--dark2) 0%, rgba(232,160,32,0.06) 100%);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.solution-icon {
  flex-shrink: 0;
  width: 68px; height: 68px;
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.solution-card h2 { font-size: 1.6rem; margin-bottom: 12px; }
.solution-card p  { font-size: 0.95rem; color: var(--grey); margin-bottom: 20px; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 0.76rem;
  color: #C8C8DC;
  font-family: var(--font);
}

/* ── CTA section ── */
.section-cta {
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(232,160,32,0.09) 0%, transparent 70%),
    var(--dark);
  text-align: center;
}
.section-cta h2 { margin-bottom: 14px; }
.section-cta .section-body {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS — mirrors pitch page exactly
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-lt); color: var(--black); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  padding-top: 60px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 60%, rgba(232,160,32,0.08) 0%, transparent 70%),
    var(--dark);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { padding: 4rem 24px 3.5rem; }
.page-hero h1 { margin-top: 0.5rem; margin-bottom: 0.75rem; }
.page-hero .lead {
  font-size: 1rem;
  color: var(--grey);
  max-width: 580px;
}

.page-body { background: var(--black); padding: 60px 24px; }
.prose { max-width: 760px; }
.prose h2 {
  font-size: 1.4rem; font-weight: 700;
  margin-top: 2.5rem; margin-bottom: 0.75rem;
  color: var(--white);
}
.prose h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-top: 1.75rem; margin-bottom: 0.5rem;
  color: var(--white);
}
.prose p { margin-bottom: 1.25rem; color: var(--grey); font-size: 0.95rem; }
.prose strong { color: var(--white); font-weight: 700; }
.prose a { color: var(--gold); }
.prose a:hover { color: var(--gold-lt); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Legal pages ── */
.legal-wrap {
  padding-top: 60px;
  min-height: 100vh;
  background: var(--black);
  padding-bottom: 5rem;
}
.legal-header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.legal-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 0.5rem;
}
.legal-prose ul {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--grey);
}
.legal-prose ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-prose em { color: rgba(168,168,188,0.6); font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer-brand { margin-bottom: 1.25rem; }
.footer-logo {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-block;
}
.footer-logo span { color: var(--white); font-weight: 300; }
.footer-tagline {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 5px;
}
.footer-def {
  font-size: 0.65rem;
  color: rgba(168,168,188,0.4);
  margin-top: 3px;
  font-style: italic;
}
.footer-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.25rem 0 1rem;
}
.footer-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.7rem;
  color: rgba(168,168,188,0.3);
  margin-top: 0.75rem;
}
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.7rem;
  color: rgba(168,168,188,0.35);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10,10,16,0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 24px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 1.25rem; }
  .site-nav a { font-size: 0.95rem; }

  .solution-card { flex-direction: column; padding: 28px; gap: 24px; }
  .intro-grid { grid-template-columns: 1fr; gap: 0; }
  .del-grid   { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }

  section { padding: 60px 20px; }
  .hero-sub { text-align: left; font-size: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav ul { justify-content: center; }
}

@media (max-width: 640px) {
  .intro-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions  { flex-direction: column; align-items: center; }
}
