/* ==========================================================================
   Theme 6: Neo-Brutalist & High-Impact (Acid Yellow & Pure Black)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600&family=Syne:wght@600;700;800&display=swap');

:root {
   /* Core Colors */
   --color-bg-main: #F4F4F4;
   --color-bg-white: #FFFFFF;
   --color-black: #000000;

   --color-acid: #CCFF00;
   /* Neon/Acid Yellow */
   --color-acid-dark: #AADD00;
   --color-magenta: #FF00FF;
   /* Secondary pop */

   --color-text-dark: #000000;
   --color-text-light: #FFFFFF;
   --color-text-gray: #555555;

   /* Layout & Spacing */
   --container-width: 1200px;
   --section-pad: 7rem 2rem;

   /* Brutalist Borders & Shadows */
   --border-thick: 3px solid #000000;
   --border-thin: 1px solid #000000;
   --shadow-solid: 8px 8px 0px #000000;
   --shadow-solid-hover: 4px 4px 0px #000000;
   --shadow-solid-magenta: 8px 8px 0px var(--color-magenta);

   /* Transitions */
   --trans-fast: 0.15s ease-out;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   font-family: 'Epilogue', sans-serif;
   background-color: var(--color-bg-main);
   color: var(--color-text-dark);
   line-height: 1.6;
   overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
   font-family: 'Syne', sans-serif;
   color: var(--color-black);
   text-transform: uppercase;
   line-height: 1.1;
}

p {
   margin-bottom: 1.5rem;
   font-weight: 500;
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--trans-fast);
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
   border: var(--border-thick);
}

.container {
   max-width: var(--container-width);
   margin: 0 auto;
   padding: 0 1.5rem;
   position: relative;
}

/* Section Typography */
.section-title {
   font-size: 4rem;
   text-align: center;
   margin-bottom: 1.5rem;
   letter-spacing: -1px;
}

.section-subtitle {
   text-align: center;
   font-size: 1.25rem;
   max-width: 700px;
   margin: 0 auto 4rem auto;
   font-weight: 600;
}

/* ==========================================================================
   Brutalist Buttons
   ========================================================================== */
.btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 1rem 2.5rem;
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   font-size: 1.1rem;
   text-transform: uppercase;
   cursor: pointer;
   transition: var(--trans-fast);
   border: var(--border-thick);
   background: var(--color-bg-white);
   color: var(--color-black);
   box-shadow: var(--shadow-solid);
   position: relative;
   z-index: 1;
}

.btn-primary {
   background: var(--color-acid);
}

.btn:hover {
   transform: translate(4px, 4px);
   box-shadow: var(--shadow-solid-hover);
}

.btn-primary:hover {
   background: var(--color-acid-dark);
}

.btn-secondary {
   background: var(--color-magenta);
   color: var(--color-text-light);
}

/* ==========================================================================
   Strict Header (Pure Black)
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   width: 100%;
   background-color: var(--color-black);
   z-index: 1000;
   padding: 1.2rem 0;
   border-bottom: 3px solid var(--color-acid);
   transition: var(--trans-fast);
}

.site-header.scrolled {
   padding: 0.8rem 0;
}

.header-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo-container img {
   height: 50px;
   border: none;
}

.nav-menu {
   display: flex;
   gap: 2.5rem;
   align-items: center;
}

.nav-link {
   color: var(--color-text-light);
   font-family: 'Syne', sans-serif;
   font-weight: 700;
   font-size: 1rem;
   text-transform: uppercase;
   position: relative;
}

.nav-link:hover,
.nav-link.active {
   color: var(--color-acid);
}

.mobile-menu-btn {
   display: none;
   background: none;
   border: none;
   color: var(--color-acid);
   font-size: 2rem;
   cursor: pointer;
}

/* ==========================================================================
   1. Hero Section (High Impact)
   ========================================================================== */
