/* ==========================================================================
   VEXEL LUXURY LIGHT DESIGN SYSTEM
   Theme: Luxury Light Mode (Ivory, Glassmorphism, Champagne Gold, Royal Sapphire)
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-primary: #FAF9F6;          /* Warm Ivory */
  --bg-surface: #FFFFFF;          /* Pure White */
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-card: rgba(255, 255, 255, 0.85);

  --accent-gold: #D4AF37;         /* Champagne Gold */
  --accent-gold-light: #F3E5AB;
  --accent-gold-gradient: linear-gradient(135deg, #E6C667 0%, #D4AF37 50%, #997A15 100%);
  
  --accent-blue: #1E3A8A;         /* Royal Sapphire Blue */
  --accent-blue-hover: #1D4ED8;
  --accent-blue-light: #EFF6FF;
  --accent-blue-gradient: linear-gradient(135deg, #2563EB 0%, #1E3A8A 100%);

  --text-primary: #0F172A;        /* Deep Obsidian */
  --text-secondary: #475569;      /* Slate Muted */
  --text-light: #64748B;
  
  --border-light: rgba(212, 175, 55, 0.18);
  --border-glass: rgba(255, 255, 255, 0.5);
  --border-active: rgba(37, 99, 235, 0.4);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.06);
  --shadow-luxury: 0 20px 48px rgba(212, 175, 55, 0.12), 0 8px 24px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 24px rgba(37, 99, 235, 0.25);

  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radius & Blur */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --blur-glass: blur(16px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Luxury Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-glass-card);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-luxury);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.12);
  color: #997A15;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-blue {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--accent-blue-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--accent-gold-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

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

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent-gold);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gold-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.nav-link:hover {
  color: var(--accent-blue);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  margin: 1.2rem 0;
}

.hero-content h1 span {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* Domain Search Box Component */
.domain-search-box {
  max-width: 840px;
  margin: 0 auto;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-luxury);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.domain-input-group {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 1.2rem;
  gap: 0.8rem;
}

.domain-input-group svg {
  color: var(--accent-gold);
}

.domain-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-primary);
  background: transparent;
}

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

.domain-results {
  max-width: 840px;
  margin: 1.5rem auto 0;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.domain-results.active {
  display: block;
}

.domain-result-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0.5rem;
}

.domain-status {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.domain-status.available {
  color: #10B981;
}

.domain-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-blue);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-top: 0.8rem;
}

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

.service-card {
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.service-card.highlight .service-icon {
  background: rgba(212, 175, 55, 0.15);
  color: #997A15;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  margin-bottom: 1.8rem;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.service-list li svg {
  color: #10B981;
  flex-shrink: 0;
}

/* ==========================================================================
   Hosting Pricing Section
   ========================================================================== */
.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #E2E8F0;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .slider {
  background-color: var(--accent-blue);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-luxury);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
}

.pricing-badge .badge {
  background: var(--accent-gold-gradient);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  padding: 0.45rem 1.25rem;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ==========================================================================
   Web Dev Interactive Calculator
   ========================================================================== */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-luxury);
  max-width: 960px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.calc-select, .calc-range {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid #CBD5E1;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.calc-summary {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.calc-total {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin: 1rem 0;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 1.4rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 1.2rem;
}

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

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

.footer-links a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.9rem;
}

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