/* ============================================================
   StayOn BuyHost — Main Stylesheet
   Dark/Light Theme with CSS Variables
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Root Variables (Dark Theme Default) ─────────────────── */
:root {
  /* Core Palette */
  --bg-primary:       #030712;
  --bg-secondary:     #0a0f1e;
  --bg-card:          #0d1526;
  --bg-card-hover:    #111d35;
  --bg-nav:           rgba(3, 7, 18, 0.92);

  --accent-blue:      #0ea5e9;
  --accent-blue-dim:  #0284c7;
  --accent-glow:      rgba(14, 165, 233, 0.25);
  --accent-cyan:      #22d3ee;
  --accent-purple:    #818cf8;

  --text-primary:     #f0f6ff;
  --text-secondary:   #94a3b8;
  --text-muted:       #475569;
  --text-on-accent:   #ffffff;

  --border-color:     rgba(14, 165, 233, 0.15);
  --border-bright:    rgba(14, 165, 233, 0.4);

  --shadow-card:      0 4px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-color);
  --shadow-glow:      0 0 40px rgba(14, 165, 233, 0.2);
  --shadow-btn:       0 0 20px rgba(14, 165, 233, 0.4);

  --gradient-hero:    linear-gradient(135deg, #030712 0%, #0a0f1e 50%, #060d20 100%);
  --gradient-accent:  linear-gradient(135deg, #0ea5e9, #818cf8);
  --gradient-card:    linear-gradient(145deg, #0d1526, #070e1d);

  --nav-height:       72px;
  --radius-card:      16px;
  --radius-btn:       8px;
  --transition:       all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Theme Overrides ──────────────────────────────── */
[data-theme="light"] {
  --bg-primary:       #f0f6ff;
  --bg-secondary:     #e2eaf5;
  --bg-card:          #ffffff;
  --bg-card-hover:    #f8faff;
  --bg-nav:           rgba(240, 246, 255, 0.95);

  --text-primary:     #0f172a;
  --text-secondary:   #334155;
  --text-muted:       #64748b;

  --border-color:     rgba(14, 165, 233, 0.2);
  --border-bright:    rgba(14, 165, 233, 0.5);

  --shadow-card:      0 4px 24px rgba(14, 165, 233, 0.1), 0 0 0 1px var(--border-color);
  --shadow-glow:      0 0 30px rgba(14, 165, 233, 0.12);

  --gradient-hero:    linear-gradient(135deg, #e8f4ff 0%, #f0f6ff 50%, #dbeafe 100%);
  --gradient-card:    linear-gradient(145deg, #ffffff, #f1f8ff);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--accent-blue-dim); border-radius: 3px; }

/* ── Animated Background Grid ────────────────────────────── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
  opacity: 0.5;
}
@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* ── Particle Stars ──────────────────────────────────────── */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent-blue);
  animation: float linear infinite;
  opacity: 0;
}
@keyframes float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ── Typography ──────────────────────────────────────────── */
.font-display { font-family: 'Orbitron', monospace; }
h1, h2, h3, h4 { font-family: 'Orbitron', monospace; letter-spacing: 0.05em; }
h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
p  { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--text-secondary); }

/* ── Utility ─────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; position: relative; z-index: 1; }
.text-accent { color: var(--accent-blue); }
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px; border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid var(--border-bright);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent-cyan); letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-btn);
  font-family: 'Rajdhani', sans-serif; font-size: 0.95rem;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; border: none; transition: var(--transition);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}
.btn:hover::before { transform: translateX(120%) skewX(-15deg); }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.6);
}
.btn-outline {
  background: transparent;
  color: var(--accent-blue);
  border: 1px solid var(--border-bright);
}
.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  border-bottom-color: var(--border-bright);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo img {
  height: 38px; width: auto;
  filter: drop-shadow(0 0 8px var(--accent-blue));
}
.nav-logo .logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem; font-weight: 700;
  color: var(--text-primary);
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav-logo .logo-text span { color: var(--accent-blue); font-size: 0.65rem; letter-spacing: 0.2em; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  padding: 8px 14px; border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px;
  height: 2px; background: var(--gradient-accent);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--accent-glow);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ── Theme Toggle ────────────────────────────────────────── */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  color: var(--text-secondary); font-size: 1.1rem;
}
.theme-toggle:hover {
  border-color: var(--border-bright);
  color: var(--accent-blue);
  background: var(--accent-glow);
  box-shadow: 0 0 12px var(--accent-glow);
}

/* ── Mobile Hamburger ────────────────────────────────────── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; width: 44px; height: 44px;
  border-radius: 10px; border: 1px solid var(--border-color);
  background: var(--bg-card); align-items: center; justify-content: center;
  transition: var(--transition);
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ─────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-height); left: 0; right: 0;
  background: var(--bg-nav); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 24px; z-index: 999;
  flex-direction: column; gap: 4px;
  animation: slideDown 0.3s ease;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem; font-weight: 600; letter-spacing: 0.05em;
  color: var(--text-secondary); transition: var(--transition);
}
.mobile-menu a:hover { color: var(--accent-blue); background: var(--accent-glow); }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-height);
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-badge { margin-bottom: 24px; }
.hero h1 {
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(14,165,233,0.3);
}
.hero p {
  font-size: 1.1rem; margin-bottom: 36px;
  color: var(--text-secondary); max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 56px; flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; }
.stat-number {
  font-family: 'Orbitron', monospace;
  font-size: 1.8rem; font-weight: 900;
  color: var(--accent-blue);
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ── Section Headers ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-accent); opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

/* ── Services Section ────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { text-align: center; }
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--accent-glow);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--gradient-accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: scale(1.1) rotate(5deg);
}
.service-card h3 { margin-bottom: 12px; color: var(--text-primary); }
.service-card p { font-size: 0.9rem; }

/* ── Pricing Section ─────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card { text-align: center; position: relative; }
.pricing-card.featured {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-card), 0 0 50px rgba(14,165,233,0.2);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent); color: #fff;
  padding: 3px 16px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Orbitron', monospace; font-size: 0.9rem;
  color: var(--accent-blue); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-price {
  margin: 16px 0; display: flex; align-items: flex-start; justify-content: center; gap: 4px;
}
.price-currency { font-size: 1.2rem; font-weight: 700; color: var(--text-secondary); margin-top: 6px; }
.price-amount { font-family: 'Orbitron', monospace; font-size: 3rem; font-weight: 900; color: var(--text-primary); line-height: 1; }
.price-period { font-size: 0.85rem; color: var(--text-muted); align-self: flex-end; margin-bottom: 6px; }
.plan-features {
  margin: 20px 0 24px; text-align: left;
  display: flex; flex-direction: column; gap: 10px;
}
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.88rem; color: var(--text-secondary);
}
.plan-features li .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-glow); border: 1px solid var(--accent-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--accent-blue); flex-shrink: 0;
}
.plan-features li .cross {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(100,116,139,0.1); border: 1px solid rgba(100,116,139,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--text-muted); flex-shrink: 0;
}

/* ── WHMCS Live Pricing ───────────────────────────────────── */
.whmcs-loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 20px; gap: 16px; color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
}
.whmcs-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-blue);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Domain Checker ──────────────────────────────────────── */
.domain-checker { text-align: center; padding: 60px 0; }
.domain-form {
  display: flex; max-width: 600px; margin: 32px auto 0;
  border: 1px solid var(--border-bright); border-radius: 12px;
  overflow: hidden; background: var(--bg-card);
  box-shadow: var(--shadow-glow);
}
.domain-input {
  flex: 1; padding: 16px 20px; background: transparent;
  border: none; outline: none; font-family: 'Inter', sans-serif;
  font-size: 1rem; color: var(--text-primary);
}
.domain-input::placeholder { color: var(--text-muted); }
.domain-select {
  background: var(--bg-secondary); border: none;
  border-left: 1px solid var(--border-color);
  padding: 0 16px; color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif; font-size: 0.9rem;
  cursor: pointer; outline: none;
}
.domain-btn {
  padding: 16px 28px; background: var(--gradient-accent);
  border: none; color: #fff; cursor: pointer;
  font-family: 'Rajdhani', sans-serif; font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  transition: var(--transition);
}
.domain-btn:hover { opacity: 0.9; }
.domain-result {
  margin-top: 20px; padding: 14px 24px; border-radius: 10px;
  font-family: 'Rajdhani', sans-serif; font-size: 0.95rem;
  font-weight: 600; display: none;
}
.domain-result.available { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.domain-result.taken { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.domain-result.loading { background: var(--accent-glow); border: 1px solid var(--border-bright); color: var(--accent-cyan); }

/* ── Why Us ──────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px;
  background: var(--accent-glow); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-card h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--text-primary); font-family: 'Rajdhani', sans-serif; font-weight: 700; }
.feature-card p { font-size: 0.83rem; }

/* ── Uptime Bar ──────────────────────────────────────────── */
.uptime-section { text-align: center; padding: 60px 0 30px; }
.uptime-value {
  font-family: 'Orbitron', monospace; font-size: 4rem;
  font-weight: 900; color: var(--accent-blue);
  text-shadow: 0 0 30px rgba(14,165,233,0.4);
}
.uptime-bar-wrap { max-width: 600px; margin: 16px auto 0; }
.uptime-bar {
  height: 6px; background: var(--bg-card); border-radius: 3px; overflow: hidden;
}
.uptime-fill {
  height: 100%; width: 0;
  background: var(--gradient-accent); border-radius: 3px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--accent-blue);
}

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card .stars { color: #fbbf24; font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gradient-accent); display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff;
  flex-shrink: 0;
}
.author-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center; padding: 100px 0; position: relative; z-index: 1;
}
.cta-glow {
  position: absolute; width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.15) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px; position: relative; z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; max-width: 260px; }
