/* ── layout.css — nav, hero, sections, stats, footer ─────────────────────── */

/* Background decorations */
.bg-grid {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none; z-index: 0;
}

.bg-glow {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50%       { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5,5,8,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 1.25rem; letter-spacing: -0.5px;
  color: var(--text-primary); text-decoration: none;
}

.logo-icon {
  width: 40px; height: 40px;
  background: transparent; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}

.nav-links { display: flex; gap: 1.5rem; align-items: center; }

.nav-link {
  color: var(--text-secondary); text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 8px;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text-primary); background: rgba(102,126,234,0.15); }

.cta-button {
  background: var(--accent-gradient); color: white;
  padding: 0.75rem 1.5rem; border-radius: 10px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102,126,234,0.3);
  border: none; cursor: pointer;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(102,126,234,0.5); }
.cta-button:active { transform: translateY(0); }

.mobile-menu-btn {
  display: none; background: none; border: none;
  color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 0.5rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; z-index: 1;
  padding: 7rem 1.5rem 4rem; text-align: center;
  max-width: 800px; margin: 0 auto;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(102,126,234,0.15); border: 1px solid rgba(102,126,234,0.3);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 2rem; backdrop-filter: blur(10px);
}

.live-dot {
  width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(34,197,94,0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.15); }
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 900;
  line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -2px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-secondary);
  max-width: 550px; margin: 0 auto 2.5rem; line-height: 1.6;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.primary-btn {
  background: var(--accent-gradient); color: white;
  padding: 1rem 2rem; border-radius: 12px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(102,126,234,0.4);
  display: inline-flex; align-items: center; gap: 8px;
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(102,126,234,0.6); }

.secondary-btn {
  background: rgba(255,255,255,0.05); color: var(--text-primary);
  padding: 1rem 2rem; border-radius: 12px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  display: inline-flex; align-items: center; gap: 8px;
}
.secondary-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--text-secondary); }

/* ── Search ──────────────────────────────────────────────────────────────── */
.search-container { position: relative; max-width: 500px; margin: 2rem auto 0; }

.search-input {
  width: 100%; padding: 1rem 3rem 1rem 1.5rem; font-size: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
  border-radius: 12px; color: var(--text-primary); outline: none;
  transition: all 0.3s ease; font-family: inherit;
}
.search-input:focus {
  background: rgba(255,255,255,0.1); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(139,92,246,0.15);
}
.search-input::placeholder { color: var(--text-muted); }

.search-icon {
  position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); font-size: 1.2rem; pointer-events: none;
}

/* ── Services Section ────────────────────────────────────────────────────── */
.services-section {
  position: relative; z-index: 1;
  padding: 4rem 1.5rem; max-width: 1400px; margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 3rem; }

.section-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 900;
  margin-bottom: 0.75rem; letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0b0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.section-subtitle {
  color: var(--text-secondary); font-size: 1rem;
  max-width: 500px; margin: 0 auto; line-height: 1.5;
}

/* ── Featured Section ────────────────────────────────────────────────────── */
.featured-section {
  position: relative; z-index: 1;
  padding: 3rem 1.5rem; max-width: 1400px; margin: 0 auto;
}

.featured-title {
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 1.5rem; color: var(--text-primary);
  display: flex; align-items: center; gap: 0.5rem;
}
.featured-title::before { content: '⭐'; font-size: 1.25rem; }

.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-bottom: 2rem;
}
.featured-grid .service-card { position: relative; }

/* ── Stats Section ───────────────────────────────────────────────────────── */
.stats-section {
  position: relative; z-index: 1;
  padding: 4rem 1.5rem; max-width: 1200px; margin: 0 auto;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); padding: 3rem 1.5rem;
  text-align: center; color: var(--text-muted); font-size: 0.85rem;
}
