/* =========================================================
   DHA SMART HOME IoT V3 — LED BORDER OVERLAY
   Ảnh nền giữ nguyên; các lớp LED được đặt chồng bằng phần trăm.
   ========================================================= */

@property --led-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  --page-bg: #030712;
  --brand-blue: #2563eb;
  --brand-cyan: #06b6d4;
  --brand-light: #67e8f9;
  --brand-white: #ffffff;
  --brand-violet: #7c3aed;
  --led-speed: 5.6s;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--page-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 20%, rgba(37, 99, 235, 0.12), transparent 36%),
    radial-gradient(circle at 24% 74%, rgba(6, 182, 212, 0.06), transparent 35%),
    var(--page-bg);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.page-shell {
  width: 100%;
  padding: 18px;
}

.landing-stage {
  position: relative;
  isolation: isolate;
  width: min(100%, 1536px);
  aspect-ratio: 3 / 2;
  margin-inline: auto;
  overflow: hidden;
  background: #020611;
  box-shadow:
    0 36px 90px rgba(0, 0, 0, 0.52),
    0 0 50px rgba(37, 99, 235, 0.08);
}

.landing-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================================================
   KHUNG DASHBOARD LỚN
   ========================================================= */

.dashboard-led {
  position: absolute;
  z-index: 3;
  left: 45.55%;
  top: 6.25%;
  width: 49.8%;
  height: 60.6%;
  overflow: visible;
  pointer-events: none;
}

.dashboard-led path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  will-change: stroke-dashoffset;
}

/*
 * Runner Dashboard V5 FINAL.
 * Thông số đã chốt trực tiếp bằng DHA LED Tuner:
 * Halo 38/2.6px · Glow 27/1.55px · Core 8/0.75px · 6s.
 * Ba lớp dùng cùng một SVG path để bám đúng viền phối cảnh.
 */
.dashboard-led-halo {
  stroke: #38bdf8;
  stroke-width: 2.6;
  stroke-dasharray: 38 962;
  stroke-dashoffset: 0;
  opacity: 0.35;
  filter: drop-shadow(0 0 4px rgba(6, 182, 212, 0.28));
  animation: dashboard-led-halo-run 6s linear infinite;
}

.dashboard-led-body {
  stroke: url(#dashboardLedGradient);
  stroke-width: 1.55;
  stroke-dasharray: 27 973;
  stroke-dashoffset: -5;
  opacity: 0.82;
  filter: drop-shadow(0 0 2.8px rgba(103, 232, 249, 0.48));
  animation: dashboard-led-body-run 6s linear infinite;
}

.dashboard-led-core {
  stroke: #f5ffff;
  stroke-width: 0.75;
  stroke-dasharray: 8 992;
  stroke-dashoffset: -9;
  opacity: 1;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.86));
  animation: dashboard-led-core-run 6s linear infinite;
}

@keyframes dashboard-led-halo-run {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -1000; }
}

@keyframes dashboard-led-body-run {
  from { stroke-dashoffset: -5; }
  to   { stroke-dashoffset: -1005; }
}

@keyframes dashboard-led-core-run {
  from { stroke-dashoffset: -9; }
  to   { stroke-dashoffset: -1009; }
}

/* =========================================================
   CARD LED — CƠ CHẾ HAI LỚP ĐÈ NHAU
   Lớp này trong suốt nên giữ nguyên nội dung ảnh bên dưới.
   ========================================================= */

.led-frame {
  --led-angle: 0deg;
  --border-size: clamp(1px, 0.12vw, 1.8px);
  --radius: clamp(10px, 1.12vw, 18px);
  --phase: 0s;

  position: absolute;
  z-index: 4;
  overflow: visible;
  border-radius: var(--radius);
  pointer-events: none;

  /* Viền tĩnh rất nhẹ để card không bị tối khi đầu LED đi qua vị trí khác. */
  box-shadow:
    inset 0 0 0 1px rgba(37, 99, 235, 0.14),
    0 0 10px rgba(37, 99, 235, 0.035);
}

