/* ============================================================
   MR7 Hosting - styles.css
   Brand: preto + dourado
   ============================================================ */

:root {
  --black:      #0b0b0d;
  --black-2:    #121317;
  --panel:      #16171c;
  --panel-2:    #1c1e25;
  --line:       rgba(255, 255, 255, 0.08);
  --line-2:     rgba(255, 255, 255, 0.14);

  --gold:       #c89632;
  --gold-2:     #e0b457;
  --gold-soft:  rgba(200, 150, 50, 0.14);

  --text:       #eceef2;
  --muted:      #a2a6b0;
  --muted-2:    #767b87;

  --radius:     16px;
  --radius-sm:  11px;
  --maxw:       1160px;

  --shadow:     0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-gold:0 20px 60px -20px rgba(200, 150, 50, 0.45);

  --font-head:  'Space Grotesk', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 780px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

.grad {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm  { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg  { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  color: #1a1400;
  box-shadow: 0 8px 24px -10px rgba(200, 150, 50, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(11, 11, 13, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.logo-img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 18px;
}
.main-nav a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--muted-2);
}
.lang-toggle .lang-opt { transition: color .15s ease; }
.lang-toggle .lang-opt.is-active { color: var(--gold-2); }
.lang-toggle .lang-sep { color: var(--line-2); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 92px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, var(--gold-soft), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-2);
  background: var(--gold-soft);
  border: 1px solid rgba(200, 150, 50, 0.25);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.3rem, 6vw, 4rem);
  max-width: 900px;
  margin: 0 auto 22px;
}
.hero-title span { display: block; }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 34px;
}

/* Hero actions */
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero-trust span { white-space: nowrap; }

/* ============ STRIP ============ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--black-2);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 24px;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.strip-item strong {
  font-family: var(--font-head);
  color: var(--gold-2);
  font-size: 1.05rem;
}
.strip-item span { font-size: 0.85rem; color: var(--muted); }

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--black-2); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 150, 50, 0.35);
  box-shadow: var(--shadow);
}
.feature-ic {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: 13px;
  background: var(--gold-soft);
  border: 1px solid rgba(200, 150, 50, 0.22);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.96rem; }

/* ============ PRICING ============ */
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 42px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.billing-toggle button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  background: none;
  border: none;
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.billing-toggle button.is-active {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  color: #1a1400;
}
.billing-toggle .save {
  font-size: 0.72rem;
  color: var(--gold);
  margin-left: 3px;
}
.billing-toggle button.is-active .save { color: #1a1400; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card.is-featured {
  border-color: rgba(200, 150, 50, 0.5);
  background: linear-gradient(180deg, rgba(200,150,50,0.07), var(--panel) 40%);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}
.badge-pop {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1400;
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  padding: 5px 15px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 1.5rem; margin-bottom: 4px; }
.price-for { color: var(--muted); font-size: 0.92rem; margin-bottom: 22px; min-height: 42px; }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 22px;
}
.price-amount .cur { font-family: var(--font-head); font-size: 1.4rem; color: var(--muted); }
.price-amount .val { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--text); }
.price-amount .per { color: var(--muted); font-size: 0.95rem; }
.price-cycle-note {
  font-size: 0.82rem;
  color: var(--gold-2);
  margin: -8px 0 20px;
  min-height: 1em;
}

.price-feats {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-feats li {
  font-size: 0.94rem;
  color: var(--muted);
  padding-left: 28px;
  position: relative;
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-2);
  font-weight: 700;
}
.price-feats li strong { color: var(--text); }
.price-note { text-align: center; color: var(--muted-2); font-size: 0.86rem; margin-top: 32px; }

/* ============ GREEN HOSTING ============ */
.green-band {
  display: flex;
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(circle at 12% 50%, rgba(120, 200, 90, 0.10), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 48px;
}
.green-ic {
  flex-shrink: 0;
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  border-radius: 22px;
  background: rgba(120, 200, 90, 0.12);
  border: 1px solid rgba(120, 200, 90, 0.28);
}
.green-badge {
  flex-shrink: 0;
  width: 260px;
  max-width: 100%;
  height: auto;
}
.green-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.green-copy p { color: var(--muted); max-width: 640px; }

/* ============ CHIPS ROW ============ */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.chip {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
}
.section-alt .chip { background: var(--panel-2); }

/* ============ COMPARE TABLE ============ */
.compare {
  margin-top: 56px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.compare-head { text-align: center; margin-bottom: 24px; }
.compare-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.compare-head p { color: var(--muted); font-size: 0.98rem; }
.compare-scroll { overflow-x: auto; }
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare-table thead th {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}
.compare-table th.ours,
.compare-table td.ours {
  text-align: center;
  background: var(--gold-soft);
}
.compare-table thead th.ours { color: var(--gold-2); border-radius: 10px 10px 0 0; }
.compare-table td:not(.ours):nth-child(3) { text-align: center; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.ours { font-size: 1.05rem; }
.compare-table td.no { opacity: 0.5; }

/* ============ CTA BAND ============ */
.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(ellipse at center, var(--gold-soft), transparent 70%),
    var(--black);
}
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-inner p { color: var(--muted); font-size: 1.1rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(200,150,50,0.3); }
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--gold-2);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 0 20px; font-size: 0.98rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--black-2);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}
.footer-logo { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.94rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 11px;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.is-featured { transform: none; }
  .green-band { flex-direction: column; text-align: center; padding: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--black-2);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    margin: 0;
    transform: translateY(-120%);
    transition: transform .28s ease;
    z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 24px; width: 100%; }
  .nav-burger { display: flex; }
  .header-actions .btn { display: none; }
  .strip-inner { justify-content: flex-start; gap: 20px 32px; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
