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

:root {
  --bg: #faf9f7;
  --card: #ffffff;
  --foreground: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e5e5;
  --primary: #b33a1a;
  --primary-fg: #ffffff;
  --rust-glow: rgba(179, 58, 26, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 50px 0 25px;
  background: linear-gradient(180deg, var(--bg) 0%, #f3ede8 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40V0h40' fill='none' stroke='%23000' stroke-width='.5'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
.hero-logo { width: 120px; height: auto; margin-bottom: 32px; mix-blend-mode: multiply; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rust-glow); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 24px; font-size: 14px; font-weight: 500; color: var(--primary);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.text-primary { color: var(--primary); }

.hero-subtitle { font-size: 1.2rem; color: var(--muted); max-width: 600px; margin-bottom: 40px; }

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 16px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); box-shadow: 0 4px 14px rgba(179,58,26,0.3); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: var(--card); color: var(--foreground); border: 2px solid var(--border); }
.btn-outline:hover { border-color: rgba(179,58,26,0.3); }

.hero-tags { display: flex; gap: 32px; margin-top: 48px; color: var(--muted); font-size: 14px; }
.hero-tag { display: flex; align-items: center; gap: 8px; }
.hero-tag svg { color: var(--primary); }

/* Features */
.features { padding: 25px 0; background: var(--card); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.feature-card {
  padding: 24px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(179,58,26,0.2); }
.feature-icon {
  width: 40px; height: 40px; border-radius: 8px; background: var(--rust-glow);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--primary);
}
.feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* Screenshots */
.screenshots { padding: 25px 0; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab {
  padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; font-family: var(--font);
  background: #f0ece8; color: var(--muted); transition: all 0.2s;
}
.tab:hover { color: var(--foreground); }
.tab.active { background: var(--primary); color: var(--primary-fg); box-shadow: 0 2px 8px rgba(179,58,26,0.25); }
.screenshot-wrapper {
  max-width: 860px; margin: 0 auto; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.screenshot-wrapper img { width: 100%; height: auto; display: block; }
.screenshot-desc { text-align: center; color: var(--muted); margin-top: 16px; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--card); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 32px; height: 32px; }
.footer-name { font-weight: 600; }
.footer-tagline { font-size: 14px; color: var(--muted); margin-left: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--foreground); }
.bmc-link { display: inline-block; flex-shrink: 0; }
.bmc-button { height: 45px; width: auto; display: block; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; font-size: 14px; color: var(--muted); }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .tabs { flex-wrap: wrap; }
}
