/* DigiAddress reference theme — light page, green actions, navy footer. */

html.premium-site {
  --ref-green: #1f9d55;
  --ref-green-dark: #178a49;
  --ref-navy: #0c2340;
  --ref-ink: #16324f;
  --ref-muted: #5d7086;
  --ref-line: #e6eef6;
  --ref-soft: #f5f8fc;
  --grad-gold: var(--ref-green);
  --grad-navy: #ffffff;
  background: #fff;
}

html.premium-site body {
  background: #fff;
  color: var(--ref-ink);
}

html.premium-site ::selection {
  background: rgba(31, 157, 85, 0.22);
  color: var(--ref-navy);
}

html.premium-site::-webkit-scrollbar-thumb {
  background: var(--ref-green);
}

/* —— Nav —— */
html.premium-site .site-nav {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

html.premium-site .site-nav.is-scrolled {
  border-bottom-color: var(--ref-line);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.06);
}

html.premium-site .brand-logo {
  height: 44px;
  filter: none;
}

html.premium-site .nav-links a {
  color: #3d5166;
  font-weight: 600;
  font-size: 0.92rem;
}

html.premium-site .nav-links a::after {
  background: var(--ref-green);
}

html.premium-site .nav-links a:hover {
  color: var(--ref-green-dark);
}

html.premium-site .nav-cta,
html.premium-site .nav-cta-desktop {
  background: var(--ref-green) !important;
  color: #fff !important;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(31, 157, 85, 0.28);
}

html.premium-site .lang-btn {
  color: #3d5166;
  border-color: var(--ref-line);
  background: #fff;
}

html.premium-site .lang-btn.is-active {
  background: #e9f8ef;
  color: var(--ref-green-dark);
  border-color: #b7e7c8;
}

/* —— Hero —— */
html.premium-site .hero-v2 {
  min-height: auto;
  align-items: stretch;
  padding: calc(var(--nav-h, 72px) + 2.75rem) 0 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(186, 224, 255, 0.55), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 62%, #eef6fb 100%);
  overflow: hidden;
}

html.premium-site .hero-v2__gradient-anim,
html.premium-site .hero-v2__mesh,
html.premium-site .hero-v2::before,
html.premium-site .hero-v2__phone-glow {
  display: none;
}

html.premium-site .hero-v2__grid {
  align-items: center;
  padding-bottom: 7.5rem;
}

html.premium-site .hero-kicker {
  margin: 0 0 0.85rem;
  color: var(--ref-green);
  font-weight: 700;
  font-size: 0.95rem;
}

html.premium-site .hero-v2__title {
  display: flex;
  flex-direction: column;
  max-width: 12ch;
  margin: 0 0 1rem;
  color: var(--ref-navy) !important;
  font-size: clamp(2.6rem, 5.4vw, 4.15rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-shadow: none !important;
}

html.premium-site .hero-title-accent {
  color: var(--ref-green);
}

html.premium-site .hero-v2__lead {
  max-width: 42ch;
  margin: 0 0 1.5rem;
  color: var(--ref-muted);
  font-size: 1.05rem;
}

html.premium-site .btn-hero-primary {
  background: var(--ref-green);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(31, 157, 85, 0.28);
  min-height: 52px;
}

html.premium-site .btn-hero-primary:hover {
  background: var(--ref-green-dark);
  box-shadow: 0 12px 26px rgba(31, 157, 85, 0.34);
}

html.premium-site .btn-hero-secondary {
  background: #fff;
  color: var(--ref-ink);
  border: 1.5px solid #d5e0ea;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.05);
  gap: 0.55rem;
}

html.premium-site .btn-hero-secondary:hover {
  color: var(--ref-green-dark);
  border-color: #b7e7c8;
  background: #f4fbf7;
}

.btn-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--ref-green);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #3e556c;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-pills li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231f9d55' d='M6.4 11.2 3.2 8l1.1-1.1 2.1 2.1 5.3-5.3 1.1 1.1z'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    #e8f8ee;
}

.hero-phones {
  position: relative;
  width: min(520px, 100%);
  height: 520px;
  margin-inline: auto;
}

html.premium-site .device-frame--hero {
  position: absolute;
  width: 230px;
  background: #111;
  border: 8px solid #1a1a1a;
  border-radius: 32px;
  box-shadow: 0 24px 50px rgba(12, 35, 64, 0.18);
  overflow: hidden;
}

html.premium-site .device-frame--back {
  left: 8px;
  top: 36px;
  transform: rotate(-8deg);
  z-index: 1;
}

html.premium-site .device-frame--front {
  right: 28px;
  top: 0;
  transform: rotate(6deg);
  z-index: 2;
}

html.premium-site .device-frame--hero .device-frame__screen img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top;
}

.hero-qr-card {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 3;
  width: 132px;
  padding: 0.7rem 0.7rem 0.55rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(12, 35, 64, 0.14);
  text-align: center;
}

.hero-qr-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 0.35rem;
}

.hero-qr-card p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ref-ink);
}

.hero-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  pointer-events: none;
}

