/* ══════════════════════════════════════════════════════════
   Yash Garg AI — Custom Styles
   Complements Tailwind CDN; only adds what Tailwind can't do
   ══════════════════════════════════════════════════════════ */

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hide Alpine.js [x-cloak] elements before Alpine loads */
[x-cloak] { display: none !important; }

/* ── Smooth scrolling offset for fixed navbar ── */
:target { scroll-margin-top: 80px; }

/* ── Dot Grid Background ── */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717a; /* zinc-500 */
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: #3f3f46; /* zinc-700 */
}

/* ── Navigation ── */
.nav-link {
  font-size: 13.5px;
  color: #71717a;
  transition: color 0.15s;
  text-decoration: none;
}
.nav-link:hover { color: #ffffff; }

.mobile-nav-link {
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  color: #71717a;
  transition: color 0.15s;
  text-decoration: none;
}
.mobile-nav-link:hover { color: #ffffff; }

/* ── Service Cards ── */
.service-card {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.service-card:hover {
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.035);
  transform: translateY(-2px);
}

.price-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 500;
  color: #a1a1aa; /* zinc-400 */
  white-space: nowrap;
  flex-shrink: 0;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #71717a;
}
.service-feature::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3f3f46; /* zinc-700 */
  flex-shrink: 0;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.15s;
}
.service-cta:hover { color: #ffffff; }

/* ── About Section ── */
.stat-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
}
.stat-card:hover {
  border-color: rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  color: #71717a;
}

/* ── Case Studies ── */
.case-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.case-card:hover {
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.035);
  transform: translateY(-2px);
}

.case-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #52525b; /* zinc-600 */
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  color: #71717a;
  font-weight: 500;
}

/* ── Process Section ── */
.process-card {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  max-width: 420px;
}

.step-number {
  font-size: 11px;
  font-weight: 600;
  font-family: 'SF Mono', 'Fira Mono', monospace;
  color: #52525b;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.process-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  font-size: 11px;
  color: #52525b;
}

/* ── Industry Cards ── */
.industry-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.industry-card:hover {
  border-color: rgba(255,255,255,0.11);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}

/* ── Tech Stack ── */
.stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  font-size: 13px;
  font-weight: 500;
  color: #a1a1aa;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.stack-badge:hover {
  border-color: rgba(255,255,255,0.14);
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}

/* ── Footer Links ── */
.footer-link {
  display: block;
  font-size: 13px;
  color: #71717a;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: #d4d4d8; }

/* ── Forms ── */
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #a1a1aa;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.form-input::placeholder { color: #52525b; }
.form-input:focus {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

/* ── Trust Badges ── */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #52525b;
}

/* ── HTMX Loading Indicator ── */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline-flex;
}
.htmx-request.htmx-indicator {
  display: inline-flex;
}

/* ── AOS overrides: remove fade-in flash on load ── */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}

/* ── Scrollbar (minimal) ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* ── Selection ── */
::selection {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

/* ── Responsive adjustments ── */
@media (max-width: 640px) {
  .service-card,
  .case-card {
    padding: 24px;
  }
}
