/*
Theme Name: MegaTech Modern
Theme URI: http://localhost/megatechv2/
Description: Modern responsive child theme for MegaTech, based on BeTheme.
Author: MegaTech
Template: betheme-NULLED/betheme
Version: 1.0.0
Text Domain: megatech-modern
*/

:root {
  --mt-ink: #101828;
  --mt-muted: #5f6c80;
  --mt-navy: #102a56;
  --mt-blue: #2368ed;
  --mt-cyan: #23c4d8;
  --mt-violet: #7654df;
  --mt-surface: #f5f8fc;
  --mt-white: #fff;
  --mt-border: rgba(16, 42, 86, .12);
  --mt-shadow: 0 22px 60px rgba(18, 46, 88, .13);
  --mt-radius: 24px;
  --mt-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mt-site {
  margin: 0;
  color: var(--mt-ink);
  background: var(--mt-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
body.mt-site.admin-bar .mt-header { top: 32px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.mt-container { width: min(calc(100% - 40px), var(--mt-max)); margin-inline: auto; }
.mt-skip {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 12px 18px; color: #fff; background: var(--mt-navy); border-radius: 12px;
}
.mt-skip:focus { top: 16px; }

.mt-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(16,42,86,.08);
  backdrop-filter: blur(18px);
}
.mt-nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.mt-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.mt-brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: #fff; font-weight: 900; letter-spacing: -.06em;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mt-blue), var(--mt-violet));
  box-shadow: 0 10px 24px rgba(35,104,237,.3);
}
.mt-brand-copy { display: grid; line-height: 1.1; }
.mt-brand-copy strong { color: var(--mt-navy); font-size: 18px; letter-spacing: -.03em; }
.mt-brand-copy small { margin-top: 4px; color: var(--mt-muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mt-menu { margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; list-style: none; }
.mt-menu li { margin: 0; position: relative; }
.mt-menu a {
  display: block; padding: 10px 11px; color: #33415c;
  font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 10px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.mt-menu a:hover, .mt-menu a:focus-visible { color: var(--mt-blue); background: #edf4ff; outline: none; }
.mt-languages { display: inline-flex; align-items: center; gap: 3px; padding: 4px; flex: 0 0 auto; background: #eff4fb; border-radius: 10px; }
.mt-languages a {
  min-width: 30px; padding: 6px 5px; color: var(--mt-muted); font-size: 11px; font-weight: 900;
  line-height: 1; text-align: center; text-decoration: none; border-radius: 7px;
}
.mt-languages a:hover, .mt-languages a:focus-visible { color: var(--mt-blue); outline: none; }
.mt-languages a.is-active { color: #fff; background: var(--mt-blue); }
.mt-contact-item a {
  width: 42px; height: 42px; display: grid; place-items: center; padding: 0;
  color: #fff; font-size: 21px; line-height: 1; border-radius: 13px;
  background: linear-gradient(135deg, var(--mt-blue), var(--mt-violet));
  box-shadow: 0 10px 22px rgba(35,104,237,.2);
}
.mt-contact-item a:hover, .mt-contact-item a:focus-visible { color: #fff; background: linear-gradient(135deg, #195ddf, #6845d5); }
.mt-contact-item,
.mt-contact-item a { border-right: 0 !important; }
#menu-item-180.mt-contact-item { border-right: 0 !important; }
.mt-contact-item::before,
.mt-contact-item::after,
.mt-contact-item a::before,
.mt-contact-item a::after {
  content: none !important;
  display: none !important;
}
.mt-nav-cta, .mt-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 21px; color: #fff; font-size: 15px; font-weight: 800;
  line-height: 1; text-decoration: none; border: 0; border-radius: 14px;
  background: linear-gradient(135deg, var(--mt-blue), #455ee8);
  box-shadow: 0 13px 28px rgba(35,104,237,.22);
  transition: transform .2s, box-shadow .2s;
}
.mt-nav-cta:hover, .mt-button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 17px 34px rgba(35,104,237,.3); }
.mt-button--ghost { color: var(--mt-navy); background: #fff; border: 1px solid var(--mt-border); box-shadow: none; }
.mt-button--ghost:hover { color: var(--mt-blue); background: #f7faff; box-shadow: none; }
.mt-menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; flex: 0 0 46px; background: #eff4fb; border: 0; border-radius: 13px; }
.mt-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--mt-navy); transition: .2s; }

.mt-hero {
  position: relative; overflow: hidden;
  padding: 104px 0 90px;
  background:
    radial-gradient(circle at 85% 12%, rgba(35,196,216,.18), transparent 28%),
    radial-gradient(circle at 72% 70%, rgba(118,84,223,.16), transparent 30%),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 48%, #f8f5ff 100%);
}
.mt-hero::before {
  content: ""; position: absolute; width: 460px; height: 460px; right: -160px; top: -210px;
  border: 1px solid rgba(35,104,237,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(35,104,237,.03), 0 0 0 110px rgba(35,104,237,.025);
}
.mt-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.mt-kicker {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  color: var(--mt-blue); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}
.mt-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.mt-hero h1 { max-width: 760px; margin: 0; color: var(--mt-navy); font-size: clamp(44px, 6vw, 75px); line-height: .99; letter-spacing: -.055em; }
.mt-gradient-text { color: transparent; background: linear-gradient(90deg, var(--mt-blue), var(--mt-violet)); background-clip: text; -webkit-background-clip: text; }
.mt-lead { max-width: 680px; margin: 28px 0 0; color: #4e5c72; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.mt-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.mt-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 20px; color: var(--mt-muted); font-size: 14px; font-weight: 700; }
.mt-trust span::before { content: "✓"; margin-right: 7px; color: #0ba884; font-weight: 900; }

.mt-dashboard {
  position: relative; min-height: 490px; padding: 28px;
  color: #fff; border-radius: 32px;
  background: linear-gradient(155deg, #102a56 0%, #183b70 65%, #214f91 100%);
  box-shadow: 0 34px 80px rgba(16,42,86,.3);
}
.mt-dashboard::after {
  content: ""; position: absolute; width: 140px; height: 140px; right: -25px; bottom: -25px;
  background: linear-gradient(135deg, var(--mt-cyan), var(--mt-violet)); border-radius: 38px; opacity: .35; filter: blur(5px); transform: rotate(18deg);
}
.mt-dash-top { display: flex; align-items: center; justify-content: space-between; }
.mt-dash-dots { display: flex; gap: 6px; }
.mt-dash-dots i { width: 8px; height: 8px; background: rgba(255,255,255,.35); border-radius: 50%; }
.mt-dash-label { color: #b7c9e6; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mt-dash-title { margin: 38px 0 22px; font-size: 26px; line-height: 1.25; letter-spacing: -.03em; }
.mt-dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt-dash-card { min-height: 118px; padding: 20px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; backdrop-filter: blur(12px); }
.mt-dash-card strong { display: block; margin-bottom: 6px; font-size: 18px; }
.mt-dash-card span { color: #b9c9e0; font-size: 13px; }
.mt-dash-card--wide { grid-column: 1 / -1; min-height: 92px; display: flex; align-items: center; justify-content: space-between; }
.mt-dash-pulse { width: 92px; height: 36px; border-bottom: 3px solid var(--mt-cyan); transform: skewY(-10deg); filter: drop-shadow(0 0 7px rgba(35,196,216,.65)); }

.mt-section { padding: 100px 0; }
.mt-section--soft { background: var(--mt-surface); }
.mt-section--dark { color: #fff; background: var(--mt-navy); }
.mt-heading { max-width: 760px; margin-bottom: 48px; }
.mt-heading--center { margin-inline: auto; text-align: center; }
.mt-heading h2 { margin: 0; color: var(--mt-navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.045em; }
.mt-section--dark .mt-heading h2 { color: #fff; }
.mt-heading p { margin: 18px 0 0; color: var(--mt-muted); font-size: 19px; }
.mt-section--dark .mt-heading p { color: #b7c8e2; }
.mt-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mt-products--four { grid-template-columns: repeat(4, 1fr); }
.mt-card {
  position: relative; overflow: hidden; min-height: 310px; padding: 30px;
  background: #fff; border: 1px solid var(--mt-border); border-radius: var(--mt-radius);
  box-shadow: 0 13px 36px rgba(16,42,86,.07); transition: transform .25s, box-shadow .25s;
}
.mt-card:hover { transform: translateY(-6px); box-shadow: var(--mt-shadow); }
.mt-card-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 28px; color: #fff; font-size: 17px; font-weight: 900; border-radius: 17px; background: linear-gradient(135deg, var(--mt-blue), var(--mt-violet)); }
.mt-card:nth-child(2) .mt-card-icon { background: linear-gradient(135deg, #10a77d, #23c4d8); }
.mt-card:nth-child(3) .mt-card-icon { background: linear-gradient(135deg, #f58b34, #f15f64); }
.mt-card h3 { margin: 0 0 14px; color: var(--mt-navy); font-size: 25px; letter-spacing: -.03em; }
.mt-card p { margin: 0; color: var(--mt-muted); font-size: 15.5px; }
.mt-card a { position: absolute; left: 30px; bottom: 28px; color: var(--mt-blue); font-size: 14px; font-weight: 900; text-decoration: none; }

.mt-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.mt-feature-panel { position: relative; min-height: 460px; padding: 40px; color: #fff; border-radius: 30px; background: linear-gradient(145deg, var(--mt-violet), var(--mt-blue)); box-shadow: var(--mt-shadow); }
.mt-feature-panel::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; }
.mt-feature-panel > * { position: relative; }
.mt-feature-panel small { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.mt-feature-panel h3 { max-width: 390px; margin: 88px 0 18px; font-size: 42px; line-height: 1.05; letter-spacing: -.04em; }
.mt-feature-panel p { max-width: 390px; color: #e3e8ff; }
.mt-copy h2 { margin: 0 0 22px; color: var(--mt-navy); font-size: clamp(34px, 4vw, 50px); line-height: 1.08; letter-spacing: -.045em; }
.mt-copy p { color: var(--mt-muted); }
.mt-list { margin: 28px 0 0; padding: 0; display: grid; gap: 15px; list-style: none; }
.mt-list li { position: relative; padding-left: 34px; color: #33415c; font-weight: 650; }
.mt-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; color: #fff; font-size: 12px; border-radius: 50%; background: #0ba884; }

.mt-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mt-service { padding: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.055); }
.mt-service strong { display: block; margin-bottom: 7px; font-size: 20px; }
.mt-service span { color: #b7c8e2; font-size: 15px; }

.mt-cta { padding: 80px 0; }
.mt-cta-box {
  position: relative; overflow: hidden; padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  color: #fff; border-radius: 30px; background: linear-gradient(125deg, var(--mt-blue), var(--mt-violet));
}
.mt-cta-box::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -150px; border: 50px solid rgba(255,255,255,.09); border-radius: 50%; }
.mt-cta-copy { position: relative; max-width: 650px; }
.mt-cta h2 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.04em; }
.mt-cta p { margin: 0; color: #e7e9ff; }
.mt-cta .mt-button { position: relative; color: var(--mt-blue); background: #fff; box-shadow: none; flex: 0 0 auto; }

.mt-page-hero { padding: 70px 0 54px; background: linear-gradient(145deg, #f7faff, #f2f0ff); }
.mt-page-hero h1 { margin: 0; color: var(--mt-navy); font-size: clamp(40px, 6vw, 64px); line-height: 1; letter-spacing: -.05em; }
.mt-page { padding: 70px 0 100px; }
.mt-page-content { max-width: 850px; }
.mt-page-content h2, .mt-page-content h3 { color: var(--mt-navy); line-height: 1.2; }
.mt-page-content a { color: var(--mt-blue); }

.mt-contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 34px; align-items: start; }
.mt-contact-info, .mt-contact-form {
  padding: 34px; background: #fff; border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius); box-shadow: 0 14px 40px rgba(16,42,86,.07);
}
.mt-contact-info { color: #fff; background: linear-gradient(155deg, var(--mt-navy), #214f91); }
.mt-contact-info h2, .mt-contact-form h2 { margin: 0 0 14px; font-size: 29px; letter-spacing: -.03em; }
.mt-contact-info h2 { color: #fff; }
.mt-contact-info p { color: #c8d6ea; }
.mt-contact-details { margin: 30px 0 0; padding: 0; display: grid; gap: 20px; list-style: none; }
.mt-contact-details li { display: grid; gap: 3px; }
.mt-contact-details small { color: #8fa9ce; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mt-contact-details a, .mt-contact-details span { color: #fff; font-weight: 750; text-decoration: none; }
.mt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px; }
.mt-field { display: grid; gap: 8px; }
.mt-field--full { grid-column: 1 / -1; }
.mt-field label, .mt-field > span { color: var(--mt-navy); font-size: 14px; font-weight: 800; }
.mt-field input, .mt-field select, .mt-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; color: var(--mt-ink);
  font: inherit; font-size: 15px; background: #f8faff; border: 1px solid #dbe3ef; border-radius: 12px;
  outline: none; transition: border .2s, box-shadow .2s, background .2s;
}
.mt-field textarea { min-height: 150px; resize: vertical; }
.mt-field input:focus, .mt-field select:focus, .mt-field textarea:focus {
  background: #fff; border-color: var(--mt-blue); box-shadow: 0 0 0 4px rgba(35,104,237,.1);
}
.mt-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; color: var(--mt-muted); font-size: 13px; }
.mt-consent input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; }
.mt-form-status { margin-bottom: 22px; padding: 14px 17px; font-weight: 700; border-radius: 12px; }
.mt-form-status--success { color: #087b60; background: #e8faf4; border: 1px solid #b8ecd9; }
.mt-form-status--error { color: #a33b3b; background: #fff0f0; border: 1px solid #f1c7c7; }
.mt-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.mt-footer { padding: 64px 0 30px; color: #c5d2e7; background: #091b39; }
.mt-footer-grid { display: grid; grid-template-columns: 1.2fr .65fr 1.05fr; gap: 54px; }
.mt-footer .mt-brand-copy strong { color: #fff; }
.mt-footer .mt-brand-copy small { color: #91a6c7; }
.mt-footer p { max-width: 480px; font-size: 15px; }
.mt-footer h3 { margin: 4px 0 16px; color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.mt-footer ul { margin: 0; padding: 0; list-style: none; }
.mt-footer li { margin: 8px 0; }
.mt-footer a { color: #c5d2e7; text-decoration: none; }
.mt-footer a:hover { color: #fff; }
.mt-footer-contact li { overflow-wrap: anywhere; }
.mt-footer-contact li > span[aria-hidden="true"] { display: inline-block; width: 20px; color: #809bc1; font-size: 12px; font-weight: 900; }
.mt-footer-contact .mt-footer-address { margin-bottom: 18px; display: grid; gap: 2px; }
.mt-footer-contact .mt-footer-address strong { color: #fff; }
.mt-footer-contact .mt-footer-address span { color: #aebfd8; }
.mt-footer-bottom { margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #8095b6; font-size: 13px; border-top: 1px solid rgba(255,255,255,.09); }

@media (max-width: 1020px) {
  .mt-nav-cta { display: none; }
  .mt-hero-grid, .mt-split { grid-template-columns: 1fr; }
  .mt-hero-grid { gap: 54px; }
  .mt-dashboard { max-width: 650px; }
  .mt-products { grid-template-columns: repeat(2, 1fr); }
  .mt-products--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  body.mt-site.admin-bar .mt-header { top: 46px; }
  .mt-menu-toggle { display: block; }
  .mt-languages { margin-left: auto; }
  .mt-nav-menu {
    position: absolute; left: 20px; right: 20px; top: calc(100% + 10px);
    padding: 13px; visibility: hidden; opacity: 0; transform: translateY(-8px);
    background: #fff; border: 1px solid var(--mt-border); border-radius: 18px; box-shadow: var(--mt-shadow);
    transition: .2s;
  }
  .mt-nav-menu.is-open { visibility: visible; opacity: 1; transform: none; }
  .mt-menu { display: block; }
  .mt-menu a { padding: 13px 14px; }
  .mt-products { grid-template-columns: 1fr; }
  .mt-products--four { grid-template-columns: 1fr; }
  .mt-card { min-height: 280px; }
  .mt-contact-layout { grid-template-columns: 1fr; }
  .mt-footer-grid { grid-template-columns: 1fr 1fr; }
  .mt-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .mt-container { width: min(calc(100% - 28px), var(--mt-max)); }
  .mt-nav { min-height: 70px; }
  .mt-brand-copy small { display: none; }
  .mt-hero { padding: 76px 0 64px; }
  .mt-hero h1 { font-size: 45px; }
  .mt-dashboard { min-height: auto; padding: 21px; border-radius: 24px; }
  .mt-dash-grid { grid-template-columns: 1fr; }
  .mt-dash-card--wide { grid-column: auto; }
  .mt-section { padding: 74px 0; }
  .mt-services { grid-template-columns: 1fr; }
  .mt-form-grid { grid-template-columns: 1fr; }
  .mt-field--full, .mt-consent { grid-column: auto; }
  .mt-contact-info, .mt-contact-form { padding: 27px 22px; }
  .mt-feature-panel { min-height: 390px; padding: 30px; }
  .mt-feature-panel h3 { margin-top: 65px; font-size: 35px; }
  .mt-cta { padding: 54px 0; }
  .mt-cta-box { padding: 40px 26px; align-items: flex-start; flex-direction: column; border-radius: 24px; }
  .mt-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .mt-footer-brand { grid-column: auto; }
  .mt-footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .mt-nav { gap: 8px; }
  .mt-brand-copy { display: none; }
  .mt-brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .mt-languages a { min-width: 27px; padding-inline: 4px; }
}
@media (max-width: 782px) {
  body.mt-site.admin-bar .mt-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
