/* ========== VARIABLES ========== */
:root {
  --primary: #6e3aff;
  --primary-light: #8d5eff;
  --primary-dark: #5a2ce0;
  --secondary: #00c6ff;
  --accent: #ff4d7e;
  --dark: #2a2a3c;
  --darker: #1e1e2d;
  --light: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --gray: #6c757d;
  --text: #495057;
  --text-dark: #343a40;
}

/* ========== BASE STYLES ========== */
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* ========== HEADER STYLES ========== */
header {
  position: relative;
  padding: 0 15px 20px;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--light) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--medium-gray);
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80")
    center/cover no-repeat;
  opacity: 0.05;
  z-index: 1;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.header-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0px 15px;
  max-width: 100%;
  margin: 0 auto 40px;
  position: relative;
  z-index: 3;
  padding-top: 10px;
}

.logo-left {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.logo-left img {
  max-width: 100px;
  height: auto;
}

/* ========== LANGUAGE SELECTOR ========== */
.language-selector-index {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--medium-gray);
  align-self: center;
  margin: 0 auto;
}

.lang-btn-index {
  background: transparent;
  border: 2px solid transparent;
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  color: var(--gray);
}

.lang-btn-index:hover {
  color: var(--primary);
}

.lang-btn-index.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.lang-icon-index {
  font-size: 1rem;
  margin-right: 3px;
}

/* ========== AUTH BUTTONS ========== */
.auth-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex: 1 1 auto;
  visibility: hidden;
  padding-top: 4px;
  margin-top: 4px;
  margin-left: auto;
  padding-right: 20px;
}

.auth-button-links {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  order: 0;
}

.language-selector-index {
  order: 1;
}

.auth-buttons a,
.auth-button-links a {
  padding: 8px 15px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  /* Space between the icon and the text */
  padding: 10px 16px;
  border: 1px solid #444;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  /* Prevent zoom on mobile */
  color: #222;
  text-decoration: none;
  background-color: white;
  transition: background 0.2s ease;
}

.btn-login:hover {
  background-color: #f5f5f5;
}

.material-icons {
  font-size: 20px;
  vertical-align: middle;
}

.btn-register {
  background: var(--primary);
  color: #fff;
  border: none;
}

.btn-register:hover {
  background: var(--primary-dark);
}

/* ========== HEADER CONTENT ========== */
header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--dark);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0 15px;
}

.tagline {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 100%;
  margin: 0 auto 30px;
  font-weight: 400;
  padding: 0 15px;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: rgba(110, 58, 255, 0.2);
  z-index: -1;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.highlight:hover::after {
  height: 18px;
  background: rgba(110, 58, 255, 0.3);
}

/* ========== OPERATING SYSTEMS SECTION ========== */
.os-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(110, 58, 255, 0.03) 0%, rgba(0, 198, 255, 0.03) 100%);
  position: relative;
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.os-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.os-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6e3aff 0%, #8d5eff 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.os-card:hover::before {
  transform: scaleX(1);
}

.os-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(110, 58, 255, 0.15);
  border-color: rgba(110, 58, 255, 0.2);
}

.os-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  transition: all 0.4s ease;
}

