/* Claudes AI — Landing Page Styles */

/* ─── Header / Nav ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

[data-theme="dark"] .site-header {
  background: rgba(15,23,42,0.85);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }

.nav-logo {
  width: 36px; height: 36px;
  background: var(--brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-2);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); text-decoration: none; }

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

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand), #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* Demo preview */
.hero-preview {
  margin: 48px 24px 0;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-2);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.preview-dot:nth-child(1) { background: #ef4444; }
.preview-dot:nth-child(2) { background: #f59e0b; }
.preview-dot:nth-child(3) { background: #10b981; }

.preview-body { padding: 24px; min-height: 200px; }

.preview-message {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  animation: fadeUp 0.4s ease forwards;
  opacity: 0;
}
.preview-message:nth-child(1) { animation-delay: 0.2s; }
.preview-message:nth-child(2) { animation-delay: 0.6s; }
.preview-message:nth-child(3) { animation-delay: 1.0s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.preview-message.user { flex-direction: row-reverse; }

.preview-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.preview-message.user .preview-avatar { background: var(--bg-3); color: var(--text); }

.preview-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  max-width: 400px;
  line-height: 1.5;
}
.preview-message.user .preview-bubble {
  background: var(--brand);
  color: white;
}
.preview-message.assistant .preview-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ─── Features Section ───────────────────────────────────────────────────────── */
.features {
  padding: 64px 24px;
  background: var(--bg-2);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p  { font-size: 1rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 1rem; color: var(--text); margin-bottom: 6px; }
.feature-card p  { font-size: 0.85rem; line-height: 1.6; }

/* ─── Models Section ─────────────────────────────────────────────────────────── */
.models-section {
  padding: 64px 24px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.model-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
  transition: all var(--transition);
}
.model-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }

.model-card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.model-card h3 { font-size: 0.95rem; color: var(--text); margin-bottom: 6px; }
.model-card p  { font-size: 0.8rem; }

.model-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--brand-light);
  color: var(--brand);
}

/* ─── CTA Section ────────────────────────────────────────────────────────────── */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  background: var(--brand);
}
.cta-section h2 { color: white; margin-bottom: 12px; }
.cta-section p  { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1rem; }

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: white;
  color: var(--brand);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); text-decoration: none; }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-brand p { font-size: 0.85rem; margin-top: 8px; max-width: 280px; }

.footer-links h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-links a  { font-size: 0.825rem; color: var(--text-2); transition: color var(--transition); text-decoration: none; }
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom a { color: var(--text-3); font-size: 0.8rem; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--brand); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 48px 16px 40px; }
  .hero h1 { font-size: 1.8rem; }
  .nav-links { display: none; }
  .features { padding: 40px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
