/* ============ M&T Services — Dark & Premium ============ */
:root {
  --bg: #070b16;
  --bg-2: #0b1124;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #eef2fb;
  --muted: #9aa6c2;
  --faint: #6b769a;
  --accent: #3b82f6;
  --accent-2: #06d6c4;
  --accent-3: #8b5cf6;
  --grad: linear-gradient(120deg, #3b82f6 0%, #06d6c4 100%);
  --grad-soft: linear-gradient(120deg, rgba(59,130,246,.18), rgba(6,214,196,.18));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(59,130,246,.35), 0 18px 50px -12px rgba(59,130,246,.45);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Sora', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.hidden { position: absolute; left: -9999px; }

/* ===== Background FX ===== */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
    radial-gradient(1200px 600px at 80% -10%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(139,92,246,.10), transparent 55%),
    var(--bg); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; animation: float 18s ease-in-out infinite; }
.orb-1 { width: 480px; height: 480px; background: #2563eb; top: -120px; right: -80px; }
.orb-2 { width: 420px; height: 420px; background: #06d6c4; bottom: -140px; left: -100px; animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; background: #8b5cf6; top: 40%; left: 55%; animation-delay: -12s; opacity: .3; }
.grid-overlay { position: absolute; inset: 0; background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(circle at 50% 0%, #000 30%, transparent 80%); }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, -40px); } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-weight: 600; font-size: .98rem; padding: .8rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--grad); color: #04111f; box-shadow: 0 10px 30px -8px rgba(6,214,196,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(6,214,196,.6); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.1rem 0; transition: padding .25s, background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: .6rem 0; background: rgba(7,11,22,.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: baseline; gap: .4rem; font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-mark { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text { color: var(--text); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: #04111f !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; }
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .85rem; font-weight: 500; margin-bottom: 1.6rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(6,214,196,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(6,214,196,.5);} 70% { box-shadow: 0 0 0 10px rgba(6,214,196,0);} 100% { box-shadow: 0 0 0 0 rgba(6,214,196,0);} }
.hero-title { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1.4rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 640px; margin: 0 auto 2.2rem; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.stat-num { font-family: var(--display); font-size: 2.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { color: var(--faint); font-size: .9rem; margin-top: .3rem; }
.stat { display: flex; align-items: baseline; flex-direction: column; }
.stat:nth-child(1) .stat-num::after,
.stat:nth-child(2) .stat-num::after { }

/* ===== Sections ===== */
.section { padding: 6rem 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--accent-2); margin-bottom: .9rem; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* ===== Service cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform .25s, border-color .25s, background .25s; position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-icon { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 1.2rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; font-family: var(--display); }
.card p { color: var(--muted); font-size: .97rem; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem 1.9rem; display: flex; flex-direction: column; position: relative; transition: transform .25s, border-color .25s; }
.price-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.price-card.featured { border-color: transparent; background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--glow); transform: scale(1.02); }
.price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #04111f; font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; white-space: nowrap; }
.plan-name { font-family: var(--display); font-size: 1.3rem; margin-bottom: .8rem; }
.plan-price { display: flex; flex-direction: column; margin-bottom: 1rem; }
.plan-price .amount { font-family: var(--display); font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.plan-price .per { color: var(--faint); font-size: .9rem; margin-top: .2rem; }
.plan-desc { color: var(--muted); font-size: .96rem; margin-bottom: 1.3rem; }
.plan-feats { list-style: none; margin-bottom: 1.6rem; display: grid; gap: .7rem; flex: 1; }
.plan-feats li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: .94rem; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--grad-soft); color: var(--accent-2); font-size: .7rem; font-weight: 800; border: 1px solid var(--border); }

/* ===== Add-ons ===== */
.addons { margin-top: 3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.2rem; }
.addons-title { font-family: var(--display); font-size: 1.3rem; margin-bottom: 1.4rem; text-align: center; }
.addons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.addon { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.addon-name { font-weight: 500; font-size: .95rem; }
.addon-price { font-family: var(--display); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.addons-note { color: var(--faint); font-size: .85rem; font-style: italic; margin-top: 1.4rem; text-align: center; }

/* ===== Process ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.3rem; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.6rem; position: relative; transition: transform .25s, border-color .25s; }
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ===== Why ===== */
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.why-copy h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.why-copy p { color: var(--muted); margin-bottom: 1.5rem; }
.check-list { list-style: none; display: grid; gap: .9rem; margin-bottom: 2rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #04111f; font-weight: 800; font-size: .72rem; }
.why-visual { display: grid; place-items: center; }
.glass-panel { width: 100%; max-width: 360px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 20px; padding: 1.6rem; backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: floatPanel 6s ease-in-out infinite; }
@keyframes floatPanel { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }
.panel-row { display: flex; gap: .5rem; margin-bottom: 1.3rem; }
.panel-row .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.panel-row .dot:first-child { background: #ff5f57; } .panel-row .dot:nth-child(2) { background: #febc2e; } .panel-row .dot:nth-child(3) { background: #28c840; }
.panel-line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2), rgba(255,255,255,.12)); margin-bottom: .9rem; }
.panel-line.w90 { width: 90%; } .panel-line.w80 { width: 80%; } .panel-line.w75 { width: 75%; } .panel-line.w70 { width: 70%; } .panel-line.w60 { width: 60%; }
.panel-chip { display: inline-block; background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent-2); font-weight: 600; font-size: .85rem; padding: .5rem .9rem; border-radius: 999px; margin: .5rem 0 1.2rem; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-copy h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; color: var(--text); }
.contact-list a:hover { color: var(--accent-2); }
.contact-list .ci { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: 1.1rem; flex-shrink: 0; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--muted); }
.field .opt { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem 1rem; color: var(--text); font-family: inherit; font-size: .98rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.field textarea { resize: vertical; }
.form-fine { color: var(--faint); font-size: .82rem; text-align: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 2rem; background: rgba(0,0,0,.2); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-brand { display: flex; flex-direction: column; gap: .2rem; max-width: 320px; }
.footer-brand .brand-mark, .footer-brand .brand-text { font-family: var(--display); font-size: 1.3rem; font-weight: 800; display: inline; }
.footer-brand p { color: var(--faint); font-size: .9rem; margin-top: .5rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--muted); font-size: .95rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--faint); font-size: .85rem; padding-top: 1.5rem; }

/* ===== Chat widget ===== */
.chat-fab { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer; background: var(--grad); color: #04111f; font-weight: 700; font-size: .95rem; box-shadow: 0 14px 36px -8px rgba(6,214,196,.55); transition: transform .2s, box-shadow .2s; }
.chat-fab:hover { transform: translateY(-3px) scale(1.03); }
.chat-fab-icon { font-size: 1.2rem; }
.chat-window { position: fixed; bottom: 24px; right: 24px; z-index: 201; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 48px)); background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s; }
.chat-window.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.chat-id { display: flex; align-items: center; gap: .7rem; }
.chat-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); font-size: 1.2rem; }
.chat-id strong { display: block; font-size: .98rem; }
.chat-status { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); }
.chat-close { background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.chat-close:hover { color: var(--text); }
.chat-body { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: .8rem; }
.msg { max-width: 85%; padding: .7rem 1rem; border-radius: 16px; font-size: .92rem; line-height: 1.45; animation: msgIn .3s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.bot { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.user { background: var(--grad); color: #04111f; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 500; }
.msg.typing { display: flex; gap: 4px; align-items: center; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; } .msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }
.chat-quick { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1.2rem .8rem; }
.chat-quick button { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; cursor: pointer; transition: background .2s, border-color .2s; }
.chat-quick button:hover { background: var(--surface-2); border-color: var(--border-strong); }
.chat-input { display: flex; gap: .5rem; padding: .9rem 1.2rem; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: .7rem 1rem; color: var(--text); font-family: inherit; font-size: .92rem; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #04111f; font-size: 1rem; cursor: pointer; flex-shrink: 0; transition: transform .2s; }
.chat-input button:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: rgba(7,11,22,.97); backdrop-filter: blur(16px); padding: 5.5rem 2rem 2.5rem; gap: 1.6rem; align-items: flex-start; transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); border-bottom: 1px solid var(--border); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.15rem; }
  .nav-cta { margin-top: .5rem; }
  .nav-toggle { display: flex; z-index: 110; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}
@media (max-width: 480px) {
  .chat-fab-label { display: none; }
  .chat-fab { padding: 1rem; }
  .hero { padding-top: 6rem; }
  .section { padding: 4.5rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
