:root {
  /* COLORS */
  --c-blue: #290FC8;
  --c-lime: #BFDA1B;
  --c-white: #FFFFFF;
  --c-black: #161618;
  --c-deep-blue: #2D0DD0;
  --c-navy: #080E20;
  --c-gray-text: rgba(22, 22, 24, 0.6);
  --c-border: rgba(34, 32, 38, 0.1);

  /* TYPOGRAPHY */
  --font-display: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* SPACING */
  --pad-container: clamp(24px, 5vw, 96px);
  --pad-section-y: clamp(80px, 10vw, 164px);
}

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

body {
  background-color: var(--c-white);
  color: var(--c-black);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: opacity 0.2s; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* UTILS */
.container {
  width: 100%;
  max-width: 1728px; /* Max frame width from Figma */
  margin: 0 auto;
  padding: 0 var(--pad-container);
  position: relative;
}

/* TYPOGRAPHY UTILS */
.display-1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px); /* Fluid sizing */
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 96px);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 24px;
}

.h3-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin-bottom: 24px;
  display: block;
}

.body-lead {
  font-size: clamp(16px, 2vw, 24px); /* Fluid body text for impact */
  line-height: 1.6;
  max-width: 600px;
}

/* BUTTONS */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-lime { background: var(--c-lime); color: var(--c-blue); }
.btn-blue { background: var(--c-blue); color: var(--c-lime); }

/* --- HEADER --- */
.site-header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  padding: 48px var(--pad-container);
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Left, Center, Right */
  align-items: center;
}

.nav-links {
  display: flex; gap: 64px;
}
.nav-item {
  color: #fff; text-transform: uppercase; font-family: var(--font-display);
  display: none;
}
@media (min-width: 1024px) { .nav-item { display: block; } }

.header-logo {
  display: flex;
  justify-content: center;
}
.header-logo img {
  width: 126px; /* Explicit width for logo */
  height: auto;
}

.header-right { 
  display: flex; 
  gap: 32px; 
  align-items: center; 
  color: #fff;
  justify-content: flex-end; /* Align to right */
}
.header-contact { font-family: var(--font-display); display: none; }
@media (min-width: 768px) { .header-contact { display: block; } }

/* --- HERO --- */
.section-hero {
  height: 604px; /* Fixed Figma Height */
  background-color: var(--c-blue);
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Center the title */
  height: 100%;
  text-align: center;
}

.hero-deco {
  position: absolute; width: 803px; height: 879px;
  border: 1px solid var(--c-lime); border-radius: 50%;
  left: -242px; top: 268px; /* Strict Figma coords */
  pointer-events: none; 
}

/* Removed .hero-visual-wrapper styles */

.hero-float-text {
  position: absolute; 
  top: 261px; 
  left: 530px; /* Aligned with title start area */
  font-family: var(--font-display); 
  font-size: 24px; 
  font-weight: 300; 
  opacity: 0.8;
  color: #fff;
  z-index: 10;
}

.hero-scroll {
  position: absolute; bottom: 40px; right: var(--pad-container);
  display: flex; align-items: center; gap: 12px;
  text-transform: uppercase; font-family: var(--font-display);
}

/* --- MOCKUP GAP --- */
.section-mockup {
  height: 60vh; max-height: 960px;
  background: #D9D9D9;
}

/* --- SOLUTIONS --- */
.section-solutions {
  padding: var(--pad-section-y) 0;
  background: var(--c-white);
}
.solutions-header {
  display: flex; flex-direction: column; gap: 48px;
  margin-bottom: 96px;
}
@media (min-width: 1024px) {
  .solutions-header { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

.solution-list {
  display: flex; flex-direction: column; gap: 0;
}
.solution-item {
  border-top: 1px solid var(--c-border);
  padding: 64px 0;
}
.solution-top {
  display: flex; flex-direction: column; gap: 32px;
}
@media (min-width: 768px) {
  .solution-top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.sol-strip { width: 100%; height: 60px; object-fit: cover; margin-top: 48px; }

/* --- WORK --- */
.section-work {
  padding: 48px 24px; /* Outer spacing */
}
.work-card-container {
  background-color: var(--c-lime);
  border-radius: 32px;
  padding: var(--pad-section-y) var(--pad-container);
  width: 100%;
}
.work-grid {
  display: flex; flex-direction: column; gap: 124px;
}
.work-item {
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center;
}
@media (min-width: 1024px) {
  .work-item { grid-template-columns: 1.5fr 1fr; gap: 96px; }
  .work-item.reverse { direction: rtl; }
  .work-item.reverse > * { direction: ltr; }
}
.work-img {
  width: 100%; border-radius: 32px; overflow: hidden; background: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.work-link {
  display: inline-block; margin-top: 24px;
  font-weight: 700; text-transform: uppercase; color: var(--c-blue);
  font-family: var(--font-display);
}

/* --- INDUSTRIES --- */
.section-industries {
  padding: var(--pad-section-y) 0;
}
.industry-grid {
  display: grid; grid-template-columns: 1fr; gap: 64px;
  margin-top: 96px;
}
@media (min-width: 768px) {
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 124px; }
}
.industry-col { display: flex; flex-direction: column; gap: 64px; }
.industry-card { padding-bottom: 24px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.industry-icon {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 24px;
  display: block;
}

/* --- ABOUT --- */
.section-about {
  padding: var(--pad-section-y) 0;
  background-color: var(--c-deep-blue);
  color: #fff;
}
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 124px; }
}
.about-img {
  width: 100%; aspect-ratio: 1/1;
  background: #1F0A8A; border-radius: 32px; overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- TECH --- */
.section-tech {
  padding: var(--pad-section-y) 0;
  background-color: var(--c-navy);
  color: #fff; 
  text-align: center;
  position: relative;
  overflow: hidden; /* Crop absolute background */
}
.tech-bg-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.tech-bg-svg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5; /* Adjust as needed */
}
.tech-header-group {
  position: relative;
  z-index: 1; /* Above background */
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-bottom: 124px;
  align-items: flex-start;
  text-align: left;
}
.tech-desc-row {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}
@media (min-width: 1024px) {
  .tech-desc-row { margin-left: 380px; } /* Indentation from title */
}

.tech-line {
  width: 107px;
  height: 2px;
  background-color: #fff;
  margin-top: 12px;
  flex-shrink: 0; /* Prevent shrinking */
}

.tech-logos {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; /* Spread evenly */
  align-items: flex-start;
  gap: 40px; /* Min gap for wrapping */
  margin-top: 64px;
  max-width: 1260px; /* Figma Group width */
  margin-left: auto;
  margin-right: auto;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  opacity: 0.8;
  width: 120px; /* Fixed width for alignment stability */
}
/* New Icon Frame Styling */
.tech-icon-frame {
  width: 80px;
  height: 80px;
  display: flex; 
  justify-content: center; 
  align-items: center;
}
.tech-icon-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --- FOOTER --- */
.section-footer {
  padding: var(--pad-section-y) 0 64px;
  background-color: var(--c-deep-blue);
  color: #fff;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 64px;
  margin-bottom: 96px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-links {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.footer-links a { display: block; margin-bottom: 12px; opacity: 0.7; }

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .btn-pill { width: 100%; } /* Full width buttons on mobile */
  .hero-deco { left: -50%; width: 100%; }
  .tech-header-group { align-items: center; text-align: center; }
  .tech-desc-row { flex-direction: column; align-items: center; }
  .tech-line { display: none; } /* Hide decorative line on mobile if awkward */
}