:root {
  --header-height: 88px;
  --bg: radial-gradient(1200px 800px at 20% -10%, #0f172a 0%, rgba(15,23,42,0) 60%),
        radial-gradient(900px 700px at 110% 10%, #1e293b 0%, rgba(30,41,59,0) 60%),
        #0b0d10;
  --card: rgba(18, 21, 26, 0.7);
  --text: #e6e9ef;
  --muted: #9aa4b2;
  --brand: #1E58B0;
  --accent: #8A93A3;
  --danger: #ff5b79;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,0.45);
  --glass-border: 1px solid rgba(255,255,255,0.12);
  --glass-blur: saturate(160%) blur(14px);
}

/* Light theme overrides */
html.light {
  --header-height: 88px;
  --bg: radial-gradient(1200px 800px at 10% -10%, #ffffff 0%, rgba(255,255,255,0) 60%),
        radial-gradient(900px 700px at 110% 10%, #e6eeff 0%, rgba(230,238,255,0) 60%),
        #f7f8fb;
  --card: rgba(255,255,255,0.75);
  --text: #0b0d10;
  --muted: #475569;
  --brand: #1E58B0;
  --accent: #64748B;
  --danger: #e11d48;
  --glass-border: 1px solid rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg); /* gradient bg */
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-color: #0b0d10;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.no-scroll { overflow: hidden; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--brand);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 18, 24, 0.45);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
}
.site-header { position: fixed; left: 0; right: 0; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: var(--header-height);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-mark svg .cls-1 { fill: var(--brand); }
.brand-name { letter-spacing: 0.3px; font-size: 2.4rem; }
.brand-name { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-weight: 700; }
.brand-name .crypto { color: var(--brand); }
.brand-name .chat { color: #fff; }

.site-nav {
  position: relative;
}
.nav-close { display:none; }
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
}
.nav-toggle i { font-size: 24px; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.nav-menu .btn.primary { padding: 10px 14px; font-size: 1rem; }
.nav-menu a {
  color: var(--text);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 1.15rem;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] {
  background: rgba(30,88,176,0.20);
}

@media (min-width: 861px) {
  .nav-menu a[aria-current="page"] { color: #ffffff; }
}

@media (min-width: 861px) {
  .nav-menu { position: relative; }
  .nav-menu > li { display: flex; align-items: center; }
  .nav-menu > li > a { position: relative; top: 1px; display: inline-flex; align-items: center; }
}

main {
  padding: 32px 0 64px;
}

/* Offset anchor navigation for fixed header (extra breathing room) */
main > section { scroll-margin-top: calc(var(--header-height) + 12px); }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-top: 12px;
}
.hero-right { display:flex; flex-direction: column; gap: 16px; align-items: center; }
.hero-static img { width: min(360px, 90%); height: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 50px rgba(0,0,0,0.45); display: block; }
.hero-image { display: flex; justify-content: center; }
.hero-image img { width: min(520px, 100%); height: auto; display: block; }
.hero .title {
  font-size: clamp(28px, 4.5vw, 44px);
  margin: 0 0 10px 0;
}
.title-break { display: block; }
.hero .subtitle {
  color: var(--muted);
  line-height: 1.6;
}
.kicker { color: var(--brand); font-weight: 700; letter-spacing: 0.4px; }
.trust-row { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.trust-item { display:flex; align-items:center; gap:8px; color: var(--muted); font-size: 14px; }
.trust-item i { color: var(--brand); }
.gradient-text {
  background: linear-gradient(90deg, var(--brand), #143d7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-row {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--text); }
.feature-list .icon-circle { width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background: linear-gradient(135deg, rgba(30,88,176,0.20), rgba(138,147,163,0.18)); }
.feature-list .icon-circle i { color: var(--brand); font-size: 16px; }
.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.btn.primary { background: var(--brand); color: white; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--brand); color: var(--brand); text-decoration: none; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn:active { transform: translateY(0); filter: none; box-shadow: none; }

.card-grid {
  margin-top: 36px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
  background: var(--card);
  border: var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.card .icon-circle { width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background: linear-gradient(135deg, rgba(30,88,176,0.20), rgba(138,147,163,0.18)); margin-bottom: 8px; }
.card .icon-circle i { color: var(--brand); font-size: 20px; }
.price { text-align: center; }
.price .price-tag { font-size: 22px; margin: 8px 0 14px; }
.price.featured { outline: 2px solid rgba(30,88,176,0.35); }
.list-checks { list-style:none; padding:0; margin: 8px 0 10px; text-align:left; }
.list-checks li { display:flex; gap:8px; align-items:center; color: var(--muted); }
.list-checks i { color: var(--brand); }
.card h3 { margin-top: 0; }
.card p a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid rgba(30,88,176,0.35);
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card p a:hover,
.card p a:focus-visible {
  border-bottom-color: rgba(30,88,176,0.7);
  box-shadow: 0 1px 0 rgba(30,88,176,0.25);
  outline: none;
}
.kicker { color: var(--accent); font-weight: 700; letter-spacing: 0.4px; }

.section {
  margin-top: 48px;
}
.section-title { margin: 0 0 10px 0; font-size: 24px; }

/* FAQ styling enhancements */
#faq .card-grid { align-items: stretch; }
#faq .card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow), 0 10px 30px rgba(30,88,176,0.15);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  padding-left: 22px;
}
#faq .card::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), #143d7a);
  opacity: 0.85;
  transition: width .25s ease, opacity .25s ease;
}
#faq .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow), 0 18px 40px rgba(30,88,176,0.22);
}
#faq .card:hover::before {
  width: 6px;
  opacity: 1;
}
#faq .card h3 { margin: 0 0 8px 0; font-size: 18px; letter-spacing: 0.2px; }
#faq .card p { color: var(--muted); }

/* Features showcase 3-column layout */
.features-showcase { display: grid; grid-template-columns: 1fr minmax(320px, 360px) 1fr; gap: 20px; align-items: center; margin-top: 24px; }
.features-stack { display: grid; gap: 16px; align-self: center; }
.feature-card { min-height: 120px; }
.features-center { display: flex; flex-direction: column; align-items: center; gap: 0; }

@media (max-width: 860px) {
  .features-showcase { grid-template-columns: 1fr; }
  .features-center { order: -1; }
  .features-stack { align-self: stretch; }
}

.site-footer {
  border-top: var(--glass-border);
  padding: 28px 0 32px;
  background: rgba(15,18,24,0.35);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,88,176,0.35), transparent);
}
.footer-inner { display: flex; flex-direction: column; gap: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; grid-auto-rows: auto; column-gap: 10px; row-gap: 6px; }
.footer-brand .brand-mark { width: 64px; height: 64px; color: var(--brand); grid-column: 1; grid-row: 1; }
.footer-brand-text { font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial; font-weight: 700; font-size: 3rem; }
.footer-brand-text .crypto { color: var(--brand); }
.footer-brand-text .chat { color: #fff; }
.footer-tagline { color: var(--muted); margin: 0; grid-column: 1 / -1; }
.footer-links h4, .footer-contact h4 { margin: 0 0 6px 0; font-size: 0.95rem; color: var(--muted); letter-spacing: .2px; }
.footer-links ul, .footer-contact ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { color: var(--text); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--brand); }
.footer-contact ul li { display:flex; gap: 8px; align-items:center; color: var(--muted); }
.footer-contact ul li i { color: var(--brand); }
.footer-contact ul li .signal-icon { color: var(--brand); fill: currentColor; width: 18px; height: 18px; flex-shrink: 0; }
.footer-contact ul li a { color: var(--text); text-decoration: none; }
.footer-contact ul li a:hover { color: var(--brand); }
.footer-contact ul li span { color: var(--text); }
.social-row { display:flex; gap: 10px; margin-top: 10px; }
.social-row a { color: var(--text); font-size: 1.1rem; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: var(--glass-border); border-radius: 10px; transition: color .2s ease, background .2s ease, transform .12s ease; }
.social-row a:hover { color: #fff; background: var(--brand); transform: translateY(-1px); }
/* Buy modal contact list */
.contact-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: var(--glass-border); border-radius: 12px; padding: 10px 12px; }
.contact-list li i { color: var(--brand); font-size: 18px; }
.contact-list li .signal-icon { color: var(--brand); fill: currentColor; width: 18px; height: 18px; flex-shrink: 0; }
.contact-list li a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-list li a:hover { color: var(--brand); }
.contact-list li span { color: var(--text); font-weight: 600; }
/* Contact locations */
.contact-locations { display: grid; gap: 20px; margin-top: 8px; }
.contact-location { display: grid; gap: 12px; }
.location-name { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: 0.2px; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; padding-top: 12px; position: relative; }
.footer-bottom::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
.footer-contact { justify-self: end; }
.footer-bottom p { margin: 0; color: var(--muted); }
.bottom-links { display:flex; gap: 12px; }
.bottom-links a { color: var(--text); text-decoration: none; transition: color .2s ease; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: var(--glass-border); }
.bottom-links a:hover { color: var(--brand); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
  .footer-contact { justify-self: start; }
}

/* Animations */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

html { scroll-behavior: smooth; }

/* Pricing layout adjustment at larger widths */
@media (min-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Modal (shared) */
.modal { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 4000; pointer-events: none; visibility: hidden; }
.modal[aria-hidden="false"] { pointer-events: auto; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity .25s ease; }
.modal[aria-hidden="false"] .modal-backdrop { opacity: 1; }
.modal-window { position: relative; width: min(640px, 92%); background: var(--card); border: var(--glass-border); border-radius: 16px; box-shadow: var(--shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); padding: 24px; transform: translateY(12px) scale(0.98); opacity: 0; transition: transform .28s ease, opacity .28s ease; }
.modal[aria-hidden="false"] .modal-window { transform: translateY(0) scale(1); opacity: 1; }
.modal-close { position: absolute; top: 12px; right: 12px; border: var(--glass-border); background: transparent; color: var(--text); border-radius: 10px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.modal-body { display: grid; gap: 16px; padding-top: 8px; }
.modal-title { margin: 0 0 4px 0; font-size: 1.25rem; }
.modal-note { margin: 0; color: var(--muted); }
.form-row { display: grid; gap: 8px; }
.form-row.two-col { grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row.two-col > div { display: grid; gap: 8px; }
.form-row.two-col label { font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.form-row > label { font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea { width: 100%; background: rgba(255,255,255,0.06); color: var(--text); border: var(--glass-border); border-radius: 12px; padding: 12px 14px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: rgba(30,88,176,0.55); box-shadow: 0 0 0 3px rgba(30,88,176,0.18); }
.form-row textarea { resize: vertical; min-height: 110px; }
.checkbox-row .checkbox { display: flex; gap: 10px; align-items: center; }
.checkbox-row input[type="checkbox"] { accent-color: var(--brand); }
.checkbox-row input { width: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 12px; }
@media (max-width: 600px) {
  .form-row.two-col { grid-template-columns: 1fr; }
}

/* Custom select (enhanced dropdown) */
.custom-select { position: relative; }
.form-row .custom-select { width: 100%; }
.custom-select select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.custom-select-toggle {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: var(--glass-border);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
}
.custom-select-toggle:focus { outline: none; box-shadow: 0 0 0 3px rgba(30,88,176,0.18); border-color: rgba(30,88,176,0.55); }
.custom-select-toggle i { color: var(--muted); }
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  background: var(--card);
  border: var(--glass-border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  z-index: 5000;
  display: none;
}
.custom-select.open .custom-select-menu { display: block; }
.custom-select.open { z-index: 6000; }
.custom-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
}
.custom-select-option:hover { background: rgba(255,255,255,0.06); }
.custom-select-option[aria-selected="true"] { background: rgba(30,88,176,0.18); }

/* Responsive */
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero-right { order: 1; }
  .nav-toggle { display: inline-block; }
  .brand-name { display: inline-block; }
  .hero-image { display: none; }
  .device-controls { flex-direction: column; align-items: stretch; gap: 6px; }
  .device-controls select { width: 100%; }
  .nav-menu a[aria-current="page"] { background: transparent; }
  .nav-menu {
    position: fixed;
    inset: 0;
    display: flex;
    background: #0b0d10;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    height: 100vh;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .25s ease;
    z-index: 2000;
    padding: calc(var(--header-height) + 12px) 16px 24px;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2100;
    background: #0b0d10;
    border: var(--glass-border);
    color: var(--text);
    border-radius: 10px;
    padding: 10px 12px;
  }
  .nav-close i { font-size: 22px; }
  /* Show close button only when menu is open */
  .nav-menu.open + .nav-close { display: block; }
  .nav-menu a { font-size: 1.6rem; padding: 14px 22px; text-align: center; display: inline-block; }
  .nav-menu .btn.primary { font-size: 1.4rem; }
}

@media (max-width: 860px) {
  #renewals .devices-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  #devices .devices-grid { grid-template-columns: 1fr; }
}

/* Device mockup */
.device {
  display: flex;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}
.device-frame {
  width: min(440px, 100%);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px;
  padding: 0; /* remove bezel space */
  background: transparent; /* no outer frame */
  border: none;
  box-shadow: none;
  position: relative;
  pointer-events: none;
}
.device-frame::before { content: none; }
.device-camera { display: none; }
.device-lens {
  position: absolute;
  top: 12px;
  left: calc(50% + 18px);
  width: 8px;
  height: 8px;
  background: radial-gradient(circle at 30% 30%, #1b1f2a, #000);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}
.device-btn, .device-btn.power, .device-btn.vol-up, .device-btn.vol-down { display: none; }
.device-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
  position: relative;
}
.device-screen::before {
  content: none;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show original image fully, no crop */
  object-position: center center;
  display: block;
  opacity: 0;
  transform: scale(1);
  filter: blur(0);
  transition: opacity .35s ease, transform .45s ease, filter .45s ease;
  pointer-events: none;
}
.device-screen.switching img { opacity: 0; transform: scale(0.985); filter: blur(1.2px); }
.placeholder-ui {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: grid;
  gap: 10px;
  transition: opacity .35s ease;
  z-index: 1;
}
.bar { background: rgba(255,255,255,0.06); border-radius: 10px; }
.bar-lg { height: 18px; }
.bar-sm { height: 12px; width: 70%; }
.bubble-row { display: flex; gap: 8px; }
.bubble { flex: 1; height: 46px; background: rgba(255,255,255,0.06); border-radius: 12px; }
.bubble.left { background: linear-gradient(90deg, rgba(30,88,176,0.25), rgba(30,88,176,0.12)); }
.bubble.right { background: linear-gradient(90deg, rgba(138,147,163,0.25), rgba(138,147,163,0.12)); }
.bubble.short { height: 34px; }
.bubble.tall { height: 62px; }

/* Feature control buttons */
.feature-controls { display:flex; flex-wrap: wrap; gap: 8px; justify-content:center; }
.top-controls { margin-bottom: -12px; }
.bottom-controls { margin-top: -40px; }
.top-controls, .feature-controls { gap: 10px; }
.top-controls .feature-btn, .feature-controls .feature-btn { margin: 0; }
.top-controls { margin-top: 4px; }
.feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: var(--glass-border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, transform .12s ease;
}
.feature-btn i { color: var(--brand); font-size: 18px; }
.feature-btn span { font-weight: 600; font-size: 14px; }
.feature-btn:hover { transform: translateY(-1px); }
.feature-btn.active { background: var(--brand); color: #fff; border-color: transparent; }
.feature-btn.active i { color: #fff; }
/* Panic variant (active state only) */
.feature-btn.active[data-screen*="Panic"] { background: #7a1616; color: #fff; border-color: transparent; }
.feature-btn.active[data-screen*="Panic"] i { color: #fff; }
/* Panic variant (inactive icon color) */
.feature-btn[data-screen*="Panic"] i { color: #7a1616; }

/* Devices grid */
.devices-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
@media (min-width: 1024px) {
  .devices-grid { grid-template-columns: repeat(3, 1fr); }
}
.device-card { text-align: center; position: relative; }
.device-card { overflow: visible; }
.device-card img { width: 100%; height: 200px; object-fit: contain; display: block; margin: 0 auto 10px; filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35)); background: rgba(255,255,255,0.02); border-radius: 12px; }
.device-card.raised { z-index: 7000; }
.preview-placeholder { display: none; align-items: center; justify-content: center; height: 200px; margin: 0 0 10px; background: rgba(255,255,255,0.02); border-radius: 12px; color: var(--muted); font-weight: 600; }
.device-card img[alt=""], .device-card img[src=""], .device-card img:not([src]) { display: none; }
.device-card img[alt=""] + .preview-placeholder,
.device-card img[src=""] + .preview-placeholder,
.device-card img:not([src]) + .preview-placeholder { display: flex; }
.device-controls { display:flex; gap: 10px; align-items:center; margin: 10px 0 14px; padding-bottom: 12px; position: relative; }
.device-controls::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
.device-controls label { color: var(--muted); font-weight: 600; }
.device-controls select { background: var(--card); color: var(--text); border: var(--glass-border); border-radius: 8px; padding: 8px 10px; max-width: 100%; }
.buy-btn { width: 100%; margin-top: 8px; }

/* Renewals: larger media and matched divider spacing */
#renewals .device-card img { height: 260px; margin-bottom: 0; }
#renewals .preview-placeholder { height: 260px; margin-bottom: 0; }
.renewal-separator { position: relative; padding-bottom: 12px; margin: 10px 0 14px; }
.renewal-separator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }

@media (min-width: 861px) {
  .device-controls select { margin-left: auto; width: auto; min-width: 150px; }
  .device-controls { justify-content: space-between; }
  .device-controls .custom-select { margin-left: auto; width: auto; min-width: 180px; }
}

/* Regions page */
.region-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.region-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.region-card i { color: var(--brand); font-size: 22px; }
.region-card h3 { margin: 0; }
.region-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(30,88,176,0.35); }
.region-card.active { outline: 2px solid rgba(30,88,176,0.35); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); }
.region-detail { margin-top: 12px; }