/* Lớp glow mềm phía ngoài. */
.led-frame::before,
/* Lớp LED sắc nét phía trên. */
.led-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: var(--border-size);
  pointer-events: none;

  background: conic-gradient(
    from var(--led-angle),
    transparent 0deg,
    transparent 277deg,
    rgba(37, 99, 235, 0.12) 294deg,
    rgba(37, 99, 235, 0.92) 310deg,
    var(--brand-blue) 318deg,
    var(--brand-cyan) 326deg,
    var(--brand-light) 331deg,
    var(--brand-white) 334deg,
    var(--brand-light) 337deg,
    rgba(6, 182, 212, 0.86) 345deg,
    transparent 360deg
  );

  /* Cắt bỏ phần giữa, chỉ giữ lại đúng dải viền. */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: card-led-run var(--led-speed) linear infinite;
  animation-delay: var(--phase);
  will-change: --led-angle;
}

.led-frame::before {
  inset: -4px;
  padding: calc(var(--border-size) + 3px);
  opacity: 0.74;
  filter: blur(6px);
}

.led-frame::after {
  opacity: 1;
  filter:
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 8px rgba(6, 182, 212, 0.82))
    drop-shadow(0 0 14px rgba(37, 99, 235, 0.56));
}

@keyframes card-led-run {
  to {
    --led-angle: 360deg;
  }
}

/* Vị trí bốn card theo đúng ảnh 1536 × 1024. */
.feature-card-1 {
  left: 5.14%;
  top: 71.48%;
  width: 22.66%;
  height: 17.78%;
  --phase: 0s;
}

.feature-card-2 {
  left: 28.84%;
  top: 71.48%;
  width: 22.14%;
  height: 17.78%;
  --phase: -1.4s;
}

.feature-card-3 {
  left: 51.95%;
  top: 71.48%;
  width: 22.46%;
  height: 17.78%;
  --phase: -2.8s;
}

.feature-card-4 {
  left: 75.39%;
  top: 71.48%;
  width: 19.34%;
  height: 17.78%;
  --phase: -4.2s;
}

/* =========================================================
   CTA GLOW NHẸ
   ========================================================= */

.cta-glow {
  position: absolute;
  z-index: 2;
  left: 5.12%;
  top: 54.45%;
  width: 13.35%;
  height: 5.05%;
  border-radius: 999px;
  pointer-events: none;
  box-shadow:
    0 0 12px rgba(103, 232, 249, 0.25),
    0 0 28px rgba(37, 99, 235, 0.22);
  animation: cta-breathe 2.8s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.995);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.018);
  }
}

