/* ===============================================
   SnTHostings Enhanced Main CSS
   Conversion-Optimized Design with Orange Theme
   Inspired by Normal-RDP Style
================================================ */

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

/* ========== Base Variables ========== */
:root {
  /* Colors - Orange Theme */
  --cta: #ff6a00;
  --cta-hover: #e35a00;
  --cta-light: #ff8c3c;
  --text: #0b1b2b;
  --text-light: #2a3b4b;
  --muted: #5b6b7a;
  --bg: #FCFEFF;
  --bg-light: #f9fbfc;
  --bg-gradient: linear-gradient(180deg, #FCFEFF 0%, #FFFFFF 100%);
  --border: #e6edf3;
  --border-light: #f0f4f8;
  
  /* Spacing & Layout */
  --radius: 14px;
  --radius-large: 24px;
  --shadow: 0 8px 28px rgba(11, 29, 50, 0.08);
  --shadow-hover: 0 12px 40px rgba(255, 106, 0, 0.12);
  --container: 1200px;
  --header-height: 80px;
  
  /* Typography */
  --font-heading: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

h1 { font-size: 3.5em; font-weight: 800; }
h2 { font-size: 2.5em; font-weight: 800; }
h3 { font-size: 1.8em; font-weight: 700; }
h4 { font-size: 1.3em; font-weight: 700; }

p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05em;
  margin-bottom: 1em;
}

a {
  color: var(--cta);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--cta-hover);
}

/* ========== Enhanced Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-login {
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 14px;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-login:hover {
  border-color: var(--cta);
  color: var(--cta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.15);
}

.btn-order {
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 24px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
  border: none;
}

.btn-order:hover {
  background: var(--cta-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.btn-icon {
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
}

/* ========== HEADER ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 9999;
  transition: var(--transition);
}

.header-inner {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
  height: 102px;
}

/* ========== Logo Styling ========== */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.logo-link:hover {
  transform: translateY(-2px);
}

.logo-icon {
  height: 38px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) saturate(100%) invert(64%) sepia(70%) saturate(3568%) hue-rotate(-5deg) brightness(101%) contrast(101%);
}

.logo-link:hover .logo-icon {
  filter: brightness(0) saturate(100%) invert(61%) sepia(74%) saturate(3760%) hue-rotate(2deg) brightness(104%) contrast(99%);
  transform: scale(1.05);
}

/* Logo Text - Triple Split with Modern Font */
.logo-snt {
  font-family: var(--font-heading);
  color: #ff7a1a;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  transition: var(--transition-fast);
}

.logo-t {
  font-family: var(--font-heading);
  color: #2a3b4b;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  transition: var(--transition-fast);
}

.logo-hostings {
  font-family: var(--font-heading);
  color: #2a3b4b;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.5px;
  transition: var(--transition-fast);
}

.logo-link:hover .logo-snt {
  color: var(--cta);
}

.logo-link:hover .logo-t {
  color: var(--cta);
}

.logo-link:hover .logo-hostings {
  color: var(--text);
}

/* Scrolled Header Effect */
.lifted-nav.scrolled .logo-snt {
  color: #ff7a1a;
}

.lifted-nav.scrolled .logo-t {
  color: #2a3b4b;
}

.lifted-nav.scrolled .logo-hostings {
  color: #2a3b4b;
}

/* ========== Navigation ========== */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.nav-menu > li > a {
  color: var(--text);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 4px;
  display: inline-block;
  white-space: nowrap;
  position: relative;
  transition: var(--transition-fast);
}

/* Animated underline */
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta), var(--cta-light));
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu > li > a:hover {
  color: var(--cta);
}

.nav-menu > li > a:hover::after {
  width: 100%;
}

/* ========== Dropdown Menu ========== */
.nav-menu li.menu-item-has-children {
  position: relative;
}

/* Dropdown arrow indicator */
.nav-menu li.menu-item-has-children > a::before {
  content: "▾";
  font-size: 10px;
  color: var(--muted);
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
  transition: var(--transition-fast);
}

.nav-menu li.menu-item-has-children:hover > a::before {
  color: var(--cta);
  transform: translateY(2px);
}

/* Hover gap bridge */
.nav-menu li.menu-item-has-children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  pointer-events: auto;
}

/* Dropdown submenu */
.nav-menu .sub-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  list-style: none;
  padding: 12px 0;
  min-width: 240px;
  box-shadow: 0 12px 40px rgba(11, 29, 50, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  z-index: 200;
}

@media (max-width: 1200px) {
.nav-menu .sub-menu {
  top: calc(100% + 10px);
  }
  }
  
