/* ========================================
   HOSTING GM - PREMIUM SYSTEM FONT STACK
   Optimized for MAXIMUM SPEED & PERFECT CWV
   ======================================== */
:root {
  /* System Font Stack: 0ms load, instant render, zero CLS */
  --font-family: 
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 
    Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';

  /* Color System */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-secondary: #8b5cf6;
  --color-accent: #ec4899;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-info: #3b82f6;
  
  /* Dark Theme */
  --bg-dark: #0f172a;
  --bg-darker: #0a0f1d;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(30, 41, 59, 0.65);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Gradients & Shadows */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-accent: linear-gradient(135deg, var(--color-accent), #f43f5e);
  --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
  --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.85));
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --shadow-glow-hover: 0 0 30px rgba(99, 102, 241, 0.5);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  
  /* Layout */
  --section-padding: 5rem 0;
  --border-radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--text-primary); }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.text-muted { color: var(--text-muted) !important; }
.section-padding { padding: var(--section-padding); }
.section-header { max-width: 700px; margin: 0 auto 4rem; }
.section-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gradient-glow);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}
.section-subtitle { font-size: 1.125rem; max-width: 600px; margin: 0 auto; }

/* Glassmorphism Cards */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  font-size: 1rem;
}
.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-hover);
  color: white;
}
.btn-gradient::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-gradient:hover::after { transform: rotate(45deg) translateX(100%); }

