/* =========================================
   Majestic Tech.AI — Maia Voice Receptionist — styles
   ========================================= */

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

:root {
  --navy:    #0d1b2a;
  --blue:    #1b4f8a;
  --sky:     #2d87e8;
  --accent:  #f97316;
  --accent2: #fbbf24;
  --light:   #f0f6ff;
  --white:   #ffffff;
  --gray:    #64748b;
  --border:  #dde8f5;
  --text:    #1e293b;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(13,27,42,.12);
  --shadow-lg: 0 12px 48px rgba(13,27,42,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .75rem;
}

/* --- Layout helpers --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section--alt { background: var(--light); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(249,115,22,.35);
}
.btn--primary:hover {
  background: #ea6a06;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.45);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(13,27,42,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}
.nav__logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--sky), var(--accent));
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color .18s;
}
.nav__links a:hover { color: var(--white); }

.nav__cta { display: flex; gap: .75rem; align-items: center; }

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy) 0%, #0f2d50 60%, #0d3870 100%);
  padding-top: 68px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 110% 40%, rgba(45,135,232,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at -10% 80%, rgba(249,115,22,.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(45,135,232,.18);
  border: 1px solid rgba(45,135,232,.35);
  border-radius: 99px;
  padding: .35rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero__headline { color: var(--white); margin-bottom: 1.25rem; }
.hero__headline span { color: var(--accent2); }

.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-stars { color: var(--accent2); font-size: 1.05rem; letter-spacing: .05em; }
.trust-text  { color: rgba(255,255,255,.6); font-size: .85rem; }

/* Phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 280px;
  background: #1a2e45;
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,.12);
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.phone-notch {
  width: 100px; height: 26px;
  background: #0d1b2a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
}
.phone-screen { padding: 1.25rem 1rem; }
.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .65rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.phone-call-card {
  background: linear-gradient(135deg, #0f2d50, #1b4f8a);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: .75rem;
}
.call-icon {
  width: 52px; height: 52px;
  background: rgba(45,135,232,.25);
  border-radius: 50%;
  margin: 0 auto .6rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border: 2px solid rgba(45,135,232,.4);
  animation: ring 2.5s infinite;
}
@keyframes ring {
  0%, 90%, 100% { transform: rotate(0); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
}
.call-name  { font-size: .8rem; font-weight: 700; color: var(--white); margin-bottom: .15rem; }
.call-label {
  font-size: .65rem;
  color: rgba(255,255,255,.45);
  background: rgba(249,115,22,.2);
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 99px;
  padding: .1rem .5rem;
  display: inline-block;
}

.ai-message {
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: .9rem;
  font-size: .7rem;
  color: rgba(255,255,255,.8);
  line-height: 1.5;
  margin-bottom: .6rem;
}
.ai-label {
  font-size: .6rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}
.message-item {
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 10px;
  padding: .7rem;
  font-size: .7rem;
  color: rgba(255,255,255,.8);
}
.message-from {
  font-weight: 700;
  color: #4ade80;
  font-size: .65rem;
  margin-bottom: .2rem;
}

.hero__glow {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,135,232,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

/* =========================================
   PROBLEM BANNER
   ========================================= */
.problem-banner {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}
.problem-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.problem-stat {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.problem-stat__icon {
  font-size: 1.6rem;
  width: 52px; height: 52px;
  background: rgba(249,115,22,.15);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.problem-stat__num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent2);
  line-height: 1;
}
.problem-stat__label { font-size: .82rem; color: rgba(255,255,255,.65); }

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; left: calc(33.3% - 1px);
  width: 33.4%; height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  border-radius: 2px;
}
.step-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sky);
}
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(45,135,232,.35);
}
.step-card h3 { margin-bottom: .6rem; }
.step-card p  { color: var(--gray); font-size: .92rem; }

/* =========================================
   FEATURES
   ========================================= */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.feature-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.fi--blue   { background: rgba(45,135,232,.12); }
.fi--orange { background: rgba(249,115,22,.12); }
.fi--green  { background: rgba(74,222,128,.12); }
.fi--purple { background: rgba(139,92,246,.12); }

.feature-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.feature-item p  { color: var(--gray); font-size: .9rem; }

.feature-visual {
  background: linear-gradient(160deg, var(--navy) 0%, #1b3a6b 100%);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.chat-bubbles { display: grid; gap: 1rem; }
.bubble {
  border-radius: 14px;
  padding: 1rem 1.25rem;
  font-size: .9rem;
  max-width: 90%;
  line-height: 1.5;
}
.bubble--caller {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border-bottom-left-radius: 4px;
}
.bubble--ai {
  background: linear-gradient(135deg, var(--sky), var(--blue));
  color: var(--white);
  margin-left: auto;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(45,135,232,.3);
}
.bubble-label {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: .35rem;
}
.blocked-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.35);
  border-radius: 99px;
  padding: .25rem .75rem;
  font-size: .72rem;
  font-weight: 700;
  color: #fca5a5;
  margin-top: .5rem;
}

