:root {
  --blue: #3ba3dc;
  --blue-deep: #1b7ab3;
  --navy: #0b1622;
  --ink: #122033;
  --muted: #5c6b7a;
  --line: #dce4ec;
  --paper: #f4f7fa;
  --white: #ffffff;
  --toshiba: #e10600;
  --shadow: 0 24px 60px rgba(11, 22, 34, .12);
  --radius: 22px;
  --max: 1180px;
  --header: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, .display {
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0;
}

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 16px; top: 16px; z-index: 80; background: #fff; padding: 8px 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header);
  display: flex; align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(18,32,51,.06);
}
.header-inner { display: flex; align-items: center; gap: 28px; width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.logo {
  display: flex; align-items: center; flex: 0 0 auto;
  background: #fff;
  padding: 7px 12px 7px 8px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(11,22,34,.12);
}
.logo img { height: 40px; width: auto; display: block; }
.logo-on-dark {
  display: inline-flex; background: #fff; padding: 8px 12px 8px 8px;
  border-radius: 12px; margin-bottom: 16px;
}
.logo-on-dark img { height: 36px; width: auto; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
.nav a:hover, .nav a.active { background: #eef6fb; color: var(--blue-deep); }
.nav .drop { position: relative; }
.nav .submenu {
  display: none;
  position: absolute; top: calc(100% - 2px); left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.nav .drop:hover .submenu, .nav .drop:focus-within .submenu { display: grid; }
.submenu a { display: block; border-radius: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; font-weight: 700;
  padding: 12px 20px; transition: .2s transform, .2s background, .2s color;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #163049; }
.btn-blue { background: var(--blue); color: #062033; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-light { background: #fff; color: var(--navy); }
.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: #eef6fb; border-radius: 12px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero cinematic */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 140px 0 110px;
}
.hero-slides { position: absolute; inset: 0; }
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 52% 42%;
  transform: scale(1.04);
  will-change: transform;
}
.hero-slides .slide {
  position: absolute; inset: -6%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease;
  animation: ken 22s ease-in-out infinite alternate;
}
.hero-slides .slide.is-active { opacity: 1; }
@keyframes ken {
  from { transform: scale(1.05) translate3d(0,0,0); }
  to { transform: scale(1.18) translate3d(-3%, -2%, 0); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,12,20,.78) 0%, rgba(6,12,20,.28) 46%, rgba(6,12,20,.12) 100%),
    linear-gradient(180deg, rgba(6,12,20,.28) 0%, transparent 36%, rgba(6,12,20,.48) 100%);
  pointer-events: none;
}
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orbs i {
  position: absolute; border-radius: 50%; filter: blur(40px);
  animation: floaty 14s ease-in-out infinite;
}
.orbs i:nth-child(1) { width: 340px; height: 340px; background: rgba(59,163,220,.35); left: -80px; top: 20%; }
.orbs i:nth-child(2) { width: 260px; height: 260px; background: rgba(225,6,0,.18); right: 8%; top: 12%; animation-delay: -4s; }
.orbs i:nth-child(3) { width: 420px; height: 420px; background: rgba(59,163,220,.18); right: -120px; bottom: -80px; animation-delay: -8s; }
@keyframes floaty {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(40px,-30px,0) scale(1.12); }
}
.scanline {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,163,220,.85), transparent);
  box-shadow: 0 0 24px rgba(59,163,220,.8);
  animation: scan 4.8s linear infinite;
  pointer-events: none; z-index: 2;
}
@keyframes scan { from { top: -2%; } to { top: 102%; } }
.hero-copy { position: relative; z-index: 3; max-width: 780px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--toshiba); }
.kicker .dot.live { box-shadow: 0 0 0 0 rgba(225,6,0,.7); animation: ping 1.6s infinite; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(225,6,0,.55); }
  70% { box-shadow: 0 0 0 12px rgba(225,6,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,6,0,0); }
}
.hero h1, .split-title { font-size: clamp(42px, 7vw, 84px); max-width: 12ch; margin: 16px 0 18px; }
.split-title .word {
  display: inline-block;
  animation: wordIn .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes wordIn {
  from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero p.lead { font-size: 19px; color: #d5e4ef; max-width: 42ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.floater {
  position: absolute; width: 220px; object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.45));
  animation: bob 7s ease-in-out infinite;
}
.floater.f1 { right: 7%; top: 22%; width: 280px; animation-delay: -1s; }
.floater.f2 { right: 22%; bottom: 14%; width: 170px; animation-delay: -3s; }
.floater.f3 { right: 4%; bottom: 8%; width: 150px; opacity: .85; animation-delay: -5s; }
@keyframes bob {
  0%,100% { transform: translate3d(0,0,0) rotate(-2deg); }
  50% { transform: translate3d(0,-18px,0) rotate(3deg); }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; display: grid; justify-items: center; gap: 8px; opacity: .8;
}
.scroll-cue span {
  width: 18px; height: 28px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; position: relative;
}
.scroll-cue span::after {
  content: ""; width: 3px; height: 7px; background: #fff; border-radius: 2px;
  position: absolute; left: 7px; top: 5px; animation: wheel 1.4s infinite;
}
@keyframes wheel { to { transform: translateY(8px); opacity: 0; } }
.vid-toggle {
  position: absolute; right: 22px; bottom: 22px; z-index: 4;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(8,16,24,.5); color: #fff;
  cursor: pointer; backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 700;
}
.vid-toggle:hover { background: rgba(8,16,24,.75); }

