/* Webs4friends — site styles */

:root {
  --brand: #3b5bfd;
  --brand-dark: #2a44d4;
  --brand-2: #7c3aed;
  --accent: #ffb547;
  --ink: #141a33;
  --ink-soft: #4a5275;
  --line: #e4e7f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fd;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 26, 51, .06), 0 8px 24px rgba(20, 26, 51, .06);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
}

.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(59, 91, 253, .3); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span b { color: var(--brand); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .btn { color: #fff; padding: .6em 1.2em; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(124, 58, 237, .12), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, rgba(59, 91, 253, .12), transparent 60%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { filter: drop-shadow(0 24px 48px rgba(20, 26, 51, .14)); }

/* Cards / grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card p { color: var(--ink-soft); margin: 0; }

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(59, 91, 253, .12), rgba(124, 58, 237, .12));
  color: var(--brand);
  margin-bottom: 20px;
}
.icon svg { width: 26px; height: 26px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checklist li::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.checklist strong { display: block; }
.checklist span { color: var(--ink-soft); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan .tag {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan h3 { margin-bottom: .25em; }
.plan .who { color: var(--ink-soft); margin-bottom: 1.25em; }
.price { font-size: 3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 1.5em; }
.price small { font-size: 1rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }

.extras {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 8px 32px;
}
.extras dl { margin: 0; }
.extras .row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.extras .row:last-child { border-bottom: 0; }
.extras dt { font-weight: 600; }
.extras dt span { display: block; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.extras dd { margin: 0; font-weight: 800; white-space: nowrap; }

.note { text-align: center; color: var(--ink-soft); font-size: .95rem; margin-top: 24px; }

/* Story */
.story blockquote {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink-soft);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

/* Contact */
.contact-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-card h2 { color: #fff; }
.contact-card p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; }
.contact-card .btn-primary { background: #fff; color: var(--brand); box-shadow: none; }
.contact-card .btn-primary:hover { background: #f0f2ff; }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.people li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 600;
}
.people svg { width: 22px; height: 22px; flex: none; opacity: .9; }
.people a { color: #fff; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand img { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 960px) {
  .hero .container, .split, .contact-card { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-card { padding: 48px 36px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .grid-3, .grid-2, .pricing { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .extras { padding: 4px 22px; }
  .contact-card { padding: 36px 24px; border-radius: 22px; }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20, 26, 51, .08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
