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

:root {
  --bg-dark: #0f112d;
  --bg-card: rgba(110, 120, 255, 0.08);
  --primary: #6e45e2;
  --primary-glow: rgba(110, 69, 226, 0.4);
  --accent: #24d2f0;
  --text-main: #ffffff;
  --text-dim: #a0a0c0;
  --glass-border: rgba(110, 120, 255, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* --- Header & Nav --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(15, 17, 45, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

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

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: var(--transition);
}

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

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

/* --- Hero Section --- */
.hero {
  padding: 10rem 0 6rem;
  background: radial-gradient(circle at top right, rgba(110, 69, 226, 0.2), transparent),
              radial-gradient(circle at bottom left, rgba(36, 210, 240, 0.15), transparent);
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  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(to right, #fff, #a0a0c0);
  -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(255, 255, 255, 0.1);
  color: white;
  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: rgba(110, 69, 226, 0.08);
}

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

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

/* --- About & Contact --- */
.alt {
  background: rgba(110, 120, 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: 6rem 2rem;
  border-radius: 40px;
}

.contact-box h2 {
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* --- 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: rgba(10, 11, 30, 0.85);
  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(to right, #fff, var(--accent));
  -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(--text-main);
  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(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  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(255, 255, 255, 0.15);
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* --- Mobile --- */
.mobile-overlay { display: none; }
.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: var(--transition);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

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

  .nav-links {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    z-index: 9999;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  }

  .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);
  }
}
  /* 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 Search Form Styles */
.domain-search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.6rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.domain-input {
  flex: 1;
  background: none;
  border: none;
  color: white;
  padding: 0.8rem 1.5rem;
  outline: none;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 500;
}

.domain-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.domain-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }
  .domain-search-form {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    gap: 1.2rem;
    border-radius: 20px;
  }
  
  .domain-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    font-size: 1.2rem;
  }
  
  .domain-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
  }
}
