/* ProBot Solutions — Brand CSS
   Brand colors: navy #0f1a2e / orange #ff6b35
   Fonts: Inter (body), Inter extra-bold (hero)
*/

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

:root {
  --navy: #0f1a2e;
  --navy-2: #1a2742;
  --navy-3: #22334f;
  --orange: #ff6b35;
  --orange-dark: #e5562a;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --muted: #8892a8;
  --border: #dbe0e8;
  --success: #2ed573;
  --danger: #ff4757;
  --max-width: 1200px;
  --content-width: 900px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  font-size: 17px;
}

h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-dark); }
ul, ol { margin-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

code { background: var(--off-white); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  background: var(--navy);
  color: var(--white);
  z-index: 100;
  border-bottom: 2px solid var(--orange);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.nav-logo { font-weight: 900; font-size: 1.25rem; letter-spacing: 2px; color: var(--white); }
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; }
.nav-links a { color: var(--white); font-weight: 500; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--orange-dark); color: var(--white) !important; }

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

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.hero-inner { max-width: var(--content-width); margin: 0 auto; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--orange); }
.hero-subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--off-white);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.trust-bar {
  color: var(--muted);
  font-size: 0.95rem;
  padding-top: 1rem;
  border-top: 1px solid var(--navy-3);
  max-width: 700px;
  margin: 0 auto;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--navy); }

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }

/* ============ SECTIONS ============ */
.section {
  padding: 4rem 1.5rem;
}
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-narrow { max-width: var(--content-width); margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 1rem;
}
.section-subhead {
  text-align: center;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-subhead { color: var(--muted); }

.section-accent {
  background: var(--orange);
  color: var(--white);
}
.section-accent h2 { color: var(--white); }

/* ============ SYSTEM CARDS ============ */
.systems-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.system-card {
  background: var(--navy-2);
  border-radius: 12px;
  padding: 2rem;
  border-left: 4px solid var(--orange);
}
.system-num {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  line-height: 48px;
  text-align: center;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.system-card h3 { color: var(--white); }
.system-card p { color: var(--off-white); }
.system-result {
  background: rgba(46, 213, 115, 0.15);
  border-left: 3px solid var(--success);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--off-white);
}
.system-tier {
  display: inline-block;
  background: var(--navy-3);
  color: var(--muted);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
  transform: scale(1.03);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.pricing-name { font-size: 1.1rem; letter-spacing: 2px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  margin: 0.5rem 0;
}
.pricing-price span { font-size: 1rem; color: var(--muted); font-weight: 500; }
.pricing-setup { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.pricing-includes { list-style: none; margin: 1.5rem 0; }
.pricing-includes li { padding: 0.5rem 0; margin: 0; padding-left: 1.5rem; position: relative; }
.pricing-includes li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 8px; height: 4px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.pricing-best-for { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; font-style: italic; }

/* ============ GUARANTEE SECTION ============ */
.guarantee-hero {
  text-align: center;
  padding: 4rem 2rem;
}
.guarantee-hero .big-number {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin: 1rem 0;
}
.guarantee-hero h2 { color: var(--white); }
.guarantee-hero .or-clause {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--orange);
  margin: 1.5rem 0;
}

/* ============ HOW IT WORKS ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.step-card {
  text-align: center;
  padding: 1.5rem;
}
.step-num {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  line-height: 60px;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ============ FAQ ============ */
.faq-grid { max-width: 800px; margin: 2rem auto 0; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--orange);
  font-weight: 900;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 1.5rem 1.5rem; color: var(--navy); }

/* ============ FOOTER ============ */
.footer {
  background: var(--navy);
  color: var(--muted);
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.footer h4 { color: var(--white); margin-bottom: 0.75rem; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--orange); }
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-3);
  font-size: 0.9rem;
}

/* ============ ARTICLE / PAGE CONTENT ============ */
.article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.article h1 { margin-bottom: 1.5rem; }
.article h2 {
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--orange);
}
.article h3 { margin-top: 1.5rem; }
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.article th, .article td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.article th {
  background: var(--off-white);
  font-weight: 700;
}
.article blockquote {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--off-white);
  font-style: italic;
}
.cta-box {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}
.cta-box h3 { color: var(--white); }

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }

/* ============ UTILITIES ============ */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.big-stat {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  text-align: center;
}

@media (max-width: 640px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .section { padding: 2.5rem 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
