/* ===================================
   Collectrix Website - CSS
   Zero Dependencies, Mobile-First
   =================================== */

/* === CSS Reset === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: #2563eb;
}

ul {
  list-style: none;
}

/* === Container === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e7;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-menu {
  display: none;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-menu a.active {
  color: #2563eb;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.lang-active {
  color: #2563eb;
  font-weight: 600;
}

.lang-divider {
  color: #d1d5db;
}

/* === Hero Section === */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  display: block;
  background: linear-gradient(90deg, #ffd89b 0%, #19547b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-appstore {
  background: #000000;
  color: white;
}

.btn-googleplay {
  background: #ffffff;
  color: #000000;
}

.btn small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}

.btn strong {
  display: block;
  font-size: 1rem;
}

.hero-image {
  margin-top: 3rem;
}

.phone-mockup {
  max-width: 300px;
  margin: 0 auto;
  background: #1f2937;
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mockup-placeholder {
  aspect-ratio: 9/19.5;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

/* === Features Section === */
.features {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #111827;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.75;
}

/* === Privacy Section === */
.privacy-section {
  background: #f9fafb;
  padding: 4rem 0;
}

.privacy-content h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #111827;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.privacy-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.privacy-item p {
  margin: 0;
  color: #374151;
}

/* === Footer === */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: #2563eb;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  font-size: 0.875rem;
}

/* ===================================
   Tablet & Desktop (768px+)
   =================================== */
@media (min-width: 768px) {
  /* Header */
  .nav-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 6rem 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .phone-mockup {
    max-width: 350px;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Privacy */
  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .privacy-item {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===================================
   Large Desktop (1024px+)
   =================================== */
@media (min-width: 1024px) {
  /* Hero */
  .hero-title {
    font-size: 4rem;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===================================
   Accessibility
   =================================== */
*:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .site-header,
  .site-footer,
  .cta-buttons {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