.btn-outline-glow {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline-glow:hover {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.glow-hover:hover { box-shadow: var(--shadow-glow-hover) !important; }

/* Preloader */
.preloader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-darker);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.preloader-logo i { color: var(--color-primary); }
.preloader-spinner {
  width: 50px; height: 50px;
  border: 3px solid var(--border-glass);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.preloader-text { color: var(--text-secondary); font-size: 0.9rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Background Effects */
.particles-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2; pointer-events: none;
}
.blur-circle {
  position: fixed; border-radius: 50%; filter: blur(80px);
  z-index: -1; opacity: 0.3; animation: float 8s ease-in-out infinite;
}
.blur-circle-1 { width: 600px; height: 600px; background: var(--color-primary); top: -200px; right: -200px; }
.blur-circle-2 { width: 400px; height: 400px; background: var(--color-accent); bottom: -100px; left: -100px; animation-delay: -2s; opacity: 0.2; }
.blur-circle-3 { width: 300px; height: 300px; background: var(--color-secondary); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -4s; opacity: 0.15; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -20px) scale(1.05); }
  50% { transform: translate(0, 20px) scale(0.95); }
  75% { transform: translate(-20px, -10px) scale(1.02); }
}

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition); padding: 1rem 0; }
.header.scrolled { background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(20px); box-shadow: var(--shadow-lg); padding: 0.5rem 0; }
.navbar { padding: 0.75rem 0; }
.navbar-brand { font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; }
.navbar-brand i { color: var(--color-primary); }
.nav-link { font-weight: 500; padding: 0.5rem 1rem !important; margin: 0 0.25rem; border-radius: 8px; transition: var(--transition); position: relative; }
.nav-link:hover, .nav-link.active { color: var(--color-primary) !important; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 2px; background: var(--gradient-primary);
  transition: var(--transition); transform: translateX(-50%); border-radius: 2px;
}
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.navbar-toggler { border: 1px solid var(--border-glass); padding: 0.5rem; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* Hero Section */
.hero-section { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-bg-gradient {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gradient-hero); background-size: 400% 400%;
  animation: gradientShift 15s ease infinite; z-index: -1;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 550px; }
.badge-glow {
  background: var(--gradient-glow); border: 1px solid var(--border-glass);
  padding: 0.5rem 1.25rem; border-radius: 50px; font-weight: 500;
  backdrop-filter: blur(10px); animation: pulse 3s ease-in-out infinite;
}
.domain-search-card { max-width: 600px; }
.domain-search-form .input-group {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: 12px; overflow: hidden;
}
.domain-search-form .form-control, .domain-search-form .form-select {
  background: transparent; border: none; color: var(--text-primary); padding: 0.75rem 1rem;
}
.domain-search-form .form-select { border-left: 1px solid var(--border-glass); border-radius: 0; max-width: 100px; }
.domain-pricing { text-align: center; font-size: 0.875rem; }
.trust-badges { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-secondary); }
.badge-item i { font-size: 1.25rem; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 350px; }
.server-rack { width: 260px; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.server-unit {
  background: rgba(30, 41, 59, 0.8); border: 1px solid var(--border-glass);
  border-radius: 12px; padding: 0.6rem; display: flex; gap: 0.4rem;
}
.server-light { width: 10px; height: 10px; border-radius: 50%; background: var(--text-muted); transition: var(--transition); }
.server-light.active { background: var(--color-success); box-shadow: 0 0 10px var(--color-success); animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.floating-element {
  position: absolute; width: 55px; height: 55px;
  background: var(--glass-bg); border: 1px solid var(--border-glass);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--color-primary); animation: var(--transition-slow) float;
  backdrop-filter: blur(10px);
}
.float-1 { top: 5%; right: 10%; animation-delay: 0s; }
.float-2 { bottom: 15%; left: 5%; animation-delay: -2s; }
.float-3 { top: 35%; right: -5%; animation-delay: -4s; }
.stats-badge {
  position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  padding: 0.8rem 1.25rem; text-align: center; min-width: 160px;
}
.stats-value { font-size: 1.5rem; font-weight: 700; color: var(--color-success); }
.stats-label { font-size: 0.85rem; color: var(--text-muted); }

.wave-separator { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; z-index: 1; }
.wave-separator svg { display: block; width: 100%; height: 100px; }
.wave-separator.wave-flipped { transform: rotate(180deg); bottom: auto; top: 0; }
.wave-path { fill: var(--bg-darker); }

/* Plans Section */
.plans-toggle .btn { padding: 0.5rem 1.25rem; border-radius: 50px; }
.plan-card { height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.popular-plan { border: 2px solid var(--color-primary); transform: scale(1.02); z-index: 10; }
.popular-plan:hover { transform: scale(1.04); }
.popular-badge {
  position: absolute; top: 1rem; right: -2.5rem;
  background: var(--gradient-accent); color: white; padding: 0.3rem 3rem;
  font-size: 0.75rem; font-weight: 600; transform: rotate(45deg); box-shadow: var(--shadow-md);
}
.plan-header { padding: 1.25rem; text-align: center; border-bottom: 1px solid var(--border-glass); }
.plan-desc { font-size: 0.9rem; margin-bottom: 0.75rem; color: var(--text-muted); }
.plan-price { margin: 0.75rem 0; }
.price-amount { font-size: 2.25rem; font-weight: 700; color: var(--text-primary); }
.price-period { color: var(--text-muted); font-size: 1rem; }
.plan-features { flex: 1; padding: 1.25rem; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 0.4rem 0; font-size: 0.95rem; display: flex; align-items: center; }
.feature-list li.text-muted { opacity: 0.6; }
.plan-footer { padding: 0 1.25rem 1.25rem; text-align: center; }
.domain-cta { max-width: 800px; margin: 2.5rem auto 0; }

/* Features */
.bg-darker { background: var(--bg-darker); }
.feature-card { text-align: center; height: 100%; }
.feature-icon {
  width: 65px; height: 65px; background: var(--gradient-glow); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
  font-size: 1.5rem; color: var(--color-primary); border: 1px solid var(--border-glass);
}
.feature-title { margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.95rem; margin-bottom: 0; }

/* Why Choose Us */
.advantage-list { margin: 1.5rem 0; }
.advantage-item { padding: 0.75rem; border-radius: 12px; transition: var(--transition); }
.advantage-item:hover { background: var(--glass-bg); }
.advantage-icon {
  width: 40px; height: 40px; background: var(--gradient-glow); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.counter-card { padding: 1rem; background: var(--glass-bg); border-radius: 12px; border: 1px solid var(--border-glass); }
.counter-value { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); }
.counter-label { font-size: 0.85rem; color: var(--text-muted); }
.why-us-visual { position: relative; }
.map-container { height: 280px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.map-placeholder { text-align: center; color: var(--text-muted); }
.map-pin { position: absolute; display: flex; flex-direction: column; align-items: center; font-size: 0.8rem; color: var(--text-secondary); }
.pin-dot { width: 12px; height: 12px; background: var(--color-primary); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 2px var(--color-primary); animation: pulse 2s ease-in-out infinite; }
.pin-1 { top: 35%; left: 30%; }
.pin-2 { top: 25%; left: 50%; }
.trust-badges-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.trust-badge { padding: 0.75rem; text-align: center; font-size: 0.8rem; }
.trust-badge i { display: block; margin-bottom: 0.4rem; color: var(--color-primary); }

/* Performance */
.performance-card { text-align: center; height: 100%; }
.performance-icon {
  width: 55px; height: 55px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-bg); border-radius: 14px; border: 1px solid var(--border-glass);
}
.performance-value { font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin: 0.4rem 0; }
.performance-comparison { font-size: 0.9rem; }
.performance-visual { max-width: 900px; margin: 0 auto; }
.chart-placeholder { height: 180px; display: flex; align-items: flex-end; justify-content: space-around; padding: 1rem; gap: 0.4rem; position: relative; }
.chart-bar { width: 28px; background: var(--gradient-primary); border-radius: 4px 4px 0 0; animation: growUp 0.8s ease-out forwards; opacity: 0; }
.chart-bar-1 { height: 60%; animation-delay: 0.1s; opacity: 1; }
.chart-bar-2 { height: 85%; animation-delay: 0.2s; opacity: 1; }
.chart-bar-3 { height: 75%; animation-delay: 0.3s; opacity: 1; }
.chart-bar-4 { height: 95%; animation-delay: 0.4s; opacity: 1; }
.chart-bar-5 { height: 80%; animation-delay: 0.5s; opacity: 1; }
.chart-bar-6 { height: 90%; animation-delay: 0.6s; opacity: 1; }
@keyframes growUp { from { height: 0; opacity: 0; } to { opacity: 1; } }
.chart-labels { position: absolute; bottom: 0.4rem; left: 0; right: 0; display: flex; justify-content: space-around; font-size: 0.7rem; color: var(--text-muted); }

/* Testimonials */
.testimonial-card { max-width: 700px; margin: 0 auto; }
.testimonial-avatar img { width: 80px; height: 80px; object-fit: cover; border: 3px solid var(--color-primary); }
.testimonial-rating { font-size: 1.1rem; }
.testimonial-text { font-size: 1.05rem; font-style: italic; color: var(--text-secondary); line-height: 1.7; }
.testimonial-author h5 { margin-bottom: 0.25rem; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: var(--bg-card); border-radius: 50%; padding: 0.8rem; background-size: 50%;
}
.carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background: var(--border-glass); border: none; margin: 0 4px; }
.carousel-indicators .active { background: var(--color-primary); }
.trust-logos { border-top: 1px solid var(--border-glass); }
.logo-item { color: var(--text-muted); transition: var(--transition); }
.logo-item:hover { color: var(--color-primary); transform: translateY(-2px); }
.logo-item i { display: block; margin-bottom: 0.25rem; }
.logo-item small { font-size: 0.75rem; }

/* Domain Section */
.domain-search-advanced { max-width: 650px; margin: 0 auto; }
.domain-form .input-group {
  background: var(--bg-card); border: 1px solid var(--border-glass);
  border-radius: 16px; overflow: hidden;
}
.domain-form .form-control { background: transparent; border: none; color: var(--text-primary); padding: 0.8rem 1rem; font-size: 1rem; }
.domain-form .form-select { background: transparent; border: none; border-left: 1px solid var(--border-glass); color: var(--text-primary); padding: 0.8rem 0.75rem; border-radius: 0; }
.domain-form .btn { border-radius: 0 16px 16px 0; padding: 0.8rem 1.25rem; }
.domain-suggestions { text-align: center; margin-top: 0.75rem; }
.badge-hover { transition: var(--transition); cursor: pointer; }
.badge-hover:hover { background: var(--color-primary) !important; color: white; transform: translateY(-2px); }
.domain-pricing-table { max-width: 650px; margin: 0 auto; }
.domain-pricing-table .table { color: var(--text-secondary); }
.domain-pricing-table th { border-bottom: 1px solid var(--border-glass); font-weight: 500; padding: 0.6rem 0.4rem; }
.domain-pricing-table td { padding: 0.6rem 0.4rem; vertical-align: middle; border-bottom: 1px solid var(--border-glass); }
.domain-pricing-table tr:last-child td { border-bottom: none; }
.domain-pricing-table .text-success { font-weight: 600; }

/* FAQ */
.glass-accordion .accordion-item {
  background: var(--glass-bg); border: 1px solid var(--border-glass);
  border-radius: 12px !important; margin-bottom: 0.75rem; overflow: hidden;
}
.glass-accordion .accordion-button {
  background: transparent; color: var(--text-primary); font-weight: 500; padding: 1rem 1.25rem; box-shadow: none;
}
.glass-accordion .accordion-button:not(.collapsed) { background: rgba(99, 102, 241, 0.1); color: var(--color-primary); }
.glass-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236366f1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.glass-accordion .accordion-button:focus { box-shadow: none; border-color: var(--border-glass); }
.glass-accordion .accordion-body { padding: 0 1.25rem 1.25rem; color: var(--text-secondary); }

/* Footer */
.footer-section { background: var(--bg-darker); position: relative; padding-top: 2rem; }
.footer-logo { font-weight: 700; font-size: 1.5rem; color: var(--text-primary); }
.footer-logo i { color: var(--color-primary); }
.footer-text { color: var(--text-secondary); font-size: 0.95rem; }
.social-links { margin-bottom: 1.25rem; }
.social-link {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--glass-bg); border: 1px solid var(--border-glass);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); transition: var(--transition);
}
.social-link:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); transform: translateY(-3px); }
.footer-heading { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); }
.footer-links { padding: 0; margin: 0; }
.footer-link { color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); display: inline-block; }
.footer-link:hover { color: var(--color-primary); transform: translateX(4px); }
.footer-contact { font-size: 0.9rem; color: var(--text-secondary); }
.footer-contact i { width: 20px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--border-glass); }
.footer-badges .badge { font-size: 0.7rem; padding: 0.3rem 0.6rem; }