.windows-icon {
  background: linear-gradient(135deg, #0078d4 0%, #00a1f1 100%);
}

.linux-icon {
  background: linear-gradient(135deg, #fcc624 0%, #fdb515 100%);
}

.os-icon i {
  font-size: 38px;
  color: white;
}

.os-card:hover .os-icon {
  transform: scale(1.1) rotate(5deg);
}

.os-card h3 {
  text-align: center;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.os-description {
  text-align: center;
  color: var(--gray);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.os-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.os-features li {
  padding: 12px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.3s ease;
}

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

.os-features li:hover {
  padding-left: 10px;
  color: var(--primary);
}

.os-features li i {
  color: #4caf50;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ========== CUSTOM CONFIG NOTE ========== */
.custom-config-note {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 40px;
  background: linear-gradient(135deg, rgba(110, 58, 255, 0.08) 0%, rgba(0, 198, 255, 0.08) 100%);
  border-radius: 20px;
  border: 2px solid rgba(110, 58, 255, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.custom-config-note::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(110, 58, 255, 0.05) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.custom-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(110, 58, 255, 0.3);
}

.custom-icon i {
  font-size: 32px;
  color: white;
  animation: spin 3s linear infinite;
}

@keyframes spin {
  0%,
  100% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }
}

.custom-config-note h4 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.custom-config-note p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-custom-config {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(110, 58, 255, 0.3);
  position: relative;
  z-index: 1;
}

.btn-custom-config:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(110, 58, 255, 0.4);
}

.btn-custom-config i {
  font-size: 1.1rem;
}

/* ========== FEATURES SECTION ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 60px 15px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--light);
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNDAsMjQwLDI0MCwxKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==")
    repeat;
  opacity: 0.5;
  z-index: 0;
}

/* ========== SECTION TITLE ========== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  max-width: 100%;
  margin: 0 auto;
  font-size: 1rem;
}

/* ========== FEATURE BOX ========== */
.feature-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--light);
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--medium-gray);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 58, 255, 0.03) 0%, rgba(0, 198, 255, 0.03) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 10px 20px rgba(110, 58, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-box h3 {
  font-size: 1.4rem;
  margin: 0 0 15px;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.feature-box h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.feature-box p {
  color: var(--text);
  margin: 0;
  font-size: 1rem;
}

/* ========== PRICING SECTION ========== */
.pricing {
  padding: 60px 15px;
  text-align: center;
  background-color: var(--light-gray);
  border-top: 1px solid var(--medium-gray);
  border-bottom: 1px solid var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
}

.pricing-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(110, 58, 255, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 24px rgba(110, 58, 255, 0.12),
    0 4px 8px rgba(110, 58, 255, 0.08);
  border-color: rgba(110, 58, 255, 0.3);
}

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

.plan-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(110, 58, 255, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.plan-modal .plan-chip {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15);
}

.plan-chip.bestseller {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(110, 58, 255, 0.35);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 20px rgba(110, 58, 255, 0.35);
  }

  50% {
    box-shadow: 0 8px 25px rgba(110, 58, 255, 0.5);
  }
}

.plan-chip.neutral {
  background: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.8);
}

.pricing-card h3 {
  font-size: 1.6rem;
  margin: 0 0 15px;
  color: var(--dark);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  margin: 18px 0 24px;
  color: var(--dark);
}

.price .currency {
  font-size: 1.4rem;
  color: var(--primary);
}

.price .amount {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -1px;
}

.price .frequency {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 500;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text);
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
}

.price-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

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

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-actions .btn {
  width: 100%;
  justify-content: center;
}

/* ========== LINUX HOSTING SECTION ========== */
.linux-hosting-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(110, 58, 255, 0.04) 0%, rgba(0, 198, 255, 0.05) 100%);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.linux-hosting-section .section-title {
  text-align: center;
  margin-bottom: 40px;
}

.linux-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.linux-plan-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(110, 58, 255, 0.12);
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.linux-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.linux-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(110, 58, 255, 0.12);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.45px;
}

.linux-plan-badge.popular {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(110, 58, 255, 0.35);
}

