/*
 * RED Network — Premium Landing
 * Color scheme: deep reds + white
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ========== Reset & Base ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0a0000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #ff9b9b;
}

/* ========== Ambient Background ========== */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: float 20s ease-in-out infinite;
}

.ambient-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #700101, transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
}

.ambient-bg .orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4a0000, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -7s;
}

.ambient-bg .orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #8b0000, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.02); }
}

/* ========== Layout ========== */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Navbar ========== */
.navbar {
  padding: 20px 0;
  position: relative;
  z-index: 10;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-links {
  display: flex;
  gap: 32px;
}

.navbar-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b6b;
  transition: width 0.3s ease;
}

.navbar-links a:hover {
  color: #fff;
}

.navbar-links a:hover::after {
  width: 100%;
}

/* Navbar Support Link */
.navbar-support {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  align-self: center;
}

.navbar-support::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b6b;
  transition: width 0.3s ease;
}

.navbar-support:hover {
  color: #fff;
}

.navbar-support:hover::after {
  width: 100%;
}

/* Navbar Login Button */
.navbar-login {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.navbar-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ========== Hero ========== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,107,107,0.3);
  background: rgba(255,107,107,0.08);
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 30%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #b91c1c, #700101);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(112, 1, 1, 0.4);
  cursor: pointer;
  text-decoration: none;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(185, 28, 28, 0.5);
  color: #fff;
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.hero-cta svg {
  transition: transform 0.3s ease;
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

.hero-login {
  margin-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.hero-login button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: inherit;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s ease;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
}

.hero-login button:hover {
  color: #ff6b6b;
}

/* ========== Features Strip ========== */
.features-strip {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 80px;
}

.features-strip .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
}

