/* ==========================================================================
   Theme 8: Editorial Monochrome & High-Contrast
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@300;400;500;600;800&display=swap');

:root {
  /* Editorial Palette */
  --bg-white: #FFFFFF;
  --bg-black: #0A0A0A;
  --bg-gray: #F2F2F2;

  --accent-vermilion: #FF3800;
  --accent-vermilion-dark: #D62F00;

  --text-dark: #0A0A0A;
  --text-light: #FFFFFF;
  --text-gray: #666666;

  --border-dark: #0A0A0A;
  --border-light: #E0E0E0;
  --border-gray: #333333;

  /* Layout */
  --container-width: 1300px;
  --section-pad: 9rem 2rem;

  /* Sharp Geometry */
  --radius-none: 0px;
  --border-thin: 1px solid var(--border-dark);
  --border-thick: 4px solid var(--border-dark);

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --trans-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Archivo Black', sans-serif;
  color: var(--text-dark);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--text-gray);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* Section Titles */
.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  text-align: left;
  margin-bottom: 1rem;
  border-bottom: var(--border-thick);
  padding-bottom: 1.5rem;
}

.section-title span {
  color: var(--accent-vermilion);
}

.section-subtitle {
  text-align: left;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 2rem 0 4rem 0;
  font-weight: 500;
  color: var(--text-dark);
}

/* ==========================================================================
   Editorial Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 3rem;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--trans-slow);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  background: transparent;
}

.btn-solid {
  background: var(--bg-black);
  color: var(--text-light);
}

.btn-solid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-vermilion);
  z-index: -1;
  transform: translateY(100%);
  transition: transform var(--trans-slow);
}

.btn-solid:hover {
  color: var(--text-light);
}

.btn-solid:hover::after {
  transform: translateY(0);
}

.btn-outline {
  border: var(--border-thin);
  color: var(--text-dark);
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-black);
  z-index: -1;
  transform: translateY(100%);
  transition: transform var(--trans-slow);
}

.btn-outline:hover {
  color: var(--text-light);
}

.btn-outline:hover::after {
  transform: translateY(0);
}

/* ==========================================================================
   Strict Header (Stark Black)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-black);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: padding var(--trans-fast), background var(--trans-fast);
  border-bottom: 1px solid var(--border-gray);
}

.site-header.scrolled {
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-vermilion);
  transform: translateX(-101%);
  transition: transform var(--trans-fast);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(0);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-light);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   1. Hero Section (Editorial Spread)
   ========================================================================== */
.hero {
  padding: 14rem 0 8rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-gray);
  border-bottom: var(--border-thick);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 2rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.9;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-content h1 i {
  color: var(--accent-vermilion);
  font-style: normal;
  display: block;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-dark);
  max-width: 600px;
  margin-bottom: 3rem;
  border-left: 4px solid var(--accent-vermilion);
  padding-left: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.metric-block {
  background: var(--bg-white);
  border: var(--border-thin);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-block h2 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  color: var(--accent-vermilion);
}

.metric-block p {
  font-family: 'Archivo Black', sans-serif;
  margin: 0;
  color: var(--text-dark);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Infinite Ticker */
.ticker-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-black);
  padding: 1rem 0;
  overflow: hidden;
  display: flex;
  border-top: var(--border-thin);
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
  color: var(--text-light);
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
}

.ticker span {
  margin: 0 2rem;
  color: var(--text-light);
}

.ticker span.dot {
  color: var(--accent-vermilion);
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   2. Manifesto / About
   ========================================================================== */
.about {
  padding: var(--section-pad);
  border-bottom: var(--border-thin);
}

.manifesto-text {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  font-weight: 500;
  color: var(--text-gray);
  font-family: 'Inter', sans-serif;
}

.manifesto-text strong {
  color: var(--text-dark);
  transition: var(--trans-slow);
}

.manifesto-text strong:hover {
  color: var(--accent-vermilion);
  text-decoration: underline;
  text-decoration-thickness: 4px;
}

/* ==========================================================================
   3. Stats Grid
   ========================================================================== */
.stats {
  border-bottom: var(--border-thick);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-white);
}

