/* ===== AutoMailSender — landing one-pager ===== */

:root {
  --blue: #2f6bf0;
  --blue-deep: #1f4fd0;
  --green: #34c759;
  --ink: #0b1320;
  --ink-soft: #4a5568;
  --ink-faint: #8a93a3;
  --line: #e8ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-grad-a: #eef2fb;
  --bg-grad-b: #e6ecfa;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(28, 50, 110, 0.25);
  --shadow-sm: 0 8px 24px -10px rgba(28, 50, 110, 0.22);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }

.grad {
  background: linear-gradient(120deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(47, 107, 240, 0.6);
}
.btn--primary:hover { background: var(--blue-deep); box-shadow: 0 14px 30px -8px rgba(47, 107, 240, 0.7); }
.btn--ghost {
  background: rgba(15, 25, 50, 0.05);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(15, 25, 50, 0.09); }
.btn--small { padding: 9px 18px; font-size: 14px; background: var(--blue); color: #fff; }
.btn--small:hover { background: var(--blue-deep); }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
/* full-bleed blurred bar */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: inherit;
  border-bottom: 1px solid var(--line);
  z-index: -1;
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.nav__brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); }
.nav .btn--small { margin-left: 8px; }

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 76px 24px 40px;
  max-width: 860px;
  margin: 0 auto;
}
.hero__icon {
  border-radius: 26px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-sm);
}
.hero__title { font-size: clamp(40px, 7vw, 72px); margin-bottom: 22px; }
.hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { margin-top: 22px; font-size: 14px; color: var(--ink-faint); }

.shot {
  margin: 56px auto 0;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.shot img { width: 100%; }

/* ===== Providers ===== */
.providers {
  text-align: center;
  padding: 72px 24px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.providers__label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 22px;
}
.providers__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
}
.providers__list li {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 8px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.providers__note { margin-top: 22px; font-size: 15px; color: var(--ink-faint); }

/* ===== Sections ===== */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }

.features { padding: 96px 24px; max-width: var(--maxw); margin: 0 auto; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: #d6dcec; }
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, #eaf0ff, #eafaf0);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* ===== Use cases ===== */
.usecases { padding: 0 24px 96px; max-width: var(--maxw); margin: 0 auto; }
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.uc {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.uc:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #d6dcec; }
.uc__ico {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, #eaf0ff, #eafaf0);
  border-radius: 11px;
}
.uc h3 { font-size: 16px; margin-bottom: 4px; }
.uc p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.45; }

/* ===== Privacy ===== */
.privacy {
  background: linear-gradient(160deg, var(--bg-grad-a), var(--bg-grad-b));
  padding: 96px 24px;
}
.privacy__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.privacy__text h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 16px; }
.privacy__text > p { font-size: 18px; color: var(--ink-soft); margin-bottom: 24px; }
.privacy__shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.checks { list-style: none; display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: var(--ink);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* ===== Pricing ===== */
.pricing { padding: 96px 24px; max-width: var(--maxw); margin: 0 auto; }
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  gap: 24px;
  justify-content: center;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
}
.plan--featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan__price { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; }
.plan__tag { color: var(--ink-faint); font-size: 14px; margin-bottom: 22px; }
.plan .checks { margin-bottom: 28px; }

/* ===== Final CTA ===== */
.finalcta {
  text-align: center;
  padding: 100px 24px;
  max-width: 640px;
  margin: 0 auto;
}
.finalcta img { border-radius: 18px; margin: 0 auto 22px; box-shadow: var(--shadow-sm); }
.finalcta h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.finalcta p { font-size: 18px; color: var(--ink-soft); margin-bottom: 28px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-faint);
}
.footer__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer__brand img { border-radius: 6px; }
.footer__copy { margin-left: auto; }
.footer__mail:hover { color: var(--blue); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy__inner { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .footer__copy { margin-left: 0; width: 100%; order: 3; }
}
