/* ==========================================================================
   OYNOX — Design System
   Palette (brand kit): navy #213448, slate #547792, sky #94B4C1,
   cream #ECEFCA, off-white #F8F9F4, royal #1C5D99
   Typeface: Poppins (Nexa substitute — drop Nexa woff files into
   assets/fonts/ and update the @font-face block below to use it instead)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand palette, exact hex from kit */
  --navy: #213448;
  --slate: #547792;
  --sky: #94b4c1;
  --cream: #ecefca;
  --off-white: #f8f9f4;
  --royal: #1c5d99;

  /* Semantic tokens — dark / premium theme */
  --bg: #0d1520;
  --bg-elevated: #131f2e;
  --bg-card: #16222f;
  --border: rgba(148, 180, 193, 0.14);
  --border-strong: rgba(148, 180, 193, 0.28);
  --text: var(--off-white);
  --text-dim: #9fb0bd;
  --accent: var(--royal);
  --accent-2: var(--sky);
  --gradient: linear-gradient(135deg, var(--royal) 0%, var(--slate) 100%);

  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Nexa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(13, 21, 32, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-color: var(--border); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.brand .mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2vw, 32px);
  align-items: center;
  font-size: 0.85rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-dim);
  transition: color 0.2s ease;
  letter-spacing: 0.2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--text);
  color: var(--bg) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.82rem !important;
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}
.nav-cta:hover { transform: translateY(-1px); opacity: 0.88; }

.nav-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease);
}

.social-icon svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon .icon-fill {
  fill: currentColor;
  stroke: none;
}

.social-icon:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(148, 180, 193, 0.08);
  transform: translateY(-1px);
}

.social-icon:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.social-icon--header {
  width: 32px;
  height: 32px;
}

.social-icon--footer {
  width: 40px;
  height: 40px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 80px;
  position: relative;
}

.hero-content-area {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 160px 24px 80px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: url("../assets/img/lifestyle/oynox-smart-home-hero.png");
  background-size: cover;
  background-position: 38% center;
  background-repeat: no-repeat;
}

.hero-content-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 21, 32, 0.72) 0%, rgba(13, 21, 32, 0.48) 42%, rgba(13, 21, 32, 0.7) 100%),
    linear-gradient(90deg, rgba(13, 21, 32, 0.58) 0%, rgba(33, 52, 72, 0.34) 50%, rgba(13, 21, 32, 0.52) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 32%, rgba(7, 13, 20, 0.42) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-content-area > * { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 24px;
}

.hero-content-area h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 920px;
  margin-bottom: 24px;
  text-shadow: 0 3px 28px rgba(7, 13, 20, 0.65);
}

.hero-content-area h1 .thin { font-weight: 300; color: var(--text-dim); }

.hero-content-area p.lead {
  color: var(--text-dim);
  max-width: 560px;
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 40px;
  text-shadow: 0 2px 18px rgba(7, 13, 20, 0.72);
}

.hero-media {
  margin-top: 72px;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img { width: 100%; height: 100%; object-fit: contain; }

.placeholder-art {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  background:
    repeating-linear-gradient(45deg, rgba(148,180,193,0.05) 0 2px, transparent 2px 14px);
  border: 1px dashed var(--border-strong);
  border-radius: inherit;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease), opacity 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); }

.btn-sm { padding: 11px 22px; font-size: 0.8rem; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--bg-elevated); }

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left { margin: 0 0 56px; text-align: left; }

.section-head .eyebrow { display: block; }
.section-head.left .eyebrow { text-align: left; }

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-dim); font-size: 1.05rem; font-weight: 300; }

/* ---------- Grid / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.card .icon-badge {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.card .icon-badge img {
  width: 56px;
  height: 56px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.card p { color: var(--text-dim); font-size: 0.92rem; font-weight: 300; }

.why-grid {
  grid-auto-rows: 1fr;
}

.why-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background:
    linear-gradient(
      145deg,
      rgba(84, 119, 146, 0.34),
      rgba(33, 52, 72, 0.92)
    );
  border-color: rgba(148, 180, 193, 0.3);
  box-shadow: 0 18px 45px rgba(3, 12, 22, 0.18);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s ease,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.why-card.reveal:not(.is-visible) {
  transform: translateY(24px);
}

.why-card .why-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 50%;
}

.why-card .why-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.why-card h3 { color: var(--off-white); }
.why-card p { color: var(--sky); }

@media (hover: hover) and (pointer: fine) {
  .why-card.is-visible:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 180, 193, 0.52);
    background:
      linear-gradient(
        145deg,
        rgba(84, 119, 146, 0.44),
        rgba(33, 52, 72, 0.96)
      );
    box-shadow: 0 22px 48px rgba(3, 12, 22, 0.24);
  }
}

/* ---------- Product cards ---------- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.product-card .product-img {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, rgba(148,180,193,0.10), transparent 70%);
}
.product-card .product-img img { max-height: 82%; max-width: 82%; object-fit: contain; }

.product-card .product-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card h3 { font-size: 1.05rem; font-weight: 600; }
.product-card p { color: var(--text-dim); font-size: 0.88rem; font-weight: 300; flex: 1; }

.tag {
  display: inline-block;
  background: rgba(148, 180, 193, 0.12);
  color: var(--accent-2);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  width: fit-content;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; padding: 32px 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  padding-right: 64px;
  display: block;
}
.step h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; }
.step p { color: var(--text-dim); font-size: 0.88rem; font-weight: 300; }

.process-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  color: var(--accent-2);
  background: rgba(248, 249, 244, 0.04);
}

.process-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- How we work video ---------- */
.how-we-work--video {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.how-we-work__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.how-we-work__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 18, 30, 0.56), rgba(7, 18, 30, 0.68)),
    linear-gradient(90deg, rgba(7, 18, 30, 0.12), transparent 55%);
  pointer-events: none;
}

