/* CowrieLedger Landing Page Styles */
:root {
  --bg-dark: #0e2a47;
  --bg-dark-2: #1a4a6b;
  --accent: #f9c431;
  --text: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
}

/* Base */
html, body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background: #f4f6f8;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-dark-2));
  color: white;
  padding: 56px 0 72px;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
.brand span {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #111827;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 12px rgba(249, 196, 49, 0.25);
}
.cta:hover { transform: translateY(-1px); }

.hero-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-top: 36px;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.hero p.subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: #e5e7eb;
  margin: 0 0 20px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.hero-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #bfdbfe;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.hero-card .card-body {
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 16px;
}
.hero-card .card-body h3 {
  margin: 0 0 8px;
  color: var(--bg-dark);
}
.hero-card .card-body p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Features */
.section {
  padding: 48px 0;
}
.section h2 {
  margin: 0 0 8px;
  text-align: center;
  color: var(--bg-dark);
  font-size: 28px;
}
.section p.lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 28px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.feature h3 { margin: 0 0 6px; color: var(--bg-dark); }
.feature p { margin: 0; color: var(--muted); }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: #d1d5db;
  padding: 22px 0;
  font-size: 14px;
}
.footer .links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: #fef3c7; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 920px) {
  .hero-main { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .features { grid-template-columns: 1fr; }
}
