/* ============================================================
   OtelTV — Modern CSS
   Renkler, layout ve yapı korunarak modernize edilmiştir.
   ============================================================ */

/* ----- Design Tokens ----- */
:root {
  /* Colors */
  --navy: #071729;
  --navy2: #0b2743;
  --gold: #f5bd4b;
  --ink: #0b1728;
  --muted: #667085;
  --header-bg: #071421;
  --hero-dark: #020b16;
  --card-border: #e4e9ef;
  --card-shadow: #1018281a;
  --light-bg: #f3f6f9;
  --success: #166534;
  --check: #0f8a5f;
  --oracle-red: #c74634;
  --pms-blue: #0d3152;

  /* Spacing */
  --section-px: 5%;
  --section-py: 76px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 12px 38px var(--card-shadow);
  --shadow-card-hover: 0 16px 42px #10182822;
  --shadow-header: 0 4px 20px #0003;
  --shadow-cloud: 0 20px 52px #07172926;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-normal: 0.3s;
  --dur-slow: 0.5s;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

/* ----- Skip Link (a11y) ----- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

/* ----- Header ----- */
header {
  height: 76px;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  gap: 34px;
  background: var(--header-bg);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--shadow-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--dur-fast);
}

.logo:hover {
  opacity: 0.85;
}

.logo span {
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 0 4px;
  margin-left: 2px;
}

nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--dur-fast);
}

nav a:hover {
  color: var(--gold);
}

header nav a {
  position: relative;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--gold);
  transition: right var(--dur-normal) var(--ease-out);
}

header nav a:hover::after {
  right: 0;
}

/* ----- Language Toggle ----- */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 3px;
  cursor: pointer;
  margin-left: 6px;
  flex-shrink: 0;
}

.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  letter-spacing: 0.5px;
  line-height: 1;
}

.lang-toggle button.active {
  background: var(--gold);
  color: #111;
}

.lang-toggle button:hover:not(.active) {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  border: 0;
  background: var(--gold);
  color: #111;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-spring),
              box-shadow var(--dur-fast),
              filter var(--dur-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #f5bd4b44;
  filter: brightness(1.06);
}

.btn:active {
  transform: translateY(0);
}

.small {
  padding: 11px 16px;
}

.ghost {
  color: #fff;
  border: 1px solid #fff8;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--dur-fast),
              background var(--dur-fast),
              color var(--dur-fast);
}

.ghost:hover {
  border-color: var(--gold);
  background: #ffffff0d;
  color: var(--gold);
}

/* ----- Menu Toggle (Mobile) ----- */
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff35;
  border-radius: var(--radius-md);
  background: #0d2034;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background var(--dur-fast),
              border-color var(--dur-fast);
}

.menu-toggle:hover {
  background: #142c46;
  border-color: #ffffff50;
}

/* ----- Focus Visible (a11y) ----- */
.menu-toggle:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 650px;
  background: url('assets/images/01-hero-otel-tv.webp') center / cover;
  position: relative;
  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #020b16e8 0%, #071729b5 42%, #07172922 75%);
}

.heroText {
  position: relative;
  color: #fff;
  width: min(650px, 90%);
  margin-left: 6%;
}

.eyebrow,
.section span,
.manage span,
.contact span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.hero h1 {
  font-size: 68px;
  line-height: 0.98;
  margin: 15px 0;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  font-size: 20px;
  line-height: 1.55;
  color: #e7edf4;
}

.actions {
  display: flex;
  gap: 15px;
  margin-top: 28px;
}

/* ----- Hero Slider ----- */
.hero-slider {
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.85s ease,
              transform 5.8s ease;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slider .overlay {
  z-index: -1;
  background: linear-gradient(
    90deg,
    #020b16ee 0%,
    #071729c2 38%,
    #07172935 68%,
    #07172915 100%
  );
}

.hero-slider .heroText {
  z-index: 2;
}

.hero-slider .heroDesc {
  font-size: 16px;
  max-width: 590px;
  color: #cbd6e2;
  margin-top: -4px;
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(6, 20, 33, 0.55);
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--dur-fast),
              color var(--dur-fast),
              border-color var(--dur-fast),
              transform var(--dur-fast),
              box-shadow var(--dur-fast);
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(245, 189, 75, 0.4);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

/* Hero Dots */
.hero-dots {
  position: absolute;
  z-index: 4;
  left: 6%;
  bottom: 28px;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #ffffff70;
  padding: 0;
  cursor: pointer;
  transition: width var(--dur-normal) var(--ease-spring),
              border-radius var(--dur-normal),
              background var(--dur-normal);
}

.hero-dot.active {
  width: 30px;
  border-radius: var(--radius-sm);
  background: var(--gold);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: var(--section-py) var(--section-px);
}

.head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 32px;
}