/* =========================================
   BENEFITS
   ========================================= */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sky);
  transition: transform .2s;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-card:nth-child(2) { border-top-color: var(--accent); }
.benefit-card:nth-child(3) { border-top-color: #8b5cf6; }
.benefit-card:nth-child(4) { border-top-color: #10b981; }
.benefit-card:nth-child(5) { border-top-color: var(--accent2); }
.benefit-card:nth-child(6) { border-top-color: #ec4899; }
.benefit-emoji { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h3 { margin-bottom: .5rem; }
.benefit-card p  { color: var(--gray); font-size: .9rem; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-stars { color: var(--accent2); font-size: .95rem; }
.testimonial-body  { color: var(--text); font-size: .93rem; line-height: 1.65; flex: 1; }
.testimonial-body em { font-style: normal; font-weight: 700; color: var(--sky); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  font-size: .9rem;
  flex-shrink: 0;
}
.author-name  { font-weight: 700; font-size: .9rem; }
.author-title { color: var(--gray); font-size: .78rem; }

/* =========================================
   PRICING
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  border: 2px solid var(--border);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--sky);
  background: linear-gradient(175deg, #f0f8ff, var(--white));
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.04);
}
.pricing-card--featured:hover { transform: scale(1.04) translateY(-4px); }
.featured-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--sky), var(--blue));
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem 1rem;
  border-radius: 99px;
  white-space: nowrap;
}
.plan-name  { font-size: .78rem; font-weight: 700; color: var(--sky); letter-spacing: .1em; text-transform: uppercase; margin-bottom: .5rem; }
.plan-price {
  display: flex;
  align-items: flex-start;
  gap: .2rem;
  margin-bottom: .5rem;
}
.price-dollar { font-size: 1.1rem; font-weight: 700; color: var(--gray); padding-top: .4rem; }
.price-num    { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-period { font-size: .85rem; color: var(--gray); align-self: flex-end; padding-bottom: .35rem; }
.plan-desc    { color: var(--gray); font-size: .88rem; margin-bottom: 1.5rem; }
.plan-features { list-style: none; display: grid; gap: .65rem; margin-bottom: 2rem; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .88rem;
  color: var(--text);
}
.plan-features li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(45,135,232,.12);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--sky);
  flex-shrink: 0;
}
.plan-features li.no::before {
  content: '✕';
  background: rgba(100,116,139,.08);
  color: var(--gray);
}
.plan-features li.no { color: var(--gray); }

/* =========================================
   FAQ
   ========================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color .18s;
}
.faq-item:hover { border-color: var(--sky); }
.faq-question {
  font-weight: 700;
  font-size: .97rem;
  margin-bottom: .6rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq-question::after { content: '+'; color: var(--sky); flex-shrink: 0; font-size: 1.2rem; }
.faq-answer { color: var(--gray); font-size: .9rem; line-height: 1.65; }

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0f2d50 50%, #1b3a6b 100%);
  color: var(--white);
  text-align: center;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(45,135,232,.22) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.cta-note { color: rgba(255,255,255,.45); font-size: .82rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand p { font-size: .88rem; line-height: 1.7; margin-top: .85rem; max-width: 280px; }
.footer__col h4  { color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__col ul  { list-style: none; display: grid; gap: .5rem; }
.footer__col li a {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  transition: color .18s;
}
.footer__col li a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { color: rgba(255,255,255,.4); transition: color .18s; }
.footer__legal a:hover { color: var(--white); }

/* =========================================
   UTILITY
   ========================================= */
.text-center { text-align: center; }
.section-header { max-width: 640px; }
.section-header--center { margin: 0 auto; text-align: center; }
.section-header p { color: var(--gray); font-size: 1.05rem; margin-top: .75rem; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 960px) {
  .hero__grid,
  .features-grid { grid-template-columns: 1fr; }
  .hero__visual   { order: -1; }
  .steps-grid,
  .benefits-grid,
  .testimonials-grid,
  .pricing-grid   { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .pricing-card--featured { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .steps-grid,
  .benefits-grid,
  .testimonials-grid,
  .pricing-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero__actions { flex-direction: column; }
  .btn { justify-content: center; }
  .problem-banner__inner { flex-direction: column; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