.how-we-work__content {
  position: relative;
  z-index: 2;
}

.how-we-work--video .step {
  background: rgba(22, 34, 47, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.how-we-work--video.video-unavailable .how-we-work__video {
  display: none;
}

/* ---------- Feature rows (Apple-style alternating panels) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 110px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-row .media {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row .media img { width: 100%; height: 100%; object-fit: cover; }

.about-media--video {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.feature-row .about-media__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.feature-row .system-media {
  background: var(--bg-card);
}

.feature-row .system-media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-row h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
.feature-row p { color: var(--text-dim); font-weight: 300; font-size: 1.02rem; }

.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--text-dim); font-weight: 300; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
}
.feature-list li strong { color: var(--text); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat .num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat .label { color: var(--text-dim); font-size: 0.85rem; margin-top: 6px; font-weight: 300; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
}
.cta-band--video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-band__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(7, 18, 30, 0.55);
  pointer-events: none;
}
.cta-band__content {
  position: relative;
  z-index: 2;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-band p { margin-bottom: 34px; opacity: 0.9; max-width: 520px; margin-left: auto; margin-right: auto; font-weight: 300; }
.cta-band .btn-primary { background: var(--bg); color: var(--text); }

.about-bottom-cta--video {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--royal);
}

.about-bottom-cta__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.about-bottom-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(7, 18, 30, 0.68),
      rgba(7, 18, 30, 0.48)
    );
  pointer-events: none;
}

.about-bottom-cta__content {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band__video { display: none; }
  .about-bottom-cta__video { display: none; }
  .about-media__video { animation: none; }
}

/* ---------- FAQ (accordion) ---------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent-2);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--text-dim); font-weight: 300; margin-top: 14px; max-width: 640px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-item .icon-badge { flex-shrink: 0; }
.contact-item h4 { margin-bottom: 4px; font-weight: 600; }
.contact-item p, .contact-item a { color: var(--text-dim); font-size: 0.92rem; font-weight: 300; }

.contact-options {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  align-self: start;
}
.contact-options .eyebrow { margin-bottom: 16px; }
.contact-options h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin-bottom: 16px; }
.contact-options > p {
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 28px;
}
.contact-options > .btn { white-space: normal; text-align: center; justify-content: center; }
.contact-options-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.contact-options-divider::before, .contact-options-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}
.contact-option-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.contact-option-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 0.85rem;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.contact-option-links a:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(148, 180, 193, 0.06);
}
.contact-option-links a:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 36px; background: var(--bg-elevated); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 56px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); max-width: 300px; font-size: 0.88rem; font-weight: 300; }
.footer-links { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-dim); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.2s ease; font-weight: 300; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 0.8rem; font-weight: 300; }
.social-row { display: flex; align-items: center; gap: 10px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 60px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; max-width: 760px; }
.page-hero p { color: var(--text-dim); max-width: 620px; font-size: 1.05rem; font-weight: 300; }

.about-page-hero {
  width: 100%;
  background-color: var(--off-white);
  background-image:
    linear-gradient(
      90deg,
      rgba(248, 249, 244, 0.98) 0%,
      rgba(248, 249, 244, 0.95) 38%,
      rgba(248, 249, 244, 0.72) 58%,
      rgba(248, 249, 244, 0.22) 80%,
      rgba(248, 249, 244, 0.04) 100%
    ),
    url("/assets/img/lifestyle/oynox-about-smart-home-hero.png");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.about-page-hero__content {
  position: relative;
}

.about-page-hero .eyebrow { color: var(--slate); }
.about-page-hero h1 { color: var(--navy); max-width: 700px; }
.about-page-hero p { color: var(--slate); }

.solutions-page-hero {
  min-height: 0;
  display: flex;
  align-items: center;
  padding: clamp(136px, 10vw, 156px) 0 clamp(72px, 7vw, 104px);
  overflow: hidden;
  background: #0b1725;
}

.solutions-page-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  align-items: center;
  gap: clamp(48px, 4vw, 64px);
}

.solutions-page-hero__content {
  min-width: 0;
}

.solutions-page-hero h1 {
  max-width: 100%;
  font-size: clamp(2.2rem, 2.5vw, 2.5rem);
  line-height: 1.05;
}

.solutions-page-hero__media {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 3 / 4;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
  border-radius: 24px;
  background: #0c1724;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.solutions-page-hero__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.solutions-page-hero p {
  max-width: 660px;
  color: rgba(248, 249, 244, 0.82);
}

.solution-system--comfort {
  padding-top: 72px;
}

.solution-system--comfort .section-head.left {
  margin-bottom: 44px;
}

/* Breadcrumb */
.breadcrumb { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 20px; font-weight: 300; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent-2); }

/* Product detail */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 170px 0 100px; }
.product-hero .media {
  aspect-ratio: 1/1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-hero .media img { max-width: 78%; max-height: 78%; object-fit: contain; }
.product-hero .price { font-size: 1.3rem; font-weight: 600; margin: 20px 0 28px; color: var(--accent-2); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 14px 0; font-size: 0.92rem; font-weight: 300; }
.spec-table td:first-child { color: var(--text-dim); width: 40%; }

/* ---------- Image carousel ---------- */

.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-carousel .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.image-carousel .carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Previous and next buttons */

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;

  background: rgba(13, 21, 32, 0.55);
  color: var(--text);

  font-size: 1.1rem;
  cursor: pointer;

  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.carousel-button:hover {
  background: rgba(13, 21, 32, 0.85);
}

.carousel-button:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

/* Navigation dots */

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 3;

  display: flex;
  gap: 8px;

  transform: translateX(-50%);
}