.hero-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* —— Sections —— */
html.premium-site .premium-section,
html.premium-site .how-section--premium,
html.premium-site .trust-section--premium,
html.premium-site .app-showcase--premium {
  background: #fff;
}

html.premium-site .section-label {
  background: #e9f8ef;
  border: 0;
  color: var(--ref-green-dark);
}

html.premium-site .section-title {
  color: var(--ref-navy);
  letter-spacing: -0.03em;
}

html.premium-site .section-header::after {
  background: var(--ref-green);
  width: 48px;
  height: 3px;
}

html.premium-site .section-lead,
html.premium-site .how-step p,
html.premium-site .trust-card p,
html.premium-site .live-panel__intro,
html.premium-site .live-panel__list {
  color: var(--ref-muted);
}

html.premium-site .app-screen-card,
html.premium-site .how-step,
html.premium-site .trust-card--premium,
html.premium-site .live-panel {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(12, 35, 64, 0.05);
}

html.premium-site .app-screen-card::before,
html.premium-site .how-step-num,
html.premium-site .live-panel__badge {
  background: var(--ref-green);
  color: #fff;
}

html.premium-site .how-step-num {
  border-radius: 50%;
}

html.premium-site .live-showcase,
html.premium-site .highlights-strip,
html.premium-site #suggest-place {
  background: var(--ref-soft);
}

html.premium-site .highlight-pill {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
}

/* —— Stats —— */
.stats-bar {
  background: var(--ref-navy);
  color: #fff;
  padding: 1.6rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

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

.stats-bar__item strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.stats-bar__item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* —— Reviews & FAQ —— */
.reviews-section,
.faq-section {
  background: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.review-card,
.faq-item {
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(12, 35, 64, 0.05);
}

.review-card {
  padding: 1.35rem 1.25rem 1.1rem;
}

.review-card p {
  margin: 0 0 1.1rem;
  color: #31475e;
  line-height: 1.55;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-card footer strong,
.review-card footer small {
  display: block;
}

.review-card footer small {
  color: var(--ref-muted);
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9f8ef;
  color: var(--ref-green-dark);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 0.2rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ref-navy);
  padding: 0.9rem 0;
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--ref-muted);
}

/* —— CTA —— */
html.premium-site .cta-section {
  background: #fff;
  padding-bottom: 3rem;
}

html.premium-site .cta-box {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem 2.4rem;
  border-radius: 28px;
  background: linear-gradient(100deg, #17924a 0%, #23b86a 55%, #7ed957 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(23, 146, 74, 0.25);
}

html.premium-site .cta-box .section-title,
html.premium-site .cta-box p {
  color: #fff;
}

html.premium-site .cta-box .section-title {
  margin: 0 0 0.9rem;
  text-align: left;
}

html.premium-site .cta-box__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.premium-site .cta-box__points li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
  font-size: 0.88rem;
}

html.premium-site .cta-box__aside {
  text-align: center;
}

html.premium-site .cta-box__aside p {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
}

html.premium-site .cta-box .store-badge {
  background: #111;
  color: #fff;
  border-radius: 12px;
}

/* —— Footer —— */
html.premium-site .site-footer--premium {
  background: var(--ref-navy);
  color: rgba(255, 255, 255, 0.78);
}

html.premium-site .site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

html.premium-site .site-footer a:hover {
  color: #fff;
}

html.premium-site .footer-nav__title {
  color: #fff;
}

html.premium-site .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 980px) {
  .hero-phones {
    height: 460px;
  }

  html.premium-site .device-frame--hero {
    width: 190px;
  }

  html.premium-site .device-frame--hero .device-frame__screen img {
    height: 380px;
  }

  .stats-bar__grid,
  .reviews-grid,
  html.premium-site .cta-box {
    grid-template-columns: 1fr 1fr;
  }

  html.premium-site .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  html.premium-site .cta-box .section-title {
    text-align: center;
  }

  html.premium-site .cta-box__points {
    justify-content: center;
  }
}

/* Top bar stays white with dark links on every public page.
   Older CSS painted these white for the dark hero. */
html.premium-site .site-nav,
html.premium-site .site-nav:not(.is-scrolled),
html.premium-site .site-nav.is-scrolled,
body.legal-page .site-nav,
body.coming-soon-page .site-nav,
body.public-theme .site-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e6eef6;
  box-shadow: 0 1px 0 rgba(12, 35, 64, 0.04);
  color: #16324f;
}

html.premium-site .site-nav .brand-logo,
body.legal-page .site-nav .brand-logo,
body.coming-soon-page .site-nav .brand-logo,
body.public-theme .site-nav .brand-logo {
  filter: none;
}

html.premium-site .site-nav:not(.is-scrolled) .nav-links a,
html.premium-site .site-nav.is-scrolled .nav-links a,
body.legal-page .site-nav .nav-links a,
body.public-theme .site-nav .nav-links a {
  color: #3d5166;
}

