:root {
  --bg: #0b0c10;
  --surface: #121316;
  --surface-2: #16181d;
  --text: #e9eef7;
  --muted: #9aa4b2;
  --primary: #2a7afa;
  --primary-2: #5aa2ff;
  --success: #2ecc71;
  --danger: #ff6b6b;
  --ring: rgba(90,162,255,.35);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
}

* { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 500px at 10% 0%, #0e1020, var(--bg));
  line-height: 1.35;
}

.container { width: min(1100px, 92vw); margin: 0 auto }
.muted { color: var(--muted) }
.small { font-size: .9rem }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.25) blur(8px); background-color: rgba(11,12,16,.78); border-bottom: 1px solid #1e2230 }
.header-wrap { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; padding: 12px 0 }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .1px }
.brand.small { font-weight: 600 }
.brand-text { opacity: .95 }
.brand-logo { display: inline-grid; grid-template-columns: repeat(2, 12px); grid-template-rows: repeat(2, 12px); gap: 2px }
.sq { width: 12px; height: 12px; border-radius: 2px; display: inline-block }
.sq.red { background: #f25022 }
.sq.blue { background: #00a4ef }
.sq.green { background: #7fba00 }
.sq.yellow { background: #ffb900 }

.nav { display: inline-flex; gap: 18px }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500 }
.nav a:hover { color: var(--text) }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; font-weight: 600; transition: .18s ease }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(42,122,250,.3) }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px) }
.btn-outline { color: var(--text); border-color: #2a3242; background: linear-gradient(180deg, #0f1118, #0c0d12); }
.btn-outline:hover { border-color: #3a4156; }
.btn-ghost { color: var(--text); background: transparent; border-color: #202533 }
.btn-ghost:hover { border-color: #2a3242 }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ring) }
.icon-btn { background: transparent; border: 0; color: var(--muted); font-size: 18px; cursor: pointer }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 60px }
.hero-content { text-align: center }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 12px; letter-spacing: -.5px }
.hero .sub { color: var(--muted); font-size: clamp(1rem, 2.8vw, 1.15rem); max-width: 840px; margin: 0 auto 28px }
.cta-group { display: inline-flex; gap: 12px }
.trust-badges { margin-top: 16px; display: inline-flex; align-items: center; gap: 10px; color: var(--muted) }
.trust-badges .badge { background: #161a25; border: 1px solid #242a38; padding: 8px 12px; border-radius: 999px }
.trust-badges .dot { width: 5px; height: 5px; background: #2a3242; border-radius: 50% }

.hero-bg { position: absolute; inset: -200px 0 0; pointer-events: none }
.bg-shape { position: absolute; filter: blur(60px); opacity: .75 }
.bg-shape.s1 { width: 380px; height: 380px; left: -40px; top: 0; background: #00a4ef33 }
.bg-shape.s2 { width: 420px; height: 420px; right: -60px; top: 60px; background: #f2502233 }
.bg-shape.s3 { width: 320px; height: 320px; left: 28%; top: 180px; background: #7fba0030 }
.bg-grid { position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(#1b2030 1px, transparent 1px); background-size: 18px 18px }

/* Sections */
.section { padding: 64px 0 }
.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 24px; text-align: center }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.feature-card { background: linear-gradient(180deg, #121317, #101117); border: 1px solid #1b2030; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease }
.feature-card:hover { transform: translateY(-2px); border-color: #2a3242; box-shadow: 0 14px 34px rgba(0,0,0,.45) }
.feature-card h3 { margin: 0 0 6px; letter-spacing: .2px }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.5 }
.icon { width: 56px; height: 56px; border-radius: 12px; box-shadow: inset 0 0 0 1px #1e2230, 0 6px 14px rgba(0,0,0,.25); display: grid; place-items: center; overflow: hidden }
.app-svg { width: 100%; height: 100% }
.app-word { background: linear-gradient(180deg, #0078d4, #2b88d8) }
.app-excel { background: linear-gradient(180deg, #107c41, #2fb16a) }
.app-powerpoint { background: linear-gradient(180deg, #c43e1c, #e1572d) }
.app-outlook { background: linear-gradient(180deg, #0a6ed1, #2a8be7) }
.app-onedrive { background: linear-gradient(180deg, #1565c0, #1e88e5) }
.app-teams { background: linear-gradient(180deg, #6264a7, #8b8fd3) }

/* Pricing */
.pricing .pricing-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; background: var(--surface-2); border: 1px solid #1e2230; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow) }
/* Confirmation page also uses a single pricing-card layout */
.pricing-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; background: var(--surface-2); border: 1px solid #1e2230; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow) }
.price-row { display: inline-flex; align-items: baseline; gap: 14px }
.price-now { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; background: linear-gradient(90deg, #fff, #bcd7ff); -webkit-background-clip: text; background-clip: text; color: transparent }
.price-now .per { font-size: .9rem; font-weight: 700; position: relative; top: -6px; margin-left: 6px; color: #bcd7ff }
.price-old { color: #8b94a3; text-decoration: line-through; }
.price-sub { color: var(--muted); margin-top: 6px }
.bonus { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.bonus-item { display: inline-flex; gap: 10px; align-items: center; background: #12151f; border: 1px solid #202637; padding: 10px 12px; border-radius: 10px }
.bonus-item .tick { color: #66e089 }

/* FAQ */
.faq .faq-list { display: grid; gap: 10px }
.faq-item { background: var(--surface); border: 1px solid #1b2030; border-radius: 12px; padding: 12px 16px }
.faq-item > summary { cursor: pointer; font-weight: 600; list-style: none }
.faq-item > summary::-webkit-details-marker { display: none }
.faq-item > summary::after { content: '▸'; display: inline-block; margin-left: 8px; color: var(--muted); transition: transform .18s ease }
.faq-item[open] > summary::after { transform: rotate(90deg); color: var(--primary-2) }
.faq-item > p { color: var(--muted) }

/* Footer */
.site-footer { border-top: 1px solid #1b2030; margin-top: 24px; padding: 20px 0; background: #0d0f15 }
.footer-wrap { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px }
.foot-links { display: inline-flex; gap: 14px }
.foot-links a { color: var(--muted); text-decoration: none }
.foot-links a:hover { color: var(--text) }

/* Modal */
.modal { position: fixed; inset: 0; display: none; z-index: 50 }
.modal.show { display: grid; place-items: center }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6) }
.modal-card { position: relative; width: min(680px, 92vw); max-height: 80vh; overflow: auto; background: var(--surface-2); border: 1px solid #1e2230; border-radius: 16px; box-shadow: var(--shadow) }
.modal-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #1e2230 }
.modal-body { padding: 16px }

/* Payment */
.qr-box { display: grid; place-items: center; background: #0f1118; border: 1px solid #202637; border-radius: 12px; padding: 12px }
.qr-img { width: 220px; height: 220px; display: block }
.countdown { margin: 10px 0 6px; color: var(--muted); font-weight: 600 }
.payment-form[hidden] { display: none }

/* Form */
.form-row { display: grid; gap: 6px; margin-bottom: 12px }
.form-row label { color: var(--muted); font-weight: 600 }
.form-row input, .form-row select, .form-row textarea {
  background: #12151f; border: 1px solid #202637; color: var(--text); border-radius: 10px; padding: 10px 12px; outline: none; box-shadow: 0 0 0 0px var(--ring);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: #2a3242; box-shadow: 0 0 0 3px var(--ring) }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
.form-grid .form-row { margin-bottom: 0 }
.form-actions { display: inline-flex; gap: 10px; margin-top: 6px }

/* Toast */
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%) translateY(20px); background: #12151f; border: 1px solid #202637; color: var(--text); padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .2s ease; z-index: 60 }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0) }

/* Confirmation UI */
.confirm-tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; background: #12151f; border: 1px solid #202637; color: var(--success); font-size: 28px; box-shadow: var(--shadow) }
.confirm-actions { margin-top: 18px; text-align: center; display: grid; justify-items: center }
.confirm-actions .btn { margin-bottom: 12px }
.confirm-actions .small { text-align: center; margin-top: 4px }
/* Lead paragraph styling for confirmation */
.confirm-lead { text-align: center; max-width: 760px; margin: 0 auto 18px; color: var(--muted) }
/* Details paragraph card and pills */
.details-card { background: #12151f; border: 1px solid #202637; border-radius: 12px; padding: 12px 14px }
.details-text { margin: 0; color: var(--muted) }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #151822; border: 1px solid #202637; color: var(--text) }

/* Confirmation page: remove extra bottom space so content meets footer */
.confirm-page { padding-bottom: 0 }
.confirm-page .pricing-card { margin-top: 18px }
.confirm-page + .site-footer { margin-top: 24px }

/* (reverted) use global primary button styles */

/* Responsive */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr 1fr }
  .bonus { grid-template-columns: 1fr 1fr }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr }
  .header-wrap { grid-template-columns: auto 1fr auto }
  .nav { display: none }
  .bonus { grid-template-columns: 1fr }
  .form-grid { grid-template-columns: 1fr }
}

/* Production footer */
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px }
.footer-col h4 { margin: 0 0 8px; font-size: 1rem }
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 4px 0 }
.footer-col a:hover { color: var(--text) }
.footer-bottom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; margin-top: 12px }
.social { display: inline-flex; gap: 8px }
.social .s { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #151822; border: 1px solid #202637; color: var(--muted) }
.social .s:hover { color: var(--text); border-color: #2a3242 }


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important }
}