.head h2,
.manage h2,
.contact h2 {
  font-size: 38px;
  margin: 8px 0;
}

.head p {
  max-width: 520px;
  color: var(--muted);
}

/* ============================================================
   PLATFORM LOGOS
   ============================================================ */
.platform-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 26px;
}

.platform-logo {
  min-height: 92px;
  border: 1px solid #e4e8ee;
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 22px;
  box-shadow: 0 10px 28px #10182812;
  font-size: 19px;
  color: #111827;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.platform-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px #10182818;
}

.platform-logo strong {
  line-height: 1.12;
}

/* Google Mark */
.gmark {
  width: 44px;
  height: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transform: rotate(4deg);
  flex: 0 0 auto;
}

.gmark i:nth-child(1) { background: #4285f4; }
.gmark i:nth-child(2) { background: #34a853; }
.gmark i:nth-child(3) { background: #fbbc05; }
.gmark i:nth-child(4) { background: #ea4335; }

/* LG Mark */
.lgmark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #a50034;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -1px;
  flex: 0 0 auto;
}

/* Brand Logos */
.brand-logo-img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.platform-logo.google {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding: 16px 18px;
}

.platform-logo.google .brand-logo-img:first-child {
  width: 64px;
  flex: 0 0 auto;
}

.platform-logo.google .android-tv-mark {
  width: 110px;
  flex: 0 0 auto;
}

.platform-logo.google.boxlogo strong {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  flex: 0 0 auto;
}

.platform-logo.lg {
  padding: 20px 24px;
}

.platform-logo.lg .brand-logo-img {
  width: min(200px, 100%);
  max-height: 60px;
}

.brand-logo-mini {
  width: 50px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.lg-logo-img {
  height: 44px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.lg-official {
  width: 180px;
  max-height: 54px;
}

.mini-lg-logo {
  width: 88px;
  height: 22px;
  object-fit: contain;
}

/* Mini Brand Tags */
.mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
  color: #374151;
}

.mini-brand .gmark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.mini-brand .lgmark {
  width: 26px;
  height: 26px;
  font-size: 10px;
}

.mini-brand .lg-logo-img {
  height: 20px;
}

.mini-brand.lg-mini {
  gap: 10px;
}

.mini-brand.lg-mini .brand-logo-mini {
  width: 92px;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.product .card-link > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #e9eef4;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product:hover .card-link > img {
  transform: scale(1.03);
}

.product h3 {
  font-size: 22px;
  margin: 0 0 8px;
}

.product p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.platform-products .product .card-link > img {
  height: 300px;
}

/* ============================================================
   FEATURE CARDS (Çözümler)
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cards article {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.cards article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.cards img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #e9eef4;
  transition: transform var(--dur-slow) var(--ease-out);
}

.cards article:hover img {
  transform: scale(1.03);
}

.cards h3 {
  font-size: 22px;
  margin: 14px 0 6px;
}

.cards p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
}

.light {
  background: var(--light-bg);
}

.dark {
  background: var(--navy);
  color: #fff;
}

/* ============================================================
   CARD LINKS & SUB PAGES
   ============================================================ */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.product .card-link > div {
  padding: 22px;
}

.cards .card-link h3,
.cards .card-link p {
  padding-left: 18px;
  padding-right: 18px;
}

/* ============================================================
   SECTOR GRID
   ============================================================ */
.sector a {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: transform 0.22s var(--ease-out),
              box-shadow 0.22s;
}

.sector a::before {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #04111de8);
  transition: inset var(--dur-normal) var(--ease-out);
}

.sector a:hover::before {
  inset: 20% 0 0;
}

.sector a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #0005;
}

.sector a b,
.sector a small {
  position: relative;
}

.sector a b {
  font-size: 25px;
}

.sector a small {
  margin-top: 8px;
  opacity: 0.85;
  transition: opacity var(--dur-fast);
}

.sector a:hover small {
  opacity: 1;
}

.sector6 {
  grid-template-columns: repeat(3, 1fr);
  display: grid;
  gap: 20px;
}

/* ============================================================
   CLOUD MANAGEMENT SECTION
   ============================================================ */
.cloud-manage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  background: #061421;
  color: #fff;
}

.cloud-manage h2 {
  font-size: 42px;
  margin: 10px 0 14px;
}

.cloud-manage p {
  color: #d7e0e8;
  line-height: 1.75;
}

.cloud-manage img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 55px #0007;
  transition: transform var(--dur-slow) var(--ease-out);
}

.cloud-manage:hover img {
  transform: scale(1.02);
}

.cloud-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 22px 0 28px;
}