html.premium-site .site-nav .nav-links a:hover,
html.premium-site .site-nav .nav-links a.is-current,
body.legal-page .site-nav .nav-links a:hover,
body.legal-page .site-nav .nav-links a.is-current,
body.public-theme .site-nav .nav-links a:hover,
body.public-theme .site-nav .nav-links a.is-current {
  color: #178a49;
}

html.premium-site .site-nav:not(.is-scrolled) .nav-links a::after,
html.premium-site .site-nav .nav-links a.is-current::after {
  background: #1f9d55;
}

html.premium-site .site-nav:not(.is-scrolled) .lang-toggle,
body.legal-page .lang-toggle,
body.coming-soon-page .site-nav .lang-toggle,
body.public-theme .lang-toggle {
  background: #fff;
  border: 1px solid #e6eef6;
}

html.premium-site .site-nav:not(.is-scrolled) .lang-btn,
body.legal-page .lang-btn,
body.coming-soon-page .site-nav .lang-btn,
body.public-theme .lang-btn {
  color: #3d5166;
}

html.premium-site .site-nav:not(.is-scrolled) .lang-btn.is-active,
body.legal-page .lang-btn.is-active,
body.coming-soon-page .site-nav .lang-btn.is-active,
body.public-theme .lang-btn.is-active {
  background: #e9f8ef;
  color: #178a49;
}

html.premium-site .site-nav:not(.is-scrolled) .nav-toggle span,
html.premium-site .site-nav.is-scrolled .nav-toggle span,
body.legal-page .nav-toggle span,
body.public-theme .nav-toggle span {
  background: #16324f;
}

@media (max-width: 900px) {
  html.premium-site .nav-links,
  html.premium-site .site-nav:not(.is-scrolled) .nav-links,
  html.premium-site .site-nav.is-scrolled .nav-links,
  body.legal-page .nav-links,
  body.public-theme .nav-links {
    background: #fff;
    border-top: 1px solid #e6eef6;
  }

  html.premium-site .site-nav:not(.is-scrolled) .nav-links a,
  html.premium-site .nav-mobile-cta {
    border-top-color: #e6eef6;
  }
}

/* Legal, coming soon, and contact share the same light theme */
body.legal-page {
  background: #fff;
  color: #16324f;
}

body.legal-page .legal-hero {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(31, 157, 85, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #e6eef6;
}

body.legal-page .legal-hero .section-label,
body.legal-page .legal-hero__title {
  color: #0c2340;
}

body.legal-page .legal-switcher__btn.is-active {
  color: #fff;
  background: #1f9d55;
  border-color: #1f9d55;
  box-shadow: 0 8px 18px rgba(31, 157, 85, 0.28);
}

body.legal-page .legal-doc h2 {
  border-left-color: #1f9d55;
}

body.legal-page .site-footer {
  background: #0c2340;
  color: rgba(255, 255, 255, 0.78);
}

body.coming-soon-page {
  background: #f5f8fc !important;
  color: #16324f;
}

body.coming-soon-page .coming-soon-card {
  background: #fff;
  border: 1px solid #e6eef6;
  color: #16324f;
  box-shadow: 0 18px 40px rgba(12, 35, 64, 0.08);
}

body.coming-soon-page .coming-soon-card__icon {
  background: #e9f8ef;
  color: #178a49;
}

body.coming-soon-page .coming-soon-card__badge {
  color: #178a49;
  background: #e9f8ef;
  border-color: #b7e7c8;
}

body.coming-soon-page .coming-soon-card__title {
  color: #0c2340;
}

body.coming-soon-page .coming-soon-card__lead,
body.coming-soon-page .coming-soon-card__note {
  color: #5d7086;
}

body.coming-soon-page .coming-soon-btn--primary {
  color: #fff !important;
  background: #1f9d55;
  box-shadow: 0 8px 18px rgba(31, 157, 85, 0.28);
}

body.coming-soon-page .coming-soon-btn--ghost {
  color: #16324f !important;
  background: #fff;
  border: 1.5px solid #d5e0ea;
}

body.public-theme {
  margin: 0;
  background: #f5f8fc;
  color: #16324f;
  font-family: "Figtree", "Noto Sans Kannada", system-ui, sans-serif;
}

body.public-theme main {
  padding: calc(72px + 2rem) 1rem 3rem;
}

body.public-theme .portal-card {
  border: 1px solid #e6eef6;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(12, 35, 64, 0.06);
}

body.public-theme .portal-btn--primary {
  background: #1f9d55;
  border-color: #1f9d55;
}

body.public-theme .portal-card a {
  color: #178a49;
}

@media (max-width: 680px) {
  html.premium-site .hero-v2__title {
    font-size: 2.45rem !important;
    max-width: none;
  }

  .hero-phones {
    height: 390px;
  }

  html.premium-site .device-frame--back {
    left: 0;
    top: 28px;
  }

  html.premium-site .device-frame--front {
    right: 8px;
  }

  html.premium-site .device-frame--hero {
    width: 158px;
  }

  html.premium-site .device-frame--hero .device-frame__screen img {
    height: 310px;
  }

  .hero-qr-card {
    width: 108px;
    bottom: 8px;
  }

  .stats-bar__grid,
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }
}