.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; width: 45px; height: 45px;
  border-radius: 50%; background: var(--gradient-primary); color: white;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: var(--shadow-glow); opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999; border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow-hover); color: white; }

/* Scroll Reveal */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: var(--transition-slow); }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }
.reveal-on-scroll.delay-100 { transition-delay: 0.1s; }
.reveal-on-scroll.delay-200 { transition-delay: 0.2s; }
.reveal-on-scroll.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }
  .hero-content, .hero-illustration { text-align: center; }
  .domain-search-card { margin: 0 auto 2rem; }
  .trust-badges { justify-content: center; }
  .hero-visual { margin-top: 2.5rem; }
  .popular-plan { transform: scale(1); }
  .popular-plan:hover { transform: translateY(-4px); }
  .why-us-visual { margin-top: 2.5rem; }
}
@media (max-width: 767px) {
  :root { --section-padding: 3.5rem 0; }
  .navbar-collapse {
    background: var(--bg-darker); padding: 1rem;
    border-radius: 16px; margin-top: 0.5rem; border: 1px solid var(--border-glass);
  }
  .nav-link { padding: 0.6rem 1rem !important; margin: 0.2rem 0; }
  .hero-section { padding-top: 80px; min-height: auto; padding-bottom: 3rem; }
  .server-rack { width: 200px; }
  .trust-badges-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom .row { text-align: center !important; }
  .footer-badges { justify-content: center; }
}
@media (max-width: 480px) {
  .price-amount { font-size: 2rem; }
  .domain-form .input-group { flex-wrap: wrap; }
  .domain-form .form-select { border-left: none; border-top: 1px solid var(--border-glass); border-radius: 0 0 12px 12px; width: 100%; max-width: none; }
  .domain-form .btn { border-radius: 12px; width: 100%; margin-top: 0.5rem; }
  .trust-badges-grid { grid-template-columns: 1fr; }
}

