/* ============================================================
   AccountDock — Digital Subscriptions Store
   Clean & modern stylesheet
   ============================================================ */

:root {
  /* Ink & paper base */
  --ink: #191510;
  --ink-2: #2a241c;
  --body: #5b5348;
  --muted: #8a7f70;

  /* Brand accents */
  --brand: #d9481c;        /* vermilion */
  --brand-deep: #b23a15;
  --brand-soft: #fbeee7;
  --brand-ink: #8f2f10;
  --green: #1e7a44;        /* trust/confirmation green */
  --green-soft: #e9f4ec;

  /* Surfaces */
  --paper: #faf7f2;        /* warm paper */
  --bg: #fffcf8;
  --line: #e7dfd3;
  --line-strong: #d7ccbc;

  /* Logo mark (SVGs in HTML reference these) */
  --logo-base: #191510;
  --logo-card: #d9481c;
  --logo-chip: #fffcf8;
  --logo-rail: #d9481c;

  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(25, 21, 16, 0.06);
  --shadow-md: 0 10px 28px rgba(25, 21, 16, 0.09);
  --shadow-lg: 0 24px 60px rgba(25, 21, 16, 0.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

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

.container { width: min(1160px, 92%); margin: 0 auto; }
.container-narrow { width: min(760px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-large { padding: 16px 32px; font-size: 16px; }

.btn-primary { background: var(--ink); color: #fffcf8; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-whatsapp { background: var(--brand); color: #fff; }
.btn-whatsapp:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 72, 28, 0.3); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cfc5b6;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  flex-wrap: wrap;
}
.topbar strong { color: #fff; }
.topbar-contact a { color: #f5b79e; font-weight: 600; }
.topbar-contact a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); }
.logo-accent { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--body); transition: color 0.2s; }
.nav a:hover { color: var(--brand); }
.nav .btn { color: #fffcf8; }
.nav .btn:hover { color: #fffcf8; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(to bottom, rgba(217, 72, 28, 0.045), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(217, 72, 28, 0.18);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}
.gradient-text { color: var(--brand); }
.hero p {
  color: var(--body);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat strong { display: block; font-size: 24px; font-weight: 800; }
.stat span { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Hero visual */
.hero-visual {
  position: relative;
  height: 380px;
}
.hero-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(217, 72, 28, 0.1), transparent 70%);
  filter: blur(30px);
}
.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-card div { line-height: 1.35; }
.hero-card strong { display: block; font-size: 15px; }
.hero-card span { color: var(--muted); font-size: 12.5px; }
.hero-card-1 { top: 8%; left: 6%; animation-delay: 0s; border-left: 3px solid var(--brand); }
.hero-card-2 { top: 34%; right: 0%; animation-delay: 1.2s; border-left: 3px solid var(--green); }
.hero-card-3 { bottom: 26%; left: 12%; animation-delay: 2.4s; border-left: 3px solid var(--brand); }
.hero-card-4 { bottom: 2%; right: 8%; animation-delay: 3.6s; border-left: 3px solid var(--green); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-tag {
  display: inline-block;
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 14px;
  background: var(--brand-soft);
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.section-head p { color: var(--body); font-size: 16px; }
.phone-link { color: var(--brand); font-weight: 700; }
.phone-link:hover { text-decoration: underline; }

/* ---------- Search & Filters ---------- */
.search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 18px;
}
.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}
.search-wrap input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(25, 21, 16, 0.08); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--body);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fffcf8;
}

/* ---------- Product Grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
}
.card-icon.emoji { background: var(--paper); }
.card-title { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.card-cat { font-size: 12px; color: var(--muted); font-weight: 600; }
.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
}
.card-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .btn { width: 100%; }
.card-price-hint {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 40px 0; color: var(--body); }

/* ---------- Grid CTA ---------- */
.grid-cta {
  margin-top: 40px;
  text-align: center;
  background: var(--brand-soft);
  border: 1.5px dashed rgba(217, 72, 28, 0.35);
  border-radius: var(--radius);
  padding: 30px;
}
.grid-cta p { font-weight: 600; margin-bottom: 16px; }

/* ---------- Exchange ---------- */
.exchange-box {
  background: var(--ink);
  border-radius: 20px;
  padding: 54px;
  color: #f5f1ea;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.exchange-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #e88b3c);
}
.exchange-content { position: relative; }
.exchange-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 14px; color: #fff; }
.exchange-box p { color: #cfc5b6; max-width: 480px; margin-bottom: 26px; }
.exchange-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.exchange-coins {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}
.coin {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: 0.2s;
}
.coin:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: 0.25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--brand-soft);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--body); }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: 0.2s;
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand);
  transition: 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 22px 18px;
  color: var(--body);
  font-size: 15px;
}
.faq-item a { color: var(--brand); font-weight: 600; }

/* ---------- Contact box ---------- */
.contact-box {
  background: var(--ink);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #e88b3c);
}
.contact-box h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 10px; }
.contact-box p { color: #cfc5b6; margin-bottom: 30px; font-size: 17px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.contact-actions .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.contact-actions .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfc5b6; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-inner h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; text-align: center; font-size: 13.5px; }

.footer .logo-mark { width: 30px; height: 30px; }
.footer .logo-text { color: #fff; font-size: 19px; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(217, 72, 28, 0.4);
  z-index: 200;
  transition: 0.25s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card, .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 300px; max-width: 480px; margin: 0 auto; width: 100%; }
  .exchange-box { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 30px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    gap: 22px;
    box-shadow: var(--shadow-lg);
    border-left: 1px solid var(--line);
    transition: right 0.3s ease;
    z-index: 99;
    margin-top: 0;
  }
  .nav.open { right: 0; }
  .hamburger { display: block; position: relative; z-index: 101; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 520px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .hero-card { padding: 11px 14px; font-size: 13px; }
  .contact-box { padding: 44px 20px; }
  .exchange-box { padding: 34px 20px; }
  .grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}