.linux-plan-price {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.linux-plan-price-current {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1f1f2f;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.linux-plan-price-current span {
  font-size: 1rem;
  font-weight: 500;
  color: #6c757d;
}

.linux-plan-price-original {
  font-size: 0.95rem;
  color: #a0aec0;
  text-decoration: line-through;
}

.linux-plan-description {
  color: #4a4f66;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 12px 0 18px;
  min-height: 60px;
}

.linux-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.linux-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  font-size: 0.95rem;
  color: #2f2f3d;
}

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

.linux-plan-features li i {
  color: #6e3aff;
}

.linux-plan-footer {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: #5a6075;
}

.linux-plan-footer strong {
  color: #2b2d42;
}

.linux-plan-card .btn {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .linux-hosting-section {
    padding: 60px 16px;
  }

  .linux-plan-card {
    padding: 24px 20px;
  }
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(110, 58, 255, 0.35);
  color: var(--primary);
}

.btn.ghost:hover {
  background: rgba(110, 58, 255, 0.12);
}

.disabled {
  opacity: 0.7;
  pointer-events: none;
}

/* ========== CTA SECTION ========== */
.cta {
  text-align: center;
  padding: 80px 15px;
  background: var(--light-gray);
  border-radius: 24px;
  margin: 0 15px 80px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.cta-content {
  max-width: 100%;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  margin: 0 0 20px;
  color: var(--dark);
  line-height: 1.3;
  padding: 0 15px;
}

.cta p {
  max-width: 100%;
  margin: 0 auto 40px;
  color: var(--gray);
  font-size: 1.1rem;
  padding: 0 15px;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ========== BUTTON STYLES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1px solid rgba(110, 58, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(110, 58, 255, 0.08);
  color: var(--primary);
  border-color: rgba(110, 58, 255, 0.4);
}

.btn i {
  margin-right: 10px;
  font-size: 1.1rem;
}

.btn-secondary.solid {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 24px rgba(110, 58, 255, 0.25);
}

.btn-secondary.solid:hover {
  box-shadow: 0 16px 28px rgba(110, 58, 255, 0.32);
  transform: translateY(-2px);
}

/* ========== FOOTER STYLES ========== */
footer {
  text-align: center;
  padding: 60px 15px 30px;
  background: var(--dark);
  color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAyKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==")
    repeat;
  opacity: 0.1;
  z-index: 1;
}

.footer-content {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 80px;
  margin: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.social-links {
  margin: 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  margin: 0 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-size: 1rem;
}

.copyright {
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========== ANIMATIONS ========== */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(110, 58, 255, 0.7);
  }

  70% {
    transform: scale(1.03);
    box-shadow: 0 0 0 10px rgba(110, 58, 255, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(110, 58, 255, 0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== MODAL STYLES ========== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1400;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  background: rgba(12, 14, 22, 0.65);
  overflow-y: auto;
  justify-content: center;
  align-items: flex-start;
}

.modal-content {
  background: #ffffff;
  color: #0f172a;
  width: min(640px, 100%);
  margin: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  word-wrap: break-word;
  overflow-wrap: break-word;
  animation: modalFade 0.28s ease;
}

.plan-modal .modal-content {
  background: linear-gradient(140deg, #2a1a4a 0%, #6e3aff 100%);
  border: 1px solid rgba(141, 94, 255, 0.3);
  color: #ffffff;
  padding: 0;
  max-width: 640px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(110, 58, 255, 0.4);
}

.plan-modal .modal-close {
  display: flex;
  justify-content: flex-end;
  padding: 20px 32px 8px;
}

.plan-modal .modal-header {
  padding: 0 32px 20px;
  background: linear-gradient(145deg, rgba(110, 58, 255, 0.35), rgba(76, 29, 149, 0.25));
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

@media (max-width: 768px) {
  .plan-modal .modal-content {
    max-width: 95%;
    margin: 10px auto;
  }

  .plan-modal .modal-close {
    padding: 14px 18px 6px;
  }

  .plan-modal .modal-header {
    padding: 0 18px 16px;
    flex-direction: row;
    align-items: flex-start;
  }

  .plan-modal .modal-heading {
    flex: 1;
    padding-right: 30px;
    margin-top: 6px;
  }

  .plan-modal .modal-header-actions {
    position: relative;
    top: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .plan-modal .close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .plan-modal .modal-body {
    padding: 14px 18px 24px !important;
  }

  .plan-modal .plan-features {
    grid-template-columns: 1fr !important;
  }

  .plan-modal .plan-benefits {
    grid-template-columns: 1fr !important;
  }

  .plan-modal .modal-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .plan-modal .modal-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.9rem !important;
    padding: 13px 16px !important;
  }
}

.plan-modal .modal-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.plan-modal .modal-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.plan-modal .modal-header h2 {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.plan-modal .modal-header .plan-price {
  font-size: 1.1rem;
  color: rgba(226, 232, 240, 0.85);
  font-weight: 600;
  margin-top: 12px;
}

.plan-modal .modal-body {
  padding: 18px 36px 32px;
}

.plan-modal .plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.plan-modal .meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.16);
  font-size: 0.85rem;
  font-weight: 500;
}

.plan-modal .plan-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.plan-modal .feature-card {
  background: rgba(26, 32, 70, 0.55);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-modal .feature-card span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(226, 232, 240, 0.65);
}

.plan-modal .feature-card strong {
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -0.2px;
}

.plan-modal .plan-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.plan-modal .plan-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
}

.plan-modal .plan-benefits li i {
  color: #c4b5fd;
  margin-top: 2px;
}

.plan-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.plan-modal .modal-actions .btn {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  width: 100%;
  color: #ffffff !important;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  padding: 14px 20px;
  box-sizing: border-box;
}

.plan-modal .modal-actions .btn-primary {
  background: #ffffff !important;
  color: #6e3aff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.plan-modal .modal-actions .btn-primary:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.4);
}

.plan-modal .close {
  color: rgba(226, 232, 240, 0.75);
  font-size: 24px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.plan-modal .close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}

.checkout-modal .modal-content {
  background: linear-gradient(138deg, #2a1a4a 0%, #6e3aff 100%);
  border: 1px solid rgba(141, 94, 255, 0.3);
  color: #ffffff;
  padding: 0;
  max-width: 560px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(110, 58, 255, 0.4);
}

.checkout-modal .modal-close {
  display: flex;
  justify-content: flex-end;
  padding: 18px 22px 8px;
}

.checkout-modal .modal-header {
  padding: 18px 28px 20px;
  background: linear-gradient(145deg, rgba(110, 58, 255, 0.35), rgba(76, 29, 149, 0.25));
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-modal .close {
  color: rgba(226, 232, 240, 0.75);
  font-size: 24px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  line-height: 1;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.checkout-modal .close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .checkout-modal .modal-content {
    max-width: 95%;
    margin: 10px auto;
  }

  .checkout-heading {
    flex-direction: column;
    align-items: flex-start !important;
    width: 100%;
    flex: 1;
  }

  .checkout-modal .modal-close {
    padding: 12px 14px 8px;
  }

  .checkout-modal .close {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .checkout-modal .modal-body {
    padding: 14px 16px 24px !important;
  }

  .checkout-modal .modal-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .checkout-modal .modal-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.9rem !important;
    padding: 13px 16px !important;
  }
}

.checkout-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.checkout-title h2 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.4px;
}

.checkout-title p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.75);
  max-width: 460px;
}

.checkout-modal .modal-body {
  padding: 22px 32px 32px;
}

.checkout-plan-summary {
  background: rgba(76, 29, 149, 0.45);
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.checkout-plan-summary .label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: rgba(226, 232, 240, 0.7);
}

.checkout-plan-summary .plan-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.checkout-plan-summary .plan-summary strong {
  font-size: 1.2rem;
  letter-spacing: -0.2px;
  color: #fff;
}

.checkout-plan-summary .plan-summary span {
  font-size: 0.92rem;
  color: rgba(226, 232, 240, 0.75);
}

.checkout-steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checkout-steps li {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.85);
  line-height: 1.5;
}

.checkout-steps li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #38bdf8;
}

.checkout-support {
  margin: 22px 0 0;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.7);
  text-align: center;
}

.checkout-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 28px;
}

.checkout-modal .modal-actions .btn {
  flex: 1;
  min-width: 0;
  max-width: 50%;
  color: #ffffff !important;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  padding: 14px 20px;
  box-sizing: border-box;
}

.checkout-modal .modal-actions .btn-primary {
  background: #ffffff !important;
  color: #6e3aff !important;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.checkout-modal .modal-actions .btn-primary:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.4);
}

.checkout-modal .modal-actions .btn-secondary {
  background: linear-gradient(135deg, #8d5eff 0%, #6e3aff 100%) !important;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(110, 58, 255, 0.4);
}

.checkout-modal .modal-actions .btn-secondary:hover {
  background: linear-gradient(135deg, #9d6eff 0%, #7e4aff 100%) !important;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(110, 58, 255, 0.5);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -10px;
  margin-right: -10px;
}

.close:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 768px) {
  header h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .features {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 30px;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  .feature-box {
    padding: 40px 30px;
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1160px;
    gap: 32px;
  }

  .card-actions {
    flex-direction: row;
    align-items: center;
  }

  .card-actions .btn {
    width: auto;
    min-width: 150px;
  }

  .plan-modal .modal-actions {
    flex-direction: row;
  }

  .plan-modal .modal-actions .btn {
    width: auto;
    min-width: 170px;
  }

  .feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(110, 58, 255, 0.15);
  }

  .feature-box:hover .feature-icon {
    transform: rotate(8deg) scale(1.05);
  }

  .feature-box:hover h3::after {
    width: 50px;
  }

  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .btn:hover::before {
    opacity: 1;
  }

  .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(110, 58, 255, 0.3);
  }

  .social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .social-links a:hover::before {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
  }

  .logo-left {
    margin: 10px 0 0;
  }

  .logo-left img {
    max-width: 90px;
  }

  .language-selector-index {
    position: absolute;
    top: 12px;
    right: 15px;
    padding: 5px 10px;
    gap: 6px;
    order: 0;
    margin: 0;
    flex-shrink: 0;
  }

  .lang-btn-index {
    padding: 4px 8px;
    font-size: 0.8rem;
  }

  .lang-icon-index {
    font-size: 0.95rem;
  }

  .auth-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0;
    padding-top: 20px;
    width: 100%;
    padding-right: 0;
  }

  .auth-button-links {
    gap: 8px;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    order: 0;
  }

  .auth-button-links a {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    text-align: center;
  }

  .plan-modal .modal-content {
    margin: 1.5rem;
  }

  .plan-modal .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .plan-modal .modal-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .plan-modal .modal-body {
    padding: 18px 22px 26px;
  }

  .checkout-modal .modal-content {
    margin: 1.2rem;
  }

  .checkout-modal .modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .checkout-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-icon {
    width: 50px;
    height: 50px;
  }

  .checkout-title h2 {
    font-size: 1.4rem;
  }
}

