/* ==========================================================================
   SMS GATEWAY OFFICIAL (smsgatewayoffical.online) - PRODUCTION STYLESHEET
   100% Standalone, Zero-Dependency, Full-Featured Animated SaaS & API Portal
   ========================================================================== */

:root {
  --bg-dark: #060A13;
  --bg-card: #0D1424;
  --bg-card-hover: #141E33;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-glow: rgba(14, 165, 233, 0.35);
  --bg-input: #090E1A;
  
  --primary: #0284C7;
  --primary-light: #38BDF8;
  --primary-glow: rgba(56, 189, 248, 0.3);
  
  --cyan: #00E5FF;
  --cyan-glow: rgba(0, 229, 255, 0.3);
  --blue: #2563EB;
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.3);
  --amber: #F59E0B;
  --purple: #8B5CF6;
  --red: #EF4444;

  --text-main: #F8FAFC;
  --text-sub: #94A3B8;
  --text-muted: #64748B;

  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px -5px var(--cyan-glow);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   BACKGROUND CANVAS & AMBIENT GLOW EFFECTS
   ========================================================================== */

#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.ambient-glow-1 {
  position: fixed;
  top: -200px;
  left: 15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, rgba(6, 10, 19, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  position: fixed;
  bottom: -200px;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(6, 10, 19, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 90px 0;
}

/* ==========================================================================
   KEYFRAME ANIMATIONS (Rich & Multi-Type)
   ========================================================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.65);
  }
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes springIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes phoneVibrate {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(3px, -2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, 1px); }
  100% { transform: translate(0, 0); }
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, #0284C7, #0F172A, #0284C7);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  padding: 8px 16px;
  font-size: 12.5px;
  text-align: center;
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  color: #E2E8F0;
  font-weight: 600;
  position: relative;
  z-index: 100;
}

.announcement-bar a {
  color: #38BDF8;
  text-decoration: underline;
  margin-left: 6px;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(6, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bg-card-border);
  z-index: 99;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(0, 229, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
  transition: all 0.3s ease;
}

.brand-logo:hover .logo-icon-box {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.logo-icon-box img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}

.brand-domain {
  font-size: 11px;
  color: var(--primary-light);
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--primary-light));
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS & ACTION CALLOUTS
   ========================================================================== */

@keyframes buttonSweep {
  0% { left: -100%; }
  35%, 100% { left: 160%; }
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulseNeon {
  0%, 100% { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.4); }
  50% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 229, 255, 0.7); }
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284C7, #0284C7 40%, #00E5FF);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.btn-primary-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: buttonSweep 3.5s infinite;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55);
}

.btn-primary-glow:active {
  transform: scale(0.97);
}

.btn-download-app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10B981, #059669 50%, #00E5FF);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4), 0 0 15px rgba(0, 229, 255, 0.25);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.btn-download-app::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: buttonSweep 3s infinite;
}

.btn-download-app:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.6), 0 0 25px rgba(0, 229, 255, 0.5);
}

.btn-download-app:active {
  transform: scale(0.97);
}

.mobile-quick-download-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-quick-download-btn:active {
  transform: scale(0.92);
}

.mobile-floating-download {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 16px;
  left: auto;
  transform: none;
  z-index: 995;
  background: linear-gradient(135deg, #10B981, #0284C7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.5);
  padding: 10px 18px;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: floatBob 3s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-floating-download:active {
  transform: scale(0.93);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  color: #F8FAFC;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--bg-card-border);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
  background: rgba(22, 32, 53, 0.95);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-secondary-glass:active {
  transform: scale(0.97);
}

/* ==========================================================================
   MOBILE HAMBURGER & SLIDE DRAWER (Matches User's Reference Screenshot)
   ========================================================================== */

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  transition: all 0.3s ease;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(6, 10, 19, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  padding: 0 0 40px;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 14, 23, 0.95);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.mobile-drawer-close-btn:active {
  transform: scale(0.9);
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

.mobile-drawer-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 24px;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  color: #E2E8F0;
  font-size: 15.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-menu-item:hover, .mobile-menu-item.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--cyan);
  padding-left: 20px;
}

.mobile-menu-item span:last-child {
  font-size: 20px;
  color: var(--text-muted);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 80px 0 60px;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.status-indicator {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.status-indicator::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.6;
  animation: ripple 1.8s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 900px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, #38BDF8 60%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-typewriter-wrapper {
  color: var(--cyan);
  font-weight: 800;
  display: inline-block;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--cyan);
  font-weight: 300;
  animation: blink 0.9s infinite;
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-sub);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 38px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ==========================================================================
   METRIC STATS COUNTERS
   ========================================================================== */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px;
  background: rgba(13, 20, 36, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  margin-top: 30px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--bg-card-border);
}

.metric-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  font-family: var(--font-mono);
}

.metric-label {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}

/* ==========================================================================
   INTERACTIVE PHONE MOCKUP & LIVE SMS SIMULATOR
   ========================================================================== */

.simulator-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.simulator-control-panel {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.simulator-control-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--primary-light), var(--green));
}

