:root {
  --navy: #1f2d3d; --navy2: #2c3e50; --blue: #2f6fed; --blue-d: #1f57c4;
  --ink: #20303f; --muted: #5b6b7b; --line: #e3e9f0; --bg: #f6f8fb; --white: #fff;
  --ok: #1f9d61; --radius: 12px; --shadow: 0 6px 24px rgba(31,45,61,.08);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy2); font-size: 1.1rem; }
.brand img { height: 34px; width: auto; }
.nav a { color: var(--navy2); font-weight: 600; margin-left: 24px; }
.nav a:hover { color: var(--blue); }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 8px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-d); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: rgba(47,111,237,.06); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 84px 0; }
.hero h1 { font-size: 2.6rem; margin: 0 0 14px; line-height: 1.15; }
.hero p { font-size: 1.2rem; color: #cdd7e2; max-width: 680px; margin: 0 0 28px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); margin-left: 12px; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; font-size: 1.9rem; color: var(--navy2); margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 44px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature-icon { font-size: 1.9rem; }
.feature-card h3 { margin: 12px 0 6px; color: var(--navy2); font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); }

/* Pricing */
.pricing { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; background: var(--white); position: relative; }
.plan-card.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.plan-card.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.plan-name { font-size: 1.35rem; color: var(--navy2); margin: 0 0 4px; }
.plan-tagline { color: var(--muted); min-height: 44px; margin: 0 0 14px; }
.plan-price { font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.plan-price small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.plan-limits { list-style: none; padding: 0; margin: 14px 0; color: var(--muted); font-size: .92rem; }
.plan-limits li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.plan-features { list-style: none; padding: 0; margin: 18px 0 24px; }
.plan-features li { padding: 6px 0 6px 26px; position: relative; color: var(--ink); font-size: .95rem; }
.plan-features li::before { content: "✓"; color: var(--ok); position: absolute; left: 0; font-weight: 700; }

/* Forms */
.form-wrap { max-width: 620px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font-size: 1rem; font-family: inherit; }
.field textarea { min-height: 110px; resize: vertical; }
.req { color: #c0392b; }
.alert { background: #fdecea; color: #b23b32; border: 1px solid #f5c6c0; padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: #aebccb; padding: 32px 0; text-align: center; font-size: .9rem; }
.site-footer a { color: #cdd7e2; }

@media (max-width: 820px) {
  .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav a { margin-left: 16px; }
  .hero h1 { font-size: 2rem; }
}