.hero {
   padding: 12rem 0 6rem;
   min-height: 100vh;
   display: flex;
   align-items: center;
   position: relative;
   background: var(--color-bg-main);
   background-image: radial-gradient(circle, #000 2px, transparent 2px);
   background-size: 40px 40px;
}

.hero-grid {
   display: grid;
   grid-template-columns: 1.2fr 0.8fr;
   gap: 4rem;
   align-items: center;
}

.hero-content h1 {
   font-size: 5rem;
   line-height: 0.95;
   margin-bottom: 1.5rem;
   text-shadow: 4px 4px 0px var(--color-acid);
}

.hero-content p {
   font-size: 1.2rem;
   font-weight: 600;
   margin-bottom: 2.5rem;
   background: var(--color-bg-white);
   padding: 1rem;
   border: var(--border-thick);
   box-shadow: 4px 4px 0px #000;
   display: inline-block;
}

.hero-buttons {
   display: flex;
   gap: 1.5rem;
}

/* Brutalist Visual Element */
.hero-visual {
   position: relative;
   height: 500px;
}

.brutal-card {
   position: absolute;
   background: var(--color-bg-white);
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
   padding: 2rem;
   transition: var(--trans-fast);
}

.card-1 {
   top: 10%;
   right: 0;
   width: 300px;
   background: var(--color-acid);
   z-index: 2;
   transform: rotate(5deg);
}

.card-1:hover {
   transform: rotate(0deg) translate(4px, 4px);
   box-shadow: var(--shadow-solid-hover);
}

.card-2 {
   bottom: 10%;
   left: 0;
   width: 280px;
   background: var(--color-magenta);
   color: var(--color-text-light);
   z-index: 1;
   transform: rotate(-5deg);
}

.card-2:hover {
   transform: rotate(0deg) translate(4px, 4px);
   box-shadow: var(--shadow-solid-hover);
}

.brutal-card h2 {
   font-size: 3.5rem;
   margin-bottom: 0.5rem;
   color: inherit;
   line-height: 1;
}

.card-2 h2 {
   color: var(--color-text-light);
}

.brutal-card p {
   font-family: 'Syne', sans-serif;
   text-transform: uppercase;
   font-weight: 800;
   margin: 0;
}

/* ==========================================================================
   2. Marquee Scroller (Infinite Text)
   ========================================================================== */
.marquee-wrapper {
   background: var(--color-black);
   color: var(--color-acid);
   padding: 1.5rem 0;
   overflow: hidden;
   border-top: var(--border-thick);
   border-bottom: var(--border-thick);
   display: flex;
   white-space: nowrap;
   position: relative;
   z-index: 10;
}

.marquee-content {
   display: flex;
   animation: marquee 15s linear infinite;
   font-family: 'Syne', sans-serif;
   font-size: 2rem;
   font-weight: 800;
   text-transform: uppercase;
}

.marquee-item {
   margin: 0 2rem;
   display: flex;
   align-items: center;
   gap: 2rem;
}

.marquee-star {
   width: 30px;
   height: 30px;
   fill: var(--color-acid);
}

@keyframes marquee {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ==========================================================================
   3. Stats Grid
   ========================================================================== */
.stats {
   padding: 5rem 0;
   background: var(--color-acid);
   border-bottom: var(--border-thick);
}

.stats-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 0;
   border: var(--border-thick);
   background: var(--color-bg-white);
   box-shadow: var(--shadow-solid);
}

.stat-item {
   padding: 3rem 2rem;
   text-align: center;
   border-right: var(--border-thick);
}

.stat-item:last-child {
   border-right: none;
}

.stat-item h3 {
   font-size: 3.5rem;
   margin-bottom: 0.5rem;
}

.stat-item p {
   font-weight: 800;
   text-transform: uppercase;
   margin: 0;
}

/* ==========================================================================
   4. About (Disruptive)
   ========================================================================== */
.about {
   padding: var(--section-pad);
}

.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 4rem;
   align-items: center;
}

.about-visual {
   position: relative;
}

.about-img {
   width: 100%;
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
}

.about-badge {
   position: absolute;
   bottom: -30px;
   right: -30px;
   background: var(--color-magenta);
   color: white;
   padding: 1.5rem;
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   font-size: 1.5rem;
   text-transform: uppercase;
   transform: rotate(-10deg);
}

.about-content h2 {
   text-align: left;
   font-size: 3.5rem;
}

/* ==========================================================================
   5. Services (Hard Cards)
   ========================================================================== */
.services {
   padding: var(--section-pad);
   background: var(--color-black);
   color: var(--color-text-light);
}

.services .section-title {
   color: var(--color-acid);
   text-shadow: none;
}

.services .section-subtitle {
   color: #CCCCCC;
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
   gap: 3rem;
}

