/* 
   Hostgalaxy Infomatik - Premium Design System
   Thema: Galactic Modern / Dark Mode
*/

:root {
  --bg-dark: #f5f7fb;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.85);
  --primary: #7c3aed; /* Friendly brand violet */
  --primary-glow: rgba(124, 58, 237, 0.15);
  --accent: #06b6d4;  /* Friendly brand cyan */
  --text-main: #0f172a;
  --text-dim: #475569;
  --glass-border: rgba(15, 23, 42, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html {
  background-color: #f5f7fb !important;
}

body {
  background: transparent !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated Gradient Background matching hostgalaxy.ch */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(245, 247, 251, 0.85), rgba(245, 247, 251, 0.95)),
              radial-gradient(circle at top right, #c7d2fe, #ddd6fe, #fecdd3, #fed7aa);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  z-index: -1;
  pointer-events: none;
}

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


.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.header .container {
  max-width: 1400px;
}

/* --- Header & Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 80px;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* --- Dropdown Menu --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  list-style: none;
  padding: 1rem;
  min-width: 220px;
  width: max-content;
  z-index: 1001;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(15px);
  margin-top: 0.5rem;
  display: block;

  /* Initial state for animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Hover Bridge: Prevents the menu from closing when moving the mouse through the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 1rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.dropdown-menu li {
  margin-bottom: 0.5rem;
  width: 100%;
  border: none !important;
  /* Reset mobile border if inherited */
}

.dropdown-menu li:last-child {
  margin-bottom: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  color: var(--text-dim);
  white-space: nowrap;
}

@media (max-width: 968px) {
  .contact-pill {
    display: none !important;
  }
  
  .dropdown-menu {
    position: static !important;
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: none !important;
    margin-top: 0.5rem !important;
    padding-left: 1rem !important;
    backdrop-filter: none !important;
  }
  
  .dropdown.active > .dropdown-menu {
    display: block !important;
  }
  
  .dropdown > a::after {
    content: '▾';
    float: right;
    transition: transform 0.3s ease;
  }
  
  .dropdown.active > a::after {
    transform: rotate(180deg);
  }
}

.dropdown-menu a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent);
}

.dropdown>a::after {
  content: '▾';
  margin-left: 5px;
  font-size: 0.8rem;
  vertical-align: middle;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 8rem 0 6rem;
  background: 
    linear-gradient(to bottom, rgba(245, 247, 251, 0.85), rgba(245, 247, 251, 0.95)),
    url('images/hero.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(110, 69, 226, 0.15), transparent),
    radial-gradient(circle at bottom left, rgba(36, 210, 240, 0.1), transparent);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(110, 69, 226, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(110, 69, 226, 0.5);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-dim);
}

.benefit-list {
  list-style: none;
  padding: 0;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

/* --- Sections --- */
.section {
  padding: 8rem 0;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: default;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  background: var(--bg-card);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.card p {
  color: var(--text-dim);
}

/* --- About & Contact --- */
.alt {
  background: rgba(255, 255, 255, 0.02);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.highlight-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 2.5rem;
  border-radius: 24px;
  color: white;
}

.highlight-box h3 {
  margin-bottom: 1rem;
}

.contact-box {
  text-align: center;
  background: radial-gradient(circle at center, var(--primary-glow), transparent);
  padding: 8rem 2rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.contact-box h2 {
  font-size: 3rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-box p {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* --- Support Banner --- */
.support-banner {
  background: url('images/support.png') no-repeat center center;
  background-size: cover;
  backdrop-filter: blur(20px);
  padding: 5rem 2rem;
  border-radius: 40px;
  text-align: center;
  margin: 6rem 0;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.support-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 247, 251, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%);
  z-index: 1;
}

.support-banner>* {
  position: relative;
  z-index: 2;
}

/* Subtle glow effect behind the banner */
.support-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.3;
}

.support-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.support-banner .hotline-label {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.support-banner .contact-info {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.support-banner .contact-info a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  transition: var(--transition);
}

.support-banner .contact-info a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.support-banner .banner-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Re-using existing button styles with minor overrides if needed */
.btn-banner-primary {
  background: var(--primary);
  color: white;
  padding: 1.1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 10px 20px var(--primary-glow);
}

.btn-banner-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--primary);
}

.btn-banner-secondary {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 1.1rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: var(--transition);
}

.btn-banner-secondary:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* --- Footer --- */
.footer {
  padding: 6rem 0 2rem;
  background: linear-gradient(to bottom, transparent, rgba(245, 247, 251, 0.95));
  border-top: 1px solid var(--glass-border);
  color: var(--text-dim);
}

.footer .container {
  max-width: 1400px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-description {
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--primary-glow);
}

.footer h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--accent);
  width: 20px;
}

.footer-contact a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--text-main);
}