.nav-menu li:hover > .sub-menu,
.nav-menu .sub-menu:hover {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-menu .sub-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
}

.nav-menu .sub-menu a:hover {
  background: linear-gradient(135deg, #fff8f0 0%, #ffe8cc 100%);
  color: var(--cta);
  padding-left: 30px;
}

/* ========== Header Buttons Container ========== */
.header-button {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ========== Mobile Toggle ========== */
.nav-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 10px;
  width: 44px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.toggle-line {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--cta);
  border-color: var(--cta);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

.nav-toggle:hover .toggle-line {
  background: #fff;
}

.nav-toggle.active .toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== Floating Header Effect ========== */
.lifted-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  z-index: 1000;
}

.lifted-nav.scrolled {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 60px);
  max-width: 1320px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 106, 0, 0.15);
  box-shadow: 0 4px 20px rgba(11, 29, 50, 0.08);
  border-radius: 16px;
  z-index: 10000;
}

/* Optional subtle vertical motion (for smooth detach) */
@media (prefers-reduced-motion: no-preference) {
  .lifted-nav {
    transition: background 0.35s ease, box-shadow 0.35s ease, top 0.35s ease;
  }
  .lifted-nav.scrolled {
    top: 20px; /* visually detaches down */
  }
}

/* ========== NoScript Alert ========== */
.noscript-alert {
  background: linear-gradient(135deg, #fff3cd 0%, #ffe0b2 100%);
  border: 2px solid #ffb74d;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(255, 183, 77, 0.2);
}

.noscript-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
}

.noscript-icon {
  font-size: 1.8em;
  flex-shrink: 0;
}

.noscript-inner p {
  margin: 0;
  color: #e65100;
  font-weight: 500;
  line-height: 1.5;
}

.noscript-inner strong {
  font-weight: 700;
  color: var(--text);
}

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

.site-footer {
  background: linear-gradient(180deg, #f9fbfc 0%, #fff 100%);
  color: var(--text);
}

/* ========== Trust Badges Section ========== */
.footer-trust {
  background: #fdefdc;
  border-bottom: 2px solid #ffd699;
  padding: 20px 0 50px 0;
}


.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid rgba(255, 106, 0, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.trust-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.15);
  border-color: rgba(255, 106, 0, 0.3);
}

.trust-icon {
  font-size: 2.5em;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(255, 106, 0, 0.2));
}

.trust-content h5 {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px 0;
  font-family: var(--font-heading);
}

.trust-content p {
  font-size: 0.9em;
  color: var(--muted);
  margin: 0;
}

/* ========== Main Footer Content ========== */
.footer-main {
  padding: 60px 0 40px;
}

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

/* ========== Footer Brand ========== */
.footer-about {
  max-width: 400px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(64%) sepia(70%) saturate(3568%) hue-rotate(-5deg) brightness(101%) contrast(101%);
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.brand-snt {
  color: var(--cta);
}

.brand-t {
  color: var(--cta-light);
}

.brand-hostings {
  color: var(--text);
}

.footer-tagline {
  font-size: 0.95em;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ========== Social Links ========== */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.3);
}

/* ========== Footer Columns ========== */
.footer-col h4 {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
  font-family: var(--font-heading);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95em;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--cta);
  padding-left: 6px;
}

.link-icon,
.contact-icon {
  font-size: 1.1em;
  flex-shrink: 0;
}

/* ========== Footer CTA Button ========== */
.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95em;
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
  transition: var(--transition);
  font-family: var(--font-heading);
}

.footer-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
  color: #fff;
}

.footer-cta .arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.footer-cta:hover .arrow {
  transform: translateX(6px);
}

/* ========== Footer Bottom ========== */
.footer-bottom {
  border-top: 2px solid var(--border);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.9em;
  color: var(--muted);
  margin: 0;
}

.copyright {
  font-weight: 600;
}

.powered {
  font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1400px) {
  .nav-menu {
    gap: 20px;
  }
  
  .nav-menu > li > a {
    font-size: 14px;
  }
}

@media (max-width: 1280px) {
  .nav-menu {
    gap: 16px;
  }
  
  .nav-menu > li > a {
    font-size: 16px;
  }
  
  .header-button {
    gap: 10px;
  }
  
  .btn-login,
  .btn-order {
    font-size: 13px;
    padding: 8px 18px;
  }
}