.checkout-modal .modal-body {
  padding: 20px 22px 28px;
}

.checkout-modal .modal-actions {
  flex-direction: row;
}

.checkout-modal .modal-actions .btn {
  width: auto;
  min-width: 150px;
}

@media (max-width: 374px) {
  .language-selector-index {
    padding: 4px 8px;
    gap: 5px;
  }

  .lang-btn-index {
    padding: 3px 6px;
    font-size: 0.75rem;
  }

  .checkout-modal .modal-content {
    margin: 1rem;
  }
}

/* Enhanced touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
  .lang-btn-index {
    -webkit-tap-highlight-color: rgba(110, 58, 255, 0.2);
    touch-action: manipulation;
  }

  .os-card {
    -webkit-tap-highlight-color: rgba(110, 58, 255, 0.1);
  }
}

/* OS Section Responsive */
@media (max-width: 768px) {
  .os-section {
    padding: 60px 15px;
  }

  .os-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 10px;
  }

  .os-card {
    padding: 30px 20px;
  }

  .os-icon {
    width: 70px;
    height: 70px;
  }

  .os-icon i {
    font-size: 32px;
  }

  .os-card h3 {
    font-size: 1.3rem;
  }

  .os-features li {
    font-size: 0.9rem;
    padding: 10px 0;
  }

  .custom-config-note {
    padding: 30px 20px;
    margin: 40px 10px 0;
  }

  .custom-icon {
    width: 60px;
    height: 60px;
  }

  .custom-icon i {
    font-size: 28px;
  }

  .custom-config-note h4 {
    font-size: 1.3rem;
  }

  .custom-config-note p {
    font-size: 0.95rem;
  }

  .btn-custom-config {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .os-card {
    padding: 25px 15px;
  }

  .os-card h3 {
    font-size: 1.2rem;
  }

  .os-features li {
    font-size: 0.85rem;
  }

  .custom-config-note {
    padding: 25px 15px;
  }

  .custom-config-note h4 {
    font-size: 1.2rem;
  }

  .custom-config-note p {
    font-size: 0.9rem;
  }

  .btn-custom-config {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* ========================================== */
/* Extracted from inline styles */
/* ========================================== */

/* ========== FLOATING CHAT BOT STYLES ========== */
.chat-bot {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}

.chat-button {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(110, 58, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.chat-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(110, 58, 255, 0.4);
}

.chat-button i {
  font-size: 26px;
  color: white;
}

.chat-notification {
  position: absolute;
  bottom: calc(100% + 20px);
  left: 50%;
  background: #ffffff;
  color: #ff4d7e;
  border-radius: 18px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, 6px) scale(0.8);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  box-shadow: 0 10px 26px rgba(255, 77, 126, 0.25);
  z-index: 10;
  min-width: fit-content;
  border: 1px solid rgba(255, 77, 126, 0.25);
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-notification::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-left: 1px solid rgba(255, 77, 126, 0.25);
  border-bottom: 1px solid rgba(255, 77, 126, 0.25);
  transform: translate(-50%, -50%) rotate(45deg);
  border-bottom-left-radius: 4px;
}

.chat-notification.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  animation: pulseNotification 2s infinite;
}

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

  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulseNotification {
  0%,
  100% {
    transform: translate(-50%, 0) scale(1);
    box-shadow: 0 4px 12px rgba(255, 77, 126, 0.4);
  }

  50% {
    transform: translate(-50%, 0) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 77, 126, 0.6);
  }
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.chat-window.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.chat-header {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar i {
  font-size: 20px;
  color: white;
}

.chat-title h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.chat-status {
  font-size: 0.85rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-action-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(180deg);
}

.chat-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.message.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bot-message .message-avatar {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: white;
}

.user-message .message-avatar {
  background: #e9ecef;
  color: #495057;
}

.message-avatar i {
  font-size: 16px;
}

.message-content {
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
}

.user-message .message-content {
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  color: white;
}

.message-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-line;
}

.message-content strong {
  font-weight: 700;
  color: var(--primary-dark);
}

.user-message .message-content strong {
  color: white;
}

.message-content ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
  list-style: none;
}