.footer-col h5 {
  font-family: 'Orbitron', monospace; font-size: 0.75rem;
  font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-blue); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  color: var(--text-secondary); transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-blue); padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--border-color); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }

/* ── Floating Chat Button ────────────────────────────────── */
.chat-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; cursor: pointer; border: none;
  box-shadow: 0 4px 20px rgba(14,165,233,0.5);
  transition: var(--transition); color: #fff;
  animation: chatPulse 2s ease-in-out infinite;
}
.chat-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(14,165,233,0.7); }
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(14,165,233,0.5); }
  50%       { box-shadow: 0 4px 30px rgba(14,165,233,0.8); }
}

/* ── Scroll to top ───────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 90px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; color: var(--accent-blue);
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent-glow); transform: translateY(-2px); }

/* ── Animations ──────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Announcement Bar ────────────────────────────────────── */
.announcement-bar {
  background: var(--gradient-accent); text-align: center;
  padding: 8px 16px; font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  color: #fff; position: relative; z-index: 1001;
}
.announcement-bar a { color: #fff; text-decoration: underline; }

/* ── Loading Screen ──────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary, #0a0a0f);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Favicon icon center ─────────────────────── */
.loader-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  animation: logoPulse 1.5s ease-in-out infinite;
  z-index: 2;
}

/* ── Spinning ring ───────────────────────────── */
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #4f9eff;       /* নীল রঙ — চাইলে বদলান */
  border-right-color: #a855f7;     /* বেগুনি রঙ */
  animation: spinRing 1.2s linear infinite;
}

/* ── Second ring (optional, outer glow) ─────── */
.loader-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #4f9eff;
  opacity: 0.4;
  animation: spinRing 1.8s linear infinite reverse;
}

/* ── Animations ──────────────────────────────── */
@keyframes spinRing {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.85; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .domain-form { flex-direction: column; border-radius: 12px; }
  .domain-input, .domain-select, .domain-btn { width: 100%; border-radius: 0; border-left: none; border-top: 1px solid var(--border-color); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
