/* Quotes Creator — quotescreator.com */
:root {
  --ink: #191c27;
  --muted: #5b6172;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --line: #e8eaf1;
  --teal: #2a7f93;
  --teal-dark: #1f6a7c;
  --pink: #e91e8c;
  --purple: #8e2fa8;
  --blue: #2ba7df;
  --green: #27a35b;
  --gold: #f6b01e;
  --grad: linear-gradient(135deg, #e91e8c 0%, #8e2fa8 48%, #2a7f93 100%);
  --radius: 20px;
  --shadow: 0 10px 30px rgba(25, 28, 39, 0.10);
  --shadow-soft: 0 6px 18px rgba(25, 28, 39, 0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.btn-nav {
  background: var(--grad); color: #fff !important; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}
.btn-nav:hover { text-decoration: none; filter: brightness(1.07); }
@media (max-width: 760px) { .nav-links a:not(.btn-nav) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px 420px at 12% 18%, rgba(233, 30, 140, 0.14), transparent 65%),
    radial-gradient(440px 440px at 88% 12%, rgba(43, 167, 223, 0.14), transparent 65%),
    radial-gradient(500px 500px at 75% 85%, rgba(142, 47, 168, 0.12), transparent 65%),
    radial-gradient(380px 380px at 25% 95%, rgba(39, 163, 91, 0.10), transparent 65%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero .lead { margin: 20px 0 28px; font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badges img { height: 54px; width: auto; }
.store-badges a:hover { text-decoration: none; filter: brightness(1.05); }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

.stats {
  display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 36px;
}
.stat b { display: block; font-size: 1.45rem; font-weight: 800; }
.stat span { font-size: 0.85rem; color: var(--muted); }
.stat .stars { color: var(--gold); letter-spacing: 1px; font-size: 0.9rem; }

/* Phone frames */
.phone {
  width: 258px; border-radius: 36px; padding: 10px;
  background: #15181f;
  box-shadow: 0 24px 60px rgba(25, 28, 39, 0.28);
}
.phone img { border-radius: 27px; }
.hero-phones { display: flex; justify-content: center; position: relative; }
.hero-phones .phone-main { position: relative; z-index: 2; transform: rotate(2.5deg); }
.hero-phones .phone-back {
  position: absolute; z-index: 1; transform: rotate(-7deg) translate(-120px, 26px) scale(0.92);
  opacity: 0.92;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phones { margin-top: 10px; }
  .hero-phones .phone-back { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px; color: #fff;
}
.feature h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 0.9rem; color: var(--muted); }
.ico-1 { background: linear-gradient(135deg, #e91e8c, #b8339d); }
.ico-2 { background: linear-gradient(135deg, #8e2fa8, #6a3bd1); }
.ico-3 { background: linear-gradient(135deg, #2ba7df, #2a7f93); }
.ico-4 { background: linear-gradient(135deg, #27a35b, #1f8a71); }
.ico-5 { background: linear-gradient(135deg, #f6b01e, #ef7d1a); }
.ico-6 { background: linear-gradient(135deg, #2a7f93, #155e6e); }
.ico-7 { background: linear-gradient(135deg, #ef4b6c, #e91e8c); }
.ico-8 { background: linear-gradient(135deg, #5a67d8, #8e2fa8); }

/* Screenshots */
.shots {
  display: flex; gap: 26px; overflow-x: auto; padding: 10px 4px 26px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots .phone { flex: 0 0 auto; scroll-snap-align: center; width: 232px; }
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

/* Use cases */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 860px; margin: 0 auto; }
.chip {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  border-radius: 999px; padding: 9px 18px; font-size: 0.92rem; font-weight: 600;
  box-shadow: var(--shadow-soft);
}

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-soft); position: relative;
}
.review .stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: 0.95rem; color: var(--ink); }
.review footer { margin-top: 16px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }

/* Platforms */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.platform {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 20px; font-weight: 700; font-size: 0.95rem; box-shadow: var(--shadow-soft);
}

/* CTA */
.cta-panel {
  background: var(--grad); border-radius: 28px; padding: 56px 32px; text-align: center;
  color: #fff; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 80% 10%, rgba(255,255,255,0.18), transparent 60%);
  pointer-events: none;
}
.cta-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.cta-panel p { margin: 12px auto 28px; max-width: 34em; opacity: 0.92; }
.cta-panel .store-badges { justify-content: center; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: #14161f; color: #aab0c0; padding: 56px 0 36px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer a { color: #aab0c0; display: inline-block; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #262a38; margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 0.82rem;
}

/* ---------- Inner pages (legal / store) ---------- */
.page-wrap { padding: 56px 0 72px; }
.page-wrap h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 28px; }
.legal {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 40px 36px; color: var(--ink);
}
.legal h2 { font-size: 1.25rem; margin: 26px 0 10px; font-weight: 800; }
.legal ol li, .legal ul li { margin: 6px 0; }
.page-sub { color: var(--muted); max-width: 44em; margin: -16px 0 32px; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; font-size: 1.4rem; font-weight: 400;
  color: var(--purple); transition: transform 0.2s ease; flex: 0 0 auto;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: #3a3f4e; font-size: 0.97rem; }
.faq-body ol, .faq-body ul { margin: 10px 0 10px 22px; }
.faq-body li { margin: 6px 0; }
.faq-body p { margin: 8px 0; }

/* Step / help cards (restore purchase) */
.help-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 30px 28px; margin-bottom: 26px;
}
.help-card h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.help-card > p { color: #3a3f4e; margin: 10px 0; }
.help-card ol, .help-card ul { margin: 12px 0 12px 22px; color: #3a3f4e; }
.help-card li { margin: 8px 0; }
.help-flex { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: start; }
@media (max-width: 760px) { .help-flex { grid-template-columns: 1fr; } }
.video-frame {
  width: 100%; max-width: 240px; border-radius: 22px; padding: 8px;
  background: #15181f; box-shadow: var(--shadow); margin: 0 auto;
}
.video-frame video { width: 100%; border-radius: 16px; display: block; }
.step-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  color: #fff; font-weight: 800; font-size: 0.9rem; margin-right: 10px; flex: 0 0 auto;
}
.legal h2:first-child { margin-top: 0; }
.legal p { margin: 12px 0; color: #3a3f4e; }
.legal strong { display: block; margin-top: 22px; font-size: 1.02rem; }
.legal ul, .legal ol { margin: 12px 0 12px 24px; color: #3a3f4e; }
@media (max-width: 600px) { .legal { padding: 26px 20px; } }
