/**
 * Receptive brand overrides for /newhome/
 * Brand: #02aff0 accent / #ffffff text / #000000 bg
 */

:root {
  --accent:         #02aff0;
  --accent-dark:    #0190cc;
  --bg:             #000000;
  --surface:        #111111;
  --surface-2:      #1a1a1a;
  --border:         rgba(255,255,255,0.08);
  --text:           #ffffff;
  --text-secondary: #ffffff;
  --text-muted:     #cccccc;
}

/* ── Gray → white ── */
body, p, span, div, li, td, th, label,
.nav-links a, .nav-right .login, .hero-subtitle, .dash-subtitle,
.dash-score-desc, .dash-nav-label, .dash-nav-item, .dash-rank-name,
.dash-rank-score, .dash-chart-legend, .features-header,
.feature-tab h3, .feature-tab p, .card-content p,
.footer-enquiry-text p, .footer-col a, .footer-col h5,
.footer-status, .footer-bottom span, .structure-header h2, .cta-section h2 { color: #ffffff; }

.dash-nav-item, .nav-links a, .nav-right .login,
.footer-col a, .footer-status, .footer-bottom span { color: rgba(255,255,255,0.75); }

.nav-links a:hover, .nav-right .login:hover, .footer-col a:hover { color: #ffffff; }
.dash-rank-row span, .dash-score-label, .dash-tab, .dash-filter-pill,
.dash-filter-vs, .dash-chart-config, .dash-rank-expand,
.dash-add-note, .dash-rank-table-head span { color: rgba(255,255,255,0.8); }
.dash-rank-delta:not(.up):not(.down), .dash-chart-legend label { color: rgba(255,255,255,0.6); }
.feature-tab h3 { color: rgba(255,255,255,0.55); }
.feature-tab.active h3 { color: #ffffff; }
.feature-tab p { color: rgba(255,255,255,0.75); }
.footer-enquiry-text h4 { color: #ffffff; }
.footer-enquiry-text p  { color: rgba(255,255,255,0.75); }
.card-content h4 { color: #ffffff; }
.card-content p  { color: rgba(255,255,255,0.75); }
.cta-section h2  { color: #ffffff; }

/* ── Export CSV button — black text ── */
.dash-export-btn { color: #000000 !important; }

/* ── Dashboard logo image ── */
.dash-brand-logo img { display: block !important; visibility: visible !important; opacity: 1 !important; }

/* ── Homepage hero ── */
.hero-text { align-items: flex-start; }
.hero-text > h2 { flex: 2 !important; font-size: clamp(60px,9vw,120px) !important; letter-spacing: -4px !important; max-width: none !important; }

/* ── Nav dropdowns — base ── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger { font-size: 14px; color: rgba(255,255,255,0.75); cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 0 16px; height: 60px; transition: color .2s; text-decoration: none; }
.nav-dropdown-trigger::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; opacity: 0.5; transition: transform .2s; flex-shrink: 0; }
.nav-dropdown:hover .nav-dropdown-trigger { color: #ffffff; }
.nav-dropdown:hover .nav-dropdown-trigger::after { transform: rotate(180deg); }

/* Single-column menu */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  flex-direction: column;
  gap: 2px;
  z-index: 200;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }

/* Multi-column menu */
.nav-dropdown-menu--cols {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  flex-direction: row;
  gap: 4px;
  z-index: 200;
}
.nav-dropdown-menu--cols::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown-menu--cols { display: flex; }

.nav-dropdown-col { display: flex; flex-direction: column; min-width: 150px; gap: 2px; }

.nav-dropdown-menu a,
.nav-dropdown-menu--cols a {
  font-size: 13px; color: rgba(255,255,255,0.7) !important; padding: 9px 14px;
  border-radius: 8px; transition: all .15s; white-space: nowrap;
  text-decoration: none !important; display: block;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu--cols a:hover { background: rgba(2,175,240,0.1); color: #ffffff !important; }

.nav-dropdown-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent) !important; padding: 8px 14px 4px;
}

/* ── Hero brand logos ── */
.rp-hero-brands {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.rp-hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  min-width: 64px;
}
.rp-hero-brand-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
/* Brand-specific wrappers — white background for dark/black logos */
.rp-hero-brand--wix,
.rp-hero-brand--framer,
.rp-hero-brand--square,
.rp-hero-brand--squarespace {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}
.rp-hero-brand-sep {
  font-size: 18px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.rp-hero-brand-text {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Footer partner logos — override reconn-ai stylesheet ── */
.logo-bar-inner img {
  height: 100px !important;
  width: auto !important;
  max-height: none !important;
  max-width: none !important;
  filter: none !important;
  opacity: 0.85 !important;
}
.logo-bar-inner a:hover img,
.logo-bar-inner img:hover {
  opacity: 1 !important;
}

/* ── Accent overrides ── */
.hero-cta, .invite-input .send-btn, .btn-primary, .cta-buttons .btn-primary,
.dash-owned-badge, .footer-enquiry-form .form-submit, .blog-bar-right .edit-btn,
.rp-btn-primary, .rp-product-btn { background: var(--accent); color: #fff; }

.hero-cta:hover, .invite-input .send-btn:hover, .btn-primary:hover,
.cta-buttons .btn-primary:hover, .footer-enquiry-form .form-submit:hover,
.rp-btn-primary:hover, .rp-product-btn:hover { background: var(--accent-dark); opacity: 1; }

.footer-status .dot { background: var(--accent); }
.feature-tab.active .learn-more, .footer-col a:hover,
.dash-rank-delta.up, .dash-score-change.up { color: var(--accent); }
.feature-tab.active, .footer-enquiry-form input:focus,
.footer-enquiry-form textarea:focus { border-color: var(--accent); }
.gradient-lines-svg stop { stop-color: var(--accent); }
.nav-burger span { background: #ffffff; }
[style*="color:#ccff66"] { color: var(--accent) !important; }
[style*="background:#ccff66"], [style*="background: #ccff66"] { background: var(--accent) !important; color: #fff !important; }
[style*="background:rgba(204,255,102"] { color: var(--accent) !important; }
.dash-rank-row.highlight { border-left-color: var(--accent); }
.structure-wrapper .structure-card:hover { border-color: var(--accent); }
.footer-social a:hover { color: var(--accent); }
[style*="color:#888"], [style*="color:#555"], [style*="color:#444"], [style*="color:#666"] { color: rgba(255,255,255,0.75) !important; }
[style*="color:#aaa"], [style*="color:#999"] { color: rgba(255,255,255,0.85) !important; }


/* ================================================================
   rp- TEMPLATE STYLES
   ================================================================ */

.rp-container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.rp-section { padding: 80px 0; }
.rp-section--alt { background: var(--surface); }

.rp-hero { padding: 100px 40px 80px; max-width: 1200px; margin: 0 auto; }
.rp-eyebrow { font-size: 11px !important; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent) !important; margin-bottom: 16px; }
.rp-h1 { font-family: 'Jost', sans-serif; font-size: clamp(40px,6vw,80px); font-weight: 500; letter-spacing: -2px; line-height: 1.05; color: #ffffff; margin-bottom: 20px; }
.rp-lead { font-size: 18px !important; color: rgba(255,255,255,0.75) !important; line-height: 1.6; max-width: 600px; margin-bottom: 36px; }

.rp-hero--sub { padding: 60px 40px 56px; max-width: 1200px; margin: 0 auto; }
.rp-hero--sub .rp-h1 { font-size: clamp(30px,4.5vw,56px); letter-spacing: -1.5px; margin-bottom: 16px; }
.rp-hero--sub .rp-lead { font-size: 16px !important; max-width: 560px; margin-bottom: 28px; }

.rp-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.rp-breadcrumb a { font-size: 13px; color: rgba(255,255,255,0.5) !important; text-decoration: none; transition: color .15s; }
.rp-breadcrumb a:hover { color: var(--accent) !important; }
.rp-breadcrumb-sep { font-size: 13px; color: rgba(255,255,255,0.25); }
.rp-breadcrumb-current { font-size: 13px; color: rgba(255,255,255,0.8); }

.rp-h2 { font-family: 'Jost', sans-serif; font-size: clamp(28px,3.5vw,44px); font-weight: 500; letter-spacing: -1px; color: #ffffff; margin-bottom: 16px; }
.rp-h3 { font-family: 'Jost', sans-serif; font-size: clamp(20px,2.5vw,28px); font-weight: 500; letter-spacing: -0.5px; color: #ffffff; margin-bottom: 12px; }
.rp-body { font-size: 16px !important; color: rgba(255,255,255,0.75) !important; line-height: 1.7; max-width: 680px; margin-bottom: 0; }

.rp-btn-primary { display: inline-block; padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none !important; transition: all .2s; }
.rp-btn-ghost { display: inline-block; padding: 11px 27px; border-radius: 10px; font-size: 15px; font-weight: 500; text-decoration: none !important; border: 1px solid rgba(255,255,255,0.2); color: #ffffff !important; transition: all .2s; }
.rp-btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }

.rp-grid { display: grid; gap: 20px; margin-top: 48px; }
.rp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rp-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rp-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: border-color .2s, transform .2s; }
.rp-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.rp-card-icon { font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.rp-card-logo {
  height: 56px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
  width: fit-content;
  align-self: flex-start;
}
.rp-card-logo img {
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
a.rp-card, .rp-card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}
.rp-card-title { font-size: 18px !important; font-weight: 600; color: #ffffff !important; margin-bottom: 10px; }
.rp-card-body { font-size: 14px !important; color: rgba(255,255,255,0.65) !important; line-height: 1.65; }

.rp-checklist { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.rp-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.rp-checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 14px; flex-shrink: 0; margin-top: 2px; }

.rp-link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 36px; }
.rp-link-card { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; text-decoration: none !important; transition: border-color .2s, background .2s; }
.rp-link-card:hover { border-color: var(--accent); background: rgba(2,175,240,0.05); }
.rp-link-card-title { font-size: 15px; font-weight: 500; color: #ffffff !important; }
.rp-link-card-arrow { color: var(--accent) !important; font-size: 18px; transition: transform .2s; }
.rp-link-card:hover .rp-link-card-arrow { transform: translateX(4px); }

.rp-cta { background: var(--surface); border-top: 1px solid var(--border); padding: 80px 40px; text-align: center; }
.rp-cta-inner { max-width: 600px; }
.rp-cta-heading { font-family: 'Jost', sans-serif; font-size: clamp(28px,4vw,48px); font-weight: 500; letter-spacing: -1px; color: #ffffff; margin-bottom: 12px; }
.rp-cta-sub { color: rgba(255,255,255,0.6) !important; font-size: 16px !important; margin-bottom: 32px; }

.rp-product-hero { padding: 60px 40px 0; max-width: 1200px; margin: 0 auto; }
.rp-product-layout { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; padding: 60px 40px 80px; max-width: 1200px; margin: 0 auto; }
.rp-product-sidebar { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; }
.rp-product-price { font-family: 'Jost', sans-serif; font-size: 42px; font-weight: 600; color: #ffffff; letter-spacing: -1px; line-height: 1; margin-bottom: 6px; }
.rp-product-price-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.rp-product-btn { display: block; width: 100%; padding: 14px 20px; border-radius: 12px; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none !important; transition: all .2s; margin-bottom: 12px; }
.rp-product-btn-ghost { display: block; width: 100%; padding: 13px 20px; border-radius: 12px; font-size: 15px; font-weight: 500; text-align: center; text-decoration: none !important; border: 1px solid var(--border); color: rgba(255,255,255,0.75) !important; transition: all .2s; }
.rp-product-btn-ghost:hover { border-color: var(--accent); color: var(--accent) !important; }
.rp-product-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(2,175,240,0.12); color: var(--accent); margin-bottom: 16px; }
.rp-product-sidebar-meta { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.rp-product-sidebar-meta span { font-size: 13px; color: rgba(255,255,255,0.55); }
.rp-product-sidebar-meta strong { color: rgba(255,255,255,0.85); }

/* ── FAQ accordion ── */
.rp-faq { margin-bottom: 60px; }
.rp-faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.rp-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .2s, background .2s; }
.rp-faq-item[open] { border-color: var(--accent); background: var(--surface-2); }
.rp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: color .15s;
}
.rp-faq-item summary::-webkit-details-marker { display: none; }
.rp-faq-item summary::marker { display: none; content: ''; }
.rp-faq-item summary:hover { color: var(--accent); }
.rp-faq-q { flex: 1; }
.rp-faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.rp-faq-icon::before,
.rp-faq-icon::after {
  content: '';
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transition: transform .2s, opacity .2s;
}
.rp-faq-icon::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.rp-faq-icon::after  { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.rp-faq-item[open] .rp-faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.rp-faq-body {
  padding: 4px 24px 22px;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.7;
}
.rp-faq-body p { margin: 0 0 12px; color: rgba(255,255,255,0.75); }
.rp-faq-body p:last-child { margin-bottom: 0; }
.rp-faq-body ul, .rp-faq-body ol { padding-left: 20px; margin: 0 0 14px; }
.rp-faq-body li { margin-bottom: 6px; line-height: 1.65; color: rgba(255,255,255,0.75); }
.rp-faq-body a { color: var(--accent); text-decoration: none; }
.rp-faq-body a:hover { text-decoration: underline; }
.rp-faq-body strong { color: #ffffff; }

@media (max-width: 900px) {
  .rp-product-layout { grid-template-columns: 1fr; }
  .rp-product-sidebar { position: static; }
}
@media (max-width: 768px) {
  .rp-container { padding: 0 20px; }
  .rp-hero { padding: 80px 20px 60px; }
  .rp-hero--sub { padding: 50px 20px 40px; }
  .rp-product-hero { padding: 50px 20px 0; }
  .rp-product-layout { padding: 40px 20px 60px; }
  .rp-section { padding: 60px 0; }
  .rp-cta { padding: 60px 20px; }
  .rp-grid--2, .rp-grid--3, .rp-grid--4 { grid-template-columns: 1fr; }
  .nav-dropdown-menu--cols { flex-direction: column; }
  .rp-hero-brands { flex-wrap: wrap; }
  .logo-bar-inner img { height: 60px !important; }
  .rp-faq-item summary { padding: 16px 18px; font-size: 15px; }
  .rp-faq-body { padding: 2px 18px 18px; font-size: 14px; }
}