/* Accessibility & Print */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .header, .footer, .back-to-top, .preloader, .particles-container, .blur-circle { display: none !important; }
  body { background: white; color: black; }
  .glass-card { background: white; border: 1px solid #ddd; box-shadow: none; }
}
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 2px; }

/* ========================================
   HOSTING GM PAKISTAN - NEW ADDITIONS
   Domain search below header, PKR pricing, contact info, SEO
   ======================================== */

/* Top Bar - Contact Info */
.top-bar {
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.85rem;
}

.hover-primary:hover {
  color: var(--color-primary) !important;
}

/* Domain Search in Hero (Moved Below Header) */
.domain-search-hero {
  max-width: 900px;
  margin: 0 auto;
}

.domain-search-hero .input-group {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  overflow: hidden;
}

.domain-search-hero .form-control {
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 0.75rem 1rem;
}

.domain-search-hero .form-select {
  background: transparent;
  border: none;
  border-left: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 0.75rem 0.75rem;
  border-radius: 0;
  max-width: 120px;
}

.domain-search-hero .btn {
  border-radius: 0 12px 12px 0;
  padding: 0.75rem 1.25rem;
}

.domain-search-hero .domain-pricing {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-glass);
}

/* Benefits Grid in Hero */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.benefit-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-item i {
  color: var(--color-success);
  flex-shrink: 0;
}

/* PKR Pricing for Plans */
.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-amount::before {
  content: "Rs ";
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 2px;
}

/* Mobile App CTA */
.mobile-app-cta {
  max-width: 700px;
  margin: 3rem auto 0;
}

/* Contact Section Styles */
.contact-section {
  padding: var(--section-padding);
}

