/* AllerEasy branding & layout overrides */

:root {
  --ae-primary: #0f766e;
  --ae-primary-dark: #115e59;
  --ae-accent: #f97316;
  --ae-bg: #020617;
  --ae-surface: #020617;
  --ae-surface-alt: #0b1120;
  --ae-border-subtle: rgba(148, 163, 184, 0.25);
  --ae-text-main: #e5e7eb;
  --ae-text-muted: #9ca3af;
  --ae-radius-xl: 1.5rem;
}

/* General */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ae-text-main);
  background-color: var(--ae-bg);
  padding-top: 72px; /* offset for fixed navbar */
}

img {
  max-width: 100%;
  height: auto;
}

/* Navbar */

.ae-navbar {
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.ae-logo {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  color: var(--ae-text-muted);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #ffffff;
}

.ae-nav-cta {
  border-radius: 999px;
  padding-inline: 1.25rem !important;
  padding-block: 0.4rem !important;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Hero */

.ae-hero {
  background: radial-gradient(circle at top left, #0f766e22, transparent 55%),
    radial-gradient(circle at bottom right, #f9731622, transparent 55%);
  padding-block: 5rem 4rem;
}

.ae-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: rgba(15, 118, 110, 0.12);
  color: var(--ae-primary);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.ae-hero-title {
  font-size: clamp(2.25rem, 4vw, 2.9rem);
  font-weight: 700;
}

.ae-hero-subtitle {
  color: var(--ae-text-muted);
  max-width: 34rem;
}

.ae-text-accent {
  color: var(--ae-accent);
}

.ae-hero-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.85);
  padding: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Buttons */

.ae-btn-primary {
  background: linear-gradient(135deg, var(--ae-primary), var(--ae-primary-dark));
  border: none;
  color: #fff;
  border-radius: 999px;
  padding-inline: 1.6rem;
}

.ae-btn-primary:hover {
  background: linear-gradient(135deg, var(--ae-primary-dark), #0b766e);
  color: #fff;
}

.ae-btn-outline {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--ae-text-main);
  background: transparent;
}

.ae-btn-outline:hover {
  border-color: var(--ae-primary);
  color: #fff;
  background: rgba(15, 118, 110, 0.12);
}

/* Sections */

.ae-section {
  padding-block: 4rem;
}

.ae-section-alt {
  background: var(--ae-surface-alt);
}

.ae-section-title {
  font-size: 1.8rem;
  font-weight: 600;
}

.ae-muted {
  color: var(--ae-text-muted);
}

/* Story */

.ae-story-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--ae-border-subtle);
  padding: 1.5rem 1.75rem;
}

/* Checklists & lists */

.ae-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.ae-checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  color: var(--ae-text-main);
}

.ae-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: var(--ae-primary);
  margin-top: 0.1rem;
}

.ae-feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.ae-feature-list li {
  font-size: 0.9rem;
  color: var(--ae-text-muted);
  margin-bottom: 0.25rem;
}

/* Feature cards */

.ae-feature-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--ae-border-subtle);
  padding: 1.5rem 1.5rem 1.35rem;
}

/* Screenshots */

.ae-screenshot-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--ae-border-subtle);
  padding: 0.75rem;
}

/* Pricing */

.ae-pricing-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--ae-border-subtle);
  padding: 1.75rem 1.75rem 1.5rem;
}

.ae-pricing-card-alt {
  background: radial-gradient(circle at top left, #0f766e2d, transparent 55%),
    rgba(15, 23, 42, 0.98);
  border-color: rgba(45, 212, 191, 0.4);
}

.ae-price {
  font-size: 1rem;
  color: var(--ae-text-main);
}

.ae-price-main {
  font-size: 1.6rem;
  font-weight: 700;
}

/* Contact */

.ae-contact-card {
  border-radius: var(--ae-radius-xl);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--ae-border-subtle);
  padding: 1.5rem 1.75rem 1.5rem;
}

.ae-contact-card .form-control,
.ae-contact-card .form-select {
  background-color: #020617;
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--ae-text-main);
}

.ae-contact-card .form-control:focus,
.ae-contact-card .form-select:focus {
  border-color: var(--ae-primary);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.35);
}

/* Footer */

.ae-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #020617;
}

/* Responsive tweaks */

@media (max-width: 767.98px) {
  .ae-hero {
    padding-top: 3.5rem;
  }

  .ae-hero-title {
    font-size: 2rem;
  }

  .ae-contact-card,
  .ae-story-card {
    padding: 1.25rem 1.25rem 1.25rem;
  }
}
