:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f8fafc; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e5e7eb; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.header-inner, .footer-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); font-size: 21px; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { color: #172554; font-size: 16px; }
.brand small { color: #64748b; font-size: 11px; }
.top-nav { display: flex; gap: 22px; color: #475569; font-size: 14px; font-weight: 700; }
.top-nav a:hover, .footer-inner a:hover { color: #2563eb; }
.hero { overflow: hidden; border-bottom: 1px solid #dbeafe; background: linear-gradient(135deg, #eff6ff, #eef2ff 54%, #fff7ed); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); align-items: center; gap: 64px; min-height: 420px; padding: 64px 0; }
.eyebrow { margin: 0 0 10px; color: #3158bd; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 700px; margin-bottom: 18px; color: #172554; font-size: clamp(40px, 7vw, 72px); line-height: 1.02; }
h2 { margin-bottom: 10px; color: #172554; font-size: clamp(26px, 4vw, 38px); line-height: 1.1; }
.hero-copy { max-width: 650px; color: #475569; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 11px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37,99,235,.16); }
.button-primary { color: #fff; background: #2563eb; }
.button-light { color: #3158bd; background: #fff; border: 1px solid #bfdbfe; }
.hero-panel { padding: 30px; border: 1px solid #c7d2fe; border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: 0 16px 40px rgba(37, 99, 235, .1); }
.hero-icon { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 24px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); font-weight: 900; letter-spacing: .08em; }
.hero-panel strong, .hero-panel > span:not(.hero-icon) { display: block; }
.hero-panel strong { color: #172554; font-size: 26px; }
.hero-panel > span:not(.hero-icon) { margin-top: 4px; color: #64748b; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #e0e7ff; }
.hero-stats span { display: block; }
.hero-stats b, .hero-stats small { display: block; }
.hero-stats b { color: #3158bd; font-size: 22px; }
.hero-stats small { color: #64748b; font-size: 12px; }
.section { padding: 76px 0; }
.section-tinted { background: #f1f5ff; border-top: 1px solid #e0e7ff; border-bottom: 1px solid #e0e7ff; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading > p:last-child { margin-bottom: 0; color: #64748b; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid #dbeafe; border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.contact-item:hover { border-color: #93c5fd; box-shadow: 0 12px 30px rgba(30,64,175,.08); transform: translateY(-2px); }
.contact-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: #2563eb; background: #dbeafe; font-size: 17px; font-weight: 900; }
.contact-icon-green { color: #059669; background: #d1fae5; font-size: 11px; }
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: #64748b; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.contact-item strong { margin-top: 3px; color: #1f2937; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan-card { position: relative; display: flex; min-height: 520px; flex-direction: column; padding: 24px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.04); }
.plan-card.featured { border: 2px solid #fb923c; background: linear-gradient(180deg, #fff7ed, #fff); }
.plan-card.dark { border-color: #1f2937; color: #fff; background: #030712; }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #f97316, #ef4444); font-size: 11px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.plan-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 18px; border-radius: 13px; color: #2563eb; background: #dbeafe; font-weight: 900; }
.plan-card:nth-child(2) .plan-icon { color: #9333ea; background: #f3e8ff; }
.plan-card:nth-child(3) .plan-icon { color: #ea580c; background: #ffedd5; }
.plan-card.dark .plan-icon { color: #fde047; background: rgba(250,204,21,.12); }
.plan-card h3 { margin-bottom: 4px; color: #1f2937; font-size: 21px; }
.plan-card.dark h3 { color: #fff; }
.plan-subtitle { min-height: 44px; margin-bottom: 0; color: #64748b; font-size: 13px; }
.plan-card.dark .plan-subtitle { color: #9ca3af; }
.plan-price { display: flex; align-items: baseline; gap: 8px; min-height: 52px; margin-top: 18px; }
.plan-price strong { color: #2563eb; font-size: 32px; }
.plan-card:nth-child(2) .plan-price strong { color: #9333ea; }
.plan-card:nth-child(3) .plan-price strong { color: #ea580c; }
.plan-card.dark .plan-price strong { color: #fde047; }
.old-price { position: relative; color: #3b82f6; font-size: 13px; font-weight: 800; }
.old-price::after { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; content: ""; background: #f87171; transform: rotate(-12deg); }
.plan-duration { margin-top: 16px; padding: 10px; border: 1px solid #bfdbfe; border-radius: 10px; color: #1d4ed8; background: #eff6ff; font-size: 13px; font-weight: 800; text-align: center; }
.plan-card:nth-child(2) .plan-duration { border-color: #e9d5ff; color: #7e22ce; background: #faf5ff; }
.plan-card:nth-child(3) .plan-duration { border-color: #fed7aa; color: #9a3412; background: #ffedd5; }
.plan-card.dark .plan-duration { border-color: rgba(255,255,255,.1); color: #fde047; background: rgba(255,255,255,.08); }
.plan-features { flex: 1; margin: 20px 0 0; padding: 0; list-style: none; }
.plan-features li { display: flex; gap: 9px; margin-top: 12px; color: #4b5563; font-size: 13px; line-height: 1.45; }
.plan-features li::before { flex: 0 0 auto; color: #10b981; content: "✓"; font-weight: 900; }
.plan-features li.excluded { color: #dc2626; }
.plan-features li.excluded::before { color: #ef4444; content: "×"; }
.plan-card.dark .plan-features li { color: #d1d5db; }
.plan-card.dark .plan-features li.excluded { color: #fca5a5; }
.plan-button { width: 100%; margin-top: 22px; padding: 12px 14px; border: 0; border-radius: 10px; color: #3158bd; background: #dbeafe; font-weight: 900; cursor: pointer; transition: transform .2s, filter .2s; }
.plan-button:hover:not(:disabled) { filter: brightness(.96); transform: translateY(-2px); }
.plan-button:disabled { cursor: not-allowed; opacity: .7; }
.plan-button.featured { color: #fff; background: linear-gradient(90deg, #f97316, #ef4444); }
.plan-button.dark { color: #111827; background: linear-gradient(90deg, #facc15, #ca8a04); }
.feature-list { display: grid; gap: 14px; }
.feature-item { overflow: hidden; border: 1px solid #dbeafe; border-radius: 14px; background: #fff; }
.feature-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; color: #1f2937; background: transparent; cursor: pointer; text-align: left; }
.feature-toggle:hover { background: #f8fafc; }
.feature-toggle h3 { margin: 0; font-size: 18px; }
.feature-toggle small { display: block; margin-bottom: 3px; color: #3158bd; font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.feature-toggle span:last-child { color: #3158bd; font-size: 21px; transition: transform .2s; }
.feature-item.open .feature-toggle span:last-child { transform: rotate(180deg); }
.feature-body { display: none; padding: 0 20px 20px; border-top: 1px solid #eff6ff; }
.feature-item.open .feature-body { display: block; }
.feature-body p { margin: 16px 0 0; color: #64748b; }
.feature-body-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.feature-card { padding: 14px; border: 1px solid #f1f5f9; border-radius: 10px; background: #f8fafc; }
.feature-card strong, .feature-card p { display: block; }
.feature-card strong { color: #1f2937; }
.feature-card p { margin: 4px 0 0; font-size: 13px; }
.feature-item.featured { border-color: #6366f1; color: #fff; background: linear-gradient(135deg, #4f46e5, #2563eb); }
.feature-item.featured .feature-toggle { color: #fff; }
.feature-item.featured .feature-toggle small, .feature-item.featured .feature-toggle span:last-child, .feature-item.featured .feature-body p { color: #dbeafe; }
.feature-item.featured .feature-body { border-top-color: rgba(255,255,255,.2); }
.feature-item.featured .feature-card { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.1); }
.feature-item.featured .feature-card strong, .feature-item.featured .feature-card p { color: #fff; }
.site-footer { border-top: 1px solid #e5e7eb; background: #fff; }
.footer-inner { min-height: 64px; color: #64748b; font-size: 13px; }
.footer-inner a { color: #3158bd; font-weight: 800; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 18px; }
.modal.hidden { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.72); backdrop-filter: blur(5px); }
.modal-card { position: relative; display: flex; width: min(520px, 100%); max-height: 94vh; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid #e5e7eb; }
.modal-header small { color: #2563eb; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.modal-header h2 { margin: 3px 0 0; font-size: 20px; }
.icon-button { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 50%; color: #64748b; background: #f1f5f9; font-size: 25px; line-height: 1; cursor: pointer; }
.qr-wrap { display: grid; min-height: 300px; place-items: center; overflow: hidden; padding: 10px; background: #f8fafc; }
.qr-wrap img { width: 100%; max-height: 68vh; object-fit: contain; border-radius: 10px; background: #fff; }
.modal-note { margin: 0; padding: 15px 20px; border-top: 1px solid #e5e7eb; color: #64748b; font-size: 13px; text-align: center; }
.modal-note a { color: #2563eb; font-weight: 900; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { max-width: 560px; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }
  .top-nav { display: none; }
  .hero-grid { min-height: auto; padding: 50px 0; }
  h1 { font-size: 44px; }
  .section { padding: 54px 0; }
  .contact-grid, .plans-grid, .feature-body-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; }
}
