/* ===========================================================
   Romi — Philomuse Limited
   Shared styles
   =========================================================== */

:root {
  --lime: #c8f73c;
  --lime-deep: #b6e824;
  --lime-soft: #eafbb8;
  --ink: #111311;
  --ink-soft: #3a3d38;
  --muted: #6b6f66;
  --white: #ffffff;
  --card: #ffffff;
  --line: #e7e9e2;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 50px rgba(20, 30, 5, 0.12);
  --shadow-sm: 0 8px 24px rgba(20, 30, 5, 0.08);
  --font: "Helvetica Neue", "Segoe UI", system-ui, -apple-system, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Display type ---------- */
.display {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ===========================================================
   Header / nav
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(200, 247, 60, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 2px solid rgba(17, 19, 17, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  transform: rotate(-6deg);
  transition: transform 0.2s ease;
}

.brand:hover .logo-mark {
  transform: rotate(0deg) scale(1.05);
}

.logo-mark svg {
  display: block;
  filter: drop-shadow(0 2px 4px rgba(20, 30, 5, 0.18));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 15px;
}

.nav-links a {
  opacity: 0.82;
  transition: opacity 0.15s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--ink);
  color: var(--lime) !important;
  padding: 10px 20px;
  border-radius: 100px;
  opacity: 1 !important;
  font-style: italic;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 100px;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.btn-dark {
  background: var(--ink);
  color: var(--lime);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  background: var(--lime);
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(2px);
}

.hero::before {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -120px;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -160px;
  left: -100px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  margin: 14px 0 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--lime);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
}

.hero p.lead {
  font-size: 19px;
  max-width: 520px;
  color: var(--ink-soft);
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phones .phone {
  width: 260px;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 6px solid var(--ink);
  background: #000;
  transform: rotate(4deg);
}

/* ===========================================================
   Section scaffolding
   =========================================================== */
.section {
  padding: 90px 0;
}

.section.alt {
  background: var(--lime-soft);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 10px 0 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.kicker {
  font-weight: 700;
  font-style: italic;
  color: var(--lime-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

/* ===========================================================
   Feature showcase (alternating rows)
   =========================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 90px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row:nth-child(even) .feature-media {
  order: 2;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.feature-media .frame {
  width: 280px;
  border-radius: 32px;
  overflow: hidden;
  border: 6px solid var(--ink);
  box-shadow: var(--shadow);
  background: #000;
}

.feature-text h3 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
}

.feature-text p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  padding: 7px 15px;
  font-weight: 600;
  font-size: 14px;
}

/* ===========================================================
   Value cards
   =========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.card .emoji {
  font-size: 34px;
  margin-bottom: 12px;
}

.card h4 {
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ===========================================================
   CTA band
   =========================================================== */
.cta-band {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: var(--lime);
  font-size: clamp(28px, 4vw, 46px);
  margin: 0 0 14px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  margin: 0 0 28px;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 60px 0 34px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 34px;
  margin-bottom: 40px;
}

.footer-grid h5 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.footer-grid a {
  display: block;
  padding: 5px 0;
  opacity: 0.8;
}

.footer-grid a:hover {
  opacity: 1;
  color: var(--lime);
}

.footer-brand .brand {
  color: var(--lime);
  margin-bottom: 12px;
}

.footer-brand p {
  margin: 0;
  max-width: 280px;
  opacity: 0.75;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  opacity: 0.7;
}

/* ===========================================================
   Legal / content pages
   =========================================================== */
.page-hero {
  background: var(--lime);
  padding: 64px 0 54px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 8px 0 10px;
}

.page-hero p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 90px;
}

.doc h2 {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}

.doc h2:first-of-type {
  margin-top: 0;
}

.doc p,
.doc li {
  color: var(--ink-soft);
  font-size: 16.5px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 6px;
}

.doc a {
  color: var(--lime-deep);
  font-weight: 600;
  text-decoration: underline;
}

.doc .note {
  background: var(--lime-soft);
  border: 1.5px solid var(--lime-deep);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
  margin: 18px 0;
}

.doc-meta {
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 8px;
}

/* ---------- Info / contact grid ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 30px 0;
}

.info-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
}

.info-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.info-card p {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
  margin-bottom: 14px;
  background: var(--white);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--lime-deep);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 860px) {
  .hero-grid,
  .feature-row,
  .cards,
  .footer-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    gap: 30px;
    margin-bottom: 60px;
  }

  .feature-row:nth-child(even) .feature-media {
    order: 0;
  }

  .hero-phones {
    order: -1;
  }

  .cards {
    gap: 16px;
  }

  .footer-grid {
    gap: 26px;
  }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--lime);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 2px solid rgba(17, 19, 17, 0.1);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(17, 19, 17, 0.08);
  }

  .nav-cta {
    margin-top: 8px;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===========================================================
   Pricing
   =========================================================== */
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 0 auto 34px;
  max-width: 640px;
}

.price-group-title {
  font-weight: 800;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 40px 0 18px;
  text-align: center;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.plan.featured {
  background: var(--lime);
}

.plan .tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 10px;
}

.plan .price {
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
}

.plan .per {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

/* Coins as a simple table-like list */
.coin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.coin {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.coin .amt {
  font-weight: 800;
  font-style: italic;
  font-size: 19px;
}

.coin .amt small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  font-style: normal;
  margin-top: 3px;
}

.coin .price {
  margin-top: 8px;
  font-weight: 700;
  font-size: 16px;
}

/* ===========================================================
   Payment method logos
   =========================================================== */
.pay-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pay-logos.center {
  justify-content: center;
}

.pay-logos svg {
  height: 30px;
  width: auto;
  border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px 6px;
}

.footer-pay {
  margin-top: 14px;
}

.footer-pay .pay-logos svg {
  height: 26px;
}

/* ===========================================================
   TODO placeholder (info you still need to fill in)
   =========================================================== */
.todo {
  color: #b23c00;
  background: #fff3ec;
  border: 1px dashed #e07a3f;
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.92em;
  font-weight: 700;
  font-style: normal;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .plan-grid { grid-template-columns: 1fr; }
  .coin-grid { grid-template-columns: repeat(2, 1fr); }
}