.service-card {
   background: var(--color-bg-main);
   color: var(--color-text-dark);
   padding: 3rem 2rem;
   border: var(--border-thick);
   box-shadow: 8px 8px 0px var(--color-acid);
   transition: var(--trans-fast);
}

.service-card:hover {
   transform: translate(4px, 4px);
   box-shadow: 4px 4px 0px var(--color-acid);
}

.service-icon {
   width: 60px;
   height: 60px;
   background: var(--color-black);
   border: var(--border-thick);
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--color-acid);
   margin-bottom: 1.5rem;
}

.service-card h3 {
   font-size: 1.8rem;
   margin-bottom: 1rem;
}

/* ==========================================================================
   6. Brutal Calculator
   ========================================================================== */
.calculator-section {
   padding: var(--section-pad);
   background: var(--color-bg-main);
   border-bottom: var(--border-thick);
}

.calc-box {
   max-width: 800px;
   margin: 0 auto;
   background: var(--color-bg-white);
   padding: 4rem;
   border: var(--border-thick);
   box-shadow: var(--shadow-solid-magenta);
   text-align: center;
}

.calc-box label {
   display: block;
   font-family: 'Syne', sans-serif;
   font-size: 1.5rem;
   font-weight: 800;
   text-transform: uppercase;
   margin-bottom: 2rem;
}

.range-slider {
   width: 100%;
   -webkit-appearance: none;
   height: 10px;
   background: var(--color-black);
   border: var(--border-thin);
   outline: none;
   margin: 2rem 0;
}

.range-slider::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 30px;
   height: 30px;
   background: var(--color-acid);
   border: var(--border-thick);
   cursor: pointer;
}

.calc-result {
   margin-top: 3rem;
   padding-top: 2rem;
   border-top: var(--border-thick);
}

.calc-result h4 {
   font-size: 1.2rem;
   margin-bottom: 0.5rem;
}

.calc-result h2 {
   font-size: 5rem;
   color: var(--color-magenta);
   margin: 0;
   text-shadow: 4px 4px 0px #000;
}

/* ==========================================================================
   7. Process
   ========================================================================== */
.process {
   padding: var(--section-pad);
   background: var(--color-acid);
   border-bottom: var(--border-thick);
}

.process-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
}

.process-card {
   background: var(--color-bg-white);
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
   padding: 2.5rem;
   position: relative;
}

.step-number {
   position: absolute;
   top: -30px;
   right: -20px;
   background: var(--color-black);
   color: var(--color-acid);
   font-family: 'Syne', sans-serif;
   font-size: 2rem;
   font-weight: 800;
   width: 60px;
   height: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   border: var(--border-thick);
   box-shadow: 4px 4px 0px #fff;
}

.process-card h4 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
}

/* ==========================================================================
   8. Industries
   ========================================================================== */
.industries {
   padding: var(--section-pad);
}

.industry-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 2rem;
}

.industry-card {
   background: var(--color-black);
   color: var(--color-acid);
   border: var(--border-thick);
   padding: 3rem 2rem;
   text-align: center;
   box-shadow: var(--shadow-solid);
   transition: var(--trans-fast);
}

.industry-card:hover {
   transform: translate(4px, 4px);
   box-shadow: var(--shadow-solid-hover);
   background: var(--color-bg-white);
   color: var(--color-black);
}

.industry-card svg {
   stroke: currentColor;
   margin-bottom: 1rem;
   width: 48px;
   height: 48px;
}

.industry-card h4 {
   color: inherit;
   font-size: 1.2rem;
}

/* ==========================================================================
   9. Hard Chart (CSS Only)
   ========================================================================== */
.reports {
   padding: var(--section-pad);
   background: var(--color-bg-white);
   border-top: var(--border-thick);
   border-bottom: var(--border-thick);
}

.chart-wrapper {
   background: var(--color-bg-main);
   border: var(--border-thick);
   padding: 4rem 2rem 2rem;
   box-shadow: var(--shadow-solid);
   max-width: 900px;
   margin: 0 auto;
   height: 400px;
   display: flex;
   align-items: flex-end;
   justify-content: space-around;
   border-bottom: 4px solid var(--color-black);
}

.chart-bar {
   width: 80px;
   background: var(--color-acid);
   border: var(--border-thick);
   border-bottom: none;
   position: relative;
   transform-origin: bottom;
   animation: slamUp 0.5s ease-out forwards;
   opacity: 0;
}