@media (max-width: 1200px) {
  .main-navigation {
    display: none;
  }

  .main-navigation.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 24px 0;
    animation: fadeSlideIn 0.3s ease-out;
    border-radius: 0 0 16px 16px;
    z-index: 9999;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding: 0 24px;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 16px;
    padding: 12px 0;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

  .lifted-nav.scrolled {
    width: calc(100% - 40px);
    top: 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-about {
    max-width: 100%;
  }

  .trust-badges {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  h1 { font-size: 2.2em; }
  h2 { font-size: 1.8em; }
  h3 { font-size: 1.4em; }

  .header-inner {
    padding: 12px 16px;
  }

  .logo-snt,
  .logo-t,
  .logo-hostings {
    font-size: 20px;
  }

  .logo-icon {
    height: 28px;
  }

  .header-button {
    gap: 8px;
  }

  .btn-login,
  .btn-order {
    font-size: 13px;
    padding: 8px 16px;
  }

  .lifted-nav.scrolled {
    width: calc(100% - 20px);
    top: 8px;
    border-radius: 12px;
  }

  .footer-trust {
    padding: 40px 0;
  }

  .trust-badges {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-badge {
    padding: 20px;
  }

  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  
  /* Simpler mobile menu */
  .main-navigation.open {
    background: #fff;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 480px) {
  .logo-snt,
  .logo-t,
  .logo-hostings {
    font-size: 18px;
  }

  .btn-login span:not(.btn-icon),
  .btn-order span:not(.btn-icon) {
    display: none;
  }

  .btn-icon {
    font-size: 1.3em;
  }

  .footer-cta {
    width: 100%;
    justify-content: center;
  }
}

/* ========================================
   UTILITY CLASSES
======================================== */

.text-center { text-align: center; }
.text-orange { color: var(--cta); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ========================================
   ANIMATIONS
======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}


/* ========== Payment Gateway & Trust Section ========== */
.payment {
  margin-bottom: 35px;
  text-align: center;
}

.payment-title {
  font-family: var(--font-heading);
  font-size: 1.5em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 35px;
  text-align: center;
  line-height: 1.4;
  letter-spacing: normal;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.payment-logos img,
.trust-logos img {
  height: 36px;
  opacity: 0.8;
  filter: grayscale(100%) brightness(0.9);
  transition: all 0.3s ease;
}

.payment-logos img:hover,
.trust-logos img:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}

/* ========== White Box Container ========== */
.payment-white-box {
  background: #fff;
  border-radius: 20px;
  padding: 45px;
  margin-bottom: 35px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.08);
  transition: all 0.3s ease;
}

.payment-white-box:hover {
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.12);
  border-color: rgba(255, 106, 0, 0.15);
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
  .payment-white-box {
    padding: 40px 30px;
  }
}

/* ========== Container with Extended Gradient Background ========== */
.background-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 20px 10px;
  position: relative;
  z-index: 1;
}

/* Extended gradient backgrounds for different sections */
.background-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--background-width);
  height: 100%;
  transform: translateX(-50%);
  background:
    linear-gradient(to right, #FCFEFF 0%, #ffe8cc 50%, #FCFEFF 100%),
    linear-gradient(to bottom, #ffe3d3 0%, rgba(255, 227, 211, 0.3) 30%, rgba(255, 232, 204, 0.1) 60%, transparent 100%);
  z-index: -2;
  pointer-events: none;
}
.background-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 120px; /* adjust fade thickness */
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent 0%, #fdefdc 100%);
  z-index: -1;
  pointer-events: none;
}

/* ===========================
   Universal Custom Plan Modal
   Full-Page Design
=========================== */

.modal-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  backdrop-filter: blur(14px);
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

/* --- Full-Page Modal Box --- */
.modal-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 60px 50px 50px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-align: center;
  margin: 20px;
}

/* --- Close Button --- */
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--cta, #ff6a00);
  background: rgba(255, 106, 0, 0.1);
  transform: rotate(90deg);
}

/* --- Header Section --- */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-header img,
.modal-illustration img {
  width: 60px;
  height: 60px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(255, 106, 0, 0.3));
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text, #0b1b2b);
  margin: 0;
  letter-spacing: -0.5px;
}

/* --- Description --- */
.modal-box p {
  color: var(--muted, #5b6b7a);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Form Styling --- */
#customPlanForm {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 8px;
}

#customPlanForm label {
  font-weight: 700;
  color: var(--text, #0b1b2b);
  font-size: 0.95rem;
  margin-bottom: 6px;
  display: block;
}

#customPlanForm input,
#customPlanForm textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e6edf3;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  margin-bottom: 16px;
}

#customPlanForm input:focus,
#customPlanForm textarea:focus {
  border-color: var(--cta, #ff6a00);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.1);
  outline: none;
  transform: translateY(-1px);
}

#customPlanForm input::placeholder,
#customPlanForm textarea::placeholder {
  color: #999;
}