.feature-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,107,107,0.08);
  border: 1px solid rgba(255,107,107,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item .icon svg {
  width: 18px;
  height: 18px;
  color: #ff6b6b;
}

/* ========== Locations Section ========== */
.locations-section {
  padding: 80px 0;
}

.locations-header {
  text-align: center;
  margin-bottom: 48px;
}

.locations-header h2 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.locations-header p {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

.locations-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  min-width: 130px;
  transition: all 0.3s ease;
}

.location-card:hover {
  border-color: rgba(255,107,107,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.location-flag {
  font-size: 40px;
  line-height: 1;
}

.location-name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.locations-footer {
  text-align: center;
  padding: 24px;
  background: rgba(255,107,107,0.05);
  border: 1px solid rgba(255,107,107,0.12);
  border-radius: 16px;
}

.locations-footer p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.5;
}

/* ========== Tariffs Section ========== */
.tariffs-section {
  padding: 0 0 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: rgba(255,255,255,0.5);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- Featured Tariff Card ---- */
.tariff-featured-card {
  position: relative;
  background: linear-gradient(170deg, rgba(112,1,1,0.25), rgba(255,255,255,0.03));
  border: 1px solid rgba(185,28,28,0.5);
  border-radius: 28px;
  padding: 48px 40px 40px;
  margin-bottom: 48px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 100px rgba(112,1,1,0.12), 0 20px 60px rgba(0,0,0,0.3);
}

.tariff-featured-card:hover {
  border-color: rgba(220,38,38,0.6);
  box-shadow: 0 0 120px rgba(185,28,28,0.2), 0 24px 80px rgba(0,0,0,0.4);
  transform: translateY(-2px);
}

.tariff-featured-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(185,28,28,0.15), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.tariff-featured-badge {
  position: relative;
  display: inline-block;
  padding: 5px 20px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.tariff-featured-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.tariff-featured-left {
  flex: 1;
}

.tariff-featured-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff 30%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tariff-featured-period {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.tariff-featured-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.tariff-featured-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.tariff-featured-features li .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tariff-featured-features li .check svg {
  width: 10px;
  height: 10px;
  color: #4ade80;
}

.tariff-featured-right {
  text-align: right;
  flex-shrink: 0;
}

.tariff-featured-price {
  margin-bottom: 20px;
}

.tariff-featured-price .amount {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #fff, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tariff-featured-price .currency {
  font-size: 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-left: 4px;
}

.tariff-featured-price .per {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
}

.tariff-btn-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #b91c1c, #700101);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 24px rgba(112,1,1,0.4);
  text-decoration: none;
}

.tariff-btn-featured:hover {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  box-shadow: 0 8px 40px rgba(185,28,28,0.5);
  transform: translateY(-2px);
  color: #fff;
}

.tariff-btn-featured svg {
  transition: transform 0.3s ease;
}

.tariff-btn-featured:hover svg {
  transform: translateX(3px);
}

/* ---- Carousel ---- */
.tariff-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex: 1;
  padding: 8px 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

/* ---- Tariff Card ---- */
.tariff-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.tariff-card:hover {
  border-color: rgba(255,107,107,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tariff-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.tariff-period {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 28px;
  font-weight: 400;
}

.tariff-price {
  margin-bottom: 28px;
}

.tariff-price .amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tariff-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-left: 4px;
}

.tariff-price .per {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
  font-weight: 400;
}

.tariff-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tariff-features li {
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}

.tariff-features li:last-child {
  border-bottom: none;
}

.tariff-features li .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74,222,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.tariff-features li .check svg {
  width: 10px;
  height: 10px;
  color: #4ade80;
}

.tariff-features li.highlight {
  color: #fff;
  font-weight: 500;
}

.tariff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.tariff-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.tariff-btn-soon {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
}

.tariff-btn-soon:hover {
  background: rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.06);
  transform: none;
}

.tariff-btn.primary {
  background: linear-gradient(135deg, #b91c1c, #700101);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(112,1,1,0.35);
}

.tariff-btn.primary:hover {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  box-shadow: 0 8px 32px rgba(185,28,28,0.4);
  transform: translateY(-1px);
  color: #fff;
}

/* ========== Footer ========== */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.site-footer p {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}

.site-footer a:hover {
  color: #ff6b6b;
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  background: linear-gradient(170deg, rgba(30, 5, 5, 0.95), rgba(10, 0, 0, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.modal-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 32px;
}

.modal-desc-bottom {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.modal-btn-primary {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(42, 171, 238, 0.4);
  color: #fff;
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-1px);
}

.modal-btn-happ {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(112, 1, 1, 0.2));
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.modal-btn-happ:hover {
  background: linear-gradient(135deg, rgba(185, 28, 28, 0.4), rgba(139, 0, 0, 0.3));
  border-color: rgba(255, 107, 107, 0.35);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(112, 1, 1, 0.2);
}

.modal-btn-ghost {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
  font-family: inherit;
}

.modal-btn-ghost:hover {
  color: #ff6b6b;
}

/* Modal Screens */
.modal-screen {
  display: none;
}

.modal-screen.active {
  display: block;
  animation: fadeSlideIn 0.25s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Back Button */
.modal-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.2s ease;
  font-family: inherit;
}

.modal-back:hover {
  color: #fff;
}

/* Turnstile Captcha */
.cf-turnstile-wrap {
  display: flex;
  justify-content: center;
  margin: 16px 0 8px;
}

/* Form Styles */
.form-group {
  margin-bottom: 12px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Error Message */
.form-error {
  display: none;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
  text-align: left;
}

/* Submit Button */
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #b91c1c, #700101);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(112, 1, 1, 0.35);
  margin-top: 4px;
  position: relative;
}

.form-submit:hover {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.4);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-submit .btn-loader {
  display: none;
}

.form-submit.loading .btn-text {
  visibility: hidden;
}

.form-submit.loading .btn-loader {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Switch Link */
.modal-switch {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.modal-switch button {
  background: none;
  border: none;
  color: #ff6b6b;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s ease;
}

.modal-switch button:hover {
  color: #ff9b9b;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .tariff-featured-card {
    padding: 40px 24px 32px;
  }

  .tariff-featured-content {
    flex-direction: column;
    text-align: center;
  }

  .tariff-featured-right {
    text-align: center;
  }

  .tariff-featured-features {
    justify-content: center;
  }

  .carousel-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 640px) {
  .tariff-featured-card {
    padding: 32px 20px 28px;
  }

  .tariff-featured-name {
    font-size: 22px;
  }

  .tariff-featured-price .amount {
    font-size: 44px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    gap: 16px;
  }

  .carousel-card {
    flex: 0 0 85vw;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 60px 0 50px;
  }

  .navbar-links {
    gap: 20px;
  }

  .navbar-links a {
    font-size: 13px;
  }

  .features-strip .container {
    gap: 24px;
  }

  .feature-item {
    font-size: 13px;
  }
}

/* ========== Warning Badge (Incidents) ========== */
.hero-badge-warning {
  border-color: rgba(251, 191, 36, 0.4) !important;
  background: rgba(251, 191, 36, 0.1) !important;
  color: #fbbf24 !important;
}

.hero-badge-warning .dot {
  background: #fbbf24 !important;
  animation: pulse-dot-warning 1s ease-in-out infinite;
}

@keyframes pulse-dot-warning {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.3); }
}

.hero-badge-clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-badge-clickable:hover {
  background: rgba(251, 191, 36, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.6) !important;
  transform: translateY(-1px);
}

/* ========== Incidents Modal ========== */
.modal-card-incidents {
  max-width: 520px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-card-incidents h3 {
  color: #fbbf24;
}

.incidents-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.incident-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.incident-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.incident-card-full {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.06);
}

.incident-card-partial {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.06);
}

.incident-card-limited {
  border-color: rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.06);
}

.incident-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.incident-severity {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.incident-severity-full {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.incident-severity-partial {
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.incident-severity-limited {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.incident-component {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.incident-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-bottom: 12px;
}

.incident-locations {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.incident-locations svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.3);
}

.incident-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

/* ========== Announcement Modal ========== */
.modal-card-announcement {
  max-width: 480px;
}

.modal-card-announcement h3 {
  color: #fbbf24;
}

/* ========== Zero Balance Section ========== */
.zero-balance-section {
  padding: 80px 0;
}

.zero-balance-card {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.04) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(34, 197, 94, 0.03) 100%);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.zero-balance-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.10) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.zero-balance-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  margin-bottom: 24px;
}

.zero-balance-icon-ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
}

.zero-balance-icon svg {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.3));
}

.zero-balance-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.zero-balance-card h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.zero-balance-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin: 0 0 28px;
}

.zero-balance-text strong {
  color: #4ade80;
  font-weight: 600;
}

.zero-balance-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.zero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s ease;
}

.zero-feature svg {
  color: #22c55e;
  flex-shrink: 0;
}

.zero-feature:hover {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.15);
  color: rgba(255, 255, 255, 0.85);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .zero-balance-section {
    padding: 48px 0;
  }

  .zero-balance-card {
    padding: 40px 24px;
    border-radius: 20px;
  }

  .zero-balance-card h2 {
    font-size: 26px;
  }

  .zero-balance-text {
    font-size: 15px;
  }

  .zero-balance-features {
    gap: 12px;
  }

  .zero-feature {
    font-size: 13px;
    padding: 7px 12px;
  }
}