/* =========================================================
   NANOSHADE — Facebook Landing Page Styles
   Mobile-first, premium dark theme with gold/cyan accents
   ========================================================= */

:root {
  /* === NANOSHADE BRAND COLOURS === */
  --purple-deep:   #4721aa;   /* primary brand dark purple */
  --purple-mid:    #9c4dfe;   /* primary brand middle purple */
  --purple-light:  #ebdbff;   /* highlight / accent text */
  --purple-darker: #2b1075;   /* hover / depth */

  /* Backgrounds — purple-tinted dark for premium feel */
  --bg-deep: #0e0822;
  --bg-panel: #1a0f3d;
  --bg-card: #241858;

  /* Legacy variable names kept (point to brand colours so all existing rules pick up the new palette) */
  --gold: var(--purple-mid);
  --gold-bright: var(--purple-light);
  --cyan: var(--purple-deep);
  --cyan-deep: var(--purple-darker);

  --text: #f4f0ff;
  --text-dim: #b8a8d9;
  --success: #2ecc71;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --danger: #ff4d6d;
  --radius: 14px;
  --shadow-lg: 0 18px 50px rgba(71, 33, 170, 0.40);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --max-w: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

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

/* ---------- Top Offer Strip ---------- */
.top-strip {
  background: linear-gradient(90deg, var(--purple-deep) 0%, var(--purple-mid) 50%, var(--purple-deep) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.top-strip span { white-space: normal; }
.top-strip .pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #c4001a;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(14, 8, 34, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(156, 77, 254, 0.25);
}
.site-header .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.brand .logo-full {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

/* Footer logo larger and centered */
footer .brand {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
}
footer .brand .logo-full {
  height: 56px;
  width: auto;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #2bee75 0%, #1ec45c 100%);
  color: #07391a;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  border: 1.5px solid rgba(255,255,255,0.40);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transition: transform .15s ease, box-shadow .15s ease;
}
.header-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(37, 211, 102, 0.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 50px 20px 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(156, 77, 254, 0.30), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(71, 33, 170, 0.45), transparent 65%),
    linear-gradient(180deg, #0e0822 0%, #1a0f3d 100%);
}
.hero .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(156, 77, 254, 0.18);
  color: var(--purple-light);
  border: 1px solid rgba(156, 77, 254, 0.45);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 18px 0 14px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lede {
  color: var(--text-dim);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 560px;
  margin-bottom: 22px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 22px 0 28px;
}
.hero-stat {
  background: rgba(235, 219, 255, 0.06);
  border: 1px solid rgba(156, 77, 254, 0.30);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}
.hero-stat .n { font-size: 22px; font-weight: 800; color: var(--gold-bright); }
.hero-stat .l { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn-whatsapp {
  background: linear-gradient(180deg, #2bee75 0%, #1ec45c 100%);
  color: #07391a;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255,255,255,0.35);
  border: 1.5px solid rgba(255,255,255,0.40);
  animation: btnPulse 2.4s ease-in-out infinite;
}
.btn-whatsapp:hover {
  background: linear-gradient(180deg, #3cf583 0%, #25d96a 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.65), inset 0 1px 0 rgba(255,255,255,0.45);
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), inset 0 1px 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 14px 38px rgba(37, 211, 102, 0.85), inset 0 1px 0 rgba(255,255,255,0.45); }
}
.btn-mega { font-size: 18px; padding: 20px 42px; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-gold {
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-light) 100%);
  color: var(--purple-darker);
  box-shadow: 0 10px 30px rgba(156, 77, 254, 0.45);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(156, 77, 254, 0.60); }

/* Hero offer card (right side) */
.offer-card {
  background: linear-gradient(160deg, rgba(71, 33, 170, 0.55) 0%, rgba(156, 77, 254, 0.20) 100%);
  border: 1px solid rgba(235, 219, 255, 0.30);
  border-radius: 20px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(235, 219, 255, 0.35), transparent 70%);
  pointer-events: none;
}
.offer-card .ribbon {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.offer-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.2;
}
.offer-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.offer-card ul { list-style: none; margin-bottom: 18px; }
.offer-card li {
  padding: 8px 0;
  font-size: 14px;
  color: #e8edf6;
  display: flex; align-items: flex-start; gap: 10px;
}
.offer-card li::before {
  content: "✓";
  color: var(--gold-bright);
  font-weight: 800;
  flex-shrink: 0;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px 0 18px;
}
.countdown div {
  background: rgba(0,0,0,0.35);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
}
.countdown .v { font-size: 20px; font-weight: 800; color: var(--gold-bright); }
.countdown .u { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- Section base ---------- */
.section {
  padding: 70px 20px;
}
.section .wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 14px;
}
.section .sub {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 660px;
  margin-bottom: 40px;
}

/* ---------- Product cards ---------- */
.products .product {
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-panel) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 26px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--accent-glow, rgba(245,185,69,0.15)), transparent 60%);
  pointer-events: none;
}
.product[data-accent="cyan"] { --accent-glow: rgba(56, 214, 255, 0.15); }
.product[data-accent="gold"] { --accent-glow: rgba(245, 185, 69, 0.18); }
.product[data-accent="violet"] { --accent-glow: rgba(180, 120, 255, 0.18); }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.product-grid > * { min-width: 0; }
.product-grid > div:last-child {
  display: flex;
  flex-direction: column;
}
.product-grid .feat-list { flex: 1; }
.product-grid .btn { align-self: flex-start; }
.product-visual {
  background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(255,255,255,0.05));
  border-radius: 14px;
  aspect-ratio: 16 / 11;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(156,77,254,0.20);
}
.product-visual svg { width: 90%; height: 90%; }
.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.product[data-accent="cyan"] .product-tag { background: rgba(156,77,254,0.20); color: var(--purple-light); border: 1px solid rgba(235,219,255,0.45); }
.product[data-accent="gold"] .product-tag { background: rgba(245,185,69,0.15); color: var(--gold-bright); border: 1px solid rgba(245,185,69,0.35); }
.product[data-accent="violet"] .product-tag { background: rgba(180,120,255,0.15); color: #c79dff; border: 1px solid rgba(180,120,255,0.35); }

.product h3 {
  font-size: clamp(26px, 3.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.1;
  color: #ffffff;
}
.product .tagline {
  color: #e8e0ff;
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(235,219,255,0.15);
  border-bottom: 1px solid rgba(235,219,255,0.15);
}
.spec { text-align: center; }
.spec .v {
  font-size: 22px;
  font-weight: 800;
  color: var(--purple-light);
  line-height: 1.1;
}
.spec .l {
  font-size: 10.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
}

.feat-list { list-style: none; margin: 0 0 24px; }
.feat-list li {
  font-size: 14.5px;
  color: #f0eafc;
  line-height: 1.55;
  padding: 8px 0;
  display: flex; align-items: flex-start; gap: 12px;
}
.feat-list li strong { color: #ffffff; }
.feat-list li::before {
  content: "✓";
  font-weight: 800;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.3;
}
.product[data-accent="cyan"] .feat-list li::before { color: var(--purple-light); }
.product[data-accent="gold"] .feat-list li::before { color: var(--gold-bright); }
.product[data-accent="violet"] .feat-list li::before { color: #c79dff; }

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.use-cases span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- Comparison table ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}
.compare-table th, .compare-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-table th {
  background: rgba(0,0,0,0.3);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.compare-table td:first-child, .compare-table th:first-child { text-align: left; padding-left: 18px; color: var(--text-dim); }
.compare-table td:first-child { font-weight: 600; color: var(--text); }
.compare-table tr:last-child td { border-bottom: none; }

/* ---------- Why us / process ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.step {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 22px;
  position: relative;
}
.step .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.step h4 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text-dim); }

/* ---------- Testimonials ---------- */
.testimonials {
  background: linear-gradient(180deg, #1a0f3d 0%, #0e0822 100%);
}
.t-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.t-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
}
.stars { color: var(--gold-bright); font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.t-card blockquote { font-size: 15px; line-height: 1.6; color: #e8edf6; margin-bottom: 14px; }
.t-name { font-size: 13px; color: var(--text-dim); }
.t-name strong { color: var(--text); display: block; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .chev {
  color: var(--gold);
  font-size: 18px;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(ellipse at center, rgba(156, 77, 254, 0.35), transparent 60%),
    linear-gradient(180deg, #1a0f3d 0%, #0e0822 100%);
  text-align: center;
  padding: 80px 20px;
}
.final-cta h2 { margin-bottom: 16px; }
.final-cta p.sub { margin: 0 auto 30px; }
.final-cta .btn-whatsapp { font-size: 17px; padding: 18px 36px; }
.guarantee-line {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
footer {
  background: #08041a;
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  border-top: 1px solid rgba(156, 77, 254, 0.20);
}
footer .brand { font-size: 18px; margin-bottom: 6px; display: block; color: var(--text); }
footer a { color: var(--gold-bright); }

/* ---------- Installation Gallery ---------- */
.gallery {
  background: linear-gradient(180deg, #1a0f3d 0%, #0e0822 100%);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-darker) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(156, 77, 254, 0.20);
  display: block;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item .placeholder {
  padding: 14px;
  color: var(--purple-light);
  font-size: 12px;
  opacity: 0.65;
  line-height: 1.4;
}
.gallery-item .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 8, 34, 0.92) 70%);
  color: var(--purple-light);
  padding: 18px 10px 10px;
  font-size: 11.5px;
  font-weight: 600;
  text-align: left;
}

/* ---------- Sticky Mobile WhatsApp ---------- */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  background: var(--whatsapp);
  color: #fff;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  font-size: 28px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.sticky-cta::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: ring 2s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ===========================================================
   DESKTOP / TABLET RESPONSIVE
   =========================================================== */
@media (min-width: 720px) {
  .hero { padding: 70px 40px 90px; }
  .hero .wrap { grid-template-columns: 1.2fr 1fr; gap: 50px; }
  .product-grid { grid-template-columns: 1fr 1.05fr; align-items: stretch; gap: 36px; }
  .product-grid .product-visual { aspect-ratio: auto; height: 100%; min-height: 100%; }
  .products .product { padding: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-grid.gallery-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 980px) {
  .section { padding: 90px 40px; }
  .process { grid-template-columns: repeat(4, 1fr); }
  .t-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { width: 64px; height: 64px; font-size: 32px; }
}
