/* ============================================================
   AZITICS DESIGN SYSTEM — v2.0 "Modern Premium"
   Shared across every page. Load before page-specific styles.
   ============================================================ */

:root {
  --navy-900: #06222c;
  --navy-800: #0B3C49;
  --navy-700: #10505f;
  --teal-600: #1F7A8C;
  --teal-500: #2b93a7;
  --teal-100: #e3f1f4;
  --green-500: #8CC63F;
  --green-600: #76ad2e;
  --green-100: #eef7e0;
  --ink: #14262c;
  --muted: #58707a;
  --line: #dfe9ec;
  --bg: #ffffff;
  --bg-soft: #f4f8f9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(6, 34, 44, .08);
  --shadow-md: 0 8px 30px rgba(6, 34, 44, .10);
  --shadow-lg: 0 20px 60px rgba(6, 34, 44, .18);
  --font-display: 'Sora', 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', 'Poppins', system-ui, sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.65; font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--navy-800); }

h1,h2,h3,h4 { font-family: var(--font-display); color: var(--navy-800); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-800) 55%, #0e4657); color: #dcebef; }
.section-dark h1,.section-dark h2,.section-dark h3 { color: #fff; }
.section-dark .lead { color: #a9c6cf; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 26px; }
main .grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .8rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600); background: var(--green-100);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-dark .kicker { background: rgba(140,198,63,.14); color: var(--green-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 1rem var(--font-display); border-radius: 12px; cursor: pointer;
  padding: 14px 28px; border: 0; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(120deg, var(--green-500), var(--green-600)); color: var(--navy-900); box-shadow: 0 6px 20px rgba(140,198,63,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(140,198,63,.45); color: var(--navy-900); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--teal-600); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-800); box-shadow: inset 0 0 0 2px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--teal-600); color: var(--teal-600); }
.section-dark .btn-outline { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.section-dark .btn-outline:hover { box-shadow: inset 0 0 0 2px var(--green-500); color: var(--green-500); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 17px 36px; font-size: 1.08rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(31,122,140,.35); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-100), #fff); color: var(--teal-600);
  font-size: 24px; margin-bottom: 18px; border: 1px solid var(--line);
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 600 .92rem var(--font-display); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
@media (max-width: 760px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat .num { font: 800 clamp(1.9rem,4vw,2.7rem)/1 var(--font-display); color: var(--green-500); }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }
.section-dark .stat .lbl { color: #9dbcc6; }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price { font: 800 2rem var(--font-display); color: var(--navy-800); margin: 10px 0 2px; }
.price-card .per { color: var(--muted); font-size: .88rem; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.price-card ul li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: .95rem; }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }
.badge-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--green-500), var(--green-600)); color: var(--navy-900);
  font: 700 .75rem var(--font-display); letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.price-card.featured { border: 2px solid var(--green-500); box-shadow: var(--shadow-md); }

