/* ============================================================
   CrunchByte — style.css
   Shared styles for all pages
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1b2d;
  --navy-mid: #1a2e47;
  --blue: #1a6bff;
  --blue-light: #e8f0ff;
  --accent: #ff6b35;
  --text: #0f1b2d;
  --muted: #5a6a7e;
  --border: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; }

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.nav-brand { font-family: 'Sora', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand-dot { width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.nav-links { display: flex; gap: 2rem; list-style: none; justify-self: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--navy); color: white; border: none; padding: 0.55rem 1.25rem; border-radius: 8px; font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.nav-cta:hover { background: var(--blue); }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 2.5rem 2rem; text-align: center; font-size: 0.82rem; }
footer strong { color: white; }
footer .footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: 0.75rem; flex-wrap: wrap; }
footer .footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; font-size: 0.8rem; }
footer .footer-links a:hover { color: white; }

/* ============================================================
   HERO (index only)
   ============================================================ */
#home {
  min-height: 92vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 5rem 2rem 4rem;
  background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 50%, #fff8f5 100%);
  position: relative; overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-light); color: var(--blue);
  border: 1px solid #c0d4ff; border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.9rem;
  margin-bottom: 1.5rem; font-family: 'Sora', sans-serif; letter-spacing: 0.02em;
}
.badge-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; line-height: 1.15; color: var(--navy); max-width: 700px; margin-bottom: 1.25rem; }
h1 span { color: var(--blue); }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: white; border: none; padding: 0.85rem 2rem; border-radius: var(--radius); font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-primary:hover { background: #0f5ae0; transform: translateY(-1px); }
.btn-outline { background: white; color: var(--navy); border: 1.5px solid var(--border); padding: 0.85rem 2rem; border-radius: var(--radius); font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-decoration: none; transition: border-color 0.2s, transform 0.15s; display: inline-block; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.hero-stats { display: flex; gap: 3rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.section-label { font-size: 0.78rem; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Sora', sans-serif; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; color: var(--navy); max-width: 550px; line-height: 1.25; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-title { margin: 0 auto 1rem; }
.section-header p { color: var(--muted); max-width: 500px; margin: 0 auto; }

/* ============================================================
   FEATURES
   ============================================================ */
#features { padding: 5rem 2rem; background: var(--surface); }
.features-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.feat-card { flex: 1 1 260px; max-width: 340px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: box-shadow 0.2s, transform 0.2s; }
.feat-card:hover { box-shadow: 0 8px 32px rgba(26,107,255,0.08); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feat-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.feat-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   BOTS
   ============================================================ */
#bots { padding: 5rem 2rem; background: white; }
.bots-tabs { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.bot-tab { padding: 0.5rem 1.25rem; border-radius: 100px; border: 1.5px solid var(--border); background: white; color: var(--muted); font-family: 'Sora', sans-serif; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.bot-tab.active, .bot-tab:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.bot-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto 2rem; }
.bot-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; transition: box-shadow 0.2s, transform 0.2s; display: none; }
.bot-card.visible { display: block; }
.bot-card:hover { box-shadow: 0 8px 32px rgba(26,107,255,0.08); transform: translateY(-2px); }
.bot-card-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.bot-card-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bot-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.bot-card .bot-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.bot-card .bot-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.bot-card .bot-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: var(--text); }
.bot-card .bot-features li .check { width: 16px; height: 16px; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.bot-card .bot-features li .check svg { width: 9px; height: 9px; stroke: #2e7d32; stroke-width: 2.5; fill: none; }
.bot-pricing-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.25rem; flex-wrap: wrap; }
.bot-price-block { display: flex; flex-direction: column; }
.bot-price-main { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.bot-price-sub { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.bot-price-lifetime { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
.bot-price-lifetime strong { color: var(--navy); }
.bot-btn { padding: 0.7rem 1.4rem; border-radius: 10px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.2s; background: var(--blue); color: white; border: none; white-space: nowrap; }
.bot-btn:hover { background: #0f5ae0; }
.bots-note { text-align: center; font-size: 0.82rem; color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ============================================================
   PRICING
   ============================================================ */
#pricing { padding: 5rem 2rem; background: white; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.toggle-label { font-size: 0.9rem; font-weight: 500; color: var(--muted); cursor: pointer; }
.toggle-label.active { color: var(--navy); }
.toggle-wrap { position: relative; width: 52px; height: 28px; background: var(--blue); border-radius: 100px; cursor: pointer; transition: background 0.2s; }
.toggle-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; background: white; border-radius: 50%; transition: transform 0.2s; }
.toggle-wrap.yearly .toggle-knob { transform: translateX(24px); }
.save-badge { background: #fff0ea; color: var(--accent); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 100px; font-family: 'Sora', sans-serif; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; max-width: 980px; margin: 0 auto 2rem; }
.plan-card { border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; transition: box-shadow 0.2s; }
.plan-card:hover { box-shadow: 0 8px 32px rgba(15,27,45,0.07); }
.plan-card.popular { border-color: var(--blue); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: white; font-size: 0.72rem; font-weight: 700; padding: 3px 14px; border-radius: 100px; font-family: 'Sora', sans-serif; white-space: nowrap; }
.plan-name { font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.plan-price { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.25rem; }
.plan-price sup { font-size: 1.2rem; vertical-align: super; }
.plan-period { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.25rem; }
.plan-lifetime { font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 0.5rem; margin-top: 0.5rem; }
.plan-lifetime strong { color: var(--navy); }
.plan-divider { border: none; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.88rem; color: var(--text); }
.plan-features li .check { width: 16px; height: 16px; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.plan-features li .check svg { width: 9px; height: 9px; stroke: #2e7d32; stroke-width: 2.5; fill: none; }
.plan-features li.muted-feat { color: var(--muted); }
.plan-features li.muted-feat .check { background: var(--border); }
.plan-features li.muted-feat .check svg { stroke: var(--muted); }
.plan-btn { width: 100%; padding: 0.8rem; border-radius: 10px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; border: 1.5px solid var(--border); background: white; color: var(--navy); }
.plan-btn:hover { border-color: var(--blue); color: var(--blue); }
.plan-card.popular .plan-btn { background: var(--blue); color: white; border-color: var(--blue); }
.plan-card.popular .plan-btn:hover { background: #0f5ae0; }
.pricing-note { text-align: center; font-size: 0.82rem; color: var(--muted); max-width: 480px; margin: 0 auto; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { padding: 5rem 2rem; background: var(--surface); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; background: none; border: none; padding: 1.1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Sora', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--navy); text-align: left; gap: 1rem; }
.faq-arrow { width: 20px; height: 20px; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.25s; }
.faq-arrow svg { width: 10px; height: 10px; stroke: var(--muted); stroke-width: 2.5; fill: none; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; font-size: 0.9rem; color: var(--muted); line-height: 1.7; padding: 0 1.5rem; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.25rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { padding: 5rem 2rem; background: white; }
.contact-wrap { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 12px; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-method:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(26,107,255,0.08); }
.method-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.method-icon.discord { background: #eef0ff; }
.method-icon.email { background: var(--blue-light); }
.method-icon svg { width: 20px; height: 20px; }
.method-text strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--navy); font-family: 'Sora', sans-serif; }
.method-text span { font-size: 0.82rem; color: var(--muted); }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin-bottom: 1.25rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; font-family: 'Sora', sans-serif; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; font-family: 'DM Sans', sans-serif; color: var(--text); background: white; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: none; height: 90px; }
.form-submit { width: 100%; padding: 0.85rem; background: var(--blue); color: white; border: none; border-radius: 8px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; margin-top: 0.5rem; }
.form-submit:hover { background: #0f5ae0; }

/* ============================================================
   LEGAL PAGES (shared)
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 60%);
  padding: 4rem 2rem 3rem; text-align: center !important; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.page-label { font-size: 0.78rem; font-weight: 600; color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Sora', sans-serif; margin-bottom: 0.75rem; text-align: center !important; display: block; width: 100%; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; text-align: center !important; width: 100%; }
.page-hero p { color: var(--muted); font-size: 0.9rem; text-align: center !important; width: 100%; }

.legal-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; padding: 1.5rem 2rem; border-top: 1px solid var(--border); background: var(--surface); }
.legal-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.legal-links a:hover { color: var(--blue); }
.legal-links a.current { color: var(--blue); font-weight: 600; }

.doc-wrap { max-width: 760px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.doc-wrap h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 2.5rem 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.doc-wrap h2:first-child { margin-top: 0; }
.doc-wrap p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; margin-bottom: 0.9rem; }
.doc-wrap ul { margin: 0.5rem 0 0.9rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.doc-wrap ul li { color: var(--muted); font-size: 0.93rem; line-height: 1.7; }
.doc-wrap a { color: var(--blue); text-decoration: none; }
.doc-wrap a:hover { text-decoration: underline; }
.doc-meta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2.5rem; font-size: 0.85rem; color: var(--muted); text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; }
.doc-meta strong { color: var(--navy); }
.doc-meta span { padding: 0 1rem; }
.doc-meta span + span { border-left: 1px solid var(--border); }

/* guarantee.html */
.promise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
.promise-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; }
.promise-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; margin: 0 auto 0.75rem; }
.promise-icon svg { width: 22px; height: 22px; stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.promise-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.promise-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* privacypolicy.html */
.highlight-box { background: var(--blue-light); border: 1px solid #c0d4ff; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--navy); }

/* refundpolicy.html */
.notice-box { background: #fff8f5; border: 1px solid #ffd4c0; border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; font-size: 0.92rem; color: var(--navy); line-height: 1.65; }
.notice-box strong { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-stats { gap: 1.5rem; }
}

/* ============================================================
   NAV LOGO
   ============================================================ */
.nav-logo { height: 28px; width: auto; object-fit: contain; margin-right: 2px; }

/* ============================================================
   LEGAL PAGE — centered h2 titles
   ============================================================ */
.doc-wrap h2 { text-align: center; }

/* ============================================================
   PRICING — dimmed (unchecked) feature rows
   ============================================================ */
.plan-features .feat-dimmed { opacity: 0.35; }
.plan-features .feat-dimmed .check-empty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT FORM STATUS
   ============================================================ */
.form-status { margin-top: 0.75rem; font-size: 0.88rem; font-weight: 500; border-radius: 8px; padding: 0.6rem 1rem; display: none; }
.form-status:not(:empty) { display: block; }
.form-status.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error   { background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }

/* ============================================================
   PRICING — coming soon feature rows
   ============================================================ */
.plan-features .feat-soon { opacity: 0.6; }
.plan-features .feat-soon .check-empty {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.soon-badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #fff7e6;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 1px 6px;
  vertical-align: middle;
  line-height: 1.6;
}

/* ============================================================
   NAV — Panel button + actions wrapper
   ============================================================ */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; justify-self: end; }
.nav-panel-btn {
  display: inline-flex; align-items: center;
  padding: 0.45rem 1rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-panel-btn:hover { background: var(--accent); color: #fff; }

/* ============================================================
   HERO — Panel button
   ============================================================ */
.btn-panel {
  display: inline-flex; align-items: center;
  padding: 0.75rem 1.6rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.btn-panel:hover { background: var(--accent); color: #fff; }

/* ============================================================
   PLAN CARDS — dual button row
   ============================================================ */
.plan-btns { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.plan-btns .plan-btn { flex: 1; margin-top: 0; }
.plan-panel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1rem;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.plan-panel-btn:hover { background: var(--accent); color: #fff; }

/* ============================================================
   BOT CARD — pricing tabs
   ============================================================ */
.bot-pricing-tabs {
  display: flex;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  flex-wrap: wrap;
}
.bot-price-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.bot-price-tab.active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(26,107,255,0.06);
}
.bot-pricing-panels { margin-top: 0.75rem; }
.bot-pricing-panel { display: none; }
.bot-pricing-panel.active { display: block; }
.selfhost-perks { margin-top: 0.9rem; border-top: 1px solid var(--border); padding-top: 0.9rem; }

/* ============================================================
   LEGAL — center page-hero h1 (extra specificity fix)
   ============================================================ */
.page-hero { text-align: center; }
.page-hero h1 { text-align: center; }
.page-hero p  { text-align: center; }
/* ============================================================
   HAMBURGER MENU
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
  margin-left: 0.25rem;
  justify-self: end;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 99;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--navy); text-decoration: none;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem;
  display: block;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue); }
.mobile-nav-actions {
  display: flex; gap: 0.75rem; margin-top: 1rem; padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.mobile-nav-actions a {
  flex: 1; text-align: center; padding: 0.65rem 1rem !important;
  border-radius: 8px; font-size: 0.88rem; border-bottom: none !important;
}
.mobile-nav-actions .nav-panel-btn { border: 1.5px solid var(--accent) !important; color: var(--accent) !important; }
.mobile-nav-actions .nav-cta { background: var(--navy); color: white !important; }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .nav-panel-btn,
  .nav-actions .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .contact-wrap { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 2rem; }
  .features-grid { gap: 1rem; }
  .feat-card { flex: 1 1 100%; max-width: 100%; }
  .bot-cards { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  #home { padding: 3rem 1.25rem 2.5rem; }
  #features, #bots, #pricing, #faq, #contact { padding: 3.5rem 1.25rem; }
  .doc-wrap { padding: 2.5rem 1.25rem 4rem; }
  .page-hero { padding: 3rem 1.25rem 2rem; }
  .legal-links { padding: 1rem 1.25rem; gap: 0.5rem; }
  .section-title { max-width: 100%; }
  h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 480px) {
  .promise-grid { grid-template-columns: 1fr; }
  .bot-pricing-tabs { flex-direction: column; gap: 0.35rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; display: grid; gap: 1.25rem; }
  .plan-price { font-size: 2rem; }
}

/* ============================================================
   TEASER BOT CARD — blurred coming soon
   ============================================================ */
.bot-card.teaser { position: relative; overflow: hidden; }
.bot-card.teaser .bot-teaser-inner {
  filter: blur(3.5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.7;
}
.bot-teaser-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  background: rgba(248,250,252,0.45);
  backdrop-filter: blur(1px);
  z-index: 2;
}
.teaser-badge {
  background: var(--navy); color: white;
  font-family: 'Sora', sans-serif; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px;
}
.teaser-label {
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--navy);
}
.teaser-sub {
  font-size: 0.8rem; color: var(--muted); text-align: center; max-width: 160px;
}

/* ============================================================
   STATUS BADGE IN NAV
   ============================================================ */
.nav-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.75rem; font-weight: 600; color: #16a34a;
  font-family: 'Sora', sans-serif;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 100px; padding: 3px 10px;
  text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
}
.nav-status:hover { background: #dcfce7; }
.nav-status-dot {
  width: 6px; height: 6px; background: #16a34a;
  border-radius: 50%; animation: pulse 2s infinite;
}

/* ============================================================
   PRICING — three-way billing switcher
   ============================================================ */
.billing-switcher {
  position: relative;
  display: inline-flex;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 0;
}
.billing-opt {
  position: relative; z-index: 1;
  padding: 0.45rem 1.25rem;
  border: none; background: none; cursor: pointer;
  font-family: 'Sora', sans-serif; font-size: 0.85rem; font-weight: 600;
  color: var(--muted);
  border-radius: 100px;
  transition: color 0.2s;
  white-space: nowrap;
}
.billing-opt.active { color: var(--navy); }
.billing-opt .save-badge { font-size: 0.68rem; }
.billing-slider {
  position: absolute;
  top: 4px; left: 4px;
  height: calc(100% - 8px);
  background: white;
  border-radius: 100px;
  box-shadow: 0 1px 4px rgba(15,27,45,0.10);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1), width 0.25s cubic-bezier(.4,0,.2,1);
  z-index: 0;
  pointer-events: none;
}
/* ============================================================
   BOTS SECTION — footer row with view-all link
   ============================================================ */
.bots-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.bots-note { color: var(--muted); font-size: 0.88rem; margin: 0; }
.bots-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Sora', sans-serif; font-size: 0.88rem; font-weight: 600;
  color: var(--blue); text-decoration: none;
  border: 1.5px solid var(--blue); border-radius: 8px;
  padding: 0.45rem 1rem;
  transition: background 0.15s, color 0.15s;
}
.bots-view-all:hover { background: var(--blue); color: white; }
.bots-view-all svg { transition: transform 0.15s; }
.bots-view-all:hover svg { transform: translateX(3px); }

/* ============================================================
   BOTS PAGE — page hero
   ============================================================ */
.bots-page-hero {
  background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 60%);
  padding: 4rem 2rem 3rem; text-align: center;
  border-bottom: 1px solid var(--border);
}
.bots-page-hero .section-label { display: block; margin-bottom: 0.75rem; }
.bots-page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.bots-page-hero p { color: var(--muted); font-size: 0.95rem; max-width: 520px; margin: 0 auto; }

.bots-page-body { max-width: 1100px; margin: 0 auto; padding: 4rem 2rem 6rem; }
.bots-page-body .bots-tabs { margin-bottom: 2rem; }
.bots-page-body .bot-cards { margin-top: 0; }
.bots-page-cta {
  margin-top: 3rem; padding: 2.5rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.bots-page-cta h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.bots-page-cta p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }