/* =============================================
   PAVIONX — Terms & Conditions Page CSS
   Theme: Deep Dark Tech | Electric Blue Premium
   3D Effects | Cinematic Animations | Glass Morphism
   Matches terms.html exactly
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:            #050812;
  --bg2:           #080e1c;
  --bg3:           #0b1224;
  --surface:       #0f1830;
  --surface2:      #142040;
  --border:        rgba(26,107,255,0.12);
  --border-bright: rgba(26,107,255,0.28);
  --accent:        #1a6bff;
  --accent2:       #0f55e0;
  --accent3:       #4d8fff;
  --accent-soft:   rgba(26,107,255,0.08);
  --accent-mid:    rgba(26,107,255,0.16);
  --accent-glow:   rgba(26,107,255,0.35);
  --text:          #e8eeff;
  --text-muted:    #8a9bbf;
  --text-dim:      #4a5578;
  --white:         #ffffff;
  --green:         #00e5a0;
  --orange:        #ff9e00;
  --purple:        #9b6eff;
  --cyan:          #00d4ff;
  --pink:          #ff4d8f;
  --radius:        16px;
  --radius-sm:     10px;
  --transition:    0.35s cubic-bezier(0.4,0,0.2,1);
  --shadow:        0 8px 40px rgba(26,107,255,0.18);
  --shadow-sm:     0 2px 20px rgba(26,107,255,0.10);
  --shadow-lg:     0 24px 80px rgba(26,107,255,0.22);
  --font-head:     'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
strong { color: var(--text); font-weight: 600; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--cyan)); border-radius: 10px; }

/* ============ LOADER ============ */
.loader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26,107,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(0,212,255,0.06) 0%, transparent 60%);
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; z-index: 1; }
.px-logo {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -2px; animation: loaderPulse 0.9s ease infinite alternate;
  filter: drop-shadow(0 0 30px rgba(26,107,255,0.5));
}
.loader-bar { width: 200px; height: 2px; background: var(--surface2); border-radius: 10px; overflow: hidden; position: relative; }
.loader-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  animation: shimmerBar 1.5s ease infinite;
}
.loader-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  border-radius: 10px; animation: loadFill 1.6s cubic-bezier(0.4,0,0.2,1) forwards;
  box-shadow: 0 0 20px var(--accent-glow);
}
@keyframes loadFill { to { width: 100%; } }
@keyframes loaderPulse { from { opacity: 0.5; filter: drop-shadow(0 0 15px rgba(26,107,255,0.3)); } to { opacity: 1; filter: drop-shadow(0 0 40px rgba(26,107,255,0.7)); } }
@keyframes shimmerBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ============ PROGRESS BAR ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--accent));
  background-size: 200% 100%; z-index: 1200; width: 0%; transition: width 0.1s linear;
  box-shadow: 0 0 20px var(--accent-glow), 0 0 6px rgba(0,212,255,0.5);
  pointer-events: none; animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============ CURSOR ============ */
.cursor-dot, .cursor-ring { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9000; transform: translate(-50%,-50%); transition: opacity 0.3s; mix-blend-mode: screen; }
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); top: 0; left: 0; box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,212,255,0.5); }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(26,107,255,0.6); top: 0; left: 0; transition: left 0.09s linear, top 0.09s linear, width 0.25s ease, height 0.25s ease, border-color 0.25s ease; }
.cursor-ring.ring-hover { width: 52px; height: 52px; border-color: var(--cyan); background: rgba(0,212,255,0.04); }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ NOISE ============ */
.noise-overlay {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ AMBIENT LIGHTS ============ */
.ambient-light { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 1; filter: blur(120px); }
.al-1 { width: 800px; height: 800px; background: radial-gradient(circle, rgba(26,107,255,0.10) 0%, transparent 65%); top: -300px; right: -250px; animation: ambientDrift1 12s ease-in-out infinite alternate; }
.al-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%); bottom: 15%; left: -200px; animation: ambientDrift2 15s ease-in-out infinite alternate; }
.al-3 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(155,110,255,0.06) 0%, transparent 65%); top: 45%; right: 8%; animation: ambientDrift3 18s ease-in-out infinite alternate; }
@keyframes ambientDrift1 { 0% { transform: translate(0,0); } 100% { transform: translate(-40px,30px); } }
@keyframes ambientDrift2 { 0% { transform: translate(0,0); } 100% { transform: translate(30px,-40px); } }
@keyframes ambientDrift3 { 0% { transform: translate(0,0); } 100% { transform: translate(-20px,50px); } }

