/* ============================
   CONVIKA — THEME CSS
   ============================ */

/* === TOKENS === */
:root {
  --bg:        #060f18;
  --bg2:       #0a1a26;
  --bg3:       #0f2335;
  --surface:   #142840;
  --fg:        #e8f0f8;
  --fg-muted:  #7a9ab5;
  --fg-dim:    #4d6e88;
  --accent:    #e8933a;
  --accent-dim:#a86220;
  --teal:      #1a7a8a;
  --teal-bright:#2aadbf;
  --border:    rgba(255,255,255,0.06);
  --radius:    12px;
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: #fff;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 99px; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  background: rgba(6,15,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--fg);
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #060f18;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover {
  background: var(--accent-dim);
  transform: scale(1.03);
}

/* === HERO === */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(26,122,138,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
}

/* === KG GRAPHIC === */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  position: relative;
}

.kg-orbs {
  position: relative;
  width: 100%;
  height: 100%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
}

.orb::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(42,173,191,0.3), transparent);
}

.orb-1 { width: 130px; height: 130px; top: 15%; left: 30%; background: var(--bg3); }
.orb-2 { width: 90px;  height: 90px;  top: 40%; left: 10%; background: var(--bg2); }
.orb-3 { width: 100px; height: 100px; top: 60%; left: 50%; background: var(--surface); }
.orb-4 { width: 75px;  height: 75px;  top: 25%; left: 60%; background: var(--bg3); border-color: var(--teal); box-shadow: 0 0 24px rgba(42,173,191,0.2); }

.kg-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 30%, rgba(232,147,58,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 55%, rgba(26,122,138,0.08) 0%, transparent 40%);
}

/* === STATS === */
.stats {
  padding: 0 2.5rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* === SECTION SHARED === */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: -0.01em;
  max-width: 720px;
}

/* === PROBLEM === */
.problem {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.problem .section-headline {
  margin-bottom: 4rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.problem-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.problem-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}

.problem-item p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.problem-outro {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--fg-dim);
  font-style: italic;
  text-align: center;
  letter-spacing: 0.01em;
}

/* === SOLUTION === */
.solution {
  padding: 6rem 2.5rem;
  background: var(--bg2);
}

.solution .section-headline {
  margin-bottom: 3.5rem;
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.pillar-icon {
  font-size: 0.7rem;
  color: var(--teal-bright);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.pillar h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pillar p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === JOURNEY === */
.journey {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.journey-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  color: var(--fg);
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: -0.01em;
}

.journey-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.journey-col {
  padding: 3rem;
  border-radius: var(--radius);
}

.journey-col.without {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.journey-col.with {
  background: rgba(232,147,58,0.06);
  border: 1px solid rgba(232,147,58,0.15);
}

.journey-col-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 1.75rem;
}

.journey-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journey-col ul li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}

.journey-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fg-dim);
}

.journey-col.with ul li::before {
  background: var(--accent);
}

.journey-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 3rem 2rem;
}

/* === FEATURES === */
.features {
  padding: 6rem 2.5rem;
  background: var(--bg2);
  max-width: 100%;
}

.features .section-headline {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--surface);
}

.feature-label {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === DIFFERENTIATION === */
.differentiation {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.differentiation .section-headline {
  margin-bottom: 3.5rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.diff-item {
  border-left: 2px solid var(--teal);
  padding-left: 2rem;
}

.diff-item h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.diff-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === INDUSTRIES === */
.industries {
  padding: 6rem 2.5rem;
  background: var(--bg2);
}

.industries .section-headline {
  margin-bottom: 3.5rem;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.industry-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--teal-bright);
  margin-bottom: 1rem;
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 6rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials .section-label {
  margin-bottom: 2.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.testimonial {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.testimonial blockquote {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--fg);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  font-size: 0.875rem;
  color: var(--fg);
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.backers {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  text-align: center;
}

.backers-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.backer-logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.backer {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 500;
  opacity: 0.7;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2.5rem;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg), var(--bg2));
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(232,147,58,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

.closing-cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #060f18;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(232,147,58,0.3);
}

.closing-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,147,58,0.35);
}

/* === FOOTER === */
.footer {
  padding: 3rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-bottom: 1rem;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-pillars { grid-template-columns: repeat(2, 1fr); }
  .journey-comparison { grid-template-columns: 1fr; }
  .journey-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .nav { padding: 1rem 1.5rem; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .stats { padding: 0 1.5rem 4rem; }
  .problem { padding: 4rem 1.5rem; }
  .solution { padding: 4rem 1.5rem; }
  .solution-pillars { grid-template-columns: 1fr; }
  .journey { padding: 4rem 1.5rem; }
  .features { padding: 4rem 1.5rem; }
  .differentiation { padding: 4rem 1.5rem; }
  .industries { padding: 4rem 1.5rem; }
  .industry-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 4rem 1.5rem; }
  .closing { padding: 5rem 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .backer-logos { gap: 1.5rem; }
}