/* OpenReply website shared styles — ReplyDaddy-style modern SaaS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F4EFE6;
  --cream-dark: #EDE6D9;
  --cream-mid: #F9F6F1;
  --orange: #E07B3C;
  --orange-light: #F5C49A;
  --orange-pale: #FBF0E6;
  --dark: #1C1710;
  --dark-mid: #2E2820;
  --text: #2E2820;
  --muted: #6B6259;
  --muted-light: #9B9189;
  --border: rgba(30,20,10,0.1);
  --border-strong: rgba(30,20,10,0.18);
  --white: #FFFFFF;
  --green: #1D9E75;
  --red: #C0392B;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-serif: 'Fraunces', serif;
  --font-sans: 'DM Sans', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,239,230,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex; align-items: center;
  padding: 0 1.5rem;
}
.nav-container { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark { width: 32px; height: 32px; background: var(--dark); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-mark svg { width: 16px; height: 16px; }
.nav-logo-name { font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--dark); letter-spacing: -0.3px; }
.nav-links { display: none; align-items: center; gap: 26px; }
@media(min-width: 860px) { .nav-links { display: flex; } }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--font-sans); font-size: 14px; font-weight: 500; border-radius: var(--radius-md); padding: 9px 16px; cursor: pointer; text-decoration: none; transition: all .2s; border: none; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--cream-dark); color: var(--dark); }
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--dark-mid); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--dark); border: 1px solid var(--border-strong); }
.btn-secondary:hover { background: var(--cream-mid); transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #CC7035; transform: translateY(-1px); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }

/* ── LAYOUT ── */
section { padding: 96px 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.muted { color: var(--muted); }

/* ── HERO ── */
.hero { min-height: 100vh; padding-top: 64px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media(min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border-radius: 100px; padding: 5px 14px 5px 10px; font-size: 12px; font-weight: 500; margin-bottom: 22px; background: var(--orange-pale); border: 1px solid rgba(224,123,60,0.25); color: #B5581A; }
.hero-title { font-family: var(--font-serif); font-size: clamp(38px, 5vw, 60px); line-height: 1.08; font-weight: 400; letter-spacing: -1.4px; color: var(--dark); margin-bottom: 22px; }
.hero-title em { font-style: italic; color: var(--orange); }
.hero-subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 520px; font-weight: 300; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13px; color: var(--muted-light); }
.hero-visual { display: flex; justify-content: center; }

/* ── APP MOCKUP BROWSER ── */
.mockup-browser { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border-strong); overflow: hidden; width: 100%; max-width: 520px; box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 40px 80px rgba(0,0,0,0.06); }
.mockup-bar { background: #F9F7F4; border-bottom: 1px solid var(--border); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #FF6158; }
.mockup-dot.yellow { background: #FFBE2E; }
.mockup-dot.green { background: #29CA42; }
.mockup-address { font-size: 11.5px; color: var(--muted-light); margin-left: auto; margin-right: auto; }
.mockup-body { padding: 20px; background: var(--cream-mid); }

/* ── THREAD / PIPELINE ROWS ── */
.pipeline-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pipeline-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pipeline-dots { display: flex; gap: 5px; }
.pipeline-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cream-dark); }
.pipeline-dots .dot.active { background: var(--orange); }
.thread-card { display: flex; gap: 12px; padding: 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; }
.thread-score { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.thread-score.high { background: #EDF8F1; color: var(--green); }
.thread-score.med { background: var(--orange-pale); color: #B5581A; }
.thread-score.low { background: var(--cream-dark); color: var(--muted); }
.thread-content { flex: 1; }
.thread-content strong { font-size: 13px; color: var(--dark); }
.thread-content p { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ── SECTIONS ── */
.section-header { margin-bottom: 56px; max-width: 640px; }
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -0.8px; color: var(--dark); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--muted); line-height: 1.7; }
.how-section { background: var(--cream-dark); }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media(min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(28,23,16,0.06); }
.feature-card.highlight { border-color: var(--orange); background: var(--orange-pale); }
.feature-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--orange); font-size: 18px; font-weight: 600; }
.feature-card h3 { font-size: 17px; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media(min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.step-number { width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: var(--cream); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 15px; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 500; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media(min-width: 720px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px 28px; position: relative; }
.pricing-card.popular { border-color: var(--orange); box-shadow: 0 12px 40px rgba(224,123,60,0.10); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: var(--white); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; }
.pricing-card h3 { font-size: 18px; font-weight: 500; color: var(--dark); margin-bottom: 6px; }
.pricing-card .price { font-family: var(--font-serif); font-size: 42px; font-weight: 400; color: var(--dark); margin: 14px 0 6px; }
.pricing-card .price span { font-size: 14px; color: var(--muted); font-family: var(--font-sans); }
.pricing-card ul { list-style: none; margin: 20px 0 24px; }
.pricing-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); padding: 8px 0; border-bottom: 1px solid var(--border); }
.pricing-card li:last-child { border-bottom: none; }
.pricing-card li::before { content: "✓"; color: var(--orange); font-weight: 700; font-size: 12px; flex-shrink: 0; }

/* ── CTA ── */
.cta-section { padding-top: 60px; padding-bottom: 96px; }
.cta-box { background: var(--dark); color: var(--cream); border-radius: var(--radius-xl); padding: 64px 2rem; text-align: center; }
.cta-box h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px); color: var(--cream); margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 28px; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 72px 1.5rem 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 48px; }
@media(min-width: 720px) { .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .nav-logo-mark { background: rgba(255,255,255,0.1); }
.footer-logo span { font-family: var(--font-serif); font-size: 18px; color: var(--white); }
.site-footer p { font-size: 14px; line-height: 1.7; max-width: 320px; }
.site-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: var(--orange-light); }

/* ── AUTH PAGES ── */
.auth-page { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media(min-width: 860px) { .auth-page { grid-template-columns: 1fr 1fr; } }
.auth-left { background: var(--dark); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-left h2 { font-family: var(--font-serif); font-size: 40px; font-weight: 400; color: var(--white); line-height: 1.15; letter-spacing: -1.2px; margin-bottom: 20px; }
.auth-left h2 em { color: var(--orange-light); }
.auth-left p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 340px; font-weight: 300; }
.auth-feature { display: flex; align-items: flex-start; gap: 12px; }
.auth-feature p { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.auth-feature strong { color: rgba(255,255,255,0.9); font-weight: 500; }
.auth-feature-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex-shrink: 0; margin-top: 7px; }
.auth-right { display: flex; align-items: center; justify-content: center; padding: 48px 40px; background: var(--cream); }
.auth-box { width: 100%; max-width: 420px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.auth-tab { flex: 1; padding: 12px 0; font-size: 14px; font-weight: 500; color: var(--muted); background: transparent; border: none; cursor: pointer; text-align: center; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.auth-tab.active { color: var(--dark); border-bottom-color: var(--dark); }
.auth-form { display: none; }
.auth-form.active { display: block; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 7px; }
.field input, .field select { width: 100%; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--white); font-family: var(--font-sans); font-size: 14px; color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(224,123,60,0.12); }
.field input::placeholder { color: var(--muted-light); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-hint { font-size: 12px; color: var(--muted-light); margin-top: 5px; }
.field-pwd { position: relative; }
.pwd-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted-light); font-size: 12px; font-family: var(--font-sans); }
.auth-alert { padding: 12px 14px; border-radius: var(--radius-md); font-size: 13.5px; margin-bottom: 20px; display: none; }
.auth-alert.error { background: #FDF0EF; border: 1px solid #F5C5C0; color: var(--red); display: block; }
.auth-alert.success { background: #EDF8F1; border: 1px solid #9FE1CB; color: var(--green); display: block; }
.auth-footer { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-footer a { color: var(--orange); text-decoration: none; }

/* ── LICENCE PAGE ── */
.licence-hero { text-align: center; padding: 120px 1.5rem 40px; }
.licence-title { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 46px); font-weight: 400; color: var(--dark); margin-bottom: 12px; }
.licence-subtitle { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.licence-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 80px; }
@media(min-width: 720px) { .licence-grid { grid-template-columns: repeat(2, 1fr); } }
.licence-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.licence-card.full-width { grid-column: 1 / -1; }
.licence-card h3 { font-size: 17px; font-weight: 500; color: var(--dark); margin-bottom: 14px; }
.licence-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 6px 12px; border-radius: 100px; }
.licence-status.success { background: #EDF8F1; color: var(--green); }
.licence-status.error { background: #FDF0EF; color: var(--red); }
.devices-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.devices-table th { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.devices-table td { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--text); }
.devices-table tr:last-child td { border-bottom: none; }

/* ── SITEMAP ── */
.sitemap-group { margin-bottom: 36px; }
.sitemap-group-title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--dark); margin-bottom: 14px; }
.sitemap-list { list-style: none; }
.sitemap-list li { border-bottom: 1px solid var(--border); }
.sitemap-list a, .sitemap-list code { display: block; padding: 12px 4px; text-decoration: none; color: var(--text); font-size: 15px; transition: color .15s; }
.sitemap-list a:hover { color: var(--orange); }
.sitemap-list code { font-family: monospace; font-size: 13px; color: var(--muted); background: transparent; }

/* ── SAFETY CARD (variant 2) ── */
.safety-card { display: flex; align-items: center; gap: 14px; padding: 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 10px; }
.safety-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.safety-card strong { font-size: 14px; color: var(--dark); }
.safety-card p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.safety-check { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--green); background: #EDF8F1; padding: 4px 8px; border-radius: 100px; flex-shrink: 0; }

/* ── PIPELINE FLOW (variant 3) ── */
.pipeline-flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-xl); padding: 32px; width: 100%; max-width: 520px; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.pipeline-node { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pipeline-node-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pipeline-node-label { font-size: 12px; font-weight: 600; color: var(--dark); text-transform: uppercase; letter-spacing: .05em; }
.pipeline-arrow { font-size: 22px; color: var(--orange); }

/* ── COST WIDGET (variant 4) ── */
.cost-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cost-row:last-child { border-bottom: none; }
.cost-row span { color: var(--muted); }
.cost-row strong { color: var(--dark); }
.cost-progress { height: 8px; background: var(--cream-dark); border-radius: 100px; overflow: hidden; margin-top: 4px; }
.cost-progress-bar { height: 100%; background: var(--orange); border-radius: 100px; }

/* ── PLATFORM BADGES (variant 5) ── */
.platform-row { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.platform-row:last-child { border-bottom: none; }
.platform-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--dark); }
.platform-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; }
.platform-badge.reddit::before { background: #FF4500; }
.platform-badge.linkedin::before { background: #0A66C2; }
.platform-badge.x::before { background: #000; }
.platform-badge.hn::before { background: var(--orange); }

/* ── LOADING / SPINNER ── */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading { opacity: .75; pointer-events: none; }

/* ── VARIANT SWITCHER ── */
.variant-switcher { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.variant-pill { padding: 6px 12px; border-radius: 100px; border: 1px solid var(--border-strong); font-size: 12px; color: var(--muted); text-decoration: none; background: var(--white); transition: all .2s; }
.variant-pill:hover { border-color: var(--orange); color: var(--orange); }
.variant-pill.active { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* ── RESPONSIVE TWEAKS ── */
@media(max-width: 720px) {
  section { padding: 72px 1.25rem; }
  .hero { padding-top: 56px; }
  .auth-right { padding: 32px 24px; }
  .auth-left { padding: 32px; }
  .cta-box { padding: 48px 1.25rem; }
}
