/* ═══════════════════════════════════════════════════════
   DOX SMS Gateway — Public Design System
   Shared by: home.php, pricing.php, contact.php
═══════════════════════════════════════════════════════ */
:root {
  --bg:       #06091a;
  --surface:  #0d1230;
  --card:     #0f1535;
  --card2:    #131a3a;
  --blue:     #1565c0;
  --blue2:    #1e88e5;
  --cyan:     #29b6f6;
  --cyan2:    #00e5ff;
  --accent:   #00b4d8;
  --white:    #ffffff;
  --lgray:    #c8d0dc;
  --gray:     #8892a4;
  --dgray:    #4a5568;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);
  --glow:     rgba(0,180,216,.2);
  --shadow:   0 20px 60px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.dox-public {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
.dox-eyebrow {
  font-size: .72rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.dox-h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 18px;
}
.dox-h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
  letter-spacing: -1px; line-height: 1.15; margin-bottom: 14px;
}
.dox-h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.3px; }
.dox-lead {
  font-size: clamp(.95rem, 2vw, 1.1rem); color: var(--gray);
  line-height: 1.75; max-width: 560px;
}
.dox-lead strong { color: var(--lgray); font-weight: 600; }
.grad-text {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan2) 50%, #7c4dff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; background-size: 200% auto;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { 0% { background-position: 0 50% } 100% { background-position: 200% 50% } }

/* ── NAV ── */
.dox-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 66px;
  background: rgba(6, 9, 26, .85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.dox-nav-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.dox-nav-brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.dox-nav-brand-info { display: flex; flex-direction: column; line-height: 1; }
.dox-nav-brand-name { font-size: .97rem; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.dox-nav-brand-sub  { font-size: .62rem; color: var(--accent); font-weight: 600; letter-spacing: .8px; text-transform: uppercase; margin-top: 2px; }
.dox-nav-right { display: flex; align-items: center; gap: 8px; }

.dox-btn-ghost {
  height: 35px; padding: 0 16px; border-radius: 8px; font-size: .84rem; font-weight: 600;
  color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.1);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s; background: transparent;
}
.dox-btn-ghost:hover, .dox-btn-ghost.active { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.dox-btn-solid {
  height: 35px; padding: 0 18px; border-radius: 8px; font-size: .84rem; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #0091ea, #0d47a1);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: all .2s; box-shadow: 0 4px 14px rgba(0,145,234,.3);
}
.dox-btn-solid:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,145,234,.5); }

/* ── PAGE HERO (inner pages) ── */
.dox-page-hero {
  padding: 120px 6% 64px; text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,71,161,.45) 0%, transparent 65%),
    var(--bg);
  position: relative; overflow: hidden;
}
.dox-page-hero-grid {
  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(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
}
.dox-page-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.dox-page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,145,234,.08); border: 1px solid rgba(0,145,234,.2);
  border-radius: 50px; padding: 6px 16px; margin-bottom: 20px;
  font-size: .72rem; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ── LAYOUT ── */
.dox-container { max-width: 1100px; margin: 0 auto; padding: 0 6%; }
.dox-section { padding: 80px 6%; }
.dox-section-sm { padding: 48px 6%; }
.dox-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dox-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ── CARDS ── */
.dox-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 26px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.dox-card:hover { transform: translateY(-4px); border-color: rgba(0,145,234,.3); box-shadow: 0 20px 48px rgba(0,0,0,.45); }
.dox-card-featured {
  background: linear-gradient(160deg, rgba(13,71,161,.3), rgba(0,145,234,.1));
  border: 2px solid rgba(0,145,234,.4);
  box-shadow: 0 0 0 1px rgba(0,145,234,.1), 0 20px 60px rgba(0,145,234,.15);
}
.dox-card-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 50px;
  background: var(--accent); color: var(--bg); margin-bottom: 20px;
}

/* ── BUTTONS (large) ── */
.dox-btn-lg {
  height: 50px; padding: 0 30px; border-radius: 12px; font-size: .95rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; transition: all .25s; border: none; cursor: pointer;
}
.dox-btn-primary {
  color: #fff; background: linear-gradient(135deg, #0091ea, #0d47a1);
  box-shadow: 0 8px 26px rgba(0,145,234,.35);
}
.dox-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,145,234,.5); color: #fff; text-decoration: none; }
.dox-btn-outline {
  color: var(--lgray); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14) !important;
  backdrop-filter: blur(8px);
}
.dox-btn-outline:hover { background: rgba(255,255,255,.09); color: #fff; transform: translateY(-2px); text-decoration: none; }
.dox-btn-cyan {
  color: var(--bg); background: linear-gradient(135deg, var(--cyan2), var(--cyan));
  box-shadow: 0 8px 24px rgba(0,229,255,.3);
}
.dox-btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,229,255,.45); color: var(--bg); text-decoration: none; }

/* ── CHECK LIST ── */
.dox-checklist { list-style: none; padding: 0; }
.dox-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 0; font-size: .9rem; color: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--border);
}
.dox-checklist li:last-child { border-bottom: none; }
.dox-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: rgba(0,229,255,.12); border: 1px solid rgba(0,229,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; color: var(--cyan2);
}