.chart-bar:nth-child(1) {
   height: 25%;
   animation-delay: 0.1s;
}

.chart-bar:nth-child(2) {
   height: 45%;
   animation-delay: 0.3s;
}

.chart-bar:nth-child(3) {
   height: 70%;
   animation-delay: 0.5s;
}

.chart-bar:nth-child(4) {
   height: 100%;
   animation-delay: 0.7s;
   background: var(--color-magenta);
}

.chart-bar::before {
   content: attr(data-month);
   position: absolute;
   bottom: -40px;
   left: 50%;
   transform: translateX(-50%);
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   font-size: 1.2rem;
}

.chart-bar::after {
   content: attr(data-val);
   position: absolute;
   top: -45px;
   left: 50%;
   transform: translateX(-50%);
   background: var(--color-black);
   color: var(--color-text-light);
   padding: 5px 10px;
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   border: var(--border-thick);
}

/* ==========================================================================
   10. Testimonials
   ========================================================================== */
.testimonials {
   padding: var(--section-pad);
   background: var(--color-black);
   color: var(--color-text-light);
}

.testimonials .section-title {
   color: var(--color-bg-white);
}

.testimonials .section-subtitle {
   color: #ccc;
}

.testi-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 3rem;
}

.testi-card {
   background: var(--color-bg-main);
   color: var(--color-text-dark);
   padding: 3rem;
   border: var(--border-thick);
   box-shadow: 8px 8px 0px var(--color-magenta);
}

.testi-card p {
   font-size: 1.2rem;
   font-weight: 600;
   margin-bottom: 2rem;
}

.testi-card h5 {
   font-size: 1.2rem;
   margin: 0;
}

.testi-card span {
   font-weight: 600;
   color: var(--color-magenta);
   text-transform: uppercase;
   font-size: 0.9rem;
}

/* ==========================================================================
   11. CTA Form
   ========================================================================== */
.cta-section {
   padding: var(--section-pad);
   background: var(--color-acid);
   border-bottom: var(--border-thick);
   text-align: center;
}

