/*
 * Dino IPTV — mobile-first premium theme
 * Default styles target phones. Tablet and desktop layouts are progressively
 * enhanced with min-width media queries near the end of this file.
 */

:root {
  --bg: #f4f9ff;
  --bg-soft: #ebf7ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-tint: #f7fbff;
  --text: #0a1b3b;
  --text-soft: #263c61;
  --muted: #526681;
  --muted-2: #70809a;
  --line: rgba(28, 73, 136, 0.14);
  --line-bright: rgba(16, 132, 255, 0.34);
  --cyan: #00c7ed;
  --blue: #1578ff;
  --violet: #7b3ff2;
  --green: #0eaf78;
  --amber: #ce8500;
  --danger: #d63362;
  --gradient: linear-gradient(135deg, #00c9ee 0%, #1678ff 49%, #7b3ff2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 201, 238, 0.11), rgba(22, 120, 255, 0.09) 49%, rgba(123, 63, 242, 0.11));
  --gradient-pale: linear-gradient(135deg, #f1fdff 0%, #edf6ff 50%, #f7f1ff 100%);
  --shadow-xs: 0 5px 18px rgba(28, 73, 136, 0.06);
  --shadow-sm: 0 12px 32px rgba(28, 73, 136, 0.09);
  --shadow: 0 24px 64px rgba(28, 73, 136, 0.14);
  --glow: 0 18px 46px rgba(22, 120, 255, 0.2);
  --radius-sm: 12px;
  --radius: 19px;
  --radius-lg: 25px;
  --container: calc(100% - 24px);
  --reading: 840px;
  --header-height: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  color-scheme: light;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 96% 1%, rgba(123, 63, 242, 0.11), transparent 23rem),
    radial-gradient(circle at 3% 15%, rgba(0, 199, 237, 0.13), transparent 25rem),
    linear-gradient(180deg, #fbfdff 0%, #f2f8ff 48%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(160deg, transparent 33%, rgba(0, 181, 234, 0.035) 34%, transparent 45%),
    linear-gradient(151deg, transparent 54%, rgba(123, 63, 242, 0.035) 55%, transparent 66%);
}

[hidden] {
  display: none !important;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

button,
a,
summary,
label {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 10.8vw, 3.45rem);
}

h2 {
  font-size: clamp(1.85rem, 8.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.13rem, 4.8vw, 1.4rem);
}

ul,
ol {
  color: var(--muted);
}

::selection {
  color: #fff;
  background: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(22, 120, 255, 0.34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--gradient);
  transform: translateY(-170%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  max-width: 1460px;
  min-width: 0;
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 60px 0;
}

.section-sm {
  padding: 42px 0;
}

.section-border {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(240, 248, 255, 0.62));
}

.section-tint {
  background: var(--gradient-pale);
}

.section-header {
  max-width: 830px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-header p {
  max-width: 730px;
  margin: 14px auto 0;
  font-size: 1rem;
}

.section-header.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-header.align-left p {
  margin-inline: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 13px;
  color: #086db6;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient);
}

.gradient-text {
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

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

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.875rem;
}

.fine-print {
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.58;
}

.stack {
  display: grid;
  gap: 16px;
}

/* Mobile header */
.topbar {
  position: relative;
  z-index: 92;
  color: #fff;
  background: linear-gradient(100deg, #09264d, #0b68be 49%, #5e2dbb);
  box-shadow: 0 5px 18px rgba(16, 76, 148, 0.14);
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.topbar-list {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.7rem;
  white-space: nowrap;
}

.topbar-list span:nth-child(n + 2) {
  display: none;
}

.topbar-list i,
.topbar-contact i {
  color: #74efff;
}

.topbar-contact {
  flex: 0 0 auto;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 790;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(28, 73, 136, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(30, 78, 145, 0.06);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(30, 78, 145, 0.12);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 112px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 7px 15px rgba(17, 127, 232, 0.18));
}

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  left: 12px;
  display: none;
  max-height: calc(100dvh - var(--header-height) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 24px 70px rgba(20, 61, 122, 0.2);
}

.nav-menu.open {
  display: grid;
  animation: menu-in 0.2s ease both;
}

.nav-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 11px 14px;
  border-radius: 11px;
  color: #405573;
  font-size: 0.94rem;
  font-weight: 760;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: #0c56a8;
  background: rgba(22, 120, 255, 0.09);
}

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

.nav-actions .btn {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #105faa;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 13px 32px rgba(22, 120, 255, 0.23);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.06) brightness(1.03);
  box-shadow: 0 18px 42px rgba(22, 120, 255, 0.3);
}

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

.btn-secondary {
  color: #155ca9;
  border-color: rgba(22, 120, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #fff;
  box-shadow: var(--glow);
}

.btn-sm {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.button-row {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

/* Homepage hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 50px 0 64px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(237, 249, 255, 0.9) 52%, rgba(247, 239, 255, 0.9));
}

.hero::before {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  top: -150px;
  right: -170px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 63, 242, 0.18), rgba(22, 120, 255, 0.08) 44%, transparent 70%);
  filter: blur(6px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -25% 7% 20%;
  height: 2px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(123, 63, 242, 0.32), rgba(0, 199, 237, 0.18), transparent);
  transform: rotate(-10deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 38px;
}

.hero-copy {
  min-width: 0;
  max-width: 735px;
  margin-inline: auto;
  text-align: center;
}

.hero-copy .lead {
  max-width: 680px;
  margin: 19px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.proof-chip,
.tag {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid rgba(27, 102, 185, 0.15);
  border-radius: 999px;
  color: #315173;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-xs);
  font-size: 0.7rem;
  font-weight: 740;
  line-height: 1.35;
  text-align: center;
}

.proof-chip i {
  flex: 0 0 auto;
  color: var(--green);
}

.hero-visual {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.app-frame {
  position: relative;
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(22, 120, 255, 0.2);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 62px rgba(43, 79, 143, 0.18), 0 0 40px rgba(37, 99, 235, 0.08);
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 1;
  pointer-events: none;
  border-radius: 15px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.12), transparent 24%, transparent 72%, rgba(139, 61, 255, 0.08));
}

.app-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 15px;
  background: #050816;
}

.floating-card {
  position: static;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(31, 101, 176, 0.15);
  border-radius: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.floating-card strong {
  display: block;
  font-size: 0.85rem;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.5;
}

.signal-dot {
  display: inline-block !important;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(14, 175, 120, 0.42);
}

/* Service information */
.info-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 14px 34px rgba(37, 78, 137, 0.06);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-item {
  min-width: 0;
  min-height: 142px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 13px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.info-item:nth-child(2n) {
  border-right: 0;
}

.info-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.info-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 199, 237, 0.2);
  border-radius: 12px;
  color: #0877c5;
  background: linear-gradient(145deg, #e5fbff, #eef4ff);
}

.info-item strong {
  display: block;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.35;
}

.info-item span {
  display: block;
  color: var(--muted-2);
  font-size: 0.73rem;
  line-height: 1.45;
}

/* Shared surfaces and cards */
.panel,
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.9));
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 21px 18px;
}

.card::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -85px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(90, 70, 245, 0.055);
  filter: blur(10px);
  pointer-events: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(22, 120, 255, 0.16);
  border-radius: 14px;
  color: #087ac9;
  background: var(--gradient-soft);
  font-size: 1.12rem;
}

.card p {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.card-link {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  color: #086db9;
  font-size: 0.88rem;
  font-weight: 820;
}

.card-link i {
  transition: transform 0.2s ease;
}

.card-link:hover {
  color: var(--violet);
}

.card-link:hover i {
  transform: translateX(4px);
}

.cards-2,
.cards-3,
.cards-4 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

/* Split content and media */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 30px;
}

.split.reverse .split-media {
  order: -1;
}

.split-media {
  position: relative;
  min-width: 0;
}

.media-card,
.content-image {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.media-card {
  margin: 0;
}

.media-card img,
.content-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption,
.content-image figcaption {
  margin: 0;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.97);
  font-size: 0.8rem;
  line-height: 1.5;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 21px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
}

.check-list i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--green);
}

/* Tables become readable cards on phones */
.overview-wrap {
  overflow: visible;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.overview-table,
.overview-table tbody,
.overview-table tr,
.overview-table th,
.overview-table td {
  display: block;
  width: 100%;
}

.overview-table {
  border: 0;
  border-collapse: separate;
  background: transparent;
}

.overview-table caption {
  display: block;
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: var(--gradient-pale);
  font-weight: 850;
  text-align: left;
}

.overview-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.overview-table tbody {
  display: grid;
  gap: 11px;
  margin-top: 11px;
}

.overview-table tr {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.overview-table tbody th,
.overview-table tbody td {
  padding: 13px 15px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.overview-table tbody th {
  border-top: 0;
  color: #0875c2;
  background: linear-gradient(135deg, #f2fcff, #f1f6ff);
}

.overview-table tbody td::before {
  content: attr(data-label);
  display: block;
  margin-bottom: 4px;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.comparison-table[role="region"] {
  width: 100%;
  margin: 24px 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

table.comparison-table,
table.comparison-table tbody,
table.comparison-table tr,
table.comparison-table th,
table.comparison-table td {
  display: block;
  width: 100%;
}

table.comparison-table {
  margin: 0;
  border: 0;
  border-collapse: separate;
  background: transparent;
}

table.comparison-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

table.comparison-table tbody {
  display: grid;
  gap: 11px;
}

table.comparison-table tbody tr {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

table.comparison-table th,
table.comparison-table td {
  padding: 13px 15px;
  border: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

table.comparison-table tbody th {
  border-top: 0;
  color: #096ab1;
  background: var(--gradient-pale);
}

/* Full-width channel loop */
.marquee-shell {
  position: relative;
  width: 100vw;
  max-width: 1680px;
  margin: 18px 0 18px 50%;
  padding: 3px 0;
  overflow: hidden;
  transform: translateX(-50%);
}

.marquee-track {
  width: max-content;
  min-width: 100%;
  display: flex;
  gap: 9px;
  padding-inline: 5px;
  animation: marquee 38s linear infinite;
  will-change: transform;
}

.marquee-shell.reverse .marquee-track {
  animation-direction: reverse;
  animation-duration: 43s;
}

.marquee-shell:hover .marquee-track {
  animation-play-state: paused;
}

.channel-chip {
  flex: 0 0 132px;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(31, 92, 166, 0.14);
  border-radius: 15px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(238, 247, 255, 0.94));
  box-shadow: var(--shadow-xs), inset 0 1px #fff;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-align: center;
}

.channel-chip::before {
  content: "";
  width: 30px;
  height: 3px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: var(--gradient);
}

.channel-chip small {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.6rem;
  font-weight: 730;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 5px)); }
}

/* Stats and feature photography */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  min-width: 0;
  padding: 20px 10px;
  border: 1px solid rgba(22, 120, 255, 0.15);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff, #eff8ff);
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.stat-value {
  display: block;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.8rem, 9vw, 2.55rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.stat-label {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.photo-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-xs);
}

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.photo-card:hover img {
  transform: scale(1.02);
  filter: saturate(1.05);
}

.photo-card figcaption {
  position: static;
  min-height: 0;
  padding: 14px 15px 16px;
  color: var(--text);
  background: linear-gradient(180deg, #fff, #f8fbff);
  font-size: 0.89rem;
  font-weight: 820;
  line-height: 1.42;
}

.photo-card figcaption small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 560;
  line-height: 1.5;
}

/* Pricing and reseller cards */
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 25px 20px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background: linear-gradient(150deg, #fff 0%, #f4f9ff 70%, #f5efff 100%);
  box-shadow: var(--shadow-xs);
}

.price-card.popular {
  border-color: rgba(22, 120, 255, 0.38);
  box-shadow: 0 22px 56px rgba(22, 120, 255, 0.16);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gradient);
}

.popular-badge {
  position: absolute;
  top: 4px;
  right: 15px;
  padding: 7px 10px;
  border-radius: 0 0 10px 10px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.plan-name {
  color: #46607f;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.price {
  margin: 17px 0 4px;
  color: var(--text);
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price sup {
  color: #1475d2;
  font-size: 1rem;
  vertical-align: 0.95em;
}

.price-period {
  color: var(--muted-2);
  font-size: 0.8rem;
}

.plan-features {
  display: grid;
  gap: 9px;
  margin: 21px 0 25px;
  padding: 0;
  list-style: none;
}

.plan-features li {
  min-width: 0;
  display: flex;
  gap: 9px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.plan-features i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--green);
}

.price-card .btn {
  margin-top: auto;
}

.reseller-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.reseller-card {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 20px 17px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(135deg, #fff, #f0f8ff 63%, #f7f1ff);
  box-shadow: var(--shadow-xs);
}

.credit-orb {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 120, 255, 0.21);
  border-radius: 18px;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(22, 120, 255, 0.22);
  font-size: 1.05rem;
  font-weight: 900;
}

.reseller-card h3 {
  margin-bottom: 4px;
}

.reseller-card p {
  margin: 0;
  font-size: 0.82rem;
}

.reseller-price {
  grid-column: 1 / -1;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 900;
  text-align: left;
}

.reseller-price small {
  display: block;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Steps and experience carousel */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  counter-reset: step;
}

.step {
  position: relative;
  min-width: 0;
  padding: 21px 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.step p {
  margin: 9px 0 0;
  font-size: 0.9rem;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 12px;
  transition: transform 0.5s cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  min-width: 0;
  min-height: 226px;
}

.slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 17px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 19px;
}

.slider-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: #1265b4;
  background: #fff;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.slider-button:hover {
  border-color: var(--line-bright);
  background: #eef7ff;
}

/* App screenshots */
.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.app-shot {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.app-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: linear-gradient(135deg, #050816, #0a1640);
}

.app-shot-content {
  padding: 18px 17px;
}

.app-shot-content p {
  margin: 9px 0 0;
  font-size: 0.9rem;
}

/* FAQ */
.faq-grid {
  max-width: 960px;
  display: grid;
  gap: 10px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 52px 16px 16px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 820;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 120, 255, 0.17);
  border-radius: 9px;
  color: #0878c6;
  background: #eef8ff;
  transform: translateY(-50%);
}

.faq-item[open] {
  border-color: rgba(22, 120, 255, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 16px 18px;
}

.faq-answer p {
  margin: 0;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.blog-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-xs);
}

.blog-card > a {
  display: block;
  overflow: hidden;
  background: #eef5ff;
}

.blog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.02);
}

.blog-card-body {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 17px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #0879c6;
  font-size: 0.69rem;
  font-weight: 830;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-card h3 {
  font-size: 1.18rem;
}

.blog-card h3 a:hover {
  color: #106fc6;
}

.blog-card p {
  margin: 10px 0 15px;
  font-size: 0.88rem;
}

.blog-card .card-link {
  margin-top: auto;
}

/* Calls to action and forms */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  padding: 27px 19px;
  border: 1px solid rgba(22, 120, 255, 0.21);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(227, 247, 255, 0.96) 50%, rgba(244, 234, 255, 0.95));
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cta-panel::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -185px;
  z-index: -1;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 233, 0.18), transparent 68%);
}