/* ============ CONTAINER & SECTION PAD ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 60px; }
.section-pad { padding: 110px 0; }

/* ============ LABELS / HEADINGS ============ */
.section-label {
  display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--cyan); padding: 5px 16px; border: 1px solid rgba(0,212,255,0.25);
  border-radius: 50px; background: rgba(0,212,255,0.06); text-transform: uppercase;
  position: relative; overflow: hidden;
}
.section-label::before {
  content: ''; position: absolute; inset: 0; border-radius: 50px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.10), transparent);
  animation: labelShimmer 3s ease infinite;
}
@keyframes labelShimmer { 0%, 100% { opacity: 0; transform: translateX(-100%); } 50% { opacity: 1; transform: translateX(100%); } }
.section-label-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-label-wrap.center { justify-content: center; }
.label-line { flex: 1; height: 1px; max-width: 80px; background: linear-gradient(90deg, transparent, rgba(26,107,255,0.4), transparent); }
.section-heading {
  font-family: var(--font-head); font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800; line-height: 1.08; letter-spacing: -1px; color: var(--text);
}
.section-heading span, .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 560px; margin-top: 12px; }
.section-header.center { text-align: center; }
.section-header { margin-bottom: 56px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(40px) scale(0.98); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1); }
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ============ GLASS CARD ============ */
.glass-card {
  background: rgba(8,14,28,0.85); border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,107,255,0.4), rgba(0,212,255,0.3), transparent);
  opacity: 0; transition: opacity var(--transition);
}
.glass-card:hover { border-color: var(--border-bright); box-shadow: var(--shadow), 0 0 40px rgba(26,107,255,0.06); }
.glass-card:hover::before { opacity: 1; }

