/* ============================================
   Vibe Digital — Shared Design System
   ============================================ */

:root {
  --navy: #0f172a;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --blue-border: #bfdbfe;
  --green: #10b981;
  --green-hover: #059669;
  --green-bg: #f0fdf4;
  --green-text: #166534;
  --amber: #f59e0b;
  --amber-hover: #d97706;
  --yellow-bg: #fefce8;
  --yellow-border: #eab308;
  --yellow-text: #713f12;
  --body-text: #334155;
  --text-dark: #1a1a1a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

img { max-width: 100%; height: auto; }

/* ============================================
   Header
   ============================================ */
.site-header {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.header-logo {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.header-logo span.ai { color: #fff; }
.header-logo span.score { color: var(--green); }
.header-logo span.by { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; margin-left: 6px; }

.header-nav { display: flex; align-items: center; gap: 28px; }

.header-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: #fff; }

.header-nav .nav-cta {
  background: var(--green);
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.header-nav .nav-cta:hover { background: var(--green-hover); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--navy);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav a:hover { color: #fff; }

.mobile-nav .nav-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 12px;
  border-bottom: none;
  text-align: center;
  width: 100%;
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: block; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 80px 24px 60px;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.2;
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: var(--green-hover); color: #fff; }

.btn-secondary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover { background: var(--blue-hover); color: #fff; }

/* ============================================
   Proof Bar
   ============================================ */
.proof-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
}

.proof-bar-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.proof-stat { text-align: center; }
.proof-stat .num { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.proof-stat .label { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 60px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--navy);
}

.section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}

.section p {
  margin-bottom: 16px;
  color: var(--body-text);
}

.section-alt {
  background: var(--bg-light);
  padding: 60px 24px;
}

.section-alt-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================
   Problem Callout
   ============================================ */
.problem-callout {
  background: var(--yellow-bg);
  border-left: 4px solid var(--yellow-border);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.problem-callout p { color: var(--yellow-text); margin-bottom: 8px; }
.problem-callout p:last-child { margin-bottom: 0; }

/* ============================================
   Guarantee Box
   ============================================ */
.guarantee-box {
  background: var(--green-bg);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--green-text);
}

/* ============================================
   Info Box (blue)
   ============================================ */
.info-box {
  background: var(--blue-light);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 24px;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}

.service-card.featured {
  border: 2px solid var(--green);
  position: relative;
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--amber);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.service-price {
  font-size: 1.1rem;
  color: var(--green-hover);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.service-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: var(--body-text);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ============================================
   Case Study Cards
   ============================================ */
.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.case-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.case-card .type {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 0;
}

.case-card a { color: var(--blue); text-decoration: none; }
.case-card a:hover { text-decoration: underline; }

/* ============================================
   Steps
   ============================================ */
.steps { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

.step { display: flex; gap: 16px; align-items: flex-start; }

.step-num {
  background: var(--navy);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; color: var(--navy); }
.step-text p { font-size: 0.95rem; color: #475569; margin-bottom: 0; }

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
}

.cta-section h2 { color: #fff; font-size: 1.6rem; margin-bottom: 12px; }
.cta-section p { color: var(--text-light); max-width: 480px; margin: 0 auto 28px; }
.cta-phone { display: block; margin-top: 16px; color: var(--text-light); font-size: 0.95rem; }
.cta-phone a { color: #fff; text-decoration: none; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy);
  color: var(--text-light);
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand span.score { color: var(--green); }
.footer-brand span.by { color: var(--text-muted); font-weight: 400; font-size: 0.85rem; }

.footer-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: #fff; }

.site-footer .btn-primary { margin-bottom: 24px; }

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   Check List (used on aiscore info panel)
   ============================================ */
.check-list { list-style: none; padding: 0; }

.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--body-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group input::placeholder { color: #9ca3af; }
.form-group .hint { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

.form-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid var(--border);
}

.form-card h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.form-card .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.submit-btn {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  font-family: inherit;
}

.submit-btn:hover { background: var(--green-hover); }
.submit-btn:disabled { background: var(--text-light); cursor: not-allowed; }

.privacy { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 12px; }

/* Success message */
.success-message { display: none; text-align: center; padding: 40px 20px; }

.success-message .check-circle {
  width: 64px;
  height: 64px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
  font-size: 2rem;
}

.success-message h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.success-message p { font-size: 0.95rem; color: var(--text-muted); }

/* ============================================
   Comparison Table
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 32px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child { border-radius: 8px 0 0 0; }
.comparison-table th:last-child { border-radius: 0 8px 0 0; }

.comparison-table td { color: var(--body-text); }
.comparison-table td:first-child { font-weight: 600; color: var(--navy); }

.comparison-table tr:nth-child(even) td { background: var(--bg-light); }
.comparison-table tr:last-child td:first-child { border-radius: 0 0 0 8px; }
.comparison-table tr:last-child td:last-child { border-radius: 0 0 8px 0; }

/* ============================================
   Category Cards (How It Works page)
   ============================================ */
.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.category-card .points {
  font-size: 0.85rem;
  color: var(--green-hover);
  font-weight: 600;
  margin-bottom: 12px;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 0;
}

/* ============================================
   Sample Report Grid (AIScore page)
   ============================================ */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sample-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  text-align: center;
}

.sample-item .icon { font-size: 2rem; margin-bottom: 12px; }
.sample-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sample-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.sample-item .status-good { color: var(--green); font-weight: 600; }
.sample-item .status-bad { color: #dc2626; font-weight: 600; }
.sample-item .status-warn { color: #d97706; font-weight: 600; }

/* ============================================
   Case Study Detail (Results page)
   ============================================ */
.case-detail {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 32px;
}

.case-detail h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.case-detail .industry {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 16px;
}

.case-detail h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.case-detail p {
  font-size: 0.95rem;
  color: var(--body-text);
  margin-bottom: 8px;
}

.case-detail a.visit-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.case-detail a.visit-link:hover { text-decoration: underline; }

.case-detail.placeholder {
  border-style: dashed;
  opacity: 0.8;
}

/* ============================================
   About Page
   ============================================ */
.about-content p {
  font-size: 1rem;
  color: var(--body-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ============================================
   Why Section (Home Services green callout)
   ============================================ */
.why-callout {
  background: var(--green-bg);
  border-left: 4px solid var(--green);
  padding: 24px;
  border-radius: 8px;
  margin-top: 20px;
}

.why-callout p { color: var(--green-text); margin-bottom: 8px; }
.why-callout p:last-child { margin-bottom: 0; }

/* ============================================
   Table Wrapper (for horizontal scroll on mobile)
   ============================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 32px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 48px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .proof-bar-inner { gap: 24px; }
  .section { padding: 48px 20px; }
  .section-alt { padding: 48px 20px; }
  .sample-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.78rem; }
  .comparison-table th, .comparison-table td { padding: 8px 10px; }
}