.carousel-dot {
  width: 8px;
  height: 8px;

  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 100px;
  background: var(--text);
}

/* ---------- Oynox links page ---------- */

.links-page-body {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 12% 0%, rgba(28, 93, 153, 0.28), transparent 34%),
    radial-gradient(circle at 92% 36%, rgba(84, 119, 146, 0.2), transparent 30%),
    #09131f;
}

.links-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(48px, 8vw, 88px) 20px 32px;
  overflow: hidden;
}

.links-page::before,
.links-page::after {
  position: fixed;
  z-index: 0;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(148, 180, 193, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.links-page::before {
  top: -150px;
  right: -100px;
}

.links-page::after {
  bottom: -180px;
  left: -130px;
}

.links-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.links-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  text-align: center;
}

.links-logo {
  display: grid;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(148, 180, 193, 0.26);
  border-radius: 26px;
  background: rgba(248, 249, 244, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.links-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.3);
}

.links-logo:focus-visible,
.link-card:focus-visible,
.links-website-link:focus-visible,
.links-footer a:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 4px;
}

.links-logo img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.links-brand {
  margin-bottom: 12px;
  color: var(--sky);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.links-profile h1 {
  max-width: 600px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 8vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.links-intro {
  max-width: 510px;
  color: var(--text-dim);
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
}

.links-carousel {
  width: 100%;
}

.links-carousel__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 26px;
  padding: 5px;
  border: 1px solid rgba(148, 180, 193, 0.16);
  border-radius: 18px;
  background: rgba(13, 25, 38, 0.76);
}

.links-carousel__tab {
  min-height: 46px;
  padding: 9px 14px;
  border: 0;
  border-radius: 13px;
  color: var(--text-dim);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.links-carousel__tab.is-active {
  color: var(--off-white);
  background: rgba(84, 119, 146, 0.3);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.links-carousel__tab:focus-visible,
.links-carousel__arrow:focus-visible,
.links-carousel__panel:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.links-carousel__viewport {
  overflow: hidden;
}

.links-page .links-group {
  padding: 0;
}

.links-carousel__panel[hidden] {
  display: none;
}

.links-carousel__panel.is-entering-forward {
  animation: links-slide-forward 0.38s var(--ease) both;
}

.links-carousel__panel.is-entering-backward {
  animation: links-slide-backward 0.38s var(--ease) both;
}

@keyframes links-slide-forward {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes links-slide-backward {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

.links-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.links-carousel__arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--sky);
  background: rgba(22, 34, 47, 0.82);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.links-carousel__arrow:hover:not(:disabled) {
  color: var(--off-white);
  border-color: var(--border-strong);
  background: rgba(38, 56, 72, 0.95);
}

.links-carousel__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.links-carousel__status {
  min-width: 42px;
  color: var(--text-dim);
  font-size: 0.74rem;
  text-align: center;
}

.links-group__heading {
  margin-bottom: 16px;
}

.links-group__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.links-group__heading h2 {
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  line-height: 1.3;
}

.links-stack {
  display: grid;
  gap: 12px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 180, 193, 0.18);
  border-radius: 20px;
  background: rgba(22, 34, 47, 0.84);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.link-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--link-accent, var(--slate));
  content: "";
  opacity: 0.86;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(148, 180, 193, 0.34);
  background: rgba(28, 43, 58, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.link-card__badge {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(248, 249, 244, 0.22);
  border-radius: 15px;
  background: rgba(248, 249, 244, 0.96);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.link-card__badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.link-card--tiktok-shop .link-card__badge img {
  width: 37px;
  height: 37px;
}

.link-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.link-card__copy strong {
  font-size: 0.94rem;
  font-weight: 600;
}

.link-card__copy span {
  margin-top: 2px;
  overflow: hidden;
  color: var(--text-dim);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card__arrow {
  color: var(--sky);
  font-size: 1.15rem;
  transition: transform 0.25s var(--ease);
}

.link-card:hover .link-card__arrow {
  transform: translate(2px, -2px);
}

.link-card--tokopedia { --link-accent: #42b549; }
.link-card--shopee { --link-accent: #ee4d2d; }
.link-card--tiktok-shop { --link-accent: #4ed8dc; }
.link-card--consultation {
  --link-accent: #55c978;
  border-color: rgba(85, 201, 120, 0.28);
  background: linear-gradient(135deg, rgba(37, 75, 61, 0.72), rgba(22, 34, 47, 0.92));
}

.links-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.link-card--compact {
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-height: 72px;
  padding: 13px 14px;
}

.link-card--compact .link-card__badge {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.links-website-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 4px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--sky);
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.links-website-link:hover {
  border-color: var(--border);
  color: var(--off-white);
  background: rgba(148, 180, 193, 0.06);
}

.links-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 48px;
  color: rgba(159, 176, 189, 0.7);
  font-size: 0.72rem;
}

.links-footer a {
  transition: color 0.2s ease;
}

.links-footer a:hover {
  color: var(--off-white);
}

@media (max-width: 520px) {
  .links-page {
    padding: 36px 16px 26px;
  }

  .links-profile {
    margin-bottom: 38px;
  }

  .links-logo {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .links-logo img {
    width: 50px;
    height: 50px;
  }

  .links-secondary-grid {
    grid-template-columns: 1fr;
  }

  .link-card,
  .link-card--compact {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 76px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .link-card__badge,
  .link-card--compact .link-card__badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .links-logo,
  .link-card,
  .link-card__arrow,
  .links-carousel__tab,
  .links-carousel__arrow {
    transition: none;
  }

  .links-carousel__panel.is-entering-forward,
  .links-carousel__panel.is-entering-backward {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-content-area { background-position: 18% center; }
  .solutions-page-hero {
    padding-top: 136px;
    padding-bottom: 80px;
  }
  .solutions-page-hero__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 36px;
  }
  .about-page-hero {
    background-position: 72% center;
  }
  .about-page-hero h1,
  .about-page-hero p {
    max-width: 62%;
  }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; padding-top: 140px; }
  .footer-top { flex-direction: column; }
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .solutions-page-hero {
    padding-top: 128px;
    padding-bottom: 72px;
  }

  .solutions-page-hero__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .solutions-page-hero__media {
    justify-self: center;
    border-radius: 20px;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
  }

  .nav-socials { margin-top: 2px; }
}

@media (max-width: 640px) {
  .hero-content-area {
    background-position: 12% center;
  }

  .solutions-page-hero {
    padding-top: 120px;
    padding-bottom: 64px;
  }

  .solutions-page-hero__layout {
    gap: 28px;
  }

  .solutions-page-hero__media {
    border-radius: var(--radius);
  }

  .about-page-hero {
    background-image:
      linear-gradient(
        90deg,
        rgba(248, 249, 244, 0.97) 0%,
        rgba(248, 249, 244, 0.94) 58%,
        rgba(248, 249, 244, 0.78) 100%
      ),
      url("/assets/img/lifestyle/oynox-about-smart-home-hero.png");
    background-position: 85% center;
  }
  .about-page-hero h1 { max-width: 68%; }
  .about-page-hero p { max-width: 100%; }
  .why-card .why-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 24px;
  }

  .grid-4, .grid-5, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .process-icon { top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 12px; }
  .process-icon svg { width: 20px; height: 20px; }
  .step .num { padding-right: 52px; }
  section { padding: 88px 0; }
  .contact-options { padding: 30px 24px; }
  .contact-option-links { grid-template-columns: 1fr; }

  .carousel-button {
  width: 36px;
  height: 36px;
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  bottom: 14px;
}
}
