@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --l9-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --l9-bg: #060913;
  --l9-bg-card: rgba(15, 23, 42, 0.75);
  --l9-bg-card-hover: rgba(26, 38, 66, 0.9);
  --l9-border: rgba(255, 255, 255, 0.08);
  --l9-border-glow: rgba(0, 242, 254, 0.35);
  --l9-cyan: #00f2fe;
  --l9-purple: #7000ff;
  --l9-violet: #818cf8;
  --l9-green: #10b981;
  --l9-amber: #f59e0b;
  --l9-text: #f8fafc;
  --l9-text-muted: #94a3b8;
  --l9-gradient-primary: linear-gradient(135deg, #00f2fe 0%, #7000ff 100%);
  --l9-gradient-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(112, 0, 255, 0.15) 100%);
  --l9-gradient-card: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(20, 28, 55, 0.6) 100%);
  --l9-gradient-text: linear-gradient(135deg, #ffffff 20%, #38bdf8 70%, #c084fc 100%);
}

* {
  box-sizing: border-box;
}

html, body, body.home, body.inner-page {
  font-family: var(--l9-font) !important;
  background-color: var(--l9-bg) !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(112, 0, 255, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 35%, rgba(0, 242, 254, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(129, 140, 248, 0.12) 0%, transparent 50%) !important;
  background-attachment: fixed !important;
  color: var(--l9-text) !important;
  overflow-x: hidden;
  line-height: 1.6;
}

/* NAVBAR */
#mainNav.navbar {
  background: rgba(6, 9, 19, 0.9) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: none !important;
  border-bottom: 1px solid var(--l9-border) !important;
  padding: 14px 0 !important;
  margin-bottom: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}
#mainNav .navbar-brand {
  font-family: var(--l9-font);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.5px;
  background: var(--l9-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  height: auto;
}
#mainNav .navbar-brand::before {
  content: '⚡';
  font-size: 22px;
  -webkit-text-fill-color: initial;
  filter: drop-shadow(0 0 8px #00f2fe);
}
#mainNav .navbar-nav > li > a {
  font-family: var(--l9-font);
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1 !important;
  transition: all 0.25s ease;
  padding: 10px 18px !important;
  border-radius: 10px;
  margin: 4px 2px;
}
#mainNav .navbar-nav > li > a:hover,
#mainNav .navbar-nav > li > a:focus {
  color: var(--l9-cyan) !important;
  background: rgba(255, 255, 255, 0.05);
}
#mainNav .navbar-nav > li:last-child > a {
  background: var(--l9-gradient-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35) !important;
  margin-left: 12px;
  padding: 10px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
#mainNav .navbar-nav > li:last-child > a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(112, 0, 255, 0.5) !important;
}
#mainNav .navbar-toggle {
  border-color: var(--l9-border);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 9px 10px;
  margin-top: 8px;
}
#mainNav .navbar-toggle .icon-bar {
  background-color: var(--l9-cyan);
}

/* HERO SECTION */
.l9-hero {
  padding: 150px 0 80px 0;
  position: relative;
  text-align: center;
}
.l9-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  font-size: 13px;
  font-weight: 600;
  color: var(--l9-cyan);
  margin-bottom: 25px;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
  backdrop-filter: blur(10px);
}
.l9-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--l9-cyan);
  box-shadow: 0 0 10px var(--l9-cyan);
  animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.l9-hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  background: var(--l9-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.l9-hero-desc {
  font-size: 17px;
  color: var(--l9-text-muted);
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

/* SHORTEN CARD */
.l9-shorten-card {
  max-width: 840px;
  margin: 0 auto 55px auto;
  background: var(--l9-bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 242, 254, 0.3) !important;
  border-radius: 22px;
  padding: 24px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 45px rgba(0, 242, 254, 0.12);
  position: relative;
  transition: all 0.3s ease;
}
.l9-shorten-card:hover {
  border-color: rgba(0, 242, 254, 0.45) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 55px rgba(0, 242, 254, 0.2);
}
.l9-shorten-form form#shorten {
  width: 100%;
}
.l9-shorten-form form#shorten .form-group {
  margin-bottom: 0 !important;
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  align-items: center !important;
}
.l9-shorten-form form#shorten input[name="url"],
.l9-shorten-form input.form-control {
  background: rgba(8, 13, 27, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  font-size: 16px !important;
  padding: 16px 22px !important;
  height: 56px !important;
  flex: 1 !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: all 0.25s ease;
}
.l9-shorten-form form#shorten input[name="url"]:focus {
  border-color: var(--l9-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35) !important;
  background: rgba(12, 19, 39, 0.95) !important;
}
.l9-shorten-form form#shorten button.btn-captcha,
.l9-shorten-form button#invisibleCaptchaShort {
  background: var(--l9-gradient-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  height: 56px !important;
  border-radius: 14px !important;
  border: none !important;
  padding: 0 32px !important;
  box-shadow: 0 4px 25px rgba(0, 242, 254, 0.4) !important;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 160px !important;
}
.l9-shorten-form form#shorten button.btn-captcha:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(112, 0, 255, 0.6) !important;
}
.l9-shorten-form form#shorten button.btn-captcha img {
  display: none !important;
}
.l9-shorten-form form#shorten button.btn-captcha::after {
  content: '⚡ Rút Gọn' !important;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff !important;
}

/* SHORTEN RESULT BOX */
.shorten.add-link-result {
  margin-top: 20px;
}
.shorten.add-link-result .form-control {
  background: rgba(10, 16, 32, 0.9) !important;
  border: 1px solid var(--l9-cyan) !important;
  color: var(--l9-cyan) !important;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  height: 52px;
}
.shorten.add-link-result .copy-it {
  background: var(--l9-gradient-primary) !important;
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  height: 52px;
  padding: 0 24px;
}

