/* Strife brand — matches client/lib/main.dart */
:root {
  --brand: #fc8803;
  --brand-dim: #e07a03;
  --bg: #27292a;
  --bg-elevated: #34373a;
  --teal: #044656;
  --teal-dark: #013b47;
  --text: #f0f1f2;
  --text-muted: #a8adb2;
  --success: #43b581;
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(252, 136, 3, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(4, 70, 86, 0.35), transparent);
}

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

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(4, 70, 86, 0.6);
  background: rgba(1, 59, 71, 0.45);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dim));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(252, 136, 3, 0.35);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--success);
  background: rgba(67, 181, 129, 0.12);
  border: 1px solid rgba(67, 181, 129, 0.35);
  margin-bottom: 1.25rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
}

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

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary {
  color: #1a1a1a;
  background: linear-gradient(180deg, var(--brand), var(--brand-dim));
  box-shadow: 0 4px 20px rgba(252, 136, 3, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(252, 136, 3, 0.5);
}

.btn-secondary {
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--teal);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Features */
.features {
  padding: 3rem 0 4rem;
}

.features h2 {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid rgba(4, 70, 86, 0.5);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(252, 136, 3, 0.4);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Download / CTA band */
.cta-band {
  margin: 0 0 4rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border: 1px solid rgba(252, 136, 3, 0.25);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(4, 70, 86, 0.6);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--brand);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 0.35rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding-top: 3rem;
  }
}
