@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ROOT + BASE */
:root {
  --bg-main: #0B0F19;
  --bg-panel: #111827;
  --bg-card: #1E293B;
  --accent-1: #FF7A00;
  --accent-2: #E56200;
  --accent-glow: rgba(255, 122, 0, 0.4);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --border-soft: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(255, 122, 0, 0.2);
  --nav-height: 72px;
}

html {
  scroll-padding-top: var(--nav-height);
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(255, 122, 0, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(255, 122, 0, 0.03), transparent 25%);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  line-height: 1.6;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.text-accent {
  color: var(--accent-1);
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  margin-top: -2rem;
  margin-bottom: 3rem;
  font-size: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-1);
  color: #000;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* TOP NAV */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  gap: 0.01rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-icon-sm {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.logo-name-img {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.main-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-menu a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-menu a:hover, .main-menu a.active {
  color: var(--text-main);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-1) !important;
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent-1);
  color: #000 !important;
}

/* BURGER MENU */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
}

.burger-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: 0.3s;
}

/* MAIN LAYOUT */
main {
  padding-top: var(--nav-height);
}

/* HERO SECTION */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 122, 0, 0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent-1);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--border-soft);
}

.hero-visual video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* SECTIONS */
.section {
  padding: 6rem 5%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* THE PROBLEM (CONSTAT) */
.problem-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.problem-header p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.pain-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pain-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
}

.pain-icon {
  font-size: 2.5rem;
  color: var(--accent-1);
  margin-bottom: 1.5rem;
}

.pain-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pain-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* PILLARS — DIAGONAL SECTION */
.pillars-section {
  clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0 100%);
  padding: 9rem 5%;
  background: var(--bg-panel);
  margin: -1rem 0;
}

.feature-rows {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 48px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-1);
}

.feature-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-1);
  opacity: 0.25;
  line-height: 1;
  padding-top: 0.1rem;
}

.feature-row-icon {
  color: var(--accent-1);
  padding-top: 0.2rem;
}

.feature-row-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.feature-row-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* COLORBLIND TOGGLE */
.colorblind-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.colorblind-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.colorblind-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-main);
}

.colorblind-btn.active {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(255, 122, 0, 0.08);
}

/* PIE CHART — AGENT SECTION */
.pie-chart-wrapper {
  max-width: 560px;
  margin: 0 auto;
  overflow: visible;
}

.pie-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.pie-slice {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.pie-slice path {
  stroke: var(--bg-main);
  stroke-width: 2;
}

#pie-tooltip {
  position: fixed;
  z-index: 9999;
  width: 280px;
  background: #1E293B;
  color: #F8FAFC;
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid #FF7A00;
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  pointer-events: none;
  display: none;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

#pie-tooltip.visible {
  display: block;
}

#pie-tooltip strong {
  display: block;
  color: #FF7A00;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

#pie-tooltip span {
  color: #94A3B8;
}

/* KEY RESULTS */
.results-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--bg-panel);
  padding: 4rem;
  border-radius: 20px;
  border: 1px solid var(--border-soft);
  text-align: center;
}

.result-item h3 {
  font-size: 3.5rem;
  color: var(--accent-1);
  margin-bottom: 0.5rem;
  font-weight: 800;
  line-height: 1;
}

.result-item span {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 200px;
  margin: 0 auto;
}

.audit-cta-item {
  border: 1px solid var(--border-accent);
  background: rgba(255, 122, 0, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audit-cta-item p {
  max-width: 220px;
}

.audit-icon {
  color: var(--accent-1);
  margin-bottom: 0.75rem;
}

/* QUOTE SECTION */
.quote-section {
  text-align: center;
  padding: 5rem 5%;
}

.quote-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.quote-headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.quote-body {
  position: relative;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.9;
  padding: 1rem 3rem;
  border: none;
}

.quote-body::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 0;
  font-size: 7rem;
  color: var(--accent-1);
  opacity: 0.2;
  line-height: 1;
  font-family: Georgia, serif;
}

/* RAG SECTION */
.rag-section {
  text-align: center;
}

.rag-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.rag-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.rag-letter {
  color: var(--accent-1);
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1;
  vertical-align: baseline;
}

.rag-rest {
  font-size: 0.6em;
  font-style: italic;
  font-weight: 300;
  color: var(--text-muted);
  vertical-align: middle;
  letter-spacing: 0.03em;
}

.rag-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.rag-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* CONTACT CTA */
.contact-section {
  background: radial-gradient(circle at center, var(--bg-panel) 0%, var(--bg-main) 100%);
  text-align: center;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  background: rgba(255, 122, 0, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 3rem 5%;
  background: #05080E;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  color: #475569;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-text {
    margin: 0 auto 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .burger-btn {
    display: flex;
  }

  .main-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-panel);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-soft);
  }

  .main-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pillars-section {
    clip-path: polygon(0 4%, 100% 0%, 100% 96%, 0 100%);
    padding: 8rem 5%;
  }

  .feature-row {
    grid-template-columns: 48px 40px 1fr;
    gap: 1rem;
  }

  .feature-num {
    font-size: 2rem;
  }

  .results-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .quote-body {
    padding: 1rem 1.5rem;
  }

  .rag-title {
    font-size: 1.5rem;
  }

  .pie-chart-wrapper {
    max-width: 300px;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* MODAL CONFIRMATION */
.confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(5px);
  z-index: 200;
  padding: 1rem;
}

.confirm-overlay.open {
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.confirm-overlay.open.visible {
  opacity: 1;
  pointer-events: auto;
}

.confirm-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  border-top: 3px solid var(--accent-1);
  border-radius: 18px;
  padding: 2.75rem 2.25rem 2.25rem;
  max-width: 430px;
  width: 100%;
  text-align: center;
  transform: translateY(28px) scale(.96);
  transition: transform .4s cubic-bezier(.22, .68, 0, 1.2);
  box-shadow: 0 32px 72px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 122, 0, .08);
}

.confirm-overlay.visible .confirm-card {
  transform: translateY(0) scale(1);
}

.confirm-icon {
  width: 68px;
  height: 68px;
  background: rgba(255, 122, 0, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent-1);
  box-shadow: 0 0 0 10px rgba(255, 122, 0, .05);
}

.confirm-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.confirm-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: .5rem;
}

.confirm-card strong {
  color: var(--text-main);
  font-weight: 600;
}

.confirm-sub {
  font-size: .88rem !important;
  margin: 0 0 1.75rem !important;
}

.confirm-sub a {
  color: var(--accent-1);
  text-decoration: none;
}

.confirm-sub a:hover {
  text-decoration: underline;
}

.confirm-btn {
  width: 100%;
}