.cloud-points b {
  padding: 12px 14px;
  background: #ffffff0d;
  border: 1px solid #ffffff18;
  border-radius: var(--radius-md);
  color: #fff;
  transition: background var(--dur-fast),
              border-color var(--dur-fast);
}

.cloud-points b:hover {
  background: #ffffff15;
  border-color: #ffffff30;
}

.cloud-points li {
  margin-bottom: 6px;
}

/* ============================================================
   CLOUD SECTION (with checklist)
   ============================================================ */
.cloud-section {
  padding: 78px 6%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
  background: #fff;
}

.cloud-copy > span,
.integration-band span,
.pms-section .head span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.cloud-copy h2,
.integration-band h2 {
  font-size: 40px;
  line-height: 1.08;
  margin: 10px 0 16px;
}

.cloud-copy p,
.integration-band p {
  color: var(--muted);
  line-height: 1.7;
}

.cloud-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}

.cloud-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.45;
}

.cloud-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--check);
  font-weight: 900;
}

.cloud-media img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-cloud);
  transition: transform var(--dur-slow) var(--ease-out);
}

.cloud-media:hover img {
  transform: scale(1.02);
}

/* ============================================================
   INTEGRATION BAND (PMS)
   ============================================================ */
.integration-band {
  padding: 70px 6%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
  background: linear-gradient(120deg, #f5f7fa, #eef3f8);
}

.integration-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.integration-logos > div {
  min-height: 150px;
  border-radius: var(--radius-xl);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px #10182814;
  border: 1px solid #e3e8ef;
  padding: 22px;
  text-align: center;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.integration-logos > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px #1018281c;
}

.integration-logos strong {
  font-size: 30px;
  letter-spacing: 0.5px;
}

.integration-logos small {
  margin-top: 8px;
  color: var(--muted);
}

.oracle-badge strong {
  color: var(--oracle-red);
}

.pms-badge strong {
  color: var(--pms-blue);
}

/* ============================================================
   MANAGE SECTION
   ============================================================ */
.manage {
  padding: var(--section-py) var(--section-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--navy);
  color: #fff;
}

.manage > a {
  display: block;
}

.manage > a img {
  display: block;
  background: #e9eef4;
  transition: transform var(--dur-slow) var(--ease-out);
}

.manage:hover > a img {
  transform: scale(1.015);
}

.manage .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.manage .ghost {
  border-color: #ffffff55;
  background: transparent;
  transition: border-color var(--dur-fast),
              color var(--dur-fast);
}

.manage .ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.manage img {
  background: #e9eef4;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact {
  padding: var(--section-py) var(--section-px);
  background: var(--light-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-size: 38px;
  margin: 8px 0 12px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-highlight {
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 14px #10182808;
}

.contact-highlight strong {
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-highlight p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

#demoForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
}

#demoForm input,
#demoForm textarea,
#demoForm select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #f9fafb;
  transition: border-color var(--dur-fast),
              box-shadow var(--dur-fast),
              background var(--dur-fast);
  -webkit-appearance: none;
}

#demoForm select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23667085' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

#demoForm select:invalid {
  color: #9ca3af;
}

#demoForm input:focus,
#demoForm textarea:focus,
#demoForm select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #f5bd4b22;
  background: #fff;
  outline: none;
}

#demoForm input::placeholder,
#demoForm textarea::placeholder {
  color: #9ca3af;
}

#demoForm textarea {
  grid-column: 1 / -1;
  min-height: 100px;
  resize: vertical;
}

#demoForm .btn {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-weight: 700;
  color: var(--success);
  min-height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: #fff;
  padding: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px var(--section-px) 40px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  text-align: left;
}

.footer-brand .logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-desc {
  color: #8899aa;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 300px;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0 0 10px;
}

.footer-col a {
  color: #8899aa;
  font-size: 14px;
  text-decoration: none;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-col a:hover {
  color: #fff;
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin: 0;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #8899aa;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast),
              transform var(--dur-fast) var(--ease-out);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.social-links svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--section-px);
  max-width: 1280px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #667085;
  font-size: 13px;
  margin: 0;
}

.footer-cta {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(245, 189, 75, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast), color var(--dur-fast);
}

.footer-cta:hover {
  background: var(--gold);
  color: var(--navy);
}

/* ============================================================
   SUB-PAGE HERO
   ============================================================ */
.subpage {
  background: #fff;
}