.footer-legal {
  margin-top: 2rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer-legal .sep {
  margin: 0 0.5rem;
  opacity: 0.3;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  font-size: 0.85rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-legal-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .footer-brand .logo, 
  .footer-socials,
  .footer-contact p {
    justify-content: center;
  }
}

/* --- Mobile --- */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 998;
}

.mobile-overlay.show {
  display: block;
}

.mobile-nav-header {
  display: none;
}

@media (max-width: 968px) {

  .hero-content,
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  body {
    /* Transition removed to prevent layout shift animations on load */
  }

  body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh;
    position: fixed;
    width: 100%;
  }

  .nav {
    justify-content: space-between;
    gap: 15px;
  }

  .action-area .contact-pill {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .contact-pill span {
    display: none;
  }
  .contact-pill i {
    margin: 0;
    font-size: 1.2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem 2rem;
    gap: 1.25rem;
    z-index: 9999;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.show {
    display: flex !important;
  }

  /* Remove side-drawer push effects */
  body.mobile-menu-open main,
  body.mobile-menu-open .footer {
    transform: none !important;
    border-radius: 0 !important;
  }

  .mobile-overlay {
    display: none;
  }

  .menu-btn {
    display: block;
    z-index: 1100;
    order: 1;
    /* Back to right */
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dim);
  }

  /* Mobile Dropdown adjustment */
  .dropdown-menu {
    position: static;
    display: block;
    /* Show in mobile list */
    background: rgba(15, 23, 42, 0.03);
    border: none;
    box-shadow: none;
    padding: 0 0 0 1.5rem;
    margin-top: 0;
    min-width: 100%;
    backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: all;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown>a::after {
    content: '▾';
  }

  .section {
    padding: 4rem 0;
  }

  .section h2,
  .about h2,
  .support-banner h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .support-banner h2 {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .section h2,
  .about h2,
  .support-banner h2 {
    font-size: 1.65rem;
  }
}

/* Domain Section Mobile Fix */
.domain-section {
  padding: 3rem 0.8rem;
}

/* List Centering Fix */
.hero-card ul,
.benefit-list {
  display: inline-block;
  text-align: left;
  padding: 0;
}


/* --- Domain Section --- */
.domain-section {
  background: url('images/domain.png') no-repeat center center;
  background-size: cover;
  border-radius: 40px;
  padding: 6rem 2rem;
  margin: 6rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.domain-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(245, 247, 251, 0.9) 0%, rgba(124, 58, 237, 0.15) 100%);
  z-index: 1;
}

.domain-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.domain-inner h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.domain-inner p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
}

.domain-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  padding: 0.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.domain-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(110, 69, 226, 0.3);
  transform: translateY(-2px);
}

.domain-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 1.2rem 2rem;
  outline: none;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 500;
  width: 100%;
}

.domain-input::placeholder {
  color: var(--text-muted);
}

