/* Brozapi Marketing — Modern SaaS Design */
:root {
  --bg: #0f0f0f;
  --bg-elevated: #1a1a1a;
  --bg-card: #1f1f1f;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: #27272a;
  --border-hover: #3f3f46;
  --radius: 16px;
  --radius-sm: 12px;
  --max-w: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
header nav { display: flex; gap: 24px; align-items: center; }
header nav a { 
  color: var(--text-muted); 
  font-size: 0.875rem; 
  font-weight: 500;
  transition: color 0.2s;
}
header nav a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { 
  background: var(--accent-hover); 
  color: var(--bg) !important;
}

/* --- Hero --- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* --- CTA buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover { 
  background: var(--accent-hover); 
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.4);
  color: var(--bg);
}
.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { 
  background: var(--bg-card); 
  border-color: var(--border-hover);
  color: var(--text);
}
.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Trust badges --- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

/* --- Features --- */
.features {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-card .price-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

/* --- How it works --- */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step {
  text-align: center;
}
.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}
.step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* --- Footer --- */
footer {
  margin-top: auto;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .footer-links {
  display: flex;
  gap: 24px;
}
footer a { 
  color: var(--text-dim); 
  font-size: 0.875rem;
  transition: color 0.2s;
}
footer a:hover { color: var(--text-muted); }
footer .copyright {
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  header nav { gap: 16px; }
  .hero { padding: 60px 0 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  footer .container { flex-direction: column; text-align: center; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
  header nav a:not(.nav-cta) { display: none; }
}