#customPlanForm textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* --- Submit Button --- */
#customPlanForm button[type="submit"] {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--cta, #ff6a00), var(--cta-hover, #e35a00));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#customPlanForm button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--cta-hover, #e35a00), var(--cta, #ff6a00));
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.4);
}

#customPlanForm button[type="submit"]:active {
  transform: translateY(-1px);
}

/* --- Result Message --- */
#customPlanResult {
  margin-top: 20px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  display: none;
}

#customPlanResult:not(:empty) {
  display: block;
}

#customPlanResult.success {
  background: #ecfdf5;
  color: #16a34a;
  border: 2px solid #86efac;
}

#customPlanResult.error {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #fca5a5;
}

#customPlanResult.info {
  background: #eff6ff;
  color: #2563eb;
  border: 2px solid #93c5fd;
}

/* --- Animations --- */
@keyframes fadeOverlay {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* --- Loading State --- */
.modal-box.loading {
  pointer-events: none;
  opacity: 0.6;
}

.modal-box.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--cta, #ff6a00);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .modal-box {
    padding: 50px 35px 40px;
    max-width: 100%;
    margin: 20px;
  }

  .modal-header h3 {
    font-size: 1.5rem;
  }

  #customPlanForm input,
  #customPlanForm textarea {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .custom-config-box {
    flex-direction: column;
    padding: 35px 25px;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 0;
    align-items: flex-start;
  }

  .modal-box {
    padding: 50px 30px 40px;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    max-height: none;
    overflow-y: visible;
    margin: 0;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: rgba(0, 0, 0, 0.05);
    width: 44px;
    height: 44px;
  }

  .modal-header {
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
  }

  .modal-header img,
  .modal-illustration img {
    width: 50px;
    height: 50px;
  }

  .modal-header h3 {
    font-size: 1.3rem;
  }

  .modal-box p {
    font-size: 0.9rem;
  }

  #customPlanForm button[type="submit"] {
    padding: 16px 0;
    font-size: 1rem;
  }
}

/* --- Accessibility --- */
.modal-overlay[aria-hidden="true"] {
  display: none;
}

.modal-close:focus {
  outline: 3px solid var(--cta, #ff6a00);
  outline-offset: 2px;
}

#customPlanForm input:focus,
#customPlanForm textarea:focus,
#customPlanForm button:focus {
  outline: 3px solid var(--cta, #ff6a00);
  outline-offset: 2px;
}

/* --- Print Styles --- */
@media print {
  .modal-overlay {
    display: none !important;
  }
}

.custom-config-box {
  background: linear-gradient(135deg, #fff 0%, var(--ds-light-bg) 100%);
  border: 2px solid var(--ds-border);
  border-radius: 24px;
  padding: 50px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  gap: 50px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.custom-config-box:hover {
  box-shadow: 0 16px 50px rgba(74, 144, 226, 0.12);
}

.config-left {
  flex: 1;
}

.config-left img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(74, 144, 226, 0.15));
}

.config-right {
  flex: 1.2;
}

.config-right h2 {
  font-size: 2.3em;
  margin: 0 0 20px 0;
  color: var(--ds-text);
  font-weight: 800;
}

.config-right h2 span {
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.config-right p {
  font-size: 1.1em;
  color: var(--ds-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn-cta-primary {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.25);
  cursor: pointer;
}

.btn-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 144, 226, 0.35);
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ds-secondary), var(--ds-primary));
}


/* ========== REVIEWS SECTION ========== */
.rdp-reviews {
  margin: 60px 0;
  padding: 50px 0;
  background: linear-gradient(135deg, var(--ds-light-bg) 0%, #fff 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.reviews-title {
  font-size: 2.3em;
  text-align: center;
  margin: 0 0 50px 0;
  color: var(--ds-text);
  font-weight: 800;
}

.review-carousel {
  overflow: hidden;
  position: relative;
  padding: 0 20px;
}

.review-track {
  display: flex;
  gap: 24px;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.review-track:hover {
  animation-play-state: paused;
}

.review-card {
  min-width: 350px;
  background: #fff;
  border: 2px solid var(--ds-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(74, 144, 226, 0.15);
  border-color: var(--ds-primary);
}

.review-card .stars {
  font-size: 1.2em;
  margin-bottom: 16px;
  color: #FFB800;
}

.review-card p {
  font-size: 0.95em;
  color: var(--ds-muted);
  line-height: 1.7;
  margin: 0 0 16px 0;
  font-style: italic;
}

.review-card small {
  font-weight: 700;
  color: var(--ds-text);
  font-size: 0.9em;
}