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

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #fef2f2;
  --accent: #f77f00;
  --bg: #f7f9fc;
  --bg-alt: #eef3f9;
  --bg-dark: #1d3557;
  --text: #1d3557;
  --text-secondary: #457b9d;
  --text-light: #a8dadc;
  --border: #e5e7eb;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(230, 57, 70, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(ellipse 85% 55% at 50% -12%, rgba(255, 255, 255, 0.95) 0%, transparent 62%),
    radial-gradient(ellipse 55% 42% at 100% 100%, rgba(176, 205, 240, 0.55) 0%, transparent 62%),
    radial-gradient(ellipse 50% 38% at 0% 100%, rgba(188, 214, 246, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 35% at 85% 40%, rgba(255, 255, 255, 0.6) 0%, transparent 65%),
    linear-gradient(180deg, #d3e5fa 0%, #eaf3fd 42%, #c9ddf7 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
}

.logo-icon {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0d1b2a 0%, #16324f 48%, #1d3557 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 32%, rgba(69, 123, 157, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 78% 78%, rgba(230, 57, 70, 0.16) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    54px 54px,
    54px 54px;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, rgba(211, 229, 250, 0.9));
  pointer-events: none;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 2.5rem 0;
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 3rem;
  align-items: stretch;
  text-align: left;
}

.hero-right {
  display: flex;
  flex-direction: column;
}

.hero-versions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin-bottom: 2rem;
}

.hero-version-item {
  text-align: center;
}

.hero-version-img {
  width: 210px;
  height: 170px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.hero-version-item:hover .hero-version-img {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-version-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-version-item span {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 2.5rem;
}

.hero-copy .hero-badge {
  margin-bottom: 0;
}

.hero-copy .hero-title {
  font-size: 3.5rem;
  line-height: 1.28;
  margin-bottom: 0;
}

.hero-copy .hero-desc {
  margin: 0;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
  gap: 1.25rem;
}

.hero-actions .btn {
  padding: 1.05rem 2.8rem;
  font-size: 1.12rem;
}

.hero-video-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.5),
    0 0 0 7px rgba(255, 255, 255, 0.07);
  transform: perspective(1200px) rotateY(-4deg);
  transition: var(--transition);
}

.hero-video-card:hover {
  transform: perspective(1200px) rotateY(0deg);
}

.hero-video-card video {
  display: block;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center top;
  background: #000;
}

.hero-video-tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
}

.hero-badge {
  display: inline-block;
  padding: 0.65rem 1.8rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  font-size: 0.5em;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.title-accent {
  background: linear-gradient(90deg, #ffffff, #f77f00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.28rem;
  line-height: 1.9;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #f25c39);
  color: white;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.32);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-align: center;
  z-index: 2;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  margin: 0.5rem auto 0;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section:nth-child(even):not(.contact) {
  background:
    radial-gradient(ellipse 60% 55% at 88% 0%, rgba(140, 180, 230, 0.16), transparent 62%),
    radial-gradient(ellipse 55% 45% at 8% 100%, rgba(230, 57, 70, 0.05), transparent 60%),
    linear-gradient(180deg, #e3eefa 0%, #d3e4f8 100%);
}

.section:not(.contact)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(29, 53, 87, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header.light .section-title,
.section-header.light .section-desc {
  color: white;
}

.section-header.light .section-tag {
  color: #ffd6a5;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: var(--primary-light);
  border: 1px solid rgba(230, 57, 70, 0.18);
  padding: 0.3rem 1rem;
  border-radius: 999px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  margin: 0.9rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 0.25rem;
  margin-bottom: 0.55rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--primary);
}

.about-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(29, 53, 87, 0.07);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.35);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.28);
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-ring {
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
}

.visual-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ring-2 {
  inset: 30px;
  border-color: rgba(230, 57, 70, 0.2);
  animation-duration: 12s;
  animation-direction: reverse;
}

.ring-2::before {
  background: var(--accent);
}

.visual-core {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(230, 57, 70, 0.3);
  z-index: 2;
}

.visual-core span {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Carousel shared ===== */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dot {
  width: 26px;
  height: 6px;
  border-radius: 999px;
  background: rgba(29, 53, 87, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.dot:hover {
  background: rgba(230, 57, 70, 0.45);
}

.dot.active {
  width: 42px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* ===== Devices ===== */
.devices .image-carousel {
  max-width: 1100px;
  background: #fff;
}

.device-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 430px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: #fff;
}

.device-slide-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, #f4f8fd 0%, #e6effa 100%);
  border-right: 1px solid rgba(29, 53, 87, 0.08);
}

.device-slide-img img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(29, 53, 87, 0.2));
}

.device-slide-info {
  padding: 2.75rem 2.75rem 2.5rem;
  text-align: left;
}

.device-slide-info h3 {
  font-size: 1.65rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.device-slide-info h3::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.device-count {
  font-size: 0.88rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
}

.device-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.75rem;
}

.device-features li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.device-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.device-note {
  margin-top: 1.4rem;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.2);
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* ===== Stats ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 3rem auto 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(230, 57, 70, 0.22) 0%, transparent 55%),
    linear-gradient(135deg, #12253c 0%, #1d3557 55%, #2a4d77 100%);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(29, 53, 87, 0.3);
  padding: 2.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff, #ffc46b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-num i {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}

.stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
}