.stat-box {
  padding: 4rem 2rem;
  text-align: center;
  border-right: var(--border-thin);
  transition: var(--trans-slow);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box:hover {
  background: var(--bg-black);
  color: var(--text-light);
}

.stat-box:hover h3,
.stat-box:hover p {
  color: var(--text-light);
}

.stat-box h3 {
  font-size: 4rem;
  color: var(--text-dark);
  transition: var(--trans-slow);
}

.stat-box p {
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin: 0;
  transition: var(--trans-slow);
}

/* ==========================================================================
   4. Services (High-Contrast Grid)
   ========================================================================== */
.services {
  padding: var(--section-pad);
  background: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 0;
  border-top: var(--border-thin);
  border-left: var(--border-thin);
}

.service-card {
  padding: 4rem 3rem;
  border-right: var(--border-thin);
  border-bottom: var(--border-thin);
  background: var(--bg-white);
  transition: background var(--trans-slow), color var(--trans-slow);
  cursor: crosshair;
}

.service-card:hover {
  background: var(--bg-black);
}

.service-card:hover h3 {
  color: var(--text-light);
}

.service-card:hover p {
  color: #CCCCCC;
}

.service-card:hover .s-num {
  color: var(--accent-vermilion);
}

.s-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
  display: block;
  transition: var(--trans-slow);
}

.service-card h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  transition: var(--trans-slow);
}

.service-card p {
  transition: var(--trans-slow);
}

/* ==========================================================================
   5. Calculator (Minimal UI)
   ========================================================================== */
.calculator-section {
  padding: var(--section-pad);
  background: var(--bg-gray);
  border-bottom: var(--border-thin);
}

.calc-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-dark);
  padding-bottom: 1rem;
}

.calc-header label {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
}

.calc-header span {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-vermilion);
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 2px;
  background: var(--border-dark);
  outline: none;
  margin: 2rem 0 4rem;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: var(--accent-vermilion);
  cursor: ew-resize;
}

.calc-result {
  text-align: left;
}

.calc-result h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.calc-result h2 {
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--text-dark);
  letter-spacing: -0.05em;
}

/* ==========================================================================
   6. Process (Staggered List)
   ========================================================================== */
.process {
  padding: var(--section-pad);
  border-bottom: var(--border-thin);
}

.process-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.process-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: var(--border-thin);
  align-items: start;
}

.process-row:first-child {
  border-top: var(--border-thin);
}

.p-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-vermilion);
}

.process-row h3 {
  font-size: 2.5rem;
}

.process-row p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

/* ==========================================================================
   7. Industries (Monochrome Tags)
   ========================================================================== */
.industries {
  padding: var(--section-pad);
  background: var(--bg-black);
  color: var(--text-light);
}

.industries .section-title {
  color: var(--text-light);
  border-color: var(--border-gray);
}

.industries .section-subtitle {
  color: #888;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.ind-tag {
  padding: 1.5rem 3rem;
  border: 1px solid var(--border-gray);
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
  color: var(--text-gray);
  transition: var(--trans-slow);
  cursor: pointer;
}

.ind-tag:hover {
  background: var(--accent-vermilion);
  color: var(--text-light);
  border-color: var(--accent-vermilion);
}

/* ==========================================================================
   8. Minimalist CSS Chart
   ========================================================================== */
.reports {
  padding: var(--section-pad);
  border-bottom: var(--border-thick);
}

.chart-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 400px;
  padding-bottom: 2rem;
  border-bottom: var(--border-thick);
  margin-top: 4rem;
}