.message-content ul li {
  margin: 4px 0;
  position: relative;
  padding-left: 0;
}

.message-content ul li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2em;
  margin-right: 8px;
}

.user-message .message-content ul li::before {
  color: rgba(255, 255, 255, 0.9);
}

.message-content .plan-card {
  background: rgba(110, 58, 255, 0.05);
  border-left: 3px solid var(--primary);
  padding: 10px 12px;
  margin: 8px 0;
  border-radius: 8px;
}

.message-content .plan-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-content .plan-price {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--dark);
}

.message-content .plan-features {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 4px;
}

.message-content .plan-note {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--gray);
  font-style: italic;
}

.message-content .info-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 6px;
}

.message-content .support-status {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border-left: 3px solid #4caf50;
  padding: 12px;
  border-radius: 8px;
  margin-top: 8px;
}

.message-content .support-header {
  font-weight: 700;
  color: #4caf50;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-time {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 5px;
  display: block;
}

.user-message .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.chat-quick-actions {
  padding: 15px 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-action-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.quick-action-btn:hover {
  background: #6e3aff;
  color: white;
  border-color: #6e3aff;
}

.chat-input-container {
  padding: 20px;
  border-top: 1px solid #e9ecef;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  font-size: 16px;
  /* 16px prevents zoom on iOS */
  outline: none;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  border-color: #6e3aff;
}

.chat-send {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #6e3aff 0%, #8d5eff 100%);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-send:hover {
  transform: scale(1.1);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 85%;
}

.typing-dots {
  background: #f8f9fa;
  padding: 12px 16px;
  border-radius: 18px;
  display: flex;
  gap: 4px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: #6c757d;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .chat-bot {
    bottom: 18px;
    right: 18px;
  }

  .chat-button {
    width: 52px;
    height: 52px;
    box-shadow: 0 10px 22px rgba(110, 58, 255, 0.28);
  }

  .chat-button i {
    font-size: 22px;
  }

  .chat-notification {
    bottom: calc(100% + 14px);
    transform: translate(-50%, 4px) scale(0.8);
    padding: 4px 12px;
    font-size: 0.65rem;
  }

  .chat-notification::before {
    left: 50%;
  }

  .chat-window {
    width: min(90vw, 360px);
    height: auto;
    bottom: 70px;
    right: 12px;
    left: auto;
    top: auto;
    border-radius: 16px;
    max-height: min(72vh, calc(100vh - 180px));
  }

  .chat-header {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .chat-header-info {
    gap: 8px;
  }

  .chat-avatar {
    width: 36px;
    height: 36px;
  }

  .chat-avatar i {
    font-size: 16px;
  }

  .chat-title h4 {
    font-size: 0.95rem;
  }

  .chat-status {
    font-size: 0.78rem;
  }

  .chat-header-actions {
    gap: 4px;
  }

  .chat-action-btn {
    padding: 5px 7px;
    border-radius: 5px;
    font-size: 12px;
  }

  .chat-close {
    padding: 5px;
  }

  .chat-messages {
    padding: 14px;
  }

  .chat-quick-actions {
    padding: 10px 14px;
  }

  .quick-action-btn {
    flex: 1;
    justify-content: center;
    min-width: calc(50% - 6px);
    font-size: 0.85rem;
    padding: 10px 12px;
  }

  .chat-input-container {
    padding: 12px 14px;
    gap: 8px;
  }

  .chat-input {
    height: 42px;
    font-size: 16px;
    padding: 0 12px;
  }

  .chat-send {
    width: 44px;
    height: 42px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .chat-notification {
    bottom: calc(100% + 12px);
    transform: translate(-50%, 2px) scale(0.8);
    padding: 4px 10px;
    font-size: 0.58rem;
  }

  .chat-window {
    width: min(92vw, 340px);
    right: 8px;
    border-radius: 14px;
    max-height: min(70vh, calc(100vh - 170px));
  }

  .chat-header {
    padding: 11px 12px;
  }

  .chat-avatar {
    width: 34px;
    height: 34px;
  }

  .chat-avatar i {
    font-size: 15px;
  }

  .chat-title h4 {
    font-size: 0.9rem;
  }

  .chat-status {
    font-size: 0.75rem;
  }

  .chat-quick-actions {
    padding: 10px 12px;
  }

  .quick-action-btn {
    font-size: 0.8rem;
    padding: 9px 10px;
  }

  .chat-input-container {
    padding: 12px;
  }

  .chat-input {
    height: 40px;
    font-size: 16px;
  }

  .chat-send {
    width: 42px;
    height: 40px;
    font-size: 0.95rem;
  }
}