.phone-device-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  height: 600px;
  background: #090D16;
  border: 10px solid #1E293B;
  border-radius: 46px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.phone-mockup.vibrating {
  animation: phoneVibrate 0.4s ease;
}

.phone-notch {
  width: 110px;
  height: 22px;
  background: #1E293B;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-speaker {
  width: 40px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #94A3B8;
  margin-top: 10px;
}

.phone-screen {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  position: relative;
}

.phone-messages-stream {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.sms-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.45;
  position: relative;
  animation: springIn 0.4s var(--transition-smooth);
}

.sms-bubble-in {
  background: #1E293B;
  color: #F8FAFC;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.sms-bubble-out {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.sms-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.sms-meta .check-delivered {
  color: var(--cyan);
  font-weight: bold;
}

.phone-sim-badge {
  font-size: 10px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.floating-telemetry-badge {
  position: absolute;
  background: rgba(13, 20, 36, 0.9);
  border: 1px solid var(--cyan);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 5;
  animation: floatSlow 6s ease-in-out infinite;
}

/* ==========================================================================
   REAL-TIME TELEMETRY & ANALYTICS SHOWCASE
   ========================================================================== */

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.telemetry-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.telemetry-card:hover {
  border-color: var(--bg-card-border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.carrier-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.carrier-bar-track {
  width: 100%;
  height: 10px;
  background: #131B29;
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.carrier-bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 1.2s var(--transition-smooth);
}

.carrier-bar-fill.jio {
  background: linear-gradient(90deg, #0284C7, #00E5FF);
  width: 62%;
}

.carrier-bar-fill.airtel {
  background: linear-gradient(90deg, #EF4444, #F59E0B);
  width: 38%;
}

.live-event-stream {
  background: #090E1A;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 16px;
  height: 220px;
  overflow-y: hidden;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.8;
  display: flex;
  flex-direction: column-reverse;
}

.live-event-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94A3B8;
  animation: springIn 0.3s ease;
}

.live-event-item .ts { color: #64748B; }
.live-event-item .tag-ok { color: var(--green); font-weight: bold; }
.live-event-item .tag-num { color: #E2E8F0; }

/* ==========================================================================
   CODE PLAYGROUND & SDK TABS
   ========================================================================== */

.code-playground-box {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-top: 40px;
}

.code-playground-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #090E1A;
  border-bottom: 1px solid var(--bg-card-border);
  flex-wrap: wrap;
  gap: 12px;
}

.code-lang-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.code-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-sub);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.code-tab-btn.active {
  background: rgba(14, 165, 233, 0.15);
  color: var(--cyan);
  border-color: rgba(0, 229, 255, 0.3);
}

.api-key-configurator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #131B29;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #1E293B;
  font-size: 12px;
}

.api-key-input {
  background: transparent;
  border: none;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  outline: none;
  width: 210px;
}

.code-pre-container {
  padding: 24px;
  background: #090D17;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #E2E8F0;
  line-height: 1.7;
}

/* ==========================================================================
   FEATURES GRID & INTERACTIVE 3D TILT CARDS
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px rgba(14, 165, 233, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(0, 229, 255, 0.05));
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.feature-desc {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ==========================================================================
   ROI CALCULATOR & SLIDER
   ========================================================================== */

.roi-card {
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.1) 0%, rgba(13, 20, 36, 0.95) 60%);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-top: 40px;
}

.roi-slider-container {
  margin: 30px 0;
}

.roi-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1E293B;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
  cursor: pointer;
  transition: transform 0.2s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.roi-stat-box {
  background: #090E1A;
  border: 1px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #FFFFFF;
}

.faq-icon {
  font-size: 18px;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--transition-smooth), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-sub);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item.active .faq-body {
  max-height: 250px;
  padding-bottom: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #04070D;
  border-top: 1px solid var(--bg-card-border);
  padding: 70px 0 30px;
  margin-top: 100px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: var(--text-sub);
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION & CONFETTI CANVAS
   ========================================================================== */

#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: springIn 0.3s var(--transition-smooth);
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .simulator-section {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .navbar {
    background: rgba(6, 10, 19, 0.98);
  }
  .nav-container {
    height: 60px;
    padding: 0 16px;
  }
  .logo-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .brand-title {
    font-size: 14px;
  }
  .brand-domain {
    font-size: 10px;
  }
  .hamburger-btn {
    display: flex;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 8px;
  }
  .mobile-quick-download-btn {
    display: flex;
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }
  .mobile-floating-download {
    display: flex;
  }
  .announcement-bar {
    font-size: 11px;
    padding: 6px 12px;
    line-height: 1.4;
    word-break: normal;
  }
  .section-padding {
    padding: 40px 0;
  }
  .hero-section {
    padding: 40px 0 24px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    letter-spacing: -0.5px;
  }
  .hero-description {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .pricing-card {
    padding: 22px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .roi-comparison-grid {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .metric-item::after {
    display: none !important;
  }
  .metric-number {
    font-size: 1.9rem;
  }
  .container {
    padding: 0 16px;
  }
}
