/* Match My VoIP  -  Dark Green + Silver / Algorithm Precision Theme */
:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --primary-dark: #0D2818;
  --accent: #C0C0C0;
  --accent-warm: #D4AF37;
  --bg: #F7FBF7;
  --bg-alt: #EBF5EB;
  --white: #FFFFFF;
  --text: #1B2B1B;
  --text-muted: #4D6B4D;
  --border: #C8DCC8;
  --green-tint: #E8F5E9;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.12);
  --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.8rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
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-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(27,67,50,0.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.08); 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: var(--shadow-md); }
.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.05rem; font-weight: 800; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-logo-icon { width: 36px; height: 36px; background: var(--primary-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; border: 1px solid rgba(192,192,192,0.3); }
.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.72); font-size: 0.9rem; 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(192,192,192,0.08); }
.nav-cta { background: var(--primary-light) !important; color: var(--white) !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--primary) !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; }
.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(192,192,192,0.12); color: var(--accent); border: 1px solid rgba(192,192,192,0.25); padding: 0.35rem 1rem; border-radius: 100px; font-size: 0.8rem; 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.72); font-size: 1.05rem; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.quiz-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); border-top: 4px solid var(--primary-light); }
.quiz-card h3 { font-size: 0.9rem; text-align: center; margin-bottom: 1.5rem; color: var(--primary); }
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 0.65rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.quiz-opt { width: 100%; text-align: left; padding: 0.6rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); background: var(--white); cursor: pointer; font-size: 0.88rem; font-family: var(--font); color: var(--text); transition: all 0.15s; }
.quiz-opt:hover, .quiz-opt.selected { border-color: var(--primary); background: var(--green-tint); color: var(--primary); font-weight: 600; }
.quiz-progress { display: flex; gap: 4px; margin-bottom: 1.25rem; }
.quiz-dot { flex: 1; height: 4px; background: var(--border); border-radius: 2px; transition: background 0.2s; }
.quiz-dot.done { background: var(--primary); }
.quiz-dot.active { background: var(--primary-light); }
.quiz-result { display: none; }
.quiz-result.active { display: block; }
.match-score { text-align: center; margin-bottom: 1rem; }
.score-pct { font-size: 2rem; font-weight: 900; color: var(--primary); }
.score-label { font-size: 0.8rem; color: var(--text-muted); }
.result-provider { background: var(--green-tint); border: 2px solid var(--primary-light); border-radius: var(--radius); padding: 0.85rem 1rem; margin-bottom: 0.65rem; }
.result-provider h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 0.2rem; }
.result-provider p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.section-white { padding: 5rem 1.25rem; background: var(--white); }
.section-alt { padding: 5rem 1.25rem; background: var(--bg-alt); }
.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(--green-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); max-width: 560px; margin: 0 auto; }
.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: all 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 120px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.5rem; }
.blog-tag { background: var(--green-tint); color: var(--primary); font-size: 0.7rem; 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.75rem; color: var(--text-muted); }
.blog-card h3 { font-size: 0.92rem; margin-bottom: 0.4rem; line-height: 1.4; }
.blog-card h3 a { color: var(--primary); }
.blog-card p { font-size: 0.85rem; color: var(--text-muted); flex: 1; margin: 0; }
.blog-card-footer { padding: 0.85rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.blog-card-date { font-size: 0.75rem; color: var(--text-muted); }
.blog-read-link { font-size: 0.8rem; 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(192,192,192,0.1); color: var(--accent); border: 1px solid rgba(192,192,192,0.2); padding: 0.35rem 0.9rem; border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; }
.promo-content h2 { color: var(--white); font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.9rem; }
.promo-content p { color: rgba(255,255,255,0.7); margin-bottom: 1.25rem; }
.promo-details { list-style: none; padding: 0; margin: 0 0 2rem; }
.promo-details li { color: rgba(255,255,255,0.8); padding: 0.4rem 0; display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; }
.promo-details li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; font-size: 1rem; }
.promo-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(192,192,192,0.15); border-radius: var(--radius-lg); padding: 2rem; text-align: center; }
.promo-phone-emoji { font-size: 3.5rem; margin-bottom: 1rem; }
.promo-card h3 { color: var(--white); margin-bottom: 0.5rem; }
.promo-card p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin-bottom: 1.25rem; }
.promo-highlight { background: var(--primary-light); color: var(--white); 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); }
.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.72); font-size: 1.05rem; max-width: 600px; 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.83rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.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(192,192,192,0.12); color: var(--accent); border: 1px solid rgba(192,192,192,0.25); 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.83rem; color: rgba(255,255,255,0.5); }
.post-hero h1 { color: var(--white); margin-bottom: 1rem; }
.post-intro { color: rgba(255,255,255,0.72); 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; border: 1px solid rgba(192,192,192,0.15); }
.post-cta-box h3 { color: var(--white); margin-bottom: 0.6rem; }
.post-cta-box p { color: rgba(255,255,255,0.72); 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; }
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.6); 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.88rem; line-height: 1.6; margin: 1rem 0; }
.footer-network { font-size: 0.83rem; 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.82rem; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.88rem; 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.8rem; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; } .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; } .blog-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