.chart-col {
  width: 15%;
  background: var(--bg-gray);
  position: relative;
  transform-origin: bottom;
  animation: scaleY 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chart-col:hover {
  background: var(--accent-vermilion);
}

.chart-col:nth-child(1) {
  height: 20%;
  animation-delay: 0s;
}

.chart-col:nth-child(2) {
  height: 45%;
  animation-delay: 0.1s;
}

.chart-col:nth-child(3) {
  height: 60%;
  animation-delay: 0.2s;
}

.chart-col:nth-child(4) {
  height: 100%;
  animation-delay: 0.3s;
  background: var(--text-dark);
}

.chart-col::after {
  content: attr(data-val);
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
  color: var(--text-dark);
}

.chart-col::before {
  content: attr(data-time);
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-gray);
}

/* ==========================================================================
   9. Editorial Testimonials
   ========================================================================== */
.testimonials {
  padding: var(--section-pad);
  background: var(--bg-gray);
}

.testi-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.testi-quote {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.testi-quote::before {
  content: '“';
  color: var(--accent-vermilion);
  font-family: 'Archivo Black', sans-serif;
}

.testi-author {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.testi-author span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-top: 0.5rem;
}

/* ==========================================================================
   10. Huge CTA
   ========================================================================== */
.cta-section {
  padding: 12rem 0;
  background: var(--accent-vermilion);
  text-align: center;
  border-bottom: var(--border-thick);
}

.cta-title {
  font-size: clamp(5rem, 10vw, 10rem);
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 0.9;
}

.cta-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--text-light);
  padding: 1.5rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--text-light);
}

.input-line::placeholder {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-weight: 600;
}

.input-line:focus {
  outline: none;
  border-color: var(--text-dark);
}

textarea.input-line {
  resize: vertical;
  min-height: 100px;
}

/* ==========================================================================
   11. Strict Footer (Stark Black)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-black);
  color: var(--text-light);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.footer-logo img {
  height: 55px;
  margin-bottom: 2rem;
}

.footer-col p {
  color: var(--text-gray);
  font-size: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-vermilion);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-gray);
  color: var(--text-gray);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ==========================================================================
   12. Minimalist Chat Widget
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chat-btn {
  width: 60px;
  height: 60px;
  background: var(--bg-black);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans-fast);
}

.chat-btn:hover {
  background: var(--accent-vermilion);
}

.chat-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  background: var(--bg-white);
  border: var(--border-thin);
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.chat-panel.active {
  display: flex;
  animation: fadeUp 0.3s ease;
}

.chat-header {
  background: var(--bg-black);
  color: var(--text-light);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
}

.chat-header h4 {
  font-size: 1rem;
  margin: 0;
  color: white;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-body {
  padding: 1.5rem;
  height: 250px;
  background: var(--bg-gray);
  overflow-y: auto;
}

.chat-msg {
  background: var(--bg-white);
  padding: 1rem;
  border: var(--border-thin);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.chat-input {
  display: flex;
  padding: 1rem;
  background: var(--bg-white);
  border-top: var(--border-thin);
}

.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-weight: 500;
}

.chat-input button {
  background: none;
  border: none;
  color: var(--accent-vermilion);
  font-family: 'Archivo Black', sans-serif;
  cursor: pointer;
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-wrapper {
  padding: 12rem 0 6rem;
  min-height: 100vh;
  background: var(--bg-white);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 3rem;
  border-bottom: var(--border-thick);
  padding-bottom: 1rem;
  color: var(--text-dark);
}

.legal-container h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
}

.legal-container p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

.legal-container ul {
  list-style: square;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.legal-container li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes scaleY {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    flex-direction: row;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-bottom: var(--border-thin);
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .process-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .testi-slider {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 76px);
    background: var(--bg-black);
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--border-gray);
    transition: var(--trans-slow);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-visual {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .chart-grid {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 3rem;
    border: none;
    margin-top: 2rem;
  }

  .chart-col {
    width: 100%;
    height: 40px !important;
    animation: scaleX 1s forwards;
    transform-origin: left;
  }

  .chart-col::before {
    left: 0;
    top: -30px;
    bottom: auto;
    text-align: left;
  }

  .chart-col::after {
    left: auto;
    right: 0;
    top: -30px;
    text-align: right;
  }
}

@keyframes scaleX {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}