/* ============================================
   365Hosting.org - Creative Premium Design
   Aurora Effects, Glassmorphism, Animations
   ============================================ */

:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-elevated: #222222;
  --bg-input: #2a2a2a;
  
  --red: #dc2626;
  --red-hover: #b91c1c;
  --red-glow: rgba(220, 38, 38, 0.4);
  --red-soft: rgba(220, 38, 38, 0.1);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --border: #333333;
  --border-hover: #444444;
  
  /* Aurora Colors */
  --aurora-1: rgba(220, 38, 38, 0.15);
  --aurora-2: rgba(139, 0, 0, 0.1);
  --aurora-3: rgba(255, 50, 50, 0.08);
  
  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing */
  --container: 1400px;
  --gap: 2rem;
  
  /* Transitions */
  --fast: 150ms ease;
  --base: 300ms ease;
  --slow: 500ms ease;
  
  /* Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   AURORA BACKGROUND
   ============================================ */

.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  background: 
    radial-gradient(ellipse at 20% 20%, var(--aurora-1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, var(--aurora-2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, var(--aurora-3) 0%, transparent 70%),
    var(--bg-primary);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.aurora-1 {
  width: 600px;
  height: 600px;
  background: var(--aurora-1);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.aurora-2 {
  width: 500px;
  height: 500px;
  background: var(--aurora-2);
  bottom: -150px;
  right: -100px;
  animation-delay: -7s;
}

.aurora-3 {
  width: 400px;
  height: 400px;
  background: var(--aurora-3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-badge {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link-billing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: white;
  padding: 0.5rem 1rem;
}

.nav-link-billing:hover {
  background: var(--red-hover);
}

.badge {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--fast);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--fast);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
  padding-top: 80px;
  min-height: 100vh;
}

.content-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
}

/* ============================================
   LEFT COLUMN - HERO
   ============================================ */

.hero {
  padding: 2rem 0;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
  background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius);
  transition: all var(--fast);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 4px 20px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--red-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-section {
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--red-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--base);
}

.feature-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.feature-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
  padding: 1rem 0;
}

.info-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
}

/* ============================================
   RIGHT COLUMN - PLAN PANEL
   ============================================ */

.right-column {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.plan-panel {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.panel-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.panel-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.panel-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.panel-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Domain Input */
.domain-input-group {
  background: var(--bg-input);
  border-radius: var(--radius);
  padding: 1rem;
}

.plan-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  transition: all var(--fast);
}

.domain-row {
  display: flex;
  gap: 0.5rem;
}

.domain-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  transition: all var(--fast);
}

.domain-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

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

.tld-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.5rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  transition: all var(--fast);
}

.tld-select:focus {
  border-color: var(--red);
}

.btn-verify {
  background: var(--red);
  color: white;
  padding: 0.625rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--fast);
}

.btn-verify:hover {
  background: var(--red-hover);
}

/* Plan Slider */
.plan-slider-container {
  margin-bottom: 1.5rem;
}

.plan-slider {
  width: 100%;
  height: 6px;
  background: var(--bg-input);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 0.75rem;
}

.plan-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--red-glow);
  transition: all var(--fast);
}

.plan-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--red-glow);
}

.plan-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--red);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px var(--red-glow);
}

.plan-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
}

.plan-label {
  color: var(--text-muted);
  transition: color var(--fast);
}

.plan-label.active {
  color: var(--red);
}

/* Plan Features */
.plan-features {
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: all var(--fast);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item.included {
  color: var(--text-primary);
}

.feature-item.locked {
  color: var(--text-muted);
}

.feature-item.unlocked {
  color: var(--text-primary);
  animation: unlock 0.5s ease;
}

@keyframes unlock {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--red);
  flex-shrink: 0;
}

.lock-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.feature-item.unlocked .lock-icon {
  display: none;
}

.feature-item.unlocked::before {
  content: '';
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* Checkout Section */
.checkout-section {
  text-align: center;
}

.btn-checkout {
  width: 100%;
  background: var(--red);
  color: white;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px var(--red-glow);
  transition: all var(--fast);
}

.btn-checkout:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--red-glow);
}

.checkout-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Architecture Section */
.architecture-section {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
}

.architecture-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.arch-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.arch-desc {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.arch-arrow {
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .right-column {
    position: relative;
    top: 0;
  }
  
  .plan-panel {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-container {
    padding: 0.75rem 1rem;
  }
  
  .content-grid {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .domain-row {
    flex-wrap: wrap;
  }
  
  .domain-input {
    width: 100%;
  }
  
  .tld-select {
    flex: 1;
  }
  
  .btn-verify {
    flex: 1;
  }
}