/* ---------- Testimonials ---------- */
.quote { position: relative; }
.quote p { font-size: 1.02rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.quote .avatar {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--green-500); font: 700 .95rem var(--font-display);
}
.quote .who .name { font: 700 .95rem var(--font-display); color: var(--navy-800); }
.quote .who .role { font-size: .85rem; color: var(--muted); }
.quote .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 12px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .9rem var(--font-display); color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: 400 1rem var(--font-body); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(31,122,140,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-msg { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; display: none; margin-top: 14px; }
.form-msg.ok { display: block; background: var(--green-100); color: var(--green-600); }
.form-msg.err { display: block; background: #fdecec; color: #c0392b; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font: 600 1rem var(--font-display); color: var(--navy-800);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal-600); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Header / Nav ---------- */
#site-header { position: sticky; top: 0; z-index: 900; }
.nav-bar {
  background: rgba(6,34,44,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07); transition: transform .3s ease;
}
.nav-bar.nav-hidden { transform: translateY(-100%); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 22px; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 40px; width: auto; }
.brand .brand-name { font: 800 1.25rem var(--font-display); color: #fff; letter-spacing: -.01em; }
.brand .brand-name em { color: var(--green-500); font-style: normal; }
.brand .brand-sub { display: block; font: 500 .62rem var(--font-body); color: #8fb2bc; letter-spacing: .22em; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-drop > button {
  font: 600 .93rem var(--font-display); color: #cfe2e8; padding: 9px 14px; border-radius: 9px;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s, background .15s;
}
.nav-links > a:hover, .nav-drop > button:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links > a.active { color: var(--green-500); }
.nav-drop { position: relative; }
.nav-drop .drop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 230px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s ease; z-index: 950;
}
.nav-drop.open .drop-menu, .nav-drop:hover .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 9px; font: 600 .9rem var(--font-display); color: var(--navy-800); }
.drop-menu a:hover { background: var(--teal-100); color: var(--teal-600); }
.drop-menu .drop-note { font: 400 .78rem var(--font-body); color: var(--muted); display: block; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: .25s; }
@media (max-width: 1080px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: var(--navy-900);
    flex-direction: column; align-items: stretch; padding: 18px 22px 26px; gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .3s ease; z-index: 890; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links > a { padding: 13px 14px; }
  .nav-toggle { display: block; }
  .nav-drop .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.05); display: none; }
  .nav-drop.open .drop-menu { display: block; }
  .nav-drop .drop-menu a { color: #cfe2e8; }
  .nav-drop .drop-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .drop-menu .drop-note { color: #8fb2bc; }
  .nav-cta { margin: 10px 0 0; justify-content: center; display: flex; }
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* Top utility strip */
.top-strip { background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-strip .inner { max-width: var(--max-w); margin: 0 auto; padding: 7px 22px; display: flex; justify-content: space-between; gap: 14px; font-size: .8rem; color: #9dbcc6; }
.top-strip a { color: #9dbcc6; }
.top-strip a:hover { color: var(--green-500); }
@media (max-width: 760px){ .top-strip .inner { justify-content: center; } .top-strip .hide-m { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #dcebef;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(31,122,140,.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(140,198,63,.16), transparent 55%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800) 60%, #0e4657);
  padding: 110px 0 90px;
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .accent { color: var(--green-500); }
.hero .lead { color: #a9c6cf; max-width: 640px; }
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 42px; font-size: .85rem; color: #8fb2bc; }
.hero-trust .tick { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .tick::before { content: "✓"; color: var(--green-500); font-weight: 800; }

/* ---------- Footer ---------- */
#site-footer { background: var(--navy-900); color: #a9c6cf; margin-top: 0; }
.footer-cta {
  background: linear-gradient(120deg, var(--teal-600), var(--navy-800));
  border-radius: 22px; padding: 46px 40px; display: flex; align-items: center; gap: 26px;
  justify-content: space-between; flex-wrap: wrap; transform: translateY(52px); box-shadow: var(--shadow-lg);
}
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.3rem,2.6vw,1.8rem); }
.footer-cta p { color: #c4dde4; margin: 6px 0 0; }
.footer-main { padding: 110px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 38px; }
@media (max-width: 980px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .footer-grid { grid-template-columns: 1fr; } }
#site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #a9c6cf; font-size: .95rem; }
.footer-links a:hover { color: var(--green-500); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .95rem; }
.footer-contact .ic { color: var(--green-500); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #cfe2e8; font-size: 15px; transition: .2s;
}
.footer-social a:hover { background: var(--green-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #77949e; }
.footer-bottom a { color: #77949e; }
.footer-bottom a:hover { color: var(--green-500); }
.footer-news input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); color: #fff; outline: none; font: 400 .95rem var(--font-body);
}
.footer-news input::placeholder { color: #77949e; }
.footer-news button { margin-top: 10px; width: 100%; }

/* ---------- Floating conversion widgets ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 980;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.1); color:#fff; }
body.cta-visible .float-wa { bottom: 92px; }
.float-wa svg { width: 30px; height: 30px; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 970;
  background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.1);
  padding: 12px 18px; display: none; align-items: center; justify-content: center; gap: 16px;
  transform: translateY(110%); transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta p { margin: 0; color: #cfe2e8; font: 600 .95rem var(--font-display); }
@media (max-width: 700px){ .sticky-cta p { display: none; } }

/* Exit-intent modal */
.exit-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.exit-modal.show { display: flex; }
.exit-modal .backdrop { position: absolute; inset: 0; background: rgba(6,34,44,.75); backdrop-filter: blur(4px); }
.exit-modal .panel {
  position: relative; background: #fff; border-radius: 20px; max-width: 480px; width: 100%;
  padding: 40px 36px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s ease;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.exit-modal .close-x { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 1.5rem; color: var(--muted); cursor: pointer; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.breadcrumbs { font-size: .85rem; color: #8fb2bc; margin-bottom: 18px; }
.breadcrumbs a { color: #8fb2bc; } .breadcrumbs a:hover { color: var(--green-500); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag { display: inline-block; font: 600 .75rem var(--font-display); color: var(--teal-600); background: var(--teal-100); border-radius: 999px; padding: 4px 12px; margin: 0 6px 6px 0; }
.prose h2 { margin-top: 2em; } .prose h3 { margin-top: 1.6em; }
.prose ul { color: var(--muted); }
.text-center { text-align: center; }
.mt-0{margin-top:0}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:36px}.mt-6{margin-top:56px}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-500); color: var(--navy-900); padding: 10px 16px; z-index: 2000; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
