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

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  padding: 10px 16px;
  background: #1d4ed8;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
  z-index: 1100;
  clip-path: inset(100%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  top: 16px;
  clip-path: unset;
  width: auto;
  height: auto;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 90px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 24px;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.04);
  gap: 40px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0f172a;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.logo:hover {
  color: #2563eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
  flex-grow: 0;
}

.nav-links a,
.mega-trigger {
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.mega-trigger:hover,
.nav-links a:focus,
.mega-trigger:focus {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.mega-container {
  position: relative;
}

.mega-trigger {
  cursor: pointer;
  background: transparent;
  border: none;
  font: inherit;
  display: flex;
  align-items: center;
}

.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: -10px;
  padding: 20px;
  min-width: 380px;
  background: rgba(255, 255, 255, 0.99);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  z-index: 1001;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 4px;
}

.mega-column h4 {
  margin-bottom: 12px;
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mega-column a {
  display: block;
  margin-bottom: 8px;
  padding: 8px 12px;
  color: #475569;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mega-column a:hover {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.mega-container:hover .mega-menu,
.mega-menu.active {
  display: grid;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(320px, 0.9fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 90px 40px;
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: #2563eb;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3.2rem, 4.4vw, 4.8rem);
  line-height: 1.02;
  color: #0f172a;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 760px;
  margin-bottom: 30px;
  color: #475569;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.hero-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #0f172a;
}

.hero-card p {
  color: #475569;
  font-size: 0.96rem;
}

.hero-visual {
  width: 100%;
  min-height: 520px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.2);
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), transparent 42%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 80px 40px;
}

.section h2,
.section h1 {
  color: #0f172a;
}

.section h2 {
  font-size: 2.7rem;
  margin-bottom: 30px;
}

.section.intro,
.section-intro {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(240px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.section-intro > div,
.section-intro .section-image {
  min-width: 0;
}

.page-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.page-highlights div {
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.page-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
}

.section-image {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #f8fafc;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-details,
.content {
  padding: 28px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.service-details h3 {
  margin-bottom: 18px;
  color: #1d4ed8;
}

.service-details ul,
.content ul {
  margin-top: 18px;
  padding-left: 20px;
  list-style-position: inside;
}

.service-block {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  border-radius: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.service-block h2 {
  font-size: 1.7rem;
  margin-top: 0;
}

.service-block p {
  color: #475569;
}

.service-block ul {
  list-style-position: inside;
  padding-left: 18px;
  margin-top: 14px;
}

.service-block ul li {
  margin-bottom: 10px;
}

.service-block a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  width: fit-content;
  border-radius: 999px;
  color: #ffffff;
  background: #2563eb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-block a:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.section.alt,
.section-alt {
  background: #f8fafc;
}

.section-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview-card {
  padding: 28px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.overview-card h3 {
  margin-bottom: 16px;
  color: #1d4ed8;
}

.overview-card p,
.overview-card li {
  color: #475569;
  font-size: 0.96rem;
}

.overview-card ul {
  margin-top: 16px;
  padding-left: 18px;
  list-style-type: disc;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  padding: 28px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-bottom: 18px;
  color: #1d4ed8;
}

.card p,
.card li {
  color: #475569;
  line-height: 1.75;
}

.card li {
  margin-bottom: 10px;
}

.content {
  padding: 28px;
}

.content p,
.content li {
  color: #475569;
}

.content ul {
  margin-top: 18px;
  padding-left: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  padding: 28px;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.feature-card h3 {
  margin-bottom: 14px;
  color: #1d4ed8;
}

.feature-card p {
  color: #475569;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
}

.contact-panel,
.contact-info {
  padding: 34px;
  border-radius: 24px;
}

.contact-panel {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.contact-panel h3 {
  margin-bottom: 18px;
  color: #0f172a;
}

.contact-panel p,
.contact-info p {
  color: #475569;
  line-height: 1.8;
}

.contact-info {
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.contact-info a,
.contact-info p {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: #334155;
}

.contact-info a:last-child,
.contact-info p:last-child {
  border-bottom: none;
}

.contact-info a {
  font-weight: 700;
}

.contact-note {
  padding-top: 10px;
  opacity: 0.8;
  color: #475569;
}

/* FORM STYLES */
input,
textarea {
  transition: all 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* PROCESS / STEPS SECTIONS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 18px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.step-card p {
  color: #475569;
  line-height: 1.6;
}

/* USE CASES / INDUSTRIES GRID */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.use-case-tag {
  padding: 16px 20px;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.use-case-tag:hover {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  border-color: #2563eb;
  color: #1d4ed8;
}

/* TWO-COLUMN DETAIL SECTIONS */
.detail-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0;
}

.detail-section.reversed {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.detail-section.reversed > * {
  direction: ltr;
}

.detail-content h3 {
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #0f172a;
}

.detail-content p {
  margin-bottom: 16px;
  color: #475569;
  line-height: 1.8;
}

.detail-list {
  margin-top: 20px;
  padding-left: 0;
}

.detail-list li {
  list-style: none;
  margin-bottom: 14px;
  padding-left: 28px;
  position: relative;
  color: #475569;
}

.detail-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
}

footer {
  text-align: center;
  padding: 28px 40px;
  color: #64748b;
}

.accessibility-footer {
  margin-top: 16px;
  font-size: 0.95rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #334155;
  border-radius: 999px;
}

.nav.active .hamburger span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav.active .hamburger span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 70px 24px;
  }

  .hero-highlights,
  .page-highlights {
    grid-template-columns: 1fr;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .detail-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-section.reversed {
    direction: ltr;
  }

  .detail-section.reversed > * {
    direction: ltr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .cards,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section,
  .contact-grid,
  footer {
    padding: 50px 24px;
  }

  .nav {
    padding: 18px 24px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 14px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.2);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-overview {
    grid-template-columns: 1fr;
  }

  .nav.active .nav-links {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .mega-menu {
    position: static;
    width: 100%;
    padding: 16px 0 0;
    background: transparent;
    border: none;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .mega-column {
    min-width: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section-overview {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
