/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
    --beige-bg: #f5f0ea;
    --dark-text: #1a1a1a;
    --blue-primary: #2563eb;
    --orange-star: #ff9500;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--beige-bg);
    color: var(--dark-text);
}

.navbar {
    background-color: var(--beige-bg);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 600;
    color: var(--dark-text);
}

.btn-google {
    background-color: var(--blue-primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-google:hover {
    background-color: #1d4ed8;
    color: white;
}

.hero-section {
    background-color: #e8e2d8;
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 2rem auto;
    text-align: center;
    max-width: 1200px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.hero-section small {
    color: #6b6b6b;
    font-size: 0.9rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 4rem 0 1rem;
}

.section-subtitle {
    text-align: center;
    color: #4a4a4a;
    margin-bottom: 3rem;
}

.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-no-bg {
    background: none !important;
    box-shadow: none !important;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-card p {
    color: #4a4a4a;
    line-height: 1.6;
}

.review-mockup {
    padding: 1.5rem;
}

.stars {
    color: var(--orange-star);
    font-size: 1.2rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rating-bars {
    margin: 1rem 0;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.rating-bar span {
    min-width: 15px;
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--orange-star);
    border-radius: 4px;
}

.feedback-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feedback-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feedback-form .form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.feedback-form .btn-dark {
    width: 100%;
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}

.coming-soon-badge {
    display: inline-block;
    background: #e8e2d8;
    color: #6b6b6b;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section {
    background-color: #e8e2d8;
    border-radius: 24px;
    padding: 4rem 2rem;
    margin: 4rem auto;
    text-align: center;
    max-width: 1200px;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
}

footer a {
    color: var(--dark-text);
    text-decoration: none;
    margin: 0 1rem;
}

footer a:hover {
    text-decoration: underline;
}

.placeholder-img {
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
    font-size: 2rem;
    }

    .section-title {
    font-size: 1.75rem;
    }
}

.plan-card {
  background: #EDE6DC;
  border-radius: 15px;
  max-width: 25rem;
}

/* Long-form article typography (used on /blog/:slug) */
.article-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2f2f2f;
  letter-spacing: -0.01em;
}
.article-body > p,
.article-body > ul,
.article-body > ol {
  margin-bottom: 1.25rem;
}
.article-body h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #141414;
  margin: 2.5rem 0 1rem;
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #141414;
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: 90px;
}
.article-body a {
  color: #003fc4;
  text-decoration: underline;
}
.article-body ul,
.article-body ol {
  padding-left: 1.4rem;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 0.4rem; }
.article-body strong { font-weight: 600; color: #141414; }
.article-body hr {
  border: none;
  border-top: 1px solid #e0d8cc;
  margin: 2.5rem 0;
}
/* Copy-paste template cards */
.template-block {
  position: relative;
  background: #fff;
  border: 1px solid #ece3d6;
  border-radius: 16px;
  padding: 1rem 1.25rem 1.15rem;
  margin: 0.85rem 0 1.1rem;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 8px 24px -16px rgba(20, 20, 20, 0.12);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.template-block:hover {
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.05), 0 14px 32px -16px rgba(20, 20, 20, 0.2);
  transform: translateY(-1px);
}

.template-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.template-head .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #6b6258;
  margin: 0;
  min-width: 0;
}
.channel-pill {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  line-height: 1;
}
.channel-pill[data-channel="sms"]   { background: #e4ecff; color: #003fc4; }
.channel-pill[data-channel="email"] { background: #fbeed6; color: #9a6a12; }

.copy-btn {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #2f2f2f;
  background: #f5efe6;
  border: 1px solid #e7ddd0;
  border-radius: 9px;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { background: #ece3d6; }
.copy-btn.is-copied {
  background: #e7f6ec;
  border-color: #b7e3c3;
  color: #1c7a3e;
}

.template-body {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #1f1d1a;
  margin: 0;
}
.template-body strong { font-weight: 600; }

/* Inline merge-field chips ({{first_name}} etc.) */
.merge {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: #f1ece3;
  color: #6d4d12;
  border: 1px solid #e7ddcb;
  border-radius: 6px;
  padding: 0.04em 0.34em;
  white-space: nowrap;
}
.article-toc {
  background: #EDE6DC;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.article-toc ol { list-style: decimal; padding-left: 1.2rem; }
.article-toc li { margin-bottom: 0.3rem; }
.article-toc a { color: #141414; text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-callout {
  background: #EDE6DC;
  border-left: 4px solid #003fc4;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 1.0625rem;
}
.faq-item {
  border-top: 1px solid #e0d8cc;
  padding: 1.25rem 0;
}
.faq-item h3 { margin-top: 0; }