.demo-note {
  max-width: 1536px;
  margin: 12px auto 0;
  color: #8ba0bd;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* Mobile: giảm glow để tiết kiệm GPU và tránh quá chói. */
@media (max-width: 720px) {
  .page-shell {
    padding: 0;
  }

  .demo-note {
    padding-inline: 16px;
  }

  .dashboard-led-halo {
    stroke-width: 2.05;
    opacity: 0.30;
  }

  .dashboard-led-body {
    stroke-width: 1.22;
  }

  .dashboard-led-core {
    stroke-width: 0.58;
  }

  .led-frame::before {
    filter: blur(3px);
    opacity: 0.52;
  }
}

/* Khả năng truy cập: người dùng yêu cầu giảm chuyển động. */
@media (prefers-reduced-motion: reduce) {
  .dashboard-led path,
  .led-frame::before,
  .led-frame::after,
  .cta-glow {
    animation: none;
  }

  .led-frame::before,
  .led-frame::after {
    --led-angle: 324deg;
  }
}

/* Fallback cho trình duyệt chưa hỗ trợ @property. */
@supports not (background: conic-gradient(from 1deg, red, blue)) {
  .led-frame {
    box-shadow:
      inset 0 0 0 1px rgba(6, 182, 212, 0.72),
      0 0 16px rgba(37, 99, 235, 0.28);
  }

  .led-frame::before,
  .led-frame::after {
    display: none;
  }
}

/* =========================================================
   PRODUCTION MODE
   ========================================================= */
body {
  min-height: 100svh;
}

.page-shell {
  padding: clamp(0px, 1.1vw, 18px);
}

.hotspot {
  position: absolute;
  z-index: 8;
  display: block;
  border-radius: 999px;
  outline: none;
}

.hotspot:focus-visible {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 5px rgba(6, 182, 212, 0.9),
    0 0 24px rgba(37, 99, 235, 0.75);
}

.hotspot-sign-in {
  left: 80.75%;
  top: 2.16%;
  width: 6.55%;
  height: 4.28%;
}

.hotspot-sign-up {
  left: 88.31%;
  top: 2.16%;
  width: 6.58%;
  height: 4.28%;
}

.hotspot-get-started {
  left: 5.12%;
  top: 54.45%;
  width: 13.35%;
  height: 5.05%;
}


/* =========================================================
   DHA V3 — MOBILE PORTRAIT V6
   Chỉ hoạt động từ 720 px trở xuống. Desktop V5 giữ nguyên.
   ========================================================= */

.mobile-landing {
  display: none;
}

@media (max-width: 720px) {
  html {
    min-height: 100%;
    scroll-behavior: smooth;
    background: #030712;
  }

  body {
    min-height: 100%;
    display: block;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 88% 7%, rgba(37, 99, 235, 0.19), transparent 28%),
      radial-gradient(circle at 9% 41%, rgba(6, 182, 212, 0.08), transparent 28%),
      linear-gradient(180deg, #020611 0%, #040a17 48%, #020611 100%);
  }

  .desktop-landing {
    display: none !important;
  }

  .mobile-landing {
    display: block;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    color: #f8fafc;
  }

  .mobile-landing a,
  .mobile-landing summary {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 64px;
    padding: max(10px, env(safe-area-inset-top)) 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid rgba(96, 165, 250, 0.12);
    background: rgba(2, 6, 17, 0.84);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }

  .mobile-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #f8fafc;
    text-decoration: none;
  }

  .mobile-brand > svg {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #2494ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.5));
  }

  .mobile-brand span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .mobile-brand strong {
    color: #2997ff;
  }

  .mobile-header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-sign-in {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 12px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.66);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-menu {
    position: relative;
  }

  .mobile-menu summary {
    width: 40px;
    height: 40px;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.72);
    list-style: none;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker { display: none; }

  .mobile-menu summary span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #bfdbfe;
  }

  .mobile-menu nav {
    position: absolute;
    top: 48px;
    right: 0;
    width: 180px;
    padding: 8px;
    display: grid;
    gap: 3px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    border-radius: 15px;
    background: rgba(4, 10, 23, 0.98);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48);
  }

  .mobile-menu nav a {
    padding: 11px 12px;
    border-radius: 10px;
    color: #dbeafe;
    font-size: 14px;
    text-decoration: none;
  }

  .mobile-menu nav a:active { background: rgba(37, 99, 235, 0.18); }

  .mobile-hero {
    position: relative;
    isolation: isolate;
    padding: 50px 20px 34px;
  }

  .mobile-hero::after {
    content: "";
    position: absolute;
    z-index: -2;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.46), transparent);
  }

  .mobile-hero-glow {
    position: absolute;
    z-index: -3;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(58px);
  }

  .mobile-hero-glow-a {
    top: 20px;
    right: -110px;
    width: 250px;
    height: 250px;
    background: rgba(37, 99, 235, 0.22);
  }

  .mobile-hero-glow-b {
    left: -100px;
    bottom: 20px;
    width: 210px;
    height: 210px;
    background: rgba(6, 182, 212, 0.09);
  }

  .mobile-eyebrow {
    width: fit-content;
    max-width: 100%;
    margin: 0 0 20px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(37, 153, 255, 0.48);
    border-radius: 999px;
    color: #60a5fa;
    background: rgba(3, 14, 34, 0.54);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
  }

  .mobile-eyebrow i {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.95);
  }

  .mobile-hero h1 {
    max-width: 370px;
    margin: 0;
    color: #f8fafc;
    font-size: clamp(38px, 11vw, 50px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.048em;
  }

  .mobile-hero h1 span {
    display: block;
    margin-top: 9px;
    color: transparent;
    background: linear-gradient(100deg, #4666ff 2%, #27b6ff 50%, #5eead4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(37, 99, 235, 0.18));
  }

  .mobile-lead {
    max-width: 370px;
    margin: 22px 0 0;
    color: #a9b7cc;
    font-size: 15px;
    line-height: 1.68;
  }

  .mobile-cta-row {
    margin-top: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 11px;
  }

  .mobile-primary-btn,
  .mobile-secondary-btn {
    min-height: 52px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-primary-btn {
    position: relative;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(125, 211, 252, 0.8);
    background: linear-gradient(135deg, #2348ff 0%, #168bff 60%, #33d7e7 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 0 18px rgba(37,99,235,.48), 0 10px 30px rgba(0,68,255,.26);
  }

  .mobile-primary-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 18%, rgba(255,255,255,.36) 50%, transparent 82%);
    transform: translateX(-130%);
    animation: mobile-button-shine 4.8s ease-in-out infinite;
  }

  .mobile-primary-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-secondary-btn {
    color: #b9d7ff;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(5, 15, 34, 0.72);
  }

  @keyframes mobile-button-shine {
    0%, 68% { transform: translateX(-130%); }
    86%, 100% { transform: translateX(130%); }
  }

  .mobile-trust-row {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mobile-trust-row span {
    min-height: 31px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(71, 120, 180, 0.2);
    border-radius: 999px;
    color: #8fa5c1;
    background: rgba(7, 18, 39, 0.54);
    font-size: 11px;
  }

  .mobile-trust-row i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 7px rgba(34, 197, 94, 0.85);
  }

  .mobile-platform,
  .mobile-features {
    padding: 34px 16px 12px;
  }

  .mobile-section-heading {
    margin-bottom: 16px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-section-heading p {
    margin: 0 0 5px;
    color: #2ca7ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
  }

  .mobile-section-heading h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.035em;
  }

  .mobile-online {
    flex: 0 0 auto;
    padding-bottom: 3px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9bd7b1;
    font-size: 11px;
  }

  .mobile-online i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
    animation: mobile-online-pulse 2s ease-in-out infinite;
  }

  @keyframes mobile-online-pulse {
    0%, 100% { opacity: .55; transform: scale(.9); }
    50% { opacity: 1; transform: scale(1.12); }
  }

  .mobile-led-box {
    position: relative;
    isolation: isolate;
  }

  .mobile-border-led {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
  }

  .mobile-border-led rect {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    will-change: stroke-dashoffset;
  }

  .mobile-led-halo {
    stroke: #38bdf8;
    stroke-width: 2.6;
    stroke-dasharray: 38 962;
    opacity: .35;
    filter: drop-shadow(0 0 4px rgba(6,182,212,.28));
    animation: dashboard-led-halo-run 6s linear infinite;
    animation-delay: var(--led-phase, 0s);
  }

  .mobile-led-body {
    stroke: #22d3ee;
    stroke-width: 1.55;
    stroke-dasharray: 27 973;
    opacity: .82;
    filter: drop-shadow(0 0 2.8px rgba(103,232,249,.48));
    animation: dashboard-led-body-run 6s linear infinite;
    animation-delay: var(--led-phase, 0s);
  }

  .mobile-led-core {
    stroke: #f5ffff;
    stroke-width: .75;
    stroke-dasharray: 8 992;
    opacity: 1;
    filter: drop-shadow(0 0 1.5px rgba(255,255,255,.86));
    animation: dashboard-led-core-run 6s linear infinite;
    animation-delay: var(--led-phase, 0s);
  }

  .mobile-dashboard-shell {
    overflow: hidden;
    border-radius: 21px;
    background: rgba(37, 99, 235, 0.18);
    box-shadow: 0 20px 52px rgba(0,0,0,.35), 0 0 24px rgba(37,99,235,.08);
  }

  .mobile-dashboard-inner {
    position: relative;
    z-index: 1;
    margin: 1.5px;
    overflow: hidden;
    border-radius: 19.5px;
    background: #030916;
  }

  .mobile-dashboard-inner img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(1.04) contrast(1.03);
  }

  .mobile-metrics {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-metrics article {
    min-width: 0;
    padding: 13px 10px;
    border: 1px solid rgba(96,165,250,.16);
    border-radius: 15px;
    background: radial-gradient(circle at 80% 15%, rgba(37,99,235,.12), transparent 42%), rgba(6,15,34,.74);
  }

  .mobile-metrics strong,
  .mobile-metrics span,
  .mobile-metrics small { display: block; }

  .mobile-metrics strong {
    color: #f8fafc;
    font-size: 23px;
    font-variant-numeric: tabular-nums;
  }

  .mobile-metrics span {
    margin-top: 3px;
    overflow: hidden;
    color: #a9b7cc;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-metrics small {
    margin-top: 5px;
    color: #22c55e;
    font-size: 9px;
  }

  .mobile-heading-stack > span {
    padding-bottom: 3px;
    color: #7287a5;
    font-size: 10px;
  }

  .mobile-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .mobile-feature-card {
    min-height: 224px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(37,99,235,.17);
  }

  .mobile-feature-inner {
    position: relative;
    z-index: 1;
    min-height: calc(224px - 3px);
    margin: 1.5px;
    padding: 17px 14px 15px;
    display: flex;
    flex-direction: column;
    border-radius: 16.5px;
    background: radial-gradient(circle at 22% 8%, rgba(37,99,235,.15), transparent 36%), linear-gradient(145deg, rgba(8,22,47,.98), rgba(3,10,24,.99));
  }

  .mobile-feature-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(56,189,248,.22);
    border-radius: 14px;
    background: rgba(8,35,72,.58);
    box-shadow: inset 0 0 18px rgba(37,99,235,.12);
  }

  .mobile-feature-icon > svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: #38bdf8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(6,182,212,.68));
  }

  .mobile-feature-icon-relay {
    border-color: rgba(251,146,60,.25);
    background: rgba(72,25,8,.34);
  }

  .mobile-feature-icon-relay > svg {
    stroke: #fb923c;
    filter: drop-shadow(0 0 7px rgba(249,115,22,.76));
  }

  .mobile-feature-card h3 {
    margin: 14px 0 0;
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .mobile-feature-card p {
    margin: 8px 0 14px;
    color: #93a5bd;
    font-size: 12px;
    line-height: 1.55;
  }

  .mobile-feature-card a {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2997ff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-feature-card a span { font-size: 15px; }

  .mobile-final-cta {
    position: relative;
    margin: 38px 16px 0;
    padding: 30px 22px 28px;
    overflow: hidden;
    border: 1px solid rgba(96,165,250,.22);
    border-radius: 23px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(37,99,235,.27), transparent 42%), linear-gradient(145deg, rgba(8,25,55,.96), rgba(3,9,23,.99));
    box-shadow: 0 22px 60px rgba(0,0,0,.34);
  }

  .mobile-final-cta::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    box-shadow: 0 0 16px rgba(56,189,248,.75);
  }

  .mobile-final-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(56,189,248,.26);
    border-radius: 18px;
    background: rgba(8,37,78,.52);
  }

  .mobile-final-icon svg {
    width: 37px;
    height: 37px;
    fill: none;
    stroke: #38bdf8;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 7px rgba(56,189,248,.72));
  }

  .mobile-final-cta > p {
    margin: 0;
    color: #2ca7ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
  }

  .mobile-final-cta h2 {
    margin: 8px 0 0;
    color: #f8fafc;
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -0.035em;
  }

  .mobile-final-cta > span {
    max-width: 310px;
    margin: 13px auto 0;
    display: block;
    color: #98a9c0;
    font-size: 13px;
    line-height: 1.62;
  }

  .mobile-final-cta > a {
    min-height: 50px;
    margin-top: 20px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(125,211,252,.72);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #2147ff, #168fff 58%, #2fcfdc);
    box-shadow: 0 0 24px rgba(37,99,235,.36);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-footer {
    margin-top: 30px;
    padding: 22px 18px max(28px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(96,165,250,.1);
    color: #667895;
    font-size: 10px;
  }

  .mobile-footer nav { display: flex; gap: 12px; }
  .mobile-footer a { color: #8297b4; text-decoration: none; }

  .mobile-landing a:focus-visible,
  .mobile-landing summary:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 3px;
  }
}

@media (max-width: 365px) {
  .mobile-brand span { max-width: 165px; font-size: 12px; }
  .mobile-sign-in { display: none; }
  .mobile-hero { padding-inline: 16px; }
  .mobile-hero h1 { font-size: 35px; }
  .mobile-cta-row { grid-template-columns: 1fr; }
  .mobile-feature-grid { grid-template-columns: 1fr; }
  .mobile-feature-card,
  .mobile-feature-inner { min-height: 196px; }
}

@media (min-width: 721px) {
  .mobile-landing { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-primary-btn::after,
  .mobile-online i,
  .mobile-border-led rect {
    animation: none !important;
  }
}