.cta-panel p {
  max-width: 690px;
  margin: 10px auto 0;
}

.cta-panel .button-row {
  justify-content: center;
}

.newsletter-form {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin-top: 20px;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(33, 75, 132, 0.2);
  border-radius: 13px;
  color: var(--text);
  outline: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 2px rgba(33, 75, 132, 0.04);
}

.input::placeholder,
.textarea::placeholder {
  color: #8996aa;
}

.textarea {
  min-height: 126px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 120, 255, 0.1);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
}

.form-grid label {
  min-width: 0;
  color: var(--text-soft);
  font-weight: 720;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 9px 0 0;
  color: var(--muted-2);
  font-size: 0.78rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.contact-card {
  min-width: 0;
  padding: 23px 18px;
}

.contact-card h3,
.contact-card strong {
  color: var(--text);
}

.contact-list {
  display: grid;
  gap: 11px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  min-width: 0;
  display: flex;
  gap: 10px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-list i {
  flex: 0 0 19px;
  width: 19px;
  margin-top: 5px;
  color: #087ac8;
}

/* Inner-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 2%, rgba(123, 63, 242, 0.12), transparent 22rem),
    radial-gradient(circle at 4% 94%, rgba(0, 191, 233, 0.1), transparent 20rem),
    linear-gradient(135deg, #fff 0%, #f1f9ff 56%, #f8f2ff 100%);
  text-align: center;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 10vw, 3.4rem);
}

.page-hero .lead {
  max-width: 730px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.page-hero .button-row {
  justify-content: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.4;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb i {
  font-size: 0.56rem;
}

.hero-mini-card {
  width: 100%;
  max-width: 640px;
  min-width: 0;
  margin-inline: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.hero-mini-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
}

.hero-mini-card .media-caption {
  padding: 10px 6px 3px;
  background: transparent;
  text-align: left;
}

/* Long-form content */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.content-main {
  min-width: 0;
}

.content-main > section + section {
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.content-main h2 {
  margin-bottom: 15px;
  font-size: clamp(1.65rem, 7vw, 2.3rem);
}

.content-main h3 {
  margin: 24px 0 10px;
}

.content-main p {
  max-width: var(--reading);
  color: var(--muted);
}

.content-main ul,
.content-main ol,
.article-body ul,
.article-body ol {
  padding-left: 21px;
}

.content-main li + li {
  margin-top: 8px;
}

.content-image {
  width: 100%;
  max-width: 920px;
  margin: 23px 0;
  border-radius: 19px;
}

.sidebar {
  position: static;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.sidebar-card {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
}

.sidebar-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.sidebar-links {
  display: grid;
  gap: 8px;
}

.sidebar-links a,
.sidebar-links span {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.sidebar-links a:hover {
  color: var(--blue);
}

.article-header {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}

.article-header h1 {
  font-size: clamp(2.05rem, 9.5vw, 3.35rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.77rem;
}

.article-meta i {
  color: #0879c6;
}

.article-shell {
  max-width: 1220px;
}

.article-body {
  min-width: 0;
  font-size: 1rem;
}

.article-body p {
  color: var(--muted);
}

.quick-answer {
  margin-bottom: 31px;
  padding: 20px 17px;
  border: 1px solid rgba(22, 120, 255, 0.2);
  border-radius: 17px;
  background: var(--gradient-pale);
}

.quick-answer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.article-toc {
  margin: 24px 0;
  padding: 19px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xs);
}

.article-toc ol {
  margin: 10px 0 0;
  padding-left: 21px;
  columns: 1;
}

.article-toc li + li {
  margin-top: 8px;
}

.article-toc a:hover {
  color: var(--blue);
}

.article-callout {
  margin: 24px 0;
  padding: 18px 16px;
  border: 1px solid rgba(0, 191, 233, 0.14);
  border-left: 4px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: #eefbff;
}

.article-callout p {
  margin: 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  background: #fff;
  box-shadow: var(--shadow-xs);
  font-weight: 800;
}

.pagination a:hover,
.pagination .current {
  color: #fff;
  border-color: transparent;
  background: var(--gradient);
}

/* Checkout */
.order-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.checkout-card,
.order-summary {
  min-width: 0;
  padding: 22px 17px;
}

.order-summary {
  position: static;
}

.order-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 19px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #edf6ff;
}

.order-tab {
  min-width: 0;
  min-height: 46px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}

.order-tab.active {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 9px 22px rgba(22, 120, 255, 0.18);
}

.plan-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.order-panel {
  min-width: 0;
}

.plan-option {
  position: relative;
  min-width: 0;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-option label {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #fff;
  cursor: pointer;
}

.plan-option label span {
  color: var(--muted-2);
  font-size: 0.78rem;
}

.plan-option input:focus-visible + label {
  outline: 3px solid rgba(22, 120, 255, 0.25);
  outline-offset: 2px;
}

.plan-option input:checked + label {
  border-color: var(--blue);
  background: var(--gradient-pale);
  box-shadow: 0 0 0 4px rgba(22, 120, 255, 0.08);
}

.summary-row {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-row strong {
  min-width: 0;
  color: var(--text);
  text-align: right;
  overflow-wrap: anywhere;
}

.summary-total {
  margin: 17px 0;
  font-size: 1.25rem;
}

.summary-total strong {
  color: #0a72c7;
  font-size: 1.78rem;
}

/* Search and legal pages */
.search-shell {
  max-width: 960px;
  margin: 0 auto;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.search-results {
  display: grid;
  gap: 11px;
  margin-top: 23px;
}

.search-result {
  min-width: 0;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
}

.search-result h3 {
  font-size: 1.04rem;
}

.search-result p {
  margin: 7px 0 0;
  font-size: 0.86rem;
}

.notice {
  padding: 17px 16px;
  border: 1px solid rgba(206, 133, 0, 0.22);
  border-radius: 15px;
  color: #74510b;
  background: #fff9e9;
  overflow-wrap: anywhere;
}

.notice i {
  margin-right: 7px;
  color: var(--amber);
}

.legal-list {
  display: grid;
  gap: 13px;
  padding: 0;
  list-style: none;
  counter-reset: legal;
}

.legal-list li {
  position: relative;
  min-width: 0;
  padding: 19px 16px 19px 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-xs);
}

.legal-list li::before {
  content: counter(legal);
  position: absolute;
  top: 18px;
  left: 16px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.82rem;
  font-weight: 900;
  counter-increment: legal;
}

/* Expanded content modules */
.depth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.depth-card {
  min-width: 0;
  padding: 21px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-xs);
}

.depth-card .depth-number {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #fff;
  background: var(--gradient);
  font-size: 0.81rem;
  font-weight: 900;
}

.depth-card h3 {
  margin-bottom: 10px;
}

.depth-card p:last-child {
  margin-bottom: 0;
}

.topic-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
}

.topic-panel {
  min-width: 0;
  padding: 25px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fff, #edf8ff 63%, #f6efff);
  box-shadow: var(--shadow-xs);
}

.topic-panel p {
  max-width: 760px;
}

.topic-points {
  display: grid;
  gap: 10px;
  margin: 19px 0 0;
  padding: 0;
  list-style: none;
}

.topic-points li {
  min-width: 0;
  display: flex;
  gap: 10px;
  color: var(--text-soft);
}

.topic-points i {
  flex: 0 0 auto;
  margin-top: 5px;
  color: var(--green);
}

.reference-note {
  max-width: 850px;
  margin: 20px auto 0;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: center;
}

/* Footer */
.site-footer {
  padding-top: 57px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 8% 0, rgba(0, 191, 233, 0.1), transparent 20rem),
    radial-gradient(circle at 95% 100%, rgba(123, 63, 242, 0.08), transparent 20rem),
    linear-gradient(180deg, #f7fbff, #edf5ff);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 17px;
}

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

.footer-brand img {
  width: 138px;
  height: 66px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 420px;
  margin-inline: auto;
  font-size: 0.86rem;
}

.footer-col {
  min-width: 0;
}

.footer-col h3 {
  margin-bottom: 13px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  min-width: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.76rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #1267b5;
  background: #fff;
}

.social-links a:hover {
  color: var(--violet);
  border-color: var(--line-bright);
}

/* Floating actions stay inside the mobile safe area */
.floating-whatsapp {
  position: fixed;
  right: max(11px, env(safe-area-inset-right));
  bottom: max(11px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 17px;
  color: #fff;
  background: #16b975;
  box-shadow: 0 17px 44px rgba(8, 119, 74, 0.25);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
}

.back-to-top {
  position: fixed;
  right: max(15px, calc(env(safe-area-inset-right) + 4px));
  bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px));
  z-index: 79;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #1267b5;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s ease;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Slightly wider phones */
@media (min-width: 480px) {
  :root {
    --container: calc(100% - 30px);
  }

  .button-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 11px;
  }

  .button-row .btn,
  .btn:not(.btn-block) {
    width: auto;
  }

  .hero-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual .app-frame {
    grid-column: 1 / -1;
  }

  .newsletter-form,
  .search-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .newsletter-form .btn,
  .search-bar .btn {
    width: auto;
  }

  .plan-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Large phones and small tablets */
@media (min-width: 640px) {
  :root {
    --container: calc(100% - 38px);
    --radius: 21px;
    --radius-lg: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .cards-2,
  .cards-3,
  .cards-4,
  .photo-grid,
  .pricing-grid,
  .blog-grid,
  .app-showcase,
  .steps,
  .depth-grid,
  .sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card,
  .depth-card {
    padding: 24px 22px;
  }

  .info-item {
    min-height: 120px;
    flex-direction: row;
    align-items: center;
    padding: 18px;
  }

  .photo-card figcaption {
    min-height: 112px;
  }

  .reseller-card {
    padding: 22px;
  }

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

  .contact-card {
    padding: 27px 24px;
  }

  .article-toc ol {
    columns: 2;
    column-gap: 34px;
  }

  .checkout-card,
  .order-summary {
    padding: 28px 25px;
  }

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

  .footer-brand {
    grid-column: auto;
    grid-row: span 2;
    text-align: left;
  }

  .footer-brand img,
  .footer-brand p {
    margin-inline: 0;
  }
}

/* Tablets: restore semantic tables and denser grids */
@media (min-width: 768px) {
  :root {
    --container: min(100% - 46px, 1180px);
    --header-height: 76px;
  }

  html {
    scroll-padding-top: 102px;
  }

  h1 {
    font-size: clamp(3rem, 7.8vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 5.8vw, 3.25rem);
  }

  .section {
    padding: 84px 0;
  }

  .section-sm {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header p {
    margin-top: 17px;
    font-size: 1.04rem;
  }

  .topbar-list {
    gap: 18px;
    font-size: 0.77rem;
  }

  .topbar-list span:nth-child(2) {
    display: inline;
  }

  .topbar-contact {
    font-size: 0.78rem;
  }

  .brand img {
    width: 134px;
    height: 60px;
  }

  .nav-menu {
    right: 23px;
    left: 23px;
  }

  .hero {
    padding: 76px 0 88px;
  }

  .hero-grid {
    gap: 52px;
  }

  .hero-copy .lead {
    margin-top: 22px;
    font-size: 1.1rem;
  }

  .hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
  }

  .proof-chip,
  .tag {
    padding: 7px 11px;
    font-size: 0.79rem;
  }

  .app-frame {
    padding: 10px;
    border-radius: 27px;
  }

  .app-frame::before {
    inset: 10px;
    border-radius: 18px;
  }

  .app-frame img {
    border-radius: 18px;
  }

  .floating-card {
    padding: 15px 16px;
  }

  .cards-3,
  .depth-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-4,
  .photo-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    gap: 13px;
  }

  .stat {
    padding: 25px 16px;
  }

  .stat-value {
    font-size: clamp(2.2rem, 6vw, 3rem);
  }

  .photo-card figcaption {
    min-height: 118px;
  }

  .price-card {
    padding: 28px 24px;
  }

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

  .reseller-card {
    align-content: start;
  }

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

  .slide {
    flex-basis: calc((100% - 12px) / 2);
  }

  .faq-item summary {
    padding: 19px 58px 19px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .blog-card-body,
  .app-shot-content {
    padding: 21px;
  }

  .cta-panel {
    padding: 38px 34px;
  }

  .page-hero {
    padding: 76px 0 68px;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.25rem);
  }

  .page-hero .lead {
    margin-top: 20px;
    font-size: 1.06rem;
  }

  .hero-mini-card {
    padding: 11px;
    border-radius: 24px;
  }

  .hero-mini-card img {
    border-radius: 17px;
  }

  .content-main > section + section {
    margin-top: 54px;
    padding-top: 46px;
  }

  .article-body {
    font-size: 1.03rem;
  }

  .article-header h1 {
    font-size: clamp(2.8rem, 6.8vw, 4.25rem);
  }

  .quick-answer {
    padding: 23px;
  }

  .article-toc {
    padding: 22px;
  }

  .comparison-table[role="region"] {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow-xs);
    -webkit-overflow-scrolling: touch;
  }

  table.comparison-table,
  table.comparison-table tbody {
    display: table;
    width: 100%;
  }

  table.comparison-table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }

  table.comparison-table tbody {
    display: table-row-group;
  }

  table.comparison-table tr {
    display: table-row;
  }

  table.comparison-table tbody tr {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  table.comparison-table th,
  table.comparison-table td {
    display: table-cell;
    width: auto;
    padding: 14px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: #fff;
  }

  table.comparison-table thead th {
    color: #0b68ae;
    background: #f1f8ff;
  }

  table.comparison-table tbody th {
    color: var(--text);
    background: #f8fbff;
  }

  .overview-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-xs);
  }

  .overview-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: rgba(255, 255, 255, 0.98);
  }

  .overview-table caption {
    display: table-caption;
    padding: 17px 20px;
    border: 0;
    border-radius: 0;
  }

  .overview-table thead {
    position: static;
    display: table-header-group;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }

  .overview-table tbody {
    display: table-row-group;
  }

  .overview-table tr {
    display: table-row;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .overview-table th,
  .overview-table td {
    display: table-cell;
    width: auto;
    padding: 16px 17px;
    border: 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    background: transparent;
  }

  .overview-table thead th {
    color: #0b68ae;
    background: #f4f9ff;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .overview-table tbody th {
    width: 23%;
    color: var(--text);
    background: transparent;
  }

  .overview-table tbody tr:nth-child(even) {
    background: #f9fcff;
  }

  .overview-table tbody td::before {
    display: none;
  }

  .order-shell {
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Laptop and desktop layouts */
@media (min-width: 1024px) {
  :root {
    --container: min(100% - 48px, 1460px);
    --radius: 22px;
    --radius-lg: 32px;
  }

  .section {
    padding: 100px 0;
  }

  .section-sm {
    padding: 54px 0;
  }

  .hero {
    min-height: 650px;
    padding: 90px 0;
  }

  .hero::before {
    width: 640px;
    height: 640px;
    top: -220px;
    right: -160px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.98fr);
    gap: clamp(44px, 5vw, 78px);
  }

  .hero-copy {
    margin-inline: 0;
    text-align: left;
  }

  .hero-copy .lead {
    margin-inline: 0;
    font-size: 1.15rem;
  }

  .hero-copy .button-row,
  .hero-proof {
    justify-content: flex-start;
  }

  .hero-visual {
    display: block;
  }

  .app-frame {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  }

  .floating-card {
    position: absolute;
    z-index: 2;
    max-width: 210px;
  }

  .floating-card.one {
    left: -25px;
    bottom: -22px;
  }

  .floating-card.two {
    top: -25px;
    right: -15px;
  }

  .info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .info-item {
    min-height: 100px;
    padding: 19px 22px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .info-item:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .info-item:last-child {
    border-right: 0;
  }

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

  .cards-3,
  .depth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-4,
  .photo-grid,
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card,
  .depth-card {
    padding: 27px;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
    gap: clamp(40px, 5.5vw, 82px);
  }

  .split.reverse .split-media {
    order: -1;
  }

  .marquee-track {
    gap: 12px;
    animation-duration: 42s;
  }

  .marquee-shell.reverse .marquee-track {
    animation-duration: 48s;
  }

  .channel-chip {
    flex-basis: clamp(148px, 11vw, 184px);
    min-height: 78px;
    padding: 13px 16px;
    border-radius: 18px;
    font-size: 0.96rem;
  }

  .channel-chip small {
    font-size: 0.68rem;
  }

  .stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .photo-card {
    border-radius: 21px;
  }

  .photo-card figcaption {
    min-height: 118px;
    padding: 16px 17px 18px;
  }

  .price-card {
    padding: 29px 24px;
    border-radius: 24px;
  }

  .price-card.popular {
    transform: translateY(-7px);
  }

  .reseller-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    padding: 25px;
  }

  .credit-orb {
    width: 74px;
    height: 74px;
    border-radius: 21px;
    font-size: 1.2rem;
  }

  .reseller-price {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
    text-align: right;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step {
    padding: 25px;
    border-radius: 21px;
  }

  .slide {
    flex-basis: calc((100% - 36px) / 3);
    min-height: 230px;
  }

  .slider-track {
    gap: 18px;
  }

  .app-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    padding: 48px;
    text-align: left;
  }

  .cta-panel p {
    margin-inline: 0;
  }

  .contact-grid {
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: 22px;
  }

  .page-hero {
    padding: 104px 0 76px;
    text-align: left;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.7fr);
    gap: 52px;
  }

  .page-hero .lead {
    margin-inline: 0;
  }

  .page-hero .button-row,
  .breadcrumb {
    justify-content: flex-start;
  }

  .hero-mini-card {
    max-width: 600px;
    margin-left: auto;
    margin-right: 0;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 42px;
  }

  .sidebar {
    position: sticky;
    top: 102px;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .order-shell {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 26px;
  }

  .order-summary {
    position: sticky;
    top: 102px;
  }

  .topic-band {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.68fr);
    gap: 28px;
  }

  .topic-panel {
    padding: 38px;
  }

  .footer-grid {
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .footer-brand {
    grid-row: auto;
  }
}

/* Full desktop navigation */
@media (min-width: 1180px) {
  :root {
    --header-height: 82px;
  }

  html {
    scroll-padding-top: 112px;
  }

  .topbar-inner {
    min-height: 38px;
  }

  .topbar-list {
    gap: 22px;
    font-size: 0.79rem;
  }

  .topbar-list span:nth-child(n + 2) {
    display: inline;
  }

  .topbar-contact {
    font-size: 0.81rem;
  }

  .nav-shell {
    gap: 24px;
  }

  .brand img {
    width: 145px;
    height: 64px;
  }

  .nav-menu {
    position: static;
    display: flex;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
  }

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

  .nav-menu a {
    min-height: 42px;
    padding: 9px 10px;
    font-size: 0.87rem;
  }

  .nav-actions .btn {
    display: inline-flex;
    width: auto;
  }

  .nav-toggle {
    display: none;
  }

  .content-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 50px;
  }

  .sidebar,
  .order-summary {
    top: 112px;
  }
}

@media (min-width: 1400px) {
  .section {
    padding: 112px 0;
  }

  .hero {
    min-height: 680px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(460px, 0.98fr);
    gap: 84px;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.7fr);
    gap: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .floating-whatsapp,
  .back-to-top,
  .slider-controls,
  .site-footer {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  td,
  th {
    color: #111 !important;
  }

  .panel,
  .card,
  .price-card,
  .content-image,
  .photo-card,
  .blog-card {
    border-color: #ccc;
    box-shadow: none;
    background: #fff;
    break-inside: avoid;
  }
}
