/* DigiAddress — modern UI (2026) */

html.premium-site {
  --primary: #061b5a;
  --primary-light: #0b2f8a;
  --primary-deep: #041445;
  --accent: #f9b000;
  --accent-soft: #fff8e6;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --nav-h: 72px;
  --section-pad: clamp(4rem, 8vw, 6.5rem);
  --type-hero: clamp(2.35rem, 5.5vw, 3.75rem);
  --type-section: clamp(1.75rem, 3.5vw, 2.5rem);
  --type-lead: 1.0625rem;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(6, 27, 90, 0.08);
  --shadow-hover: 0 8px 12px rgba(15, 23, 42, 0.06), 0 24px 48px rgba(6, 27, 90, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html.premium-site body {
  color: var(--text);
  background: var(--surface-2);
  letter-spacing: -0.01em;
}

html.premium-site body::before {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(249, 176, 0, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(6, 27, 90, 0.05) 0%, transparent 55%),
    var(--surface-2);
}

html.premium-site .container {
  width: min(1160px, 92vw);
}

/* ── Nav — glass bar ── */
html.premium-site .site-nav {
  background: rgba(4, 20, 69, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.premium-site .site-nav.is-scrolled {
  background: rgba(4, 20, 69, 0.94);
  box-shadow: 0 12px 40px rgba(4, 20, 69, 0.25);
}

html.premium-site .brand-logo {
  height: 42px;
  width: auto;
  filter: brightness(1.05);
}

html.premium-site .nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}

html.premium-site .nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

html.premium-site .nav-cta,
html.premium-site .nav-cta-desktop {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ffca42, #f9b000);
  box-shadow: 0 4px 16px rgba(249, 176, 0, 0.35);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

html.premium-site .nav-cta:hover,
html.premium-site .nav-cta-desktop:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249, 176, 0, 0.45);
}

html.premium-site .lang-toggle {
  border-radius: var(--radius-full);
  padding: 3px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

html.premium-site .lang-btn {
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 2.5rem;
}

/* ── Hero ── */
.hero-v2 {
  min-height: auto;
  padding: calc(var(--nav-h) + 3.5rem) 0 5rem;
  background: linear-gradient(145deg, #020c28 0%, #041445 35%, #061b5a 65%, #0a3580 100%);
  position: relative;
  overflow: hidden;
}

.hero-v2::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: 10%;
  background: radial-gradient(circle, rgba(249, 176, 0, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-v2__gradient-anim {
  animation: none;
  background: transparent;
}

.hero-v2__mesh {
  background:
    radial-gradient(ellipse 50% 40% at 15% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 15%, rgba(249, 176, 0, 0.14) 0%, transparent 50%);
}

.hero-v2__grid {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-v2__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: none;
}

.hero-v2__title {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 13ch;
  text-shadow: none;
  background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-v2__tagline {
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #ffca42;
  text-shadow: none;
  margin-bottom: 0.75rem;
}

.hero-v2__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40ch;
  margin-bottom: 2rem;
}

.hero-v2__note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.btn-hero-primary {
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  min-height: 52px;
  padding-inline: 1.75rem;
  box-shadow: 0 4px 20px rgba(249, 176, 0, 0.4);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn-hero-primary--glow {
  animation: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249, 176, 0, 0.5);
}

.btn-hero-secondary {
  border-radius: var(--radius-full);
  font-weight: 600;
  min-height: 52px;
  padding-inline: 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  color: #fff;
}

.hero-v2__visual--float,
.device-frame--float-ui {
  animation: none !important;
}

.hero-v2__phone-glow {
  background: radial-gradient(circle, rgba(249, 176, 0, 0.25) 0%, transparent 65%);
  opacity: 0.8;
}

.device-frame--hero {
  border-radius: 36px;
  box-shadow: var(--shadow-hover);
}

/* ── Section headers ── */
html.premium-site .premium-section {
  padding: var(--section-pad) 0;
}

html.premium-site .section-header {
  margin-bottom: 2.75rem;
}

html.premium-site .section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

html.premium-site .section-title {
  font-size: var(--type-section);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--primary);
}

html.premium-site .section-lead {
  font-size: var(--type-lead);
  color: var(--text-muted);
  max-width: 54ch;
  margin-inline: auto;
  line-height: 1.65;
}

/* Section backgrounds */
.app-showcase--premium { background: var(--surface); }
.how-section--premium { background: var(--surface-2); }
.live-showcase { background: var(--surface); }
.trust-section--premium { background: var(--surface-2); }
.cta-section { background: var(--surface); }
.highlights-strip { background: var(--surface); }

/* ── App screenshots ── */
.app-screens-grid {
  gap: 1.25rem;
}

.app-screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.app-screen-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(249, 176, 0, 0.25);
}

.app-screen-card figcaption,
.app-screen-card__caption {
  margin-top: 1rem;
  text-align: center;
}

.app-screen-card__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
}

.app-screen-card__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.device-frame--pro,
.device-frame--grid,
.device-frame--slider {
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.app-slider__tab {
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.app-slider__tab.is-active {
  background: var(--primary);
  color: #fff;
}

/* ── How it works ── */
.how-steps--four {
  gap: 1rem;
}

.how-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
  text-align: center;
}

.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(6, 27, 90, 0.12);
}

.how-step-icon {
  margin-inline: auto;
}

.how-step-num {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 12px rgba(6, 27, 90, 0.25);
}

.how-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1rem 0 0.4rem;
}

.how-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Live features ── */
.live-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.live-panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.live-panel__badge {
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.live-panel__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.live-tag {
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
}

/* ── Highlights ── */
.highlights-strip__grid {
  gap: 1rem;
}

.highlight-pill {
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.highlight-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: rgba(249, 176, 0, 0.3);
}

.highlight-pill__value {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Trust cards ── */
html.premium-site .trust-card--premium {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

html.premium-site .trust-card--premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(249, 176, 0, 0.28);
}

.trust-icon-badge {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: 16px;
  transition: transform 0.3s var(--ease-out);
}

html.premium-site .trust-card--premium:hover .trust-icon-badge {
  transform: scale(1.05);
  box-shadow: none;
}

.trust-card__tick {
  display: none;
}

html.premium-site .trust-section .trust-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1rem;
}

html.premium-site .trust-card--premium p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CTA ── */
.cta-box {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  background: linear-gradient(135deg, #041445 0%, #061b5a 50%, #0b2f8a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-hover);
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(249, 176, 0, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-section .section-title {
  color: #fff;
  font-weight: 700;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
}

.store-badges {
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.store-badge {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer--rich {
  background: linear-gradient(180deg, #041445 0%, #020c28 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-premium__mission {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}

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

.footer-nav__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Reveal animations ── */
.reveal {
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-v2__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-v2__title {
    max-width: none;
    margin-inline: auto;
  }

  .hero-v2__lead,
  .hero-v2__note {
    margin-inline: auto;
  }

  .hero-v2__actions {
    justify-content: center;
  }

  .hero-v2__visual-stage {
    max-width: 260px;
    margin-inline: auto;
  }

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

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

@media (max-width: 560px) {
  .how-steps--four,
  .app-screens-grid {
    grid-template-columns: 1fr;
  }

  html.premium-site .nav-links.is-open {
    background: rgba(4, 20, 69, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger-item,
  .app-screen-card,
  .how-step,
  .live-panel,
  .trust-card--premium {
    transition: none !important;
    animation: none !important;
  }
}