.contact-icon {
  background: var(--gradient-glow);
  color: var(--color-primary);
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.contact-item {
  padding: 0.75rem;
  border-radius: 12px;
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--glass-bg);
}

.contact-item h5 {
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-item p {
  margin-bottom: 0;
}

.contact-item a {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.support-visual {
  text-align: center;
  padding: 2rem;
}

.support-visual i {
  margin-bottom: 1rem;
}

/* Payment Logos in Footer */
.payment-methods {
  margin-top: 1rem;
}

.payment-methods small {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.payment-methods .d-flex {
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem !important;
}

.payment-methods img {
  transition: var(--transition);
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.payment-methods img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.payment-methods .fab,
.payment-methods .fas {
  font-size: 1.5rem;
  transition: var(--transition);
}

.payment-methods .fab:hover,
.payment-methods .fas:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* Footer SECP Registration Info */
.footer-bottom .small {
  line-height: 1.6;
}

.footer-bottom .text-muted {
  font-size: 0.8rem;
}

/* Visually Hidden for SEO Keywords (Screen reader accessible) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Dropdown Menu Styles (for navbar) */
.dropdown-menu-dark {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
}

.dropdown-item {
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--glass-bg);
  color: var(--color-primary);
}

.dropdown-divider {
  border-color: var(--border-glass);
  margin: 0.25rem 0;
}

/* Responsive Adjustments for Pakistan Updates */
@media (max-width: 991px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .domain-search-hero .form-select {
    max-width: 100px;
  }
  
  .top-bar {
    display: none !important;
  }
  
  .contact-methods {
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .domain-search-hero {
    padding: 1rem !important;
  }
  
  .domain-search-hero .input-group {
    flex-wrap: wrap;
  }
  
  .domain-search-hero .form-select {
    border-left: none;
    border-top: 1px solid var(--border-glass);
    border-radius: 0 0 12px 12px;
    width: 100%;
    max-width: none;
    margin-top: 0.5rem;
  }
  
  .domain-search-hero .btn {
    border-radius: 12px;
    width: 100%;
    margin-top: 0.5rem;
  }
  
  .payment-methods .d-flex {
    justify-content: center;
  }
  
  .footer-bottom .row {
    text-align: center !important;
  }
  
  .footer-badges {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .price-amount {
    font-size: 1.75rem;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Animation for PKR price display */
@keyframes pricePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.plan-card.popular-plan .price-amount {
  animation: pricePulse 3s ease-in-out infinite;
}

/* Badge hover effect for domain extensions */
.badge-hover {
  cursor: pointer;
  transition: var(--transition);
}

.badge-hover:hover {
  background: var(--color-primary) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Phone/Email link hover in top bar */
.top-bar a:hover {
  color: var(--color-primary) !important;
}

/* Server lights animation enhancement */
.server-light {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.server-light.active {
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 10px var(--color-success);
  }
  50% { 
    opacity: 0.7; 
    box-shadow: 0 0 5px var(--color-success);
  }
}

/* Floating elements animation */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(2deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-5px) rotate(-2deg); }
}

/* Chart bars animation improvement */
.chart-bar {
  animation: growUp 1s ease-out forwards;
  opacity: 0;
}

.chart-bar-1 { height: 60%; animation-delay: 0.1s; opacity: 1; }
.chart-bar-2 { height: 85%; animation-delay: 0.2s; opacity: 1; }
.chart-bar-3 { height: 75%; animation-delay: 0.3s; opacity: 1; }
.chart-bar-4 { height: 95%; animation-delay: 0.4s; opacity: 1; }
.chart-bar-5 { height: 80%; animation-delay: 0.5s; opacity: 1; }
.chart-bar-6 { height: 90%; animation-delay: 0.6s; opacity: 1; }

@keyframes growUp {
  from {
    height: 0;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    height: var(--chart-height, 80%);
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Counter animation smooth */
.counter-value {
  transition: all 0.3s ease;
}

/* Smooth scroll behavior for anchor links */
html {
  scroll-behavior: smooth;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glass-card {
    background: var(--bg-card);
    border-color: var(--color-primary);
  }
  
  .btn-outline-glow {
    border-width: 3px;
  }
}

/* Print styles for invoices/receipts */
@media print {
  .no-print,
  .header,
  .footer,
  .back-to-top,
  .preloader,
  .particles-container,
  .blur-circle,
  .wave-separator {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .glass-card {
    background: white;
    border: 1px solid #ccc;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  a {
    text-decoration: none;
    color: black;
  }
  
  .price-amount::before {
    content: "PKR ";
  }
}