/* SnapFind Website — Shared Styles */

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #141420;
  --bg-card-light: #1c1c2e;
  --primary: #6366f1;
  --primary-light: #818cf8;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --text-primary: #f1f1f4;
  --text-secondary: #a1a1b5;
  --text-tertiary: #6b6b80;
  --border: rgba(99, 102, 241, 0.12);
  --gradient-main: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
  --gradient-scan: linear-gradient(135deg, #2563eb, #7c3aed);
  --gradient-ai: linear-gradient(135deg, #7c3aed, #ec4899);
  --gradient-search: linear-gradient(135deg, #10b981, #2563eb);
  --radius: 16px;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #a5b4fc;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}
.nav-brand .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-scan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: 16px;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-tertiary);
  font-size: 12px;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn:hover {
  color: var(--text-secondary);
  border-color: var(--border);
}
.lang-btn.active {
  color: var(--primary-light);
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.1);
}

/* ========== HERO ========== */
.hero {
  padding: 140px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-scan);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
  color: white;
}

/* ========== FEATURES ========== */
.features {
  padding: 60px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.features h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== FLOW ========== */
.flow {
  padding: 60px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.flow h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 48px;
}
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.flow-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: white;
}
.flow-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.flow-step p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ========== PRIVACY BANNER ========== */
.privacy-banner {
  padding: 60px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.privacy-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.privacy-banner-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.privacy-banner-card p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 20px;
}
.privacy-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.privacy-tag {
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  font-size: 13px;
  color: var(--accent-green);
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--text-tertiary);
  font-size: 13px;
}
.footer-links a:hover {
  color: var(--text-secondary);
}
.footer-copy {
  color: var(--text-tertiary);
  font-size: 12px;
}

/* ========== LEGAL PAGES ========== */
.legal {
  padding: 120px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--text-tertiary);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal li {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 6px;
}
.legal li::marker {
  color: var(--text-tertiary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .flow-step {
    flex-direction: column;
    gap: 12px;
  }
  .privacy-tags {
    flex-direction: column;
    align-items: center;
  }
}