.subhero {
  height: min(76vh, 760px);
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.subhero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subhero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #020b16f2 0%,
    #071729c8 39%,
    #07172938 72%,
    transparent
  );
}

.subhero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 88%);
  margin-left: 6%;
  color: #fff;
}

.subhero-copy > span,
.sub-showcase span,
.cta-band span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.subhero-copy h1 {
  font-size: 64px;
  line-height: 1;
  margin: 14px 0 6px;
}

.subhero-copy h2 {
  font-size: 27px;
  margin: 0 0 16px;
  color: #fff;
}

.subhero-copy p {
  font-size: 19px;
  line-height: 1.6;
  color: #dce5ee;
  max-width: 620px;
}

.sub-intro {
  padding-top: 68px;
}

/* Sub-page Hero Slider */
.subhero-slider {
  isolation: isolate;
}

.subhero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subhero-slider .subhero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease,
              transform 5.5s ease;
  will-change: opacity, transform;
}

.subhero-slider .subhero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.subhero-slider .subhero-overlay {
  z-index: 1;
}

.subhero-slider .subhero-copy {
  z-index: 2;
}

/* Subhero Arrows */
.subhero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(6, 20, 33, 0.55);
  color: #fff;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--dur-fast),
              color var(--dur-fast),
              border-color var(--dur-fast),
              transform var(--dur-fast),
              box-shadow var(--dur-fast);
}

.subhero-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.subhero-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(245, 189, 75, 0.4);
}

.subhero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.subhero-arrow.prev { left: 22px; }
.subhero-arrow.next { right: 22px; }

/* Subhero Dots */
.subhero-dots {
  position: absolute;
  left: 6%;
  bottom: 26px;
  z-index: 4;
  display: flex;
  gap: 9px;
}

.subhero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #ffffff77;
  padding: 0;
  cursor: pointer;
  transition: width var(--dur-normal) var(--ease-spring),
              border-radius var(--dur-normal),
              background var(--dur-normal);
}

.subhero-dot.active {
  width: 28px;
  border-radius: var(--radius-sm);
  background: var(--gold);
}

/* ============================================================
   SUB-PAGE FEATURES
   ============================================================ */
.sub-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sub-features article {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #fff;
  box-shadow: 0 12px 35px #1018280d;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.sub-features article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px #10182818;
}

.sub-features h3 {
  font-size: 22px;
  margin: 0 0 10px;
}

.sub-features p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SUB SHOWCASE
   ============================================================ */
.sub-showcase {
  padding: 72px 6%;
  background: linear-gradient(125deg, #071729, #0d3152);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
  color: #fff;
}

.sub-showcase h2 {
  font-size: 40px;
  margin: 10px 0 14px;
}

.sub-showcase p {
  color: #d7e0e8;
  line-height: 1.75;
}

.sub-showcase img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 45px #0006;
  background: #e9eef4;
  transition: transform var(--dur-slow) var(--ease-out);
}

.sub-showcase:hover img {
  transform: scale(1.02);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 50px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--light-bg);
}

.cta-band h2 {
  font-size: 34px;
  margin: 8px 0 0;
}

/* ============================================================
   PMS SECTION
   ============================================================ */
.pms-section {
  background: #f7f9fc;
}

/* ============================================================
   INTEGRATION GRID
   ============================================================ */
.integrations {
  background: #f6f8fb;
  padding-top: 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.integration-grid article {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 12px 35px #1018280d;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast);
}

.integration-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px #10182818;
}

.integration-grid h3 {
  font-size: 22px;
  margin: 14px 0 10px;
}

.integration-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.integration-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 13px;
}

.integration-badge.oracle {
  background: var(--oracle-red);
  color: #fff;
}

.integration-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff7e8;
  border-radius: var(--radius-md);
  color: #5c4a22;
  line-height: 1.55;
  font-size: 13px;
}

.integration-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 12px 35px #1018280d;
}

.integration-card h3 {
  font-size: 24px;
  margin: 14px 0 10px;
}

.integration-card p {
  color: var(--muted);
  line-height: 1.7;
}

.integration-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #374151;
  line-height: 1.75;
}

/* ============================================================
   PILLS
   ============================================================ */
.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: #eef4ff;
  color: #123b73;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

/* ============================================================
   BRAND PROOF
   ============================================================ */
.brand-proof {
  padding: 42px 6%;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 38px;
  align-items: center;
  border-bottom: 1px solid #e9edf2;
}

.brand-proof img {
  width: 220px;
}

.brand-proof span {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 13px;
}

.brand-proof h2 {
  font-size: 34px;
  margin: 8px 0;
}