/* HERO STATS GRID */
.l9-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.l9-stat-card {
  background: var(--l9-bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--l9-border);
  border-radius: 18px;
  padding: 24px 18px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.l9-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--l9-border-glow);
  background: var(--l9-bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.12);
}
.l9-stat-val {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--l9-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.l9-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--l9-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* GENERAL SECTIONS */
.l9-section {
  padding: 90px 0;
  position: relative;
}
.l9-section-header {
  text-align: center;
  margin-bottom: 55px;
}
.l9-section-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--l9-cyan);
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0, 242, 254, 0.08);
  border-radius: 50px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}
.l9-section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}
.l9-section-desc {
  font-size: 16px;
  color: var(--l9-text-muted);
  max-width: 660px;
  margin: 0 auto;
  line-height: 1.65;
}

/* CALCULATOR */
.l9-calc-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--l9-bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 24px;
  padding: 40px 35px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 242, 254, 0.1);
  position: relative;
}
.l9-calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.l9-calc-views {
  font-size: 30px;
  font-weight: 800;
  color: var(--l9-cyan);
}
.l9-calc-slider {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.15);
  outline: none;
  -webkit-appearance: none;
  margin: 20px 0 30px 0;
}
.l9-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--l9-cyan);
  cursor: pointer;
  box-shadow: 0 0 15px var(--l9-cyan);
  border: 3px solid #ffffff;
}
.l9-calc-result-box {
  background: rgba(8, 13, 27, 0.85);
  border: 1px solid var(--l9-border);
  border-radius: 18px;
  padding: 28px;
  text-align: center;
  margin-top: 15px;
}
.l9-calc-amount {
  font-size: 42px;
  font-weight: 800;
  background: var(--l9-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 8px 0;
}

/* FEATURES GRID */
.l9-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.l9-feature-card {
  background: var(--l9-bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--l9-border);
  border-radius: 22px;
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.l9-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 242, 254, 0.12);
}
.l9-feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--l9-gradient-glow);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--l9-cyan);
  margin-bottom: 22px;
}
.l9-feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.l9-feature-desc {
  font-size: 14px;
  color: var(--l9-text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* STEPS */
.l9-steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.l9-step-card {
  background: var(--l9-bg-card);
  border: 1px solid var(--l9-border);
  border-radius: 22px;
  padding: 38px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
}
.l9-step-card:hover {
  border-color: var(--l9-violet);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(129, 140, 248, 0.15);
}
.l9-step-num {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 42px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
}
.l9-step-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--l9-gradient-glow);
  border: 2px solid var(--l9-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--l9-cyan);
  margin: 0 auto 24px auto;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.3);
}
.l9-step-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}
.l9-step-desc {
  font-size: 14px;
  color: var(--l9-text-muted);
  line-height: 1.65;
}

/* FAQ */
.l9-faq-container {
  max-width: 840px;
  margin: 0 auto;
}
.l9-faq-item {
  background: var(--l9-bg-card);
  border: 1px solid var(--l9-border);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.l9-faq-item:hover {
  border-color: rgba(0, 242, 254, 0.3);
}
.l9-faq-question {
  padding: 20px 26px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l9-faq-answer {
  padding: 0 26px 20px 26px;
  font-size: 14.5px;
  color: var(--l9-text-muted);
  line-height: 1.7;
}

/* CTA */
.l9-cta-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(35, 22, 70, 0.95) 100%);
  border: 1px solid rgba(112, 0, 255, 0.4);
  border-radius: 26px;
  padding: 55px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 70px rgba(112, 0, 255, 0.25);
}
.l9-cta-box h3 {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.l9-cta-box p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 620px;
  margin: 0 auto 30px auto;
  line-height: 1.65;
}
.l9-cta-btn {
  display: inline-block;
  background: var(--l9-gradient-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 35px rgba(0, 242, 254, 0.45);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.l9-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(112, 0, 255, 0.7);
}

/* FOOTER */
footer {
  background: #04060b !important;
  border-top: 1px solid var(--l9-border) !important;
  padding: 55px 0 30px 0 !important;
  color: var(--l9-text-muted);
}
footer .footer-brand {
  font-size: 22px;
  font-weight: 800;
  background: var(--l9-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  display: inline-block;
}
footer a {
  color: var(--l9-text-muted) !important;
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--l9-cyan) !important;
  text-decoration: none;
}
.l9-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--l9-green);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: 50px;
}
.l9-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--l9-green);
  box-shadow: 0 0 8px var(--l9-green);
  animation: pulse-dot 1.5s infinite;
}

@media (max-width: 991px) {
  .l9-hero-title { font-size: 34px !important; }
  .l9-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .l9-features-grid { grid-template-columns: 1fr !important; }
  .l9-steps-container { grid-template-columns: 1fr !important; }
  .l9-shorten-form form#shorten .form-group { flex-direction: column !important; }
  .l9-shorten-form form#shorten button.btn-captcha { width: 100% !important; }
}
/* COOKIE CONSENT BANNER MODERN GLASS STYLING */
.cc-window.cc-banner {
  background: rgba(10, 16, 32, 0.96) !important;
  border-top: 1px solid rgba(0, 242, 254, 0.3) !important;
  backdrop-filter: blur(20px) !important;
  color: #cbd5e1 !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5) !important;
}
.cc-window.cc-banner .cc-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #7000ff 100%) !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  border: none !important;
  padding: 8px 24px !important;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35) !important;
}
.cc-window.cc-banner a {
  color: #00f2fe !important;
  text-decoration: underline !important;
}
