:root {
  --bg: #f4f8fc;
  --bg-soft: #eef5fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-border: rgba(9, 31, 56, 0.08);
  --text: #0d2038;
  --text-soft: #5e7086;
  --title: #071b31;
  --primary: #0ea6c8;
  --primary-dark: #0b4d8d;
  --accent: #19d0cb;
  --shadow-lg: 0 24px 64px rgba(7, 27, 49, 0.12);
  --shadow-md: 0 16px 40px rgba(7, 27, 49, 0.08);
  --shadow-sm: 0 8px 24px rgba(7, 27, 49, 0.06);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(25, 208, 203, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 77, 141, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, li, address { color: var(--text-soft); }
strong, h1, h2, h3, h4 { color: var(--title); }

.skip-link {
  position: absolute;
  left: 14px;
  top: -40px;
  background: #fff;
  color: var(--title);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}
.skip-link:focus { top: 14px; }

.container { width: var(--container); margin: 0 auto; }
.section-space { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(233,241,248,0.7)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 255, 0.78);
  border-bottom: 1px solid rgba(9, 31, 56, 0.06);
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand img,
.footer-logo {
  width: auto;
  height: 74px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.footer-links-group a {
  font-size: 0.98rem;
  color: var(--text);
  transition: color 0.2s ease;
}
.site-nav a:hover,
.footer-links-group a:hover,
.contact-list a:hover { color: var(--primary-dark); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  box-shadow: 0 14px 28px rgba(11, 77, 141, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(11, 77, 141, 0.2);
  filter: saturate(1.06);
}
.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  border-color: rgba(11, 77, 141, 0.12);
  box-shadow: inset 0 0 0 1px rgba(11, 77, 141, 0.06), var(--shadow-sm);
}
.button-secondary:hover { box-shadow: var(--shadow-md); }
.header-cta { min-height: 46px; padding-inline: 20px; }
.full-width { width: 100%; }

.nav-toggle {
  display: none;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(9, 31, 56, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--title);
  border-radius: 4px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 700;
}

.brand-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  margin: 2px 0 20px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(9,31,56,0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.brand-ribbon img {
  height: 48px;
  width: auto;
  flex: 0 0 auto;
}
.brand-ribbon span {
  max-width: 34ch;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

h1, h2, h3 {
  font-family: 'Manrope', 'Inter', sans-serif;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(2.35rem, 4.1vw, 3.95rem);
  line-height: 0.98;
  max-width: 13ch;
}
.hero-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.14em;
  max-width: none;
  text-wrap: balance;
  margin: 8px 0 0;
}
.hero-title-line {
  display: block;
  white-space: nowrap;
}
.hero-title-accent {
  position: relative;
  padding-right: 0.08em;
  background: linear-gradient(135deg, var(--title) 0%, var(--primary-dark) 44%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title-accent::after {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(14,166,200,0.24), rgba(25,208,203,0.08));
}
h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.hero-grid,
.split-layout,
.app-layout,
.company-layout,
.spec-layout,
.footer-shell,
.trust-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 44px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
}
.hero-lede {
  font-size: 1.08rem;
  max-width: 56ch;
  margin: 20px 0 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-points div,
.trust-grid article,
.final-cta-shell,
.info-card,
.company-card,
.spec-panel,
.step-card,
.metric-card,
.phone-card,
.trust-band,
.floating-note,
.company-stats div {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}
.hero-points div {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
}
.hero-points strong,
.company-stats strong,
.spec-list strong,
.app-feature-list strong,
.contact-list span:first-child,
.trust-grid strong,
.floating-note strong { display: block; font-size: 0.98rem; }
.hero-points span,
.company-stats span,
.spec-list span,
.app-feature-list p,
.contact-list,
.trust-grid span,
.floating-note span { font-size: 0.93rem; color: var(--text-soft); }

.hero-media {
  position: relative;
  min-height: 580px;
}
.hero-panel {
  position: relative;
  height: 100%;
  min-height: 530px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232,240,247,0.92));
  border: 1px solid rgba(10, 74, 138, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
.hero-panel img {
  position: relative;
  z-index: 2;
  max-width: 95%;
  border-radius: 18px;
}
.hero-glow {
  position: absolute;
  inset: 12% 10% auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 208, 203, 0.28), rgba(11, 77, 141, 0.06) 62%, transparent 72%);
  filter: blur(8px);
}
.floating-note {
  position: absolute;
  padding: 16px 18px;
  border-radius: 18px;
  max-width: 220px;
}
.note-one { left: -18px; bottom: 120px; }
.note-two { right: -10px; bottom: 42px; }

.trust-band {
  padding: 18px 0;
}
.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust-grid article {
  padding: 22px 24px;
  border-radius: 20px;
}

.split-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
.info-card {
  padding: 28px;
  border-radius: var(--radius-xl);
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}
.feature-bullets li {
  position: relative;
  padding-left: 28px;
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-dark));
  box-shadow: 0 0 0 6px rgba(25, 208, 203, 0.12);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.metric-card {
  padding: 20px;
  border-radius: 18px;
}
.metric-card-wide { grid-column: span 3; }
.metric-card h4 { margin: 12px 0 8px; font-size: 1.03rem; }
.metric-card p { margin: 0; font-size: 0.92rem; }
.metric-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 208, 203, 0.16), rgba(11, 77, 141, 0.12));
  color: var(--primary-dark);
  font-weight: 800;
}

.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.center { margin-inline: auto; text-align: center; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  border-radius: 24px;
  padding: 28px 24px;
}
.step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}

