/* ===== FRONT PAGE CSS ===== */

/* ===== Hero ===== */
.hero {
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 65%);
  pointer-events: none;
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orioma-blue);
  margin-bottom: 32px;
  padding: 8px 16px 8px 12px;
  background: var(--orioma-blue-glow);
  border-radius: 100px;
  width: fit-content;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--orioma-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
h1.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  color: var(--ink);
}
h1.hero-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--orioma-blue);
}
h1.hero-title .ital em { font-style: normal; }
.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, var(--orioma-blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 55%, transparent 28%, var(--orioma-blue-glow) 28.5%, transparent 30%),
    radial-gradient(circle at 50% 55%, transparent 38%, var(--orioma-blue-glow) 38.5%, transparent 40%),
    radial-gradient(circle at 50% 55%, transparent 48%, var(--orioma-blue-glow) 48.5%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.product-img-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.product-img-wrap img {
  width: 95%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(8, 68, 124, 0.18));
  animation: gentleFloat 6s ease-in-out infinite;
}

/* Floating data tags */
.tag {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line-strong);
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 11px;
  box-shadow: 0 12px 28px -8px rgba(8, 68, 124, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.tag-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--orioma-blue-glow);
  display: grid;
  place-items: center;
  color: var(--orioma-blue);
}
.tag-icon svg { width: 16px; height: 16px; }
.tag-data { display: flex; flex-direction: column; gap: 2px; }
.tag .label {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tag .val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.tag .val .unit { color: var(--muted); font-weight: 400; font-size: 11px; }
.tag.t1 { top: 8%; right: -6%; animation: float 5s ease-in-out infinite; }
.tag.t2 { bottom: 28%; left: -10%; animation: float 5s ease-in-out 1.5s infinite; }
.tag.t3 { bottom: 6%; right: 4%; animation: float 5s ease-in-out 3s infinite; }

/* ===== KPI strip ===== */
.kpis {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.kpi {
  padding: 56px 32px;
  border-right: 1px solid var(--line);
  position: relative;
}
.kpi:last-child { border-right: none; }
.kpi-num {
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
  color: var(--ink);
}
.kpi-num .accent { color: var(--orioma-blue); }
.kpi-num .small { font-size: 0.5em; color: var(--muted); font-weight: 300; }
.kpi-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 220px;
}

/* ===== Product feature ===== */
.product {
  background: var(--ink);
  color: var(--white);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.product::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(8, 68, 124, 0.4) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.product .section-tag { color: var(--accent-cyan); }
.product .section-title { color: var(--white); }
.product .section-title em { color: var(--accent-cyan); font-style: italic; font-weight: 300; }
.product .section-lead { color: rgba(255,255,255,0.6); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
  max-width: 980px;
  height: auto;
  display: block;
}
.feat-list { display: flex; flex-direction: column; }
.feat {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
.feat:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.feat-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}
.feat h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--white);
}
.feat p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ===== Use cases ===== */
.uses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.use {
  background: var(--white); position: relative;
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
}
.use-img {
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
}
.use-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  filter: grayscale(20%);
}
.use:hover .use-img img { transform: scale(1.06); filter: grayscale(0%); }
.use-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,22,40,0.6) 100%);
  pointer-events: none;
}
.use-num {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em; background: rgba(10,22,40,0.5);
  backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 4px;
}
.use-body { padding: 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.use-icon {
  width: 44px; height: 44px; border: 1px solid var(--orioma-blue);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--orioma-blue); transition: all .3s;
  flex-shrink: 0;
}
.use:hover .use-icon { background: var(--orioma-blue); color: var(--white); }
.use-icon svg { width: 20px; height: 20px; }
.use h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; color: var(--ink); }
.use p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ===== HOW IT WORKS ===== */
.how { background: var(--paper-2); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 60px; border-top: 1px solid var(--line-strong); }
.step { padding: 40px 24px 40px 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: none; }
.step-num {
  font-family: var(--mono); font-size: 12px; color: var(--orioma-blue);
  letter-spacing: 0.15em; margin-bottom: 24px; display: inline-block;
  padding-top: 16px; border-top: 2px solid var(--orioma-blue);
}
.step h4 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.15; color: var(--ink); }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== PANORAMA ===== */
.panorama {
  position: relative; height: 520px; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.panorama-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1800&q=80&fit=crop');
  background-size: cover; background-position: center 60%;
  background-attachment: fixed;
}
.panorama-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,46,88,0.88) 0%, rgba(8,68,124,0.55) 50%, rgba(8,68,124,0.3) 100%);
}
.panorama-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; align-items: center;
}
.panorama-text { max-width: 700px; }
.panorama-text h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 5vw, 72px); line-height: 1.02;
  letter-spacing: -0.035em; color: var(--white); margin-bottom: 24px;
}
.panorama-text h2 em { font-style: italic; color: var(--accent-cyan); }
.panorama-text p { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 560px; line-height: 1.6; margin-bottom: 36px; }
.panorama-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.pstat-num {
  font-family: var(--display); font-size: 48px; font-weight: 300;
  letter-spacing: -0.04em; color: var(--white); line-height: 1;
}
.pstat-num .a { color: var(--accent-cyan); }
.pstat-lbl { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ===== Partners ===== */
.partners {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.partners-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}
.partners-head h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 560px;
  color: var(--ink);
}
.partners-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  max-width: 1180px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}
.partner {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 2 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: all .3s;
  padding: 16px;
  text-align: center;
}
.partner-logo {
  width: 180px;
  height: 80px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.partner:hover {
  background: var(--orioma-blue);
  color: var(--white);
}
.partner:hover .partner-logo {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

/* ===== Front Page Responsive ===== */
@media (max-width: 980px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid, .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .kpis-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .kpi:nth-child(2n) { border-right: none; }
  .uses-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; }
  .partners-row { grid-template-columns: repeat(2, 1fr); }
  .product { padding: 80px 0; }
}