body.is-home .site-header {
  position: fixed; width: 100%;
  background: transparent; border-bottom-color: transparent;
}
body.is-home .nav a { color: #fff; }
body.is-home .nav a:hover, body.is-home .nav a.active { background: rgba(255,255,255,.14); color: #fff; }
body.is-home .site-header.scrolled {
  background: rgba(255,255,255,.9);
  border-bottom-color: rgba(18,32,51,.06);
}
body.is-home .site-header.scrolled .nav a { color: var(--ink); }
body.is-home .site-header.scrolled .nav a:hover,
body.is-home .site-header.scrolled .nav a.active { background: #eef6fb; color: var(--blue-deep); }
body.is-home .header-inner .btn { box-shadow: 0 10px 30px rgba(0,0,0,.25); }

.marquee {
  background: var(--navy); color: #fff; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.marquee-track {
  display: flex; align-items: center; gap: 18px;
  width: max-content; padding: 14px 0;
  animation: ticker 32s linear infinite;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px;
}
.marquee-track i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: inline-block; flex: 0 0 auto;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

.live-strip { position: relative; height: min(78vh, 720px); overflow: hidden; background: #05090f; color: #fff; }
.live-frame { position: absolute; inset: 0; }
.live-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: livefade 24s infinite;
}
.live-frame img:nth-child(1) { animation-delay: 0s; }
.live-frame img:nth-child(2) { animation-delay: 4s; }
.live-frame img:nth-child(3) { animation-delay: 8s; }
.live-frame img:nth-child(4) { animation-delay: 12s; }
.live-frame img:nth-child(5) { animation-delay: 16s; }
.live-frame img:nth-child(6) { animation-delay: 20s; }
@keyframes livefade {
  0% { opacity: 0; transform: scale(1.08); }
  6% { opacity: 1; }
  16% { opacity: 1; transform: scale(1); }
  22% { opacity: 0; }
  100% { opacity: 0; }
}
.live-caption {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 48px;
  background: linear-gradient(transparent, rgba(5,9,15,.75));
}
.live-caption h2 { font-size: clamp(32px, 5vw, 56px); margin: 8px 0 10px; max-width: 14ch; }
.live-caption p { max-width: 46ch; color: #d7e2ea; }

.media-live { position: relative; border-radius: 28px; overflow: hidden; }
.media-live img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; display: block; animation: ken 18s ease-in-out infinite alternate; }
.pulse {
  position: absolute; left: 22px; bottom: 22px; width: 14px; height: 14px; border-radius: 50%;
  background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: ping 1.8s infinite;
}

.device { transition: transform .35s ease, box-shadow .35s ease; will-change: transform; }
.device:hover { box-shadow: var(--shadow); }
.device-img img { transition: transform .6s ease; }
.device:hover .device-img img { transform: scale(1.08) translateY(-6px); }

.page-hero {
  position: relative; overflow: hidden;
  background: #0c1824 url('/assets/img/toshiba-hero-poster.jpg?v=9') center/cover;
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,24,.88), rgba(8,16,24,.55));
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: #d3e0ea; max-width: 62ch; font-size: 18px; }

.cta { position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: -60px; top: -80px;
  background: radial-gradient(circle, rgba(59,163,220,.45), transparent 70%);
  animation: floaty 8s ease-in-out infinite;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: 22px; overflow: hidden;
  margin-top: 36px; position: relative; z-index: 2;
  box-shadow: var(--shadow);
}
.stats div { background: #fff; padding: 26px 22px; }
.stats b { display: block; font-family: Sora, sans-serif; font-size: 28px; letter-spacing: -.04em; }
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 10px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow { color: var(--blue-deep); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.live-caption .eyebrow, .page-hero .eyebrow { color: var(--blue); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  transition: .2s transform, .2s box-shadow, .2s border-color;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5ddef; }
.icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: #e7f4fb; color: var(--blue-deep); margin-bottom: 18px; font-size: 22px;
}
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 16px; }
.more { font-weight: 800; color: var(--blue-deep); }

.split { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.split img, .media {
  border-radius: 28px; width: 100%; height: 100%; object-fit: cover;
  min-height: 380px;
}
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { display: flex; gap: 10px; margin: 10px 0; }
.checklist li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }

.devices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; perspective: 1200px; }
.device {
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  text-decoration: none;
}
.device-img { background: linear-gradient(#eef5f9, #dfeaf1); height: 240px; display: grid; place-items: center; padding: 18px; }
.device-img img { max-height: 220px; width: auto; object-fit: contain; }
.device-body { padding: 22px 24px 26px; }
.device-body small { color: var(--blue-deep); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.device-body h3 { margin: 6px 0 8px; font-size: 24px; }
.device-body p { color: var(--muted); margin: 0; }

.cta {
  background: linear-gradient(135deg, #0e2436, #1a4e73);
  color: #fff; border-radius: 32px; padding: 48px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); max-width: 14ch; }
.cta p { color: #c9d7e3; margin: 10px 0 0; }

.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.page-hero { padding: 120px 0 48px; }

.prose { max-width: 760px; }
.prose p { color: #314152; font-size: 17px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.spec {
  background: var(--paper); border-radius: 16px; padding: 16px 18px; border: 1px solid var(--line);
}
.spec b { display: block; font-size: 13px; color: var(--muted); font-weight: 700; }
.family { margin: 28px 0 56px; display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.family img { width: 100%; border-radius: 20px; background: #eef5f9; object-fit: contain; height: 220px; padding: 12px; }

.form {
  display: grid; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 28px;
}
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fbfcfe;
}
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.alert.ok { background: #e8f8ee; color: #146c36; }
.alert.err { background: #fdecec; color: #9b1c1c; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-list { display: grid; gap: 16px; }
.info-list a { text-decoration: none; }
.info-card { background: var(--paper); border-radius: 18px; padding: 18px 20px; }
.info-card span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.map { border: 0; width: 100%; height: 340px; border-radius: 24px; }

.downloads { display: grid; gap: 10px; }
.download {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none;
}
.download:hover { border-color: var(--blue); }
.download b { display: block; }
.download span { color: var(--muted); font-size: 13px; }

.site-footer { background: var(--navy); color: #d5e0ea; padding: 56px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #93a6b6; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-grid, .split, .family, .contact-grid, .footer-grid, .devices, .cards, .stats, .cta, .spec-grid {
    grid-template-columns: 1fr;
  }
  .hero-cinematic { min-height: 92svh; padding: 120px 0 80px; align-items: center; }
  .floaters, .scanline { display: none; }
  .live-strip { height: 70vh; }
  .stats { margin-top: 0; }
  .cta { display: grid; padding: 32px; }
  .nav {
    display: none; position: absolute; top: var(--header); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav .submenu { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  body.is-home .nav a,
  body.is-home .nav a:hover,
  body.is-home .nav a.active { color: var(--ink); }
  body.is-home .nav a:hover, body.is-home .nav a.active { background: #eef6fb; }
  .menu-toggle { display: grid; place-items: center; }
  .header-inner .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-slides .slide { opacity: 0; }
  .hero-slides .slide.is-active { opacity: 1; }
}
