/* WiFi SaaS — Public Landing Page Style */

:root {
  --bg-dark: #070b19;
  --card-glass: rgba(15, 23, 42, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --primary-blue: #0284c7;
  --gradient-blue: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
  --gradient-card: linear-gradient(145deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.3) 100%);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(3, 105, 161, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
}

.landing-header {
  padding: 2.5rem 1rem 1.5rem;
  text-align: center;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: var(--gradient-blue);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.3);
  margin-bottom: 1.5rem;
}

.logo-container i {
  font-size: 2rem;
  color: #fff;
}

.landing-title {
  font-weight: 800;
  font-size: 2.25rem;
  background: linear-gradient(to right, #fff 40%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.landing-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.5;
}

/* ════════════════════════════════════════
   PLANS CARDS
   ════════════════════════════════════════ */
.plan-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.15);
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-blue);
}

.plan-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background-color: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

.plan-name {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  min-height: 38px;
}

.plan-duration {
  font-size: 0.9rem;
  color: #7dd3fc;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.75rem;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-access {
  width: 100%;
  background: var(--gradient-blue);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: 14px;
  transition: all 0.3s;
  letter-spacing: 0.5px;
}

.btn-access:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

/* ════════════════════════════════════════
   PIX MODAL SYSTEM
   ════════════════════════════════════════ */
.modal-content-glass {
  background: #0f172a !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 28px !important;
}

.pix-qr-container {
  background: #fff;
  padding: 1rem;
  border-radius: 20px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.pix-qr-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

.pix-code-box {
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #38bdf8;
  word-break: break-all;
  max-height: 70px;
  overflow-y: auto;
}

.timer-badge {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ════════════════════════════════════════
   FOOTER & METADATA
   ════════════════════════════════════════ */
.landing-footer {
  margin-top: auto;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.status-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255,255,255,0.03);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.status-dot.pulse {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

@media (max-width: 575.98px) {
  .landing-title {
    font-size: 1.85rem;
  }
  .landing-subtitle {
    font-size: 0.95rem;
  }
}
