/*
Theme Name: Outbound Appointments
Theme URI: https://outboundappointments.com
Author: Outbound Appointments
Description: Custom WordPress theme for Outbound Appointments - appointment setting agency
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: outbound-appointments
*/

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --blue: #1a6fd4;
  --blue-light: #3b8af5;
  --blue-dark: #0e4fa3;
  --black: #0a0f1e;
  --black-mid: #141929;
  --white: #ffffff;
  --gray-light: #f7f8fc;
  --gray-mid: #e4e8f0;
  --gray-text: #8892b0;
  --text-dark: #0a0f1e;
  --text-muted: #666;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.3s ease;
}

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); color: #fff; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); color: #fff; }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--blue);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-white:hover { background: #e8f0ff; transform: translateY(-1px); }

/* ===========================
   NAVIGATION
=========================== */
#site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-logo-text span { color: var(--blue-light); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: #ccd6f6;
  font-size: 14px;
  font-weight: 400;
  transition: color var(--transition);
}
.nav-menu a:hover { color: var(--white); }

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO
=========================== */
#hero {
  background: var(--black);
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26,111,212,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(59,138,245,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(59,138,245,0.3);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--blue-light);
  border-radius: 50%;
  display: inline-block;
}

#hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

#hero h1 .highlight { color: var(--blue-light); }

#hero .hero-sub {
  font-size: 17px;
  color: var(--gray-text);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.hero-stat .label {
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 4px;
}

/* ===========================
   LOGOS BAR
=========================== */
#logos {
  background: var(--gray-light);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.logos-label {
  text-align: center;
  font-size: 12px;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo-pill {
  background: var(--gray-mid);
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 13px;
  color: #555;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ===========================
   SECTION SHARED
=========================== */
.section { padding: 88px 0; }
.section-dark { background: var(--black); }
.section-gray { background: var(--gray-light); }

.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-dark h2 { color: var(--white); }

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-dark .section-sub { color: var(--gray-text); }
.section-header.centered .section-sub { margin: 0 auto; }

/* ===========================
   HOW IT WORKS
=========================== */
#how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color var(--transition), transform var(--transition);
}

.step-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-4px);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===========================
   RESULTS / METRICS
=========================== */
#results .metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.metric-card {
  background: rgba(26,111,212,0.1);
  border: 1px solid rgba(59,138,245,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.metric-card .metric-num {
  font-size: 42px;
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 10px;
}

.metric-card .metric-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ===========================
   TESTIMONIALS
=========================== */
#testimonials .testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition);
}

.testi-card:hover { border-color: var(--blue-light); }

.testi-stars {
  color: var(--blue-light);
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testi-card blockquote {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testi-info span {
  font-size: 13px;
  color: #999;
}

/* ===========================
   FAQ
=========================== */
#faq .faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-mid);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 16px;
  transition: transform var(--transition);
}

.faq-answer {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-bottom: 20px;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===========================
   CTA SECTION
=========================== */
#cta-section {
  background: var(--blue);
  padding: 88px 0;
  text-align: center;
}

#cta-section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

#cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  background: var(--black);
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo-text {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.footer-logo-text span { color: var(--blue-light); }

.footer-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

.footer-links-col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-links-col a {
  color: var(--gray-text);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-links-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--gray-text);
  font-size: 13px;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black-mid);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  #site-header { position: relative; }

  #hero { padding: 60px 0 50px; }

  .hero-stats { gap: 28px; }

  #how-it-works .steps-grid,
  #results .metrics-grid { grid-template-columns: 1fr; }

  #testimonials .testi-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }
}

@media (max-width: 540px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; align-items: center; gap: 20px; }
}