/* ===== Cases ===== */
.cases .image-carousel {
  max-width: 1100px;
}

.case-caption {
  margin: 1.75rem auto 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-dark);
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 0.8rem 2rem;
  width: fit-content;
}

/* ===== Videos ===== */
.video-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}

.video-slide {
  flex: 0 0 100%;
  width: 100%;
  cursor: pointer;
  background: white;
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-slide:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition);
}

.video-slide:hover .play-icon {
  transform: scale(1.15);
}

.video-info {
  padding: 1.25rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--primary), var(--accent)) 1;
}

.video-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.video-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== Documents ===== */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.doc-grid.single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}

.doc-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.doc-card:hover::before {
  opacity: 1;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.doc-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), #ffedd8);
  border-radius: 26px;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.14);
}

.doc-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.doc-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.doc-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== Patents ===== */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.patent-card {
  background: #fff;
  border: 1px solid rgba(29, 53, 87, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: var(--transition);
  text-align: center;
}

.patent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.3);
}

.patent-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fafbfd;
  margin-bottom: 1rem;
}

.patent-frame img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  transition: var(--transition);
}

.patent-card:hover .patent-frame img {
  transform: scale(1.04);
}

.patent-card > p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.03em;
}

.patent-modal {
  flex-direction: column;
}

.patent-modal img {
  max-width: min(92vw, 760px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  background: #fff;
}

.patent-close {
  align-self: flex-end;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.patent-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===== Gallery / Image Carousel ===== */
.image-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b1622;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide-img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide-img::before {
  content: '';
  position: absolute;
  inset: -60px;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(36px) brightness(0.45);
}

.carousel-slide-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 34, 0.15), rgba(11, 22, 34, 0.55));
}

.carousel-slide-img img {
  position: relative;
  z-index: 1;
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  padding-bottom: 8px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.carousel-arrow:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow.prev {
  left: 14px;
}

.carousel-arrow.next {
  right: 14px;
}

/* ===== Contact ===== */
.section.contact {
  background: linear-gradient(135deg, #0f2438 0%, #1d3557 58%, #2b5876 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(230, 57, 70, 0.15) 0%, transparent 50%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  justify-content: center;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form select option {
  background: var(--bg-dark);
  color: white;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Modals ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--radius);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.video-modal-content {
  max-width: 1000px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: var(--transition);
}

.close-btn:hover {
  background: var(--bg-alt);
}

#pdfFrame {
  width: 100%;
  flex: 1;
  border: none;
  min-height: 70vh;
}

.video-player-wrapper {
  aspect-ratio: 16/9;
  background: #000;
}

.video-player-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-icon {
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .device-slide {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .device-slide-img {
    border-right: none;
    border-bottom: 1px solid rgba(29, 53, 87, 0.08);
    padding: 2rem;
  }

  .device-slide-img img {
    max-height: 260px;
  }

  .device-slide-info {
    padding: 2rem 2rem 2.25rem;
  }

  .patent-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: center;
  }

  .hero-copy {
    justify-content: flex-start;
  }

  .hero-versions-row {
    margin-bottom: 1.75rem;
  }

  .hero-version-img {
    width: 76px;
    height: 76px;
  }

  .hero-copy .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-actions {
    justify-content: center;
  }

  .hero-copy .hero-title {
    font-size: 2.4rem;
  }

  .hero-video-card {
    max-width: 640px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .patent-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .section {
    padding: 4rem 0;
  }

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

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.5rem 1rem;
  }

  .stat-item + .stat-item::before {
    display: none;
  }

  .stat-num {
    font-size: 1.7rem;
  }

  .case-caption {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }

  .carousel-arrow.prev {
    left: 8px;
  }

  .carousel-arrow.next {
    right: 8px;
  }
}
