:root {
  --primary: #0F172A;
  --accent: #0369A1;
  --accent-bright: #0EA5E9;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --text: #020617;
  --text-soft: #475569;
  --border: #E2E8F0;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-name { font-size: 1.15rem; letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(15, 23, 42, 0.06) 0%, transparent 40%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -10px rgba(3, 105, 161, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-large { padding: 1rem 2rem; font-size: 1rem; }

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 540px;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 0.4rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.35);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.badge-floating {
  position: absolute;
  bottom: 1.5rem;
  left: -1rem;
  background: white;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-floating .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-soft);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border-color: var(--accent);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.12), rgba(14, 165, 233, 0.06));
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

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

/* ---------- Tech section ---------- */
.tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.tech-image img {
  border-radius: 16px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.tech-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.tech-content p {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0 2rem;
}

.checklist li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 8 7 11 12 5'/></svg>");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Industries ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.industry:hover {
  background: white;
  transform: translateY(-2px);
}

.industry h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.industry p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* ---------- Quote ---------- */
.section-quote {
  background: var(--primary);
  color: white;
  padding: 5rem 0;
}

.quote {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.quote-img {
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.85;
}

.quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quote blockquote p { margin-bottom: 1.5rem; }

.quote footer {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-weight: 400;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-card {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kpis {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kpis > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.kpis > div:last-child { border-bottom: none; padding-bottom: 0; }

.kpis dt { color: var(--text-soft); font-size: 0.95rem; }
.kpis dd { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; }

/* ---------- CTA / Contact ---------- */
.section-cta {
  background: var(--bg-alt);
}

.cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.cta > p {
  color: var(--text-soft);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.12);
}

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

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .brand { color: white; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; }

.site-footer h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.site-footer p a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.site-footer p a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .tech,
  .about,
  .quote {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cards,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 3rem 0 4rem; }
  .section { padding: 3.5rem 0; }
  .cards,
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}