/* ── DIVIDER ── */
.dox-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── ICON BOX ── */
.dox-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,145,234,.18), rgba(13,71,161,.18));
  border: 1px solid rgba(0,145,234,.18);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}

/* ── STATS ── */
.dox-stats {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 16px;
  background: rgba(255,255,255,.025); overflow: hidden;
}
.dox-stat {
  flex: 1; min-width: 130px; padding: 22px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.dox-stat:last-child { border-right: none; }
.dox-stat-n {
  font-size: 1.7rem; font-weight: 800; line-height: 1; letter-spacing: -1px;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dox-stat-l { font-size: .7rem; color: var(--gray); margin-top: 5px; text-transform: uppercase; letter-spacing: .6px; font-weight: 500; }

/* ── TABLE ── */
.dox-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.dox-table thead th {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--gray); padding: 6px 14px;
}
.dox-table tbody tr { background: var(--card2); transition: background .2s; }
.dox-table tbody tr:hover { background: rgba(0,145,234,.08); }
.dox-table tbody td { padding: 13px 14px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dox-table tbody td:first-child { border-left: 1px solid var(--border); border-radius: 8px 0 0 8px; }
.dox-table tbody td:last-child  { border-right: 1px solid var(--border); border-radius: 0 8px 8px 0; }
.dox-table-featured td { background: rgba(0,145,234,.1) !important; border-color: rgba(0,145,234,.25) !important; }

/* ── FAQ ACCORDION ── */
.dox-faq { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.dox-faq-item { border-bottom: 1px solid var(--border); }
.dox-faq-item:last-child { border-bottom: none; }
.dox-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: .95rem;
  color: rgba(255,255,255,.85); gap: 16px; transition: color .2s;
  user-select: none;
}
.dox-faq-q:hover { color: #fff; }
.dox-faq-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(0,145,234,.3); background: rgba(0,145,234,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--cyan); transition: transform .25s;
}
.dox-faq-item.open .dox-faq-icon { transform: rotate(45deg); }
.dox-faq-a {
  display: none; padding: 0 22px 18px; font-size: .9rem;
  color: var(--gray); line-height: 1.7;
}
.dox-faq-item.open .dox-faq-a { display: block; }

/* ── CTA BANNER ── */
.dox-cta-banner {
  border-radius: 22px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #0d1f5c 0%, #0a3d62 50%, #0d3b55 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  padding: 60px 48px; text-align: center;
}
.dox-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0,229,255,.08), transparent);
  pointer-events: none;
}
.dox-cta-banner > * { position: relative; z-index: 1; }

/* ── FOOTER ── */
.dox-footer { border-top: 1px solid var(--border); padding: 40px 6% 28px; }
.dox-footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 32px; margin-bottom: 32px; max-width: 1100px; margin-left: auto; margin-right: auto;
}
.dox-footer-brand img { width: 30px; height: 30px; border-radius: 7px; }
.dox-footer-brand-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; }
.dox-footer-brand-row span { font-size: .93rem; font-weight: 700; }
.dox-footer-desc { font-size: .8rem; color: var(--gray); line-height: 1.65; max-width: 220px; }
.dox-footer-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.dox-footer-col-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; color: var(--dgray); margin-bottom: 12px; }
.dox-footer-col a { display: block; font-size: .83rem; color: rgba(255,255,255,.38); text-decoration: none; margin-bottom: 8px; transition: color .2s; }
.dox-footer-col a:hover { color: rgba(255,255,255,.8); }
.dox-footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; max-width: 1100px; margin: 0 auto;
}
.dox-footer-copy { font-size: .75rem; color: rgba(255,255,255,.22); }
.dox-footer-tg { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.dox-footer-tg:hover { color: var(--cyan); }

/* ── UTILS ── */
.dox-text-center { text-align: center; }
.dox-mt-8  { margin-top: 8px; }
.dox-mt-16 { margin-top: 16px; }
.dox-mt-24 { margin-top: 24px; }
.dox-mt-40 { margin-top: 40px; }
.dox-mb-40 { margin-bottom: 40px; }
.dox-mb-60 { margin-bottom: 60px; }
.dox-flex-center { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.dox-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,145,234,.08); border: 1px solid rgba(0,145,234,.2);
  border-radius: 50px; padding: 5px 14px;
  font-size: .72rem; font-weight: 700; color: var(--cyan);
  text-transform: uppercase; letter-spacing: .8px;
}
.dox-note {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(0,145,234,.07); border: 1px solid rgba(0,145,234,.18);
  border-radius: 10px; padding: 16px 18px;
  font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.6;
}
.dox-note-icon { color: var(--cyan); flex-shrink: 0; margin-top: 1px; font-size: 1rem; }

@media (max-width: 640px) {
  .dox-nav { padding: 0 4%; }
  .dox-section { padding: 60px 4%; }
  .dox-page-hero { padding: 100px 4% 48px; }
  .dox-cta-banner { padding: 44px 24px; }
  .dox-footer-top { flex-direction: column; }
  .dox-stats { flex-direction: column; }
  .dox-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .dox-stat:last-child { border-bottom: none; }
}