.app-layout {
  grid-template-columns: 0.96fr 1.04fr;
  align-items: center;
}
.app-mockups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}
.phone-card {
  border-radius: 34px;
  padding: 12px;
  min-height: 440px;
}
.phone-one { transform: translateY(26px); }
.phone-screen {
  height: 100%;
  background: linear-gradient(180deg, #ffffff, #eef4fa);
  border-radius: 26px;
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(9,31,56,0.05);
}
.phone-notch {
  width: 44%;
  height: 22px;
  border-radius: 0 0 16px 16px;
  background: #101928;
  margin: 0 auto 16px;
}
.screen-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.screen-stat.large {
  margin: 24px 0 18px;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.screen-stat.large span {
  display: inline-block;
  margin-left: 8px;
  font-size: 1rem;
  color: var(--text-soft);
}
.screen-line {
  height: 80px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(10,74,138,0.08), rgba(10,74,138,0.01)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 80'%3E%3Cpath d='M0 58 C20 44 30 52 45 38 C60 24 70 32 85 46 C96 56 110 51 123 30 C137 8 154 18 168 31 C182 44 200 35 220 20 C229 14 235 12 240 12' fill='none' stroke='%230ea6c8' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center/cover no-repeat;
  margin-bottom: 18px;
}
.screen-row,
.screen-list,
.device-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(9,31,56,0.06);
}
.device-badge {
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
}
.device-thumb {
  width: 100%;
  height: 84px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(7, 27, 49, 0.08), rgba(7, 27, 49, 0.02)),
    url('assets/images/vmed-s5-product.jpg') center/contain no-repeat;
  margin-bottom: 12px;
}
.app-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.app-feature-list div {
  padding: 0 18px 0 0;
  border-right: 1px solid rgba(9,31,56,0.08);
}
.app-feature-list div:nth-child(2n) { border-right: none; padding-right: 0; }
.app-feature-list p { margin: 8px 0 0; }
.store-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(11, 77, 141, 0.06);
  color: var(--text);
  border: 1px solid rgba(11, 77, 141, 0.08);
}

.spec-layout { grid-template-columns: 1.08fr 0.92fr; align-items: center; }
.spec-image,
.spec-panel {
  border-radius: var(--radius-xl);
}
.spec-image {
  padding: 20px;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
}
.spec-panel {
  padding: 28px;
}
.spec-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(9,31,56,0.08);
}
.spec-list div:last-child { border-bottom: none; }
.spec-list span { color: var(--text-soft); }

.company-layout { grid-template-columns: 0.92fr 0.88fr; align-items: start; }
.company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.company-stats div {
  padding: 18px;
  border-radius: 18px;
}
.company-card {
  border-radius: var(--radius-xl);
  padding: 30px;
}
.company-card h3 { margin-bottom: 16px; }
.company-card address {
  font-style: normal;
  color: var(--text-soft);
  margin: 16px 0;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  display: grid;
  gap: 12px;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(9,31,56,0.08);
}
.contact-list li:last-child { border-bottom: none; padding-bottom: 0; }
.contact-actions.stacked {
  display: grid;
  gap: 12px;
}

.final-cta { padding: 10px 0 88px; }
.final-cta-shell {
  padding: 34px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.final-cta-shell h2 { margin-bottom: 10px; }
.final-cta-shell p { margin: 0; }

.site-footer {
  background: linear-gradient(180deg, #0b1f38, #071729);
  color: rgba(255,255,255,0.88);
  padding: 56px 0 28px;
}
.footer-shell {
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.8fr;
  gap: 30px;
  align-items: start;
}
.footer-brand-block p,
.footer-links-group p,
.footer-bottom,
.footer-links-group a,
.footer-bottom .fine-print { color: rgba(255,255,255,0.72); }
.footer-logo { height: 88px; }
.footer-links-group {
  display: grid;
  gap: 10px;
}
.footer-links-group h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.92rem;
}
.fine-print { max-width: 58ch; text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-grid,
  .split-layout,
  .app-layout,
  .spec-layout,
  .company-layout,
  .footer-shell {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: unset; }
  .hero-panel { min-height: 440px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; }
  .fine-print { text-align: left; }
}

@media (max-width: 860px) {
  .site-header { padding: 14px 0; }
  .header-shell {
    grid-template-columns: auto auto;
    grid-template-areas:
      'brand toggle'
      'nav nav';
  }
  .brand { grid-area: brand; }
  .nav-toggle {
    grid-area: toggle;
    display: inline-block;
    justify-self: end;
  }
  .site-nav {
    grid-area: nav;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(9,31,56,0.08);
    box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .header-cta { display: none; }
  .hero-points,
  .metric-grid,
  .app-feature-list,
  .company-stats,
  .trust-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .metric-card-wide { grid-column: auto; }
  .app-feature-list div {
    border-right: none;
    border-bottom: 1px solid rgba(9,31,56,0.08);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .app-feature-list div:last-child { border-bottom: none; }
  .final-cta-shell {
    flex-direction: column;
    align-items: flex-start;
  }
  .note-one,
  .note-two {
    position: static;
    margin-top: 14px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 28px, 100%); }
  .section-space { padding: 64px 0; }
  h1 { font-size: 2.4rem; max-width: none; }
  .hero-title { max-width: none; }
  .hero-title-line { white-space: normal; }
  h2 { font-size: 1.9rem; }
  .hero-panel { min-height: 340px; padding: 20px; }
  .phone-card { min-height: 380px; }
  .info-card,
  .company-card,
  .spec-panel,
  .step-card,
  .final-cta-shell { padding: 22px; }
  .brand img { height: 58px; }
  .footer-logo { height: 68px; }
  .brand-ribbon { align-items: flex-start; }
  .brand-ribbon img { height: 36px; }
}