.brand-proof p {
  color: var(--muted);
  line-height: 1.7;
}

.cloud-details {
  background: #fff;
}

.actions.compact {
  margin-top: 18px;
}

/* ============================================================
   AI MANAGEMENT
   ============================================================ */
.ai-management {
  background: linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
}

.ai-grid .integration-badge {
  min-width: 78px;
  background: linear-gradient(135deg, #071729, #0d4e86);
  color: #fff;
}

.ai-grid article {
  position: relative;
  overflow: hidden;
}

.ai-grid article::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -55px;
  top: -55px;
  background: radial-gradient(circle, #3b82f620, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out),
              transform 0.5s var(--ease-out);
}

.reveal-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Tablet (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
  /* Header */
  header {
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .menu-toggle {
    display: block;
  }

  header > .btn.small {
    display: none;
  }

  .lang-toggle {
    margin-left: auto;
    order: 2;
  }

  .menu-toggle {
    order: 3;
    margin-left: 8px;
  }

  header nav {
    display: none;
    width: 100%;
    order: 5;
    margin: 4px 0 0;
    padding: 12px 0 4px;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #ffffff18;
  }

  header.nav-open nav {
    display: flex;
  }

  header nav a {
    padding: 11px 2px;
    font-size: 15px;
  }

  /* Hero */
  .hero {
    min-height: 620px;
  }

  .heroText {
    margin-left: 7%;
  }

  .hero-arrow {
    width: 44px;
    height: 44px;
  }

  .hero-arrow svg {
    width: 18px;
    height: 18px;
  }

  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }

  .hero-dots {
    bottom: 18px;
  }

  .hero-slider .heroText {
    padding-right: 25px;
  }

  /* Grids */
  .grid2,
  .grid3,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .platform-logos {
    grid-template-columns: 1fr;
  }

  .platform-logo {
    justify-content: flex-start;
  }

  .platform-products .product .card-link > img {
    height: 250px;
  }

  /* Sub pages */
  .subhero-copy h1 {
    font-size: 48px;
  }

  .subhero-copy {
    padding-top: 24px;
  }

  .sub-features {
    grid-template-columns: 1fr;
  }

  .sub-showcase {
    grid-template-columns: 1fr;
  }

  .subhero-arrow {
    width: 42px;
    height: 42px;
  }

  .subhero-arrow svg {
    width: 17px;
    height: 17px;
  }

  .subhero-arrow.prev { left: 10px; }
  .subhero-arrow.next { right: 10px; }

  .subhero-dots {
    bottom: 18px;
  }

  /* Cloud */
  .cloud-section,
  .integration-band {
    grid-template-columns: 1fr;
  }

  .cloud-list {
    grid-template-columns: 1fr;
  }

  .cloud-manage,
  .brand-proof {
    grid-template-columns: 1fr;
  }

  .cloud-manage h2 {
    font-size: 34px;
  }

  .cloud-points {
    grid-template-columns: 1fr;
  }

  .brand-proof img {
    width: 190px;
  }

  /* Manage */
  .manage {
    grid-template-columns: 1fr;
  }

  /* Integration */
  .integration-grid {
    grid-template-columns: 1fr;
  }

  .integration-logos {
    max-width: 650px;
  }

  /* Brand */
  .lg-logo-img {
    height: 38px;
  }

  .platform-logo.lg .lg-logo-img {
    height: 40px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-desc {
    max-width: 100%;
  }

  .social-links {
    justify-content: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — Mobile (max-width: 560px)
   ============================================================ */
@media (max-width: 560px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    left: 5%;
  }

  .hero-slider .overlay {
    background: linear-gradient(
      90deg,
      #020b16ed 0%,
      #071729ba 70%,
      #07172955 100%
    );
  }

  .head h2 {
    font-size: 30px;
  }

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

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

  .subhero-arrow {
    display: none;
  }

  .subhero-dots {
    left: 5%;
  }

  .subhero-copy h1 {
    font-size: 38px;
  }

  .cloud-copy h2,
  .integration-band h2 {
    font-size: 32px;
  }

  .integration-grid,
  .integration-logos {
    grid-template-columns: 1fr;
  }

  .platform-logo.lg .brand-logo-img {
    width: min(160px, 100%);
  }

  .platform-logo.google .brand-logo-img:first-child {
    width: 50px;
  }

  .platform-logo.google .android-tv-mark {
    width: 85px;
  }

  .ai-grid .integration-badge {
    min-width: 68px;
    font-size: 11px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #demoForm {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px var(--section-px) 28px;
    text-align: center;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col a:hover {
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 18px var(--section-px);
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .reveal-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
