/* =============================================
   Find My VoIP - Global Stylesheet
   UCaaS Review Network
   Purple + Mint Green / Quiz/Finder Theme
   ============================================= */

:root {
  --primary: #5B2D8E;
  --primary-light: #7040AA;
  --primary-dark: #3D1C66;
  --accent: #3DDC84;
  --accent-dark: #2DB86A;
  --accent-light: #70E8A2;
  --bg: #F9F7FF;
  --bg-alt: #EFE8FF;
  --white: #FFFFFF;
  --text: #1A0A2E;
  --text-muted: #6B5A8A;
  --border: #D4C2F0;
  --purple-tint: #F3EEFF;
  --mint-tint: #E8FFF2;
  --shadow-sm: 0 1px 3px rgba(91,45,142,0.08);
  --shadow-md: 0 4px 14px rgba(91,45,142,0.12);
  --shadow-lg: 0 10px 32px rgba(91,45,142,0.16);
  --radius: 8px;
  --radius-lg: 14px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-w: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
h1, h2, h3, h4 { color: var(--primary); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.6rem; border-radius: var(--radius); font-size: 1rem; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; font-family: var(--font); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(91,45,142,0.35); }
.btn-mint { background: var(--accent); color: var(--primary-dark); }
.btn-mint:hover { background: var(--accent-dark); color: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(61,220,132,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--primary); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; border-radius: 10px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

.site-nav { background: var(--primary-dark); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 1.25rem; height: 68px; max-width: var(--max-w); margin: 0 auto; }
.nav-logo { display: flex; align-items: center; gap: 0.65rem; color: var(--white); font-size: 1.15rem; font-weight: 800; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-logo-icon { width: 36px; height: 36px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; color: var(--primary-dark); }
.nav-links { display: flex; align-items: center; gap: 0.2rem; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: rgba(255,255,255,0.82); font-size: 0.93rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 6px; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); background: rgba(61,220,132,0.08); }
.nav-cta { background: var(--accent) !important; color: var(--primary-dark) !important; font-weight: 700 !important; border-radius: 6px; }
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-mobile-toggle span { display: block; width: 26px; height: 2px; background: var(--white); border-radius: 2px; }

.hero { background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 5rem 1.25rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(61,220,132,0.1) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.hero-eyebrow { display: inline-block; background: rgba(61,220,132,0.12); color: var(--accent); border: 1px solid rgba(61,220,132,0.3); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.82rem; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.8px; }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content h1 em { color: var(--accent); font-style: normal; }
.hero-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Quiz Card */
.quiz-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--accent); }
.quiz-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.quiz-title { font-size: 0.95rem; font-weight: 700; color: var(--primary); }
.quiz-step-indicator { font-size: 0.78rem; color: var(--text-muted); }
.quiz-progress { background: var(--bg-alt); border-radius: 100px; height: 6px; margin-bottom: 1.5rem; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 100px; transition: width 0.3s ease; }
.quiz-question { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; }
.quiz-option { display: flex; align-items: center; gap: 0.75rem; background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); padding: 0.7rem 1rem; cursor: pointer; font-size: 0.93rem; font-weight: 500; color: var(--text); transition: all 0.15s; font-family: var(--font); width: 100%; text-align: left; }
.quiz-option:hover { border-color: var(--primary); background: var(--purple-tint); }
.quiz-option.selected { border-color: var(--accent); background: var(--mint-tint); color: var(--primary-dark); }
.quiz-nav { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.quiz-result { display: none; }
.quiz-result.visible { display: block; }
.result-header { text-align: center; margin-bottom: 1.25rem; }
.result-badge { display: inline-block; background: var(--mint-tint); border: 2px solid var(--accent); color: var(--primary-dark); font-size: 0.85rem; font-weight: 700; padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 0.75rem; }
.result-picks { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.result-pick { background: var(--purple-tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
.result-pick-num { width: 28px; height: 28px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900; flex-shrink: 0; }
.result-pick-name { font-weight: 700; font-size: 0.95rem; color: var(--primary); }
.result-pick-why { font-size: 0.82rem; color: var(--text-muted); }

.section-white { padding: 5rem 1.25rem; background: var(--white); }
.section-alt { padding: 5rem 1.25rem; background: var(--bg-alt); }
.section-purple { padding: 5rem 1.25rem; background: var(--purple-tint); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--primary); background: var(--purple-tint); border: 1px solid var(--border); padding: 0.3rem 0.9rem; border-radius: 100px; margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 0.65rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 0 auto; }
.provider-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: border-color 0.2s, transform 0.2s; }
.provider-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.provider-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.provider-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.provider-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; background: var(--mint-tint); color: var(--accent-dark); border: 1px solid var(--accent); padding: 0.2rem 0.6rem; border-radius: 100px; margin-bottom: 0.6rem; }
.provider-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem; }
.provider-features { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.83rem; }
.provider-features li { padding: 0.2rem 0; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.provider-features li::before { content: '✓'; color: var(--accent-dark); font-weight: 700; flex-shrink: 0; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: var(--max-w); margin: 0 auto; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 130px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; font-size: 2.6rem; }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.6rem; }
.blog-tag { background: var(--purple-tint); color: var(--primary); font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 100px; text-transform: uppercase; border: 1px solid var(--border); }
.blog-read-time { font-size: 0.78rem; color: var(--text-muted); }
.blog-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a { color: var(--primary); }
.blog-card p { font-size: 0.88rem; color: var(--text-muted); flex: 1; margin: 0; }
.blog-card-footer { padding: 0.9rem 1.4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.blog-card-date { font-size: 0.78rem; color: var(--text-muted); }
.blog-read-link { font-size: 0.83rem; font-weight: 700; color: var(--primary); }

.promo-section { background: var(--primary-dark); padding: 4.5rem 1.25rem; }
.promo-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.promo-label { display: inline-block; background: rgba(61,220,132,0.12); color: var(--accent); border: 1px solid rgba(61,220,132,0.3); padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem; }
.promo-content h2 { color: var(--white); font-size: clamp(1.45rem, 3vw, 1.9rem); margin-bottom: 0.9rem; }
.promo-content p { color: rgba(255,255,255,0.73); margin-bottom: 1.25rem; }
.promo-details { list-style: none; padding: 0; margin: 0 0 2rem; }
.promo-details li { color: rgba(255,255,255,0.82); padding: 0.4rem 0; display: flex; align-items: center; gap: 0.6rem; font-size: 0.93rem; }
.promo-details li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.promo-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(61,220,132,0.2); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.promo-phone-emoji { font-size: 4rem; margin-bottom: 1rem; }
.promo-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.promo-card p { color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 1.25rem; }
.promo-highlight { background: var(--accent); color: var(--primary-dark); padding: 0.5rem 1.2rem; border-radius: 8px; font-size: 1rem; font-weight: 800; display: inline-block; margin-bottom: 1rem; }

.form-embed-section { padding: 5rem 1.25rem; background: var(--bg-alt); }
.form-embed-wrap { max-width: 760px; margin: 0 auto; background: var(--white); border: 2px solid var(--primary); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.form-embed-header { text-align: center; margin-bottom: 2rem; }
.form-embed-wrap iframe { width: 100%; border: none; min-height: 560px; border-radius: var(--radius); }

.cta-banner { background: var(--primary); padding: 4rem 1.25rem; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.65rem; }
.cta-banner p { color: rgba(255,255,255,0.78); margin-bottom: 1.75rem; }

.page-hero { background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 4rem 1.25rem; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

.post-hero { background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 100%); padding: 4rem 1.25rem; }
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.4rem; }
.post-meta { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.post-tag { background: rgba(61,220,132,0.15); color: var(--accent); border: 1px solid rgba(61,220,132,0.3); padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.post-date, .post-read { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.post-hero h1 { color: var(--white); margin-bottom: 1rem; }
.post-intro { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin: 0; }
.post-body { max-width: 820px; margin: 0 auto; padding: 3rem 1.25rem 4rem; }
.post-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--bg-alt); padding-bottom: 0.5rem; }
.post-body h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; color: var(--primary-light); }
.post-cta-box { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 3rem; text-align: center; }
.post-cta-box h3 { color: var(--white); margin-bottom: 0.6rem; }
.post-cta-box p { color: rgba(255,255,255,0.73); margin-bottom: 1.5rem; }

.page-content { max-width: 860px; margin: 0 auto; padding: 4rem 1.25rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; border-bottom: 2px solid var(--bg-alt); padding-bottom: 0.5rem; }
.page-content h2:first-of-type { margin-top: 0; }
.callout-box { background: var(--purple-tint); border: 2px solid var(--primary); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout-box p { margin: 0; }

.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.65); padding: 3.5rem 1.25rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin: 1rem 0; }
.footer-network { font-size: 0.85rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-network a { color: var(--accent); font-weight: 600; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.83rem; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .provider-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .promo-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary-dark); flex-direction: column; padding: 1rem; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.75rem 1rem; }
  .nav-mobile-toggle { display: flex; }
  .site-nav { position: relative; }
  .provider-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
