@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #0ea5e9;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --surface: #f1f5f9;
  --success: #10b981;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f3ff;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 10px;
}

/* ── Cookie Banner ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-content p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 8px 20px;
  font-size: 13px;
}

/* ── Navbar ── */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  padding: 0;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo a {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo .logo {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .btn {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── Hero ── */

.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 50%, #f0fdf4 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--bg-dark);
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Value Props ── */

.value-prop {
  padding: 80px 0;
  background: var(--bg);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.3s ease;
}

.value-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-icon {
  width: 56px;
  height: 56px;
  background: #f5f3ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
}

.value-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.value-item p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ── Section Headers ── */

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Featured Products ── */

.featured-products {
  padding: 80px 0;
  background: var(--bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-badge {
  display: inline-block;
  background: #f5f3ff;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.product-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-price {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 16px;
}

.product-card .btn {
  width: 100%;
}

/* ── Latest Articles ── */

.latest-articles {
  padding: 80px 0;
  background: var(--bg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.article-card .content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  display: inline-block;
  background: #f5f3ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  flex-grow: 1;
}

.article-card p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
}

/* ── Social Proof ── */

.social-proof {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #fff;
}

.proof-content {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.proof-content h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 12px;
}

.proof-content > p {
  color: #94a3b8;
  font-size: 17px;
  margin-bottom: 48px;
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── Newsletter ── */

.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
}

.newsletter-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.newsletter-content > p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 32px;
}

.newsletter-form .form-group {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-form .btn {
  flex-shrink: 0;
}

/* ── Footer ── */

.footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 64px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

.footer-section h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #64748b;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 24px 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-legal p {
  color: #475569;
  font-size: 13px;
  margin: 0;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  color: #475569;
  font-size: 13px;
}

.legal-links a:hover {
  color: #94a3b8;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 16px; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .value-grid { grid-template-columns: 1fr; }
  .value-prop,
  .featured-products,
  .latest-articles,
  .social-proof,
  .newsletter { padding: 56px 0; }

  .products-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }

  .proof-stats { flex-direction: column; gap: 32px; }
  .stat-number { font-size: 36px; }

  .newsletter-form .form-group { flex-direction: column; }

  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .footer-legal { flex-direction: column; gap: 12px; text-align: center; }
  .legal-links { flex-wrap: wrap; justify-content: center; }

  .cookie-content { flex-direction: column; text-align: center; }

  .section-header h2 { font-size: 28px; }
}
