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

:root {
  --brand: #E84040;
  --brand-dark: #C43232;
  --tiktok: #FE2C55;
  --text: #1a1a1a;
  --text-light: #666;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --max-width: 1100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.navbar-brand img {
  width: 36px;
  height: 36px;
}

.navbar-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.navbar-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
}

.navbar-links a:hover {
  color: var(--brand);
  text-decoration: none;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 80px 0 60px;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--brand); }

.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover { background: var(--brand-dark); }

.btn-outline {
  border: 2px solid var(--brand);
  color: var(--brand);
  background: transparent;
}

.btn-outline:hover { background: var(--brand); color: #fff; }

/* === Section === */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* === Product Cards === */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.product-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-markets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.market-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  padding: 4px 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.product-features li::before {
  content: "\2713 ";
  color: var(--brand);
  font-weight: 700;
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 4px 20px rgba(232, 64, 64, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  padding: 4px 16px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-features {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

.pricing-features li::before {
  content: "\2713 ";
  color: var(--brand);
  font-weight: 700;
}

.pricing-features li.disabled {
  color: #ccc;
}

.pricing-features li.disabled::before {
  content: "\2013 ";
  color: #ccc;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-copy {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-email {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* === Legal Pages === */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

.legal h1 {
  font-size: 2rem;
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

.legal .last-updated {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 32px;
}

.legal h2 {
  color: #444;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal h3 {
  color: #555;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal ul {
  margin: 8px 0;
  padding-left: 24px;
}

.legal li { margin-bottom: 4px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.legal th, .legal td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.legal th { background: #f5f5f5; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; gap: 12px; }
  .navbar-links { gap: 16px; }
}