.cta-form {
   max-width: 600px;
   margin: 3rem auto 0;
   background: var(--color-bg-white);
   padding: 3rem;
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.input-field {
   width: 100%;
   padding: 1.2rem;
   background: var(--color-bg-main);
   border: var(--border-thick);
   font-family: 'Epilogue', sans-serif;
   font-size: 1rem;
   font-weight: 600;
   color: var(--color-text-dark);
}

.input-field:focus {
   outline: none;
   background: var(--color-bg-white);
   box-shadow: 4px 4px 0px var(--color-black);
}

textarea.input-field {
   resize: vertical;
   min-height: 120px;
}

/* ==========================================================================
   12. Strict Footer (Pure Black)
   ========================================================================== */
.site-footer {
   background-color: var(--color-black);
   padding: 5rem 0 2rem;
   color: var(--color-bg-white);
   border-top: 5px solid var(--color-acid);
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 4rem;
}

.footer-logo img {
   height: 50px;
   margin-bottom: 1.5rem;
   border: none;
}

.footer-col p {
   font-weight: 500;
   color: #CCCCCC;
}

.footer-col h4 {
   font-size: 1.2rem;
   color: var(--color-acid);
   margin-bottom: 1.5rem;
}

.footer-links li {
   margin-bottom: 0.8rem;
}

.footer-links a {
   font-weight: 600;
   color: #FFFFFF;
}

.footer-links a:hover {
   color: var(--color-magenta);
   padding-left: 5px;
}

.footer-bottom {
   text-align: center;
   padding-top: 2rem;
   border-top: 2px solid #333;
   font-weight: 600;
   color: #888;
}

/* ==========================================================================
   13. Brutal Chat Widget
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 2rem;
   right: 2rem;
   z-index: 999;
}

.chat-btn {
   width: 70px;
   height: 70px;
   background: var(--color-acid);
   border: var(--border-thick);
   border-radius: 0;
   box-shadow: var(--shadow-solid);
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: var(--trans-fast);
}

.chat-btn:hover {
   transform: translate(4px, 4px);
   box-shadow: var(--shadow-solid-hover);
   background: var(--color-magenta);
   color: white;
}

.chat-panel {
   position: absolute;
   bottom: 90px;
   right: 0;
   width: 320px;
   background: var(--color-bg-white);
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
   display: none;
   flex-direction: column;
}

.chat-panel.active {
   display: flex;
   animation: slamUp 0.2s ease-out forwards;
}

.chat-header {
   background: var(--color-black);
   color: var(--color-acid);
   padding: 1rem;
   display: flex;
   justify-content: space-between;
   border-bottom: var(--border-thick);
}

.chat-header h4 {
   color: var(--color-acid);
   margin: 0;
   font-size: 1rem;
}

.close-chat {
   background: none;
   border: none;
   color: white;
   font-size: 1.5rem;
   cursor: pointer;
}

.chat-body {
   padding: 1.5rem;
   height: 250px;
   background: var(--color-bg-main);
   overflow-y: auto;
}

.chat-msg {
   background: var(--color-bg-white);
   padding: 1rem;
   border: var(--border-thick);
   font-weight: 600;
   margin-bottom: 1rem;
   box-shadow: 4px 4px 0px #000;
}

.chat-input {
   display: flex;
   padding: 1rem;
   background: var(--color-bg-white);
   border-top: var(--border-thick);
}

.chat-input input {
   flex: 1;
   border: var(--border-thick);
   padding: 0.5rem;
   font-family: inherit;
   font-weight: 600;
}

.chat-input button {
   background: var(--color-black);
   color: var(--color-acid);
   border: var(--border-thick);
   padding: 0.5rem 1rem;
   margin-left: 0.5rem;
   font-family: 'Syne', sans-serif;
   font-weight: 800;
   cursor: pointer;
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-wrapper {
   padding: 12rem 0 6rem;
   min-height: 100vh;
   background: var(--color-bg-main);
}

.legal-container {
   max-width: 900px;
   margin: 0 auto;
   background: var(--color-bg-white);
   padding: 4rem;
   border: var(--border-thick);
   box-shadow: var(--shadow-solid);
}

.legal-container h1 {
   font-size: 3rem;
   color: var(--color-black);
   margin-bottom: 2rem;
   border-bottom: var(--border-thick);
   padding-bottom: 1rem;
}

.legal-container h2 {
   font-size: 1.8rem;
   margin: 2.5rem 0 1rem;
   color: var(--color-magenta);
}

.legal-container ul {
   list-style: square;
   margin-left: 2rem;
   margin-bottom: 1.5rem;
}

.legal-container li {
   margin-bottom: 0.5rem;
   font-weight: 600;
}

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
@keyframes slamUp {
   from {
      opacity: 0;
      transform: translateY(50px);
   }

   to {
      opacity: 1;
      transform: translateY(0);
   }
}

.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: all 0.4s ease-out;
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

@media (max-width: 1024px) {

   .hero-grid,
   .about-grid {
      grid-template-columns: 1fr;
      text-align: center;
   }

   .hero-buttons {
      justify-content: center;
   }

   .hero-visual {
      display: none;
   }

   .stats-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .stat-item:nth-child(2) {
      border-right: none;
   }

   .stat-item:nth-child(1),
   .stat-item:nth-child(2) {
      border-bottom: var(--border-thick);
   }

   .process-grid {
      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(--color-black);
      flex-direction: column;
      justify-content: center;
      border-top: var(--border-thick);
      transition: 0.3s ease-out;
   }

   .nav-menu.active {
      left: 0;
   }

   .mobile-menu-btn {
      display: block;
   }

   .hero-content h1 {
      font-size: 3.5rem;
   }

   .footer-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
   }

   .chart-wrapper {
      height: auto;
      flex-direction: column;
      align-items: stretch;
      padding: 2rem;
      gap: 4rem;
   }

   .chart-bar {
      width: 100%;
      height: 50px !important;
      border: var(--border-thick);
      transform-origin: left;
      animation: slamRight 0.5s ease-out forwards;
   }

   .chart-bar::before {
      left: 0;
      top: -30px;
      transform: none;
   }

   .chart-bar::after {
      left: auto;
      right: 0;
      top: -35px;
      transform: none;
   }

   .legal-container {
      padding: 2rem;
   }
}

@keyframes slamRight {
   from {
      transform: scaleX(0);
      opacity: 0;
   }

   to {
      transform: scaleX(1);
      opacity: 1;
   }
}