/* ============ BUTTONS ============ */
.btn-glass-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  padding: 13px 28px; border-radius: 10px; border: 1px solid rgba(26,107,255,0.5);
  transition: var(--transition); position: relative; overflow: hidden;
}
.btn-glass-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
.btn-glass-primary:hover::before { left: 100%; }
.btn-glass-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(26,107,255,0.35); border-color: var(--accent3); }
.btn-glass-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(26,107,255,0.06); color: var(--text); font-family: var(--font-body);
  font-weight: 600; font-size: 0.92rem; padding: 13px 28px; border-radius: 10px;
  border: 1px solid var(--border-bright); transition: var(--transition); backdrop-filter: blur(8px);
}
.btn-glass-ghost:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.06); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,212,255,0.15); }
.btn-glass-primary.large, .btn-glass-ghost.large { padding: 15px 34px; font-size: 0.98rem; }

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5,8,18,0.92); border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 40px rgba(26,107,255,0.08);
  transition: var(--transition); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,107,255,0.3), rgba(0,212,255,0.2), transparent);
}
.header.scrolled { background: rgba(5,8,18,0.97); box-shadow: 0 4px 40px rgba(26,107,255,0.15); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
    width: 38px;
    height: 38px;
    background-color: #ffffff !important;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(26, 107, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.logo-icon::before { content: ''; position: absolute; inset: 0; background: white }
.logo-text { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--text); letter-spacing: 0.04em; }
.logo-x { background: linear-gradient(135deg, var(--accent), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu ul { display: flex; align-items: center; gap: 2px; }
.nav-link { font-size: 0.86rem; font-weight: 500; color: var(--text-muted); padding: 8px 14px; border-radius: 8px; transition: var(--transition); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(26,107,255,0.08); }
.nav-link.active { color: var(--cyan); }
.chevron { transition: transform var(--transition); }
.dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 560px;
  background: rgba(8,14,28,0.97); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg), 0 0 80px rgba(26,107,255,0.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  transform: translateX(-50%) translateY(12px);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.dropdown-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,107,255,0.4), rgba(0,212,255,0.3), transparent);
}
.dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dp-inner { padding: 20px; }
.dp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dp-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 9px; font-size: 0.84rem; color: var(--text-muted); font-weight: 500; transition: var(--transition); border: 1px solid transparent; }
.dp-item:hover, .dp-item.active-dp { background: rgba(26,107,255,0.08); color: var(--cyan); border-color: var(--border); }
.dp-ico { font-size: 0.95rem; color: var(--accent); flex-shrink: 0; }
.dp-item:hover .dp-ico { color: var(--cyan); }
.nav-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white); font-family: var(--font-body); font-size: 0.84rem; font-weight: 600;
  padding: 10px 20px; border-radius: 9px; transition: var(--transition); white-space: nowrap;
  border: 1px solid rgba(26,107,255,0.4); position: relative; overflow: hidden;
}
.nav-cta-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0%, rgba(0,212,255,0.12) 100%); opacity: 0; transition: opacity var(--transition); }
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,107,255,0.35); }
.nav-cta-btn:hover::after { opacity: 1; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: rgba(26,107,255,0.06); border-radius: var(--radius-sm); border: 1px solid var(--border); flex-shrink: 0; }
.ham-line { display: block; width: 22px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); border-radius: 2px; transition: var(--transition); }
.hamburger.active .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .ham-line:nth-child(2) { opacity: 0; }
.hamburger.active .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-overlay { position: fixed; inset: 0; background: rgba(5,8,18,0.75); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s; backdrop-filter: blur(6px); }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 88vw);
  background: rgba(8,14,28,0.98); border-left: 1px solid var(--border); z-index: 1100;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -20px 0 80px rgba(26,107,255,0.10); overflow-y: auto;
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
}
.mobile-nav::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent); }
.mobile-nav.active { transform: translateX(0); }
body.menu-open { overflow: hidden; }
.mob-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mob-close { width: 34px; height: 34px; background: rgba(26,107,255,0.08); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--text-muted); cursor: pointer; transition: var(--transition); }
.mob-close:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.mob-list { padding: 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mob-link { display: block; padding: 12px 16px; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text-muted); border-radius: 10px; transition: var(--transition); }
.mob-link:hover, .mob-link.active { color: var(--cyan); background: rgba(0,212,255,0.06); }
.mob-dropdown { display: flex; flex-direction: column; }
.mob-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text-muted); border-radius: 10px; transition: var(--transition); cursor: pointer; width: 100%; text-align: left; }
.mob-toggle:hover { color: var(--cyan); background: rgba(0,212,255,0.06); }
.mob-toggle svg { transition: transform var(--transition); flex-shrink: 0; }
.mob-dropdown.active .mob-toggle { color: var(--cyan); }
.mob-dropdown.active .mob-toggle svg { transform: rotate(180deg); }
.mob-sub { display: flex; flex-direction: column; gap: 2px; padding: 4px 8px; max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }
.mob-dropdown.active .mob-sub { max-height: 400px; }
.mob-sub li a { display: block; padding: 9px 16px; font-size: 0.88rem; color: var(--text-muted); border-radius: 8px; transition: var(--transition); }
.mob-sub li a:hover { color: var(--cyan); background: rgba(0,212,255,0.06); }
.mob-cta-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--white); font-weight: 700; font-size: 0.95rem; padding: 14px 20px; border-radius: 10px; margin: 8px 16px 20px; text-align: center; transition: var(--transition); border: 1px solid rgba(26,107,255,0.4); box-shadow: 0 4px 20px rgba(26,107,255,0.25); }
.mob-cta-btn:hover { background: linear-gradient(135deg, var(--accent2), #0a46c0); box-shadow: 0 8px 28px rgba(26,107,255,0.35); }

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  position: relative; overflow: hidden; background: var(--bg);
  padding: 170px 0 110px; min-height: 60vh; display: flex; align-items: center;
  isolation: isolate;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26,107,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 10% 100%, rgba(155,110,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 90% 80%, rgba(0,212,255,0.06) 0%, transparent 60%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(26,107,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,107,255,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 85%);
  animation: gridPulse 8s ease-in-out infinite alternate;
}
@keyframes gridPulse { 0% { opacity: 0.5; } 100% { opacity: 0.9; } }
.orb { position: absolute; border-radius: 50%; pointer-events: none; }
.orb-1 { width: 700px; height: 700px; top: -280px; right: -180px; background: radial-gradient(circle, rgba(26,107,255,0.12) 0%, rgba(0,212,255,0.04) 45%, transparent 70%); filter: blur(70px); animation: orbFloat1 11s ease-in-out infinite alternate; z-index: 0; }
.orb-2 { width: 450px; height: 450px; bottom: -140px; left: -90px; background: radial-gradient(circle, rgba(155,110,255,0.08) 0%, transparent 70%); filter: blur(55px); animation: orbFloat2 14s ease-in-out infinite alternate; z-index: 0; }
@keyframes orbFloat1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-30px,40px) scale(1.06); } }
@keyframes orbFloat2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px,-30px) scale(0.94); } }

/* Page hero inner — centered */
.ph-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 22px; max-width: 760px; margin: 0 auto;
}

/* Hero badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(26,107,255,0.08); border: 1px solid rgba(26,107,255,0.25);
  padding: 7px 20px; border-radius: 50px; font-size: 0.7rem;
  font-weight: 700; letter-spacing: 0.25em; color: var(--cyan);
  width: fit-content; backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.hero-badge::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.08), transparent);
  animation: badgeSweep 3s ease infinite;
}
@keyframes badgeSweep { 0% { left: -100%; } 60%, 100% { left: 100%; } }
.badge-pulse { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; animation: pulseDot 1.5s ease infinite; }
@keyframes pulseDot { 0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); } 50% { box-shadow: 0 0 0 8px rgba(0,212,255,0); } }

/* Page hero title */
.ph-title {
  font-family: var(--font-head); font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800; line-height: 1.07; letter-spacing: -2.5px; color: var(--text);
}

/* Page hero sub */
.ph-sub { color: var(--text-muted); font-size: 1.06rem; line-height: 1.8; max-width: 600px; }

/* Meta info row */
.ph-meta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 4px;
}
.ph-meta-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  background: rgba(26,107,255,0.06); border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 50px; backdrop-filter: blur(8px);
}
.ph-meta-item i { color: var(--accent); font-size: 0.78rem; }

/* Breadcrumb */
.ph-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  font-size: 0.84rem; color: var(--text-dim); font-weight: 500;
  background: rgba(8,14,28,0.5); border: 1px solid var(--border);
  padding: 8px 20px; border-radius: 50px; backdrop-filter: blur(10px);
}
.ph-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.ph-breadcrumb a:hover { color: var(--cyan); }
.ph-breadcrumb span:last-child { color: var(--cyan); font-weight: 600; }
.bc-sep { color: var(--text-dim); }

/* =============================================
   TERMS SECTION — LAYOUT
   ============================================= */
.terms-section { background: var(--bg2); border-top: 1px solid var(--border); position: relative; }
.terms-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 50% 10%, rgba(26,107,255,0.04) 0%, transparent 60%); }

.terms-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 36px;
  align-items: start; position: relative; z-index: 1;
}

/* =============================================
   TABLE OF CONTENTS — STICKY SIDEBAR
   ============================================= */
.terms-toc { position: sticky; top: 100px; }

.toc-card {
  padding: 24px 20px; border-radius: var(--radius);
  background: rgba(8,14,28,0.90);
}
.toc-title {
  font-family: var(--font-head); font-size: 0.82rem; font-weight: 700;
  color: var(--text); letter-spacing: 0.08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.toc-title i { color: var(--accent); font-size: 0.85rem; }
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-link {
  display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-muted);
  padding: 8px 12px; border-radius: 8px; transition: var(--transition);
  border-left: 2px solid transparent; position: relative;
}
.toc-link:hover { color: var(--cyan); background: rgba(0,212,255,0.06); border-left-color: rgba(0,212,255,0.3); }
.toc-link.active {
  color: var(--cyan); background: rgba(26,107,255,0.08);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* =============================================
   TERMS CONTENT — MAIN AREA
   ============================================= */
.terms-content { display: flex; flex-direction: column; gap: 20px; }

/* Each terms section card */
.terms-card {
  padding: 36px 36px; background: rgba(8,14,28,0.80);
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
}
.terms-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--cyan));
  transform: scaleY(0); transform-origin: top; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  border-radius: 0 2px 2px 0;
}
.terms-card:hover { border-color: var(--border-bright); box-shadow: var(--shadow), 0 0 40px rgba(26,107,255,0.06); }
.terms-card:hover::before { transform: scaleY(1); }

/* Card header row */
.tc-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.tc-num {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 800;
  color: var(--white); background: linear-gradient(135deg, var(--accent), var(--accent2));
  padding: 4px 12px; border-radius: 50px; letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(26,107,255,0.35); flex-shrink: 0;
  white-space: nowrap;
}
.tc-header h2 {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.tc-ico {
  color: var(--accent); font-size: 1rem;
}

/* Body text in cards */
.terms-card > p, .terms-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.82; margin-bottom: 14px; }
.terms-card > p:last-child, .terms-card p:last-child { margin-bottom: 0; }

/* List inside terms card */
.tc-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.tc-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
}
.tc-list li i {
  color: var(--green); font-size: 0.72rem; flex-shrink: 0; margin-top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,229,160,0.10); border: 1px solid rgba(0,229,160,0.2);
  display: flex; align-items: center; justify-content: center;
}

/* Highlight / callout box */
.tc-highlight {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(26,107,255,0.07); border: 1px solid rgba(26,107,255,0.22);
  border-radius: 10px; padding: 16px 18px; margin-top: 18px;
  position: relative; overflow: hidden;
}
.tc-highlight::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}
.tc-highlight i { color: var(--cyan); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.tc-highlight span { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.tc-highlight.warning {
  background: rgba(255,158,0,0.06); border-color: rgba(255,158,0,0.22);
}
.tc-highlight.warning::before { background: linear-gradient(90deg, var(--orange), #ffca5a); }
.tc-highlight.warning i { color: var(--orange); }

/* Contact card inside terms */
.contact-card { background: rgba(8,14,28,0.90); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(15,24,48,0.7); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 16px; transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-bright); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ci-icon {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: var(--transition);
}
.ci-icon.blue   { background: rgba(26,107,255,0.10); border: 1px solid rgba(26,107,255,0.22); color: var(--accent); }
.ci-icon.green  { background: rgba(0,229,160,0.10);  border: 1px solid rgba(0,229,160,0.22);  color: var(--green); }
.ci-icon.orange { background: rgba(255,158,0,0.10);  border: 1px solid rgba(255,158,0,0.22);  color: var(--orange); }
.ci-icon.purple { background: rgba(155,110,255,0.10); border: 1px solid rgba(155,110,255,0.22); color: var(--purple); }
.contact-item:hover .ci-icon.blue   { background: var(--accent); color: var(--white); border-color: var(--accent);  box-shadow: 0 0 16px rgba(26,107,255,0.4); }
.contact-item:hover .ci-icon.green  { background: var(--green);  color: var(--bg);    border-color: var(--green);  box-shadow: 0 0 16px rgba(0,229,160,0.4); }
.contact-item:hover .ci-icon.orange { background: var(--orange); color: var(--bg);    border-color: var(--orange); box-shadow: 0 0 16px rgba(255,158,0,0.4); }
.contact-item:hover .ci-icon.purple { background: var(--purple); color: var(--white); border-color: var(--purple); box-shadow: 0 0 16px rgba(155,110,255,0.4); }
.contact-item > div { display: flex; flex-direction: column; gap: 4px; }
.contact-item strong { font-family: var(--font-head); font-size: 0.88rem; font-weight: 700; color: var(--text); }
.contact-item span, .contact-item a { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.contact-item a:hover { color: var(--cyan); }

/* =============================================
   CTA BAND
   ============================================= */
.cta-band { padding: 110px 0; background: var(--bg); position: relative; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.cta-band::before {
  content: ''; position: absolute; inset: -50%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,107,255,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 30% 60%, rgba(155,110,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 70% 40%, rgba(0,212,255,0.06) 0%, transparent 60%);
  animation: ctaAurora 8s ease-in-out infinite alternate;
}
@keyframes ctaAurora { 0% { transform: scale(1) rotate(0deg); } 100% { transform: scale(1.1) rotate(3deg); } }
.cta-orb-1 { width: 600px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(26,107,255,0.08) 0%, transparent 70%); filter: blur(60px); }
.cta-orb-2 { width: 350px; height: 350px; bottom: -100px; right: 10%; background: radial-gradient(circle, rgba(0,229,160,0.06) 0%, transparent 70%); filter: blur(50px); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; z-index: 1; }
.cta-inner .section-heading { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -1.5px; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 70px 0 0; position: relative; }
.footer-top-line { height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), var(--accent), transparent); background-size: 200% 100%; animation: footerLineShimmer 4s linear infinite; }
@keyframes footerLineShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--border); padding-top: 60px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo  { display: flex; align-items: center; gap: 10px; }
.footer-desc  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); border-radius: 9px; background: rgba(26,107,255,0.05); border: 1px solid var(--border); }
.social-btn:hover { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--white); border-color: var(--accent); box-shadow: 0 4px 16px rgba(26,107,255,0.35); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col-title { font-family: var(--font-head); font-size: 0.9rem; font-weight: 700; color: var(--text); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.86rem; color: var(--text-muted); transition: color var(--transition), padding-left var(--transition); display: flex; align-items: center; }
.footer-col ul li a:hover { color: var(--cyan); padding-left: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--text-dim); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--cyan); }

/* =============================================
   RESPONSIVE — 1200px
   ============================================= */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .terms-layout { grid-template-columns: 220px 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
}

/* =============================================
   RESPONSIVE — 1024px
   ============================================= */
@media (max-width: 1024px) {
  .nav-menu, .nav-cta-btn { display: none; }
  .hamburger { display: flex; }
  .page-hero { padding: 140px 0 80px; min-height: auto; }
  .ph-title { font-size: clamp(2.2rem, 6vw, 3.2rem); }
  .terms-layout { grid-template-columns: 1fr; }
  .terms-toc { position: static; }
  .toc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section-pad { padding: 72px 0; }
  .page-hero { padding: 120px 0 70px; }
  .ph-title { font-size: clamp(2rem, 7vw, 2.8rem); letter-spacing: -1px; }
  .ph-sub { font-size: 0.95rem; }
  .ph-meta { gap: 12px; }
  .terms-layout { gap: 24px; }
  .toc-list { grid-template-columns: 1fr; }
  .terms-card { padding: 26px 22px; }
  .contact-grid { grid-template-columns: 1fr; }
  .tc-header h2 { font-size: 1.05rem; }
  .cta-inner .section-heading { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 56px 0; }
  .page-hero { padding: 110px 0 60px; }
  .ph-title { font-size: clamp(1.9rem, 7.5vw, 2.4rem); letter-spacing: -1.5px; }
  .hero-badge { font-size: 0.62rem; padding: 6px 14px; }
  .btn-glass-primary, .btn-glass-ghost { font-size: 0.85rem; padding: 12px 20px; }
  .ph-meta { flex-direction: column; align-items: center; gap: 10px; }
  .terms-card { padding: 22px 18px; }
  .tc-header { flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .tc-header h2 { font-size: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* =============================================
   RESPONSIVE — 375px
   ============================================= */
@media (max-width: 375px) {
  .ph-title { font-size: 1.8rem; }
  .section-heading { font-size: 1.7rem; }
  .terms-card { padding: 18px 14px; }
}

/* =============================================
   RESPONSIVE — 320px
   ============================================= */
@media (max-width: 320px) {
  .container { padding: 0 12px; }
  .ph-title { font-size: 1.6rem; }
  .section-heading { font-size: 1.55rem; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}