/* AllerEasy branding & layout overrides */

:root {
  --ae-primary: #0f766e;
  --ae-primary-dark: #115e59;
  --ae-accent: #f97316;

  /* Brighter, light-theme base */
  --ae-bg: #e6f7f6;              /* soft teal-tinted background (not pure white) */
  --ae-surface: #ffffff;         /* cards/surfaces */
  --ae-surface-alt: #dbeafe;     /* light blue for alt sections */
  --ae-border-subtle: rgba(15, 118, 110, 0.18);

  --ae-text-main: #0f172a;       /* dark navy text */
  --ae-text-muted: #64748b;      /* slate grey */
  --ae-radius-xl: 1.25rem;
}

/* General */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ae-text-main);
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 55%),
    var(--ae-bg);
  padding-top: 72px; /* offset for fixed navbar */
}

img {
  max-width: 100%;
  height: auto;
}

/* Navbar */

.ae-navbar {
  background: rgba(15, 23, 42, 0.96);  /* keep a strong, dark header for contrast */
  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: rgba(226, 232, 240, 0.85);
}

.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.7);
}

/* Hero */

.ae-hero {
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.35), transparent 60%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.12), transparent 60%);
  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(209, 250, 229, 0.8);
  color: var(--ae-primary-dark);
  border: 1px solid rgba(16, 185, 129, 0.5);
  text-transform: uppercase;
}

.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: var(--ae-surface);
  padding: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Hero bullet list */

.ae-hero-points {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
}

.ae-hero-points li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--ae-text-muted);
}

.ae-hero-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-size: 1.2rem;
  color: var(--ae-accent);
}

/* 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.8);
  color: var(--ae-primary-dark);
  background: rgba(255, 255, 255, 0.7);
}

.ae-btn-outline:hover {
  border-color: var(--ae-primary);
  color: var(--ae-primary-dark);
  background: rgba(209, 250, 229, 0.9);
}

/* Sections */

.ae-section {
  padding-block: 4rem;
}

.ae-section-alt {
  background: var(--ae-surface-alt); /* pale blue band */
}

.ae-section-title {
  font-size: 1.8rem;
  font-weight: 600;
}

.ae-muted {
  color: var(--ae-text-muted);
}

/* Mini section (what it is / isn't) */

.ae-section-mini {
  padding-block: 2.5rem;
  background: #e0f2fe; /* soft sky blue strip */
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.ae-mini-card {
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem 1.25rem;
}

/* Story */

.ae-story-card {
  border-radius: var(--ae-radius-xl);
  background: var(--ae-surface);
  border: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

/* 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-dark);
  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: var(--ae-surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Screenshots */

.ae-screenshot-card {
  border-radius: var(--ae-radius-xl);
  background: var(--ae-surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

/* Pricing */

.ae-pricing-card {
  border-radius: var(--ae-radius-xl);
  background: var(--ae-surface);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.ae-pricing-card-alt {
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.2), transparent 55%),
    #ffffff;
  border-color: rgba(45, 212, 191, 0.5);
}

.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: var(--ae-surface);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.5rem 1.75rem 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.ae-contact-card .form-control,
.ae-contact-card .form-select {
  background-color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
  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.4);
}

/* Footer */

.ae-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: #0f172a;
  color: #e5e7eb;
}

.ae-footer p.small.text-muted {
  color: #cbd5f5 !important;
}

/* Responsive tweaks */

@media (max-width: 767.98px) {
  .ae-hero {
    padding-top: 3.5rem;
    text-align: center;
  }

  .ae-hero-title {
    font-size: 2rem;
  }

  .ae-hero-subtitle {
    margin-inline: auto;
  }

  .ae-hero-points li {
    text-align: left;
  }

  .ae-section {
    padding-block: 3rem;
  }

  .ae-contact-card,
  .ae-story-card {
    padding: 1.25rem 1.25rem 1.25rem;
  }
}
