/* ============================================================
   RenoHub — style.css
   Brand pink: #ff2d75  |  Hover: #e8185a
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111827;
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Variables ── */
:root {
  --pink:       #ff2d75;
  --pink-h:     #e8185a;
  --pink-pale:  #fff0f7;
  --pink-soft:  #ffc2d9;
  --text:       #111827;
  --muted:      #6b7280;
  --bg-alt:     #f9fafb;
  --border:     #e5e7eb;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,.07);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.16);
  --max-w:      1120px;
  --nav-h:      64px;
}

/* ── Layout helpers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.3px;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.lang-trigger:hover { border-color: var(--pink); background: var(--pink-pale); }
.lang-trigger .caret { font-size: .7rem; opacity: .6; transition: transform .2s; }
.lang-dropdown.open .caret { transform: rotate(180deg); }

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  overflow: hidden;
  z-index: 200;
}
.lang-dropdown.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: transparent;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background .15s;
}
.lang-menu button:hover { background: var(--pink-pale); }
.lang-menu button.active { color: var(--pink); font-weight: 600; }

/* Nav CTA */
.nav-cta {
  padding: 8px 18px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--pink-h); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: #fff;
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-lang {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-lang-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.mobile-lang-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mobile-lang-options button {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  transition: all .15s;
}
.mobile-lang-options button:hover,
.mobile-lang-options button.active {
  border-color: var(--pink);
  background: var(--pink-pale);
  color: var(--pink);
}
.mobile-nav .nav-cta {
  display: block;
  text-align: center;
  padding: 14px;
  margin-top: 8px;
  border-radius: 10px;
  font-size: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, var(--pink-pale) 0%, #fff 60%);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.hero-copy {
  flex: 1;
  min-width: 0;
}
.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(255,45,117,.22);
  margin-bottom: 20px;
}
.hero-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--pink-soft);
  color: var(--pink-h);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--text);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--pink);
}
.hero-promo {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.pill {
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid var(--pink-soft);
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--pink);
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.btn-primary {
  padding: 14px 28px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  transition: background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--pink-h); transform: translateY(-1px); }
.btn-secondary {
  padding: 14px 24px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.btn-secondary:hover { border-color: var(--pink); background: var(--pink-pale); }
.hero-note {
  font-size: .78rem;
  color: var(--muted);
}

/* Hero phone */
.hero-visual {
  flex-shrink: 0;
  width: 280px;
}
.phone-frame {
  width: 280px;
  border-radius: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.18), 0 0 0 8px #fff, 0 0 0 9px var(--border);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}
.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 20px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  list-style: none;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.trust-list li::before {
  content: "✓";
  color: var(--pink);
  font-weight: 800;
}

/* ============================================================
   FEATURES HEADER
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--pink);
}
.section-body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.65;
}
.features-header { text-align: center; margin-bottom: 72px; }
.features-header .section-body { margin: 0 auto; }

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.feat-row {
  display: flex;
  align-items: center;
  gap: 64px;
  margin-bottom: 96px;
}
.feat-row:last-child { margin-bottom: 0; }
.feat-row.alt { flex-direction: row-reverse; }

.feat-copy { flex: 1; min-width: 0; }
.feat-copy .section-eyebrow { margin-bottom: 8px; }
.feat-copy .section-title { margin-bottom: 14px; }
.feat-copy .section-body { margin-bottom: 32px; }

.feat-subfeatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.subfeat {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.subfeat h4 {
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.subfeat p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Single-column sub-features (3 items) */
.feat-subfeatures.cols-1 {
  grid-template-columns: 1fr;
}

/* Phone screenshot */
.feat-visual {
  flex-shrink: 0;
  width: 260px;
}
.screenshot-frame {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.14), 0 0 0 6px #fff, 0 0 0 7px var(--border);
  overflow: hidden;
}
.screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   PRIVACY BAR
   ============================================================ */
.privacy-bar {
  padding: 64px 0;
  background: var(--text);
  color: #fff;
  text-align: center;
}
.privacy-bar h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  color: #fff;
}
.privacy-bar p {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg-alt); }
.pricing-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.pricing-inner .section-body { margin: 0 auto 40px; }
.pricing-nosubs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}
.nosub-badge {
  padding: 5px 13px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing-card-header {
  background: var(--pink);
  padding: 28px 32px 24px;
  color: #fff;
  text-align: left;
}
.pricing-card-header .markets-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .8;
  margin-bottom: 6px;
}
.market-flags {
  display: flex;
  gap: 6px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.pricing-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-left: 8px;
  vertical-align: middle;
}
.pricing-period {
  font-size: .8rem;
  opacity: .75;
  margin-top: 4px;
}

.pricing-card-body {
  padding: 28px 32px;
}
.pricing-list {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .875rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: "✓";
  color: var(--pink);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.appstore-badge-link {
  display: flex;
  justify-content: center;
  margin-top: 4px;
  transition: opacity .2s, transform .15s;
}
.appstore-badge-link:hover { opacity: .85; transform: translateY(-1px); }
.appstore-badge-link img { height: 54px; width: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 680px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  border: none;
  background: none;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--pink); }
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  transition: background .2s, transform .25s;
  color: var(--muted);
}
.faq-item.open .faq-q .faq-icon {
  background: var(--pink);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }
.faq-a p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-alt); }
.contact-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-copy { flex: 1; }
.contact-form-wrap {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--pink); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 700;
  transition: background .2s;
  margin-top: 4px;
}
.form-submit:hover { background: var(--pink-h); }
.form-success {
  display: none;
  padding: 16px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: #166534;
  text-align: center;
  margin-top: 12px;
}
.form-success.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 24px 0;
  background: var(--text);
  color: rgba(255,255,255,.5);
  text-align: center;
  font-size: .8rem;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 40px; text-align: center; }
  .hero-promo { margin: 0 auto 24px; }
  .hero-pills { justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-visual { width: 220px; }
  .phone-frame { width: 220px; }

  .feat-row, .feat-row.alt { flex-direction: column; gap: 36px; }
  .feat-visual { width: 220px; align-self: center; }

  .contact-inner { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links, .nav-cta, .lang-dropdown { display: none; }
  .burger { display: flex; margin-left: auto; }

  .feat-subfeatures { grid-template-columns: 1fr; }

  .pricing-card-header { padding: 24px; }
  .pricing-card-body  { padding: 24px; }

  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-icon { width: 60px; height: 60px; }

  .trust-list { gap: 8px 20px; }
}
