/* =========================================================
   VOTE.SMS — redesign
   Premium & trustworthy: deep navy + restrained orange accent
   ========================================================= */
:root {
  --navy: #0A2540;
  --navy-700: #163A5F;
  --accent: #EF3F08;
  --accent-soft: #FF7A4D;
  --accent-tint: #FEEAE2;
  --ink: #0A2540;
  --slate: #51657A;
  --line: #E6ECF3;
  --surface: #F6F8FB;
  --surface-2: #EEF3F8;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 24px 60px -24px rgba(10,37,64,.45);
  --shadow-sm: 0 12px 32px -16px rgba(10,37,64,.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; background: var(--white); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.eyebrow { font-size: .76rem; font-weight: 600; letter-spacing: .14em; margin: 0 0 14px; }
.eyebrow-accent { color: var(--accent); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--slate); font-size: 1.06rem; margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 28px -12px rgba(239,63,8,.7); }
.btn-primary:hover { background: #d8380a; }
.btn-ghost { border-color: #CBD5E1; color: var(--navy); }
.btn-ghost:hover { background: var(--surface); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-link { color: var(--navy); padding-left: 8px; padding-right: 8px; }
.btn-block { width: 100%; }
.link { color: var(--accent); font-weight: 600; }
.link:hover { color: #d8380a; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--navy); }
.brand-accent { color: var(--accent); }
.brand-light { color: #fff; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: #475569; font-weight: 500; font-size: .93rem; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(900px 480px at 82% -8%, rgba(239,63,8,.22), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff; padding: 84px 0 96px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 22px; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 500px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero-login { font-size: .9rem; color: rgba(255,255,255,.6); margin: 0 0 26px; }
.hero-login a { color: var(--accent-soft); font-weight: 600; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 0; font-size: .88rem; color: rgba(255,255,255,.75); }
.hero-trust .tick { color: var(--accent-soft); font-weight: 700; margin-right: 4px; }

/* Phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 290px; background: var(--surface-2); border-radius: 44px; padding: 22px 16px; box-shadow: var(--shadow); }
.phone-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.phone-head strong { display: block; font-size: .85rem; color: var(--navy); }
.phone-head .muted { font-size: .68rem; color: #64748B; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); flex: 0 0 38px; }
.phone-divider { height: 1px; background: #D9E2EC; margin-bottom: 12px; }
.bubble { max-width: 80%; padding: 10px 13px; border-radius: 16px; font-size: .8rem; line-height: 1.35; margin-bottom: 10px; }
.bubble.in { background: #fff; color: #1E2A37; }
.bubble.out { background: var(--accent); color: #fff; margin-left: auto; }
.results-card { position: absolute; left: -24px; bottom: -28px; width: 210px; background: #fff; border-radius: 16px; padding: 14px 16px 16px; box-shadow: var(--shadow-sm); }
.results-title { display: flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 600; color: var(--navy); margin-bottom: 12px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #1F9D6B; }
.bar { margin-bottom: 10px; }
.bar-row { display: flex; justify-content: space-between; font-size: .7rem; color: var(--slate); margin-bottom: 5px; }
.bar-row b { color: var(--navy); }
.bar-row b.hi { color: var(--accent); }
.track { height: 6px; border-radius: 3px; background: #E6ECF3; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 3px; background: #94A8BD; }
.track i.hi { background: var(--accent); }

/* Stats */
.stats { background: var(--navy); color: #fff; border-top: 1px solid var(--navy-700); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-num { font-size: clamp(1.9rem,3.4vw,2.7rem); font-weight: 800; color: var(--accent-soft); }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .06em; }

/* Capabilities */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--accent); }
.cap-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); display: grid; place-items: center; margin-bottom: 16px; }
.cap-icon img { width: 24px; height: 24px; }
.cap-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.cap-card p { color: var(--slate); font-size: .95rem; margin: 0; }

/* Solutions */
.solutions { display: grid; gap: 24px; }
.sol { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.sol-reverse .sol-copy { order: 2; }
.sol-copy { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 16px; align-items: flex-start; }
.sol-copy h3 { font-size: 1.6rem; }
.sol-copy p { color: var(--slate); margin: 0; }
.chip { background: var(--accent-tint); color: var(--accent); font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.sol-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(150deg, var(--surface-2), #D7E3F0); }
.sol-panel img { width: 64px; height: 64px; }
.sol-panel span { font-size: .82rem; color: var(--navy); opacity: .65; font-weight: 500; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.why-card { background: #FBFCFE; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; }
.why-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; margin-bottom: 18px; }
.why-icon img { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.why-card p { color: var(--slate); margin: 0; font-size: .97rem; }

/* CTA */
.cta { background: radial-gradient(700px 380px at 18% -10%, rgba(239,63,8,.3), transparent 60%), linear-gradient(160deg, var(--navy-700), var(--navy)); color: #fff; }
.cta-inner { text-align: center; padding: 88px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-inner h2 { font-size: clamp(1.9rem,3.4vw,2.7rem); max-width: 620px; }
.cta-inner p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Resources */
.res-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; }
.res-head h2 { font-size: clamp(1.7rem,3vw,2.3rem); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.blog { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-img { height: 200px; padding: 24px; }
.blog-img-navy { background: linear-gradient(135deg, var(--navy), #1E4A74); }
.blog-img-accent { background: linear-gradient(135deg, var(--accent), #B62E04); }
.tag { display: inline-block; background: rgba(255,255,255,.18); color: #fff; font-size: .72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.blog-body { padding: 26px 28px 28px; }
.blog-body h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.28; margin-bottom: 14px; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-copy h2 { font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 16px; }
.contact-copy p { color: var(--slate); }
.contact-info { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.contact-info li { display: flex; align-items: center; gap: 10px; color: var(--slate); }
.contact-info .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.contact-info strong { color: var(--navy); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm); display: grid; gap: 14px; }
.contact-form h3 { font-size: 1.4rem; margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid #E2E8F0; border-radius: var(--radius-sm); font: inherit; background: #F7F9FC; color: var(--ink); resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,63,8,.15); background: #fff; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { max-width: 320px; }
.footer-brand .brand { display: inline-block; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-cols { display: flex; gap: 64px; }
.footer-cols h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-bottom: 14px; font-weight: 600; }
.footer-cols a { display: block; font-size: .9rem; color: rgba(255,255,255,.78); margin-bottom: 10px; }
.footer-cols a:hover { color: var(--accent-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; gap: 16px; }
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.5); margin: 0; }
.footer-legal { display: flex; gap: 28px; }
.footer-legal a { font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: 2; }
  .nav-links { display: none; }
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .sol, .sol-reverse { grid-template-columns: 1fr; }
  .sol-reverse .sol-copy { order: 0; }
  .sol-panel { order: -1; min-height: 200px; padding: 36px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px; gap: 4px; }
  .nav-links.open a { padding: 12px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 28px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .res-grid { grid-template-columns: 1fr; }
  .res-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sol-copy { padding: 32px 28px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .results-card { left: -10px; width: 180px; }
}