.domain-btn {
  background: linear-gradient(135deg, #0066ff, #0052cc) !important;
  color: white !important;
  padding: 1rem 3rem !important;
  border-radius: 16px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0.2rem !important;
}

.domain-btn:hover {
  transform: scale(1.02) translateY(-2px) !important;
  box-shadow: 0 15px 30px rgba(0, 102, 255, 0.5) !important;
  filter: brightness(1.1);
}

.domain-btn:active {
  transform: scale(0.98) !important;
}

.domain-btn.loading {
  pointer-events: none !important;
  padding-left: 2rem !important;
}

.domain-btn.loading::before {
  content: "" !important;
  width: 22px !important;
  height: 22px !important;
  border: 3px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 3px solid #ffffff !important;
  border-radius: 50% !important;
  animation: btn-spin 0.8s linear infinite !important;
}

@keyframes btn-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .domain-inner h2 {
    font-size: 2.2rem;
  }

  .domain-search-form {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    gap: 1rem;
    border-radius: 24px;
  }

  .domain-input {
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
  }

  .domain-btn {
    width: 100% !important;
    margin: 0 !important;
    padding: 1.2rem !important;
  }
}

/* --- Section Variants --- */
.section.alt {
    background: linear-gradient(to bottom, transparent, rgba(110, 69, 226, 0.03), transparent);
}

/* --- About Us Section --- */
.about {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.highlight-box h3 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dim);
}

.benefit-list span {
    font-size: 1.2rem;
}

/* --- Contact Section --- */
.contact-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 4rem 10rem;
    background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.contact-box h2 {
    font-size: 2.8rem;
    margin-bottom: 3.5rem;
    font-weight: 800;
}

@media (max-width: 968px) {
    .about {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-box {
        padding: 3.5rem 2rem 5rem;
    }

    .contact-box h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
}

/* --- LIGHT THEME COMPATIBILITY OVERRIDES --- */
input,
select,
textarea {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
}

select option {
    background: var(--bg-card) !important;
    color: var(--text-primary) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px var(--primary-glow) !important;
}

.form-card h1,
.form-card h2 {
    background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Ensure all card contents are readable in light mode */
.card,
.cosmic-card,
.glass-panel,
.hero-card {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

/* Force all text inside cards to be dark slate, except buttons, icons, headings, or elements with custom backgrounds */
.card *:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([style*="color: var"]):not([style*="color:var"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not([id^="paypal-container"] *):not([class*="paypal"] *),
.cosmic-card *:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([style*="color: var"]):not([style*="color:var"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not([id^="paypal-container"] *):not([class*="paypal"] *),
.glass-panel *:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([style*="color: var"]):not([style*="color:var"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not([id^="paypal-container"] *):not([class*="paypal"] *),
.hero-card *:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([style*="color: var"]):not([style*="color:var"]):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not([id^="paypal-container"] *):not([class*="paypal"] *) {
    color: var(--text-primary) !important;
}

/* Global override for ANY inline white text on the bright background, unless it has a custom background/button class */
[style*="color: #fff"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *),
[style*="color:#fff"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *),
[style*="color: white"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *),
[style*="color:white"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *),
[style*="color: #ffffff"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *),
[style*="color:#ffffff"]:not(.btn-primary):not([class*="btn"]):not(i):not(.ribbon):not([style*="background"]):not([id^="paypal-container"] *):not([class*="paypal"] *) {
    color: var(--text-primary) !important;
}

/* Revert PayPal button text overrides and hide redundant Hosted Button labels */
div[id^="paypal-container"] [style*="color"] {
    color: inherit !important;
}
div[id^="paypal-container"] [style*="color: #fff"],
div[id^="paypal-container"] [style*="color:#fff"],
div[id^="paypal-container"] [style*="color: white"],
div[id^="paypal-container"] [style*="color:white"],
div[id^="paypal-container"] [style*="color: #ffffff"],
div[id^="paypal-container"] [style*="color:#ffffff"] {
    color: #ffffff !important;
}

div[id^="paypal-container"] #price-label,
div[id^="paypal-container"] #item-name-label,
div[id^="paypal-container"] #description-label,
div[id^="paypal-container"] #desc-label,
div[id^="paypal-container"] #name-label {
    display: none !important;
}