/* ============================================
   GLOBALFONE TECHNOLOGY CONSULTANTS
   Main Stylesheet
   ============================================ */

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

:root {
  --navy: #003366;
  --cobalt: #0047AB;
  --blue-light: #1a73e8;
  --red: #CC0000;
  --gold: #FFD700;
  --white: #ffffff;
  --light-gray: #f4f6f9;
  --mid-gray: #e0e4ea;
  --dark-gray: #333333;
  --text-gray: #555555;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.topbar a { color: var(--gold); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ---- NAVBAR ---- */
nav {
  background: var(--cobalt);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.nav-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 0;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; list-style: none; gap: 0; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 18px 16px;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: 4px;
  margin-left: 10px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #aa0000 !important; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 60%, #1a73e8 100%);
  color: #fff;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.06) 0%, transparent 60%);
  animation: pulse-bg 6s ease-in-out infinite;
}
@keyframes pulse-bg {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.hero h1 {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
  position: relative;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 35px;
  opacity: 0.92;
  position: relative;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.btn-red { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-blue { background: var(--cobalt); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 30px 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-number { font-size: 40px; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { font-size: 13px; opacity: 0.8; margin-top: 4px; }

/* ---- SECTIONS ---- */
.section { padding: 70px 40px; }
.section-alt { background: var(--light-gray); }
.section-dark { background: var(--navy); color: #fff; }
.section-cobalt { background: var(--cobalt); color: #fff; }

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.section-title.white { color: #fff; }
.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-subtitle.white { color: rgba(255,255,255,0.85); }

/* ---- SERVICE CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 5px solid var(--cobalt);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.card-icon { font-size: 44px; margin-bottom: 18px; }
.card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.card p { color: var(--text-gray); font-size: 15px; margin-bottom: 20px; }
.card-red { border-top-color: var(--red); }
.card-gold { border-top-color: var(--gold); }
.card-green { border-top-color: #28a745; }

/* ---- PRODUCT CARDS (STARBOOST / LEADCATCHER) ---- */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-6px); }
.product-header {
  padding: 30px 28px 24px;
  color: #fff;
}
.product-header.starboost { background: linear-gradient(135deg, #003366, #0047AB); }
.product-header.leadcatcher { background: linear-gradient(135deg, #006666, #009999); }
.product-header.jessica-card { background: linear-gradient(135deg, #4a0080, #7b00cc); }
.product-header h2 { font-size: 26px; font-weight: 800; }
.product-header p { opacity: 0.9; font-size: 14px; margin-top: 6px; }
.product-body { padding: 28px; }
.product-price {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.product-price span { font-size: 16px; font-weight: 400; color: var(--text-gray); }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mid-gray);
  font-size: 15px;
  color: var(--dark-gray);
}
.feature-list li::before { content: '✅ '; }

/* ---- JESSICA CARD ---- */
.jessica-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.jessica-img {
  position: relative;
  text-align: center;
}
.jessica-img img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--cobalt);
  box-shadow: 0 0 0 12px rgba(0,71,171,0.15), 0 0 40px rgba(0,71,171,0.3);
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 12px rgba(0,71,171,0.15), 0 0 40px rgba(0,71,171,0.3); }
  50% { box-shadow: 0 0 0 20px rgba(0,71,171,0.2), 0 0 70px rgba(0,71,171,0.5); }
}
.jessica-badge {
  position: absolute;
  bottom: 10px;
  right: 50px;
  background: #28a745;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
.jessica-text h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.jessica-text p { font-size: 16px; color: var(--text-gray); margin-bottom: 16px; }
.jessica-features { list-style: none; margin: 20px 0 28px; }
.jessica-features li { padding: 8px 0; font-size: 15px; color: var(--dark-gray); }
.jessica-features li::before { content: '🤖 '; }

/* ---- PRICING TABLE ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid var(--mid-gray);
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--cobalt);
  position: relative;
  transform: scale(1.04);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.popular-badge {
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}
.pricing-name { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.pricing-price { font-size: 44px; font-weight: 900; color: var(--cobalt); line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; }
.pricing-price sub { font-size: 16px; color: var(--text-gray); }
.pricing-desc { font-size: 13px; color: var(--text-gray); margin: 10px 0 20px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 7px 0; border-bottom: 1px solid var(--mid-gray); font-size: 14px; }
.pricing-features li::before { content: '✓ '; color: #28a745; font-weight: 700; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-left: 5px solid var(--cobalt);
}
.stars { color: #FFD700; font-size: 20px; margin-bottom: 12px; }
.testimonial-text { font-size: 15px; color: var(--dark-gray); margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--navy); }
.testimonial-biz { font-size: 13px; color: var(--text-gray); }

/* ---- INDUSTRIES ---- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}
.industry-chip {
  background: #fff;
  border: 2px solid var(--mid-gray);
  border-radius: 8px;
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
}
.industry-chip:hover { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 30px 20px;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text-gray); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--mid-gray); padding: 20px 0; cursor: pointer; }
.faq-question { font-size: 17px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; }
.faq-answer { font-size: 15px; color: var(--text-gray); margin-top: 12px; display: none; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.3s; font-size: 20px; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--red), #990000);
  color: #fff;
  text-align: center;
  padding: 70px 40px;
}
.cta-banner h2 { font-size: 40px; font-weight: 900; margin-bottom: 14px; }
.cta-banner p { font-size: 18px; opacity: 0.92; max-width: 600px; margin: 0 auto 30px; }

/* ---- CONTACT FORM ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--text-gray); margin-bottom: 12px; }
.contact-info .info-item { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.contact-info .info-icon { font-size: 22px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--mid-gray);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--cobalt);
}
.form-group textarea { height: 130px; resize: vertical; }

/* ---- FOOTER ---- */
footer {
  background: #001a33;
  color: rgba(255,255,255,0.8);
  padding: 60px 40px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand h3 { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.footer-brand h3 span { color: var(--gold); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--cobalt));
  color: #fff;
  padding: 60px 40px;
  text-align: center;
}
.page-header h1 { font-size: 42px; font-weight: 900; margin-bottom: 12px; }
.page-header p { font-size: 18px; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ---- BLOG CARDS ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.blog-body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--cobalt);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.blog-body h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.blog-body p { font-size: 14px; color: var(--text-gray); margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: #999; }

/* ---- BOOKING WIDGET ---- */
.booking-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.booking-header {
  background: linear-gradient(135deg, var(--navy), var(--cobalt));
  color: #fff;
  padding: 36px 40px;
  text-align: center;
}
.booking-header h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.booking-body { padding: 40px; }
.booking-iframe {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 8px;
}

/* ---- JESSICA FLOATING WIDGET ---- */
#jessica-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Segoe UI', Arial, sans-serif;
}
#jessica-bubble {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,71,171,0.5);
  border: 3px solid var(--cobalt);
  transition: transform 0.2s;
  animation: bubble-pulse 3s ease-in-out infinite;
}
#jessica-bubble:hover { transform: scale(1.08); }
#jessica-bubble img { width: 100%; height: 100%; object-fit: cover; }
@keyframes bubble-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,71,171,0.5); }
  50% { box-shadow: 0 4px 30px rgba(0,71,171,0.8), 0 0 0 8px rgba(0,71,171,0.1); }
}
#jessica-panel {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  flex-direction: column;
}
#jessica-panel.open { display: flex; }
.jessica-panel-header {
  background: linear-gradient(135deg, var(--navy), var(--cobalt));
  color: #fff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.jessica-panel-header img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}
.jessica-panel-header-info h4 { font-size: 15px; font-weight: 700; }
.jessica-panel-header-info p { font-size: 12px; opacity: 0.85; }
.jessica-online { display: flex; align-items: center; gap: 5px; font-size: 11px; opacity: 0.85; margin-top: 2px; }
.jessica-online::before { content: ''; width: 8px; height: 8px; background: #4cff72; border-radius: 50%; display: inline-block; }
#jessica-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
#jessica-messages {
  height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f8f9fc;
}
.msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.msg.jessica {
  background: var(--cobalt);
  color: #fff;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.msg.user {
  background: #fff;
  color: var(--dark-gray);
  border: 1px solid var(--mid-gray);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.msg.typing { opacity: 0.7; font-style: italic; }
.jessica-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: #f8f9fc;
  border-top: 1px solid var(--mid-gray);
}
.chip {
  background: #fff;
  border: 1px solid var(--cobalt);
  color: var(--cobalt);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { background: var(--cobalt); color: #fff; }
.jessica-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--mid-gray);
  display: flex;
  gap: 8px;
  background: #fff;
  align-items: center;
}
#jessica-input {
  flex: 1;
  border: 2px solid var(--mid-gray);
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
#jessica-input:focus { border-color: var(--cobalt); }
#jessica-send {
  background: var(--cobalt);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#jessica-send:hover { background: var(--navy); }
#jessica-mic {
  background: none;
  border: 2px solid var(--mid-gray);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#jessica-mic:hover { background: var(--light-gray); }
#jessica-mic.listening { background: var(--red); border-color: var(--red); color: #fff; animation: mic-pulse 1s ease-in-out infinite; }
@keyframes mic-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.max-900 { max-width: 900px; margin: 0 auto; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1100px; margin: 0 auto; }
.highlight-box { background: var(--light-gray); border-left: 5px solid var(--cobalt); padding: 24px 28px; border-radius: 0 8px 8px 0; margin: 20px 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero h1 { font-size: 34px; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .jessica-section { grid-template-columns: 1fr; text-align: center; }
  .two-col { grid-template-columns: 1fr; }
  #jessica-panel { width: 320px; right: -10px; }
  .section { padding: 50px 20px; }
  .topbar { display: none; }
}
