/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #eef4fb;
  --white:   #ffffff;
  --text:    #1a2332;
  --muted:   #5b7a9c;
  --light:   #e4edf7;
  --accent:  #3b7dd8;
  --accent-hover: #2c66b8;
  --accent-light: #d0e3f7;
  --border:  #c8d8ea;
  --green:   #2d9d5a;
  --radius:  10px;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.55; font-size: 15px;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(180,200,225,0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,200,225,0.25) 1px, transparent 1px);
  background-size: 32px 32px;
  background-attachment: fixed;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.inline-link { font-weight: 600; }

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238,244,251,0.88); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 2rem; height: 52px;
}
.nav-logo {
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  text-decoration: none; margin-right: auto; letter-spacing: -0.3px;
}
.nav-links {
  display: flex; gap: 0.25rem; list-style: none;
  margin-right: 1rem;
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.84rem;
  font-weight: 500; padding: 0.4rem 0.7rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s; display: flex; align-items: center; gap: 0.25rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--light); }
.caret { font-size: 0.6rem; }
.nav-cta {
  background: var(--accent); color: var(--white); padding: 0.38rem 0.9rem;
  border-radius: 7px; text-decoration: none; font-size: 0.82rem; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); color: var(--white); }
.mobile-toggle {
  display: none; background: none; border: none; font-size: 1.3rem;
  cursor: pointer; color: var(--text); padding: 0.3rem;
}

/* Dropdown */
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.35rem 0; min-width: 180px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  list-style: none; z-index: 200;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block; padding: 0.45rem 0.9rem; font-size: 0.82rem;
  color: var(--text); border-radius: 0;
}
.dropdown-menu a:hover { background: var(--light); }
.dropdown-divider { height: 1px; background: var(--border); margin: 0.3rem 0; }

/* ── HERO ── */
.hero {
  background: linear-gradient(170deg, #dce8f8 0%, #e8eff9 40%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3.5rem; text-align: center;
  position: relative;
}
.hero-inner { max-width: 620px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.82rem; color: var(--accent); font-weight: 600;
  margin-bottom: 0.8rem;
}
h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 750;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 1rem; color: var(--text);
}
.hero-sub {
  font-size: 0.95rem; color: var(--muted); max-width: 440px;
  margin: 0 auto 1.8rem; line-height: 1.65;
}
.hero-btns { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--accent); color: var(--white);
  padding: 0.6rem 1.3rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); color: var(--white); }
.btn-secondary {
  display: inline-block; background: var(--white); color: var(--text);
  padding: 0.6rem 1.3rem; border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; border: 1px solid var(--border); transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: #94a3b8; color: var(--text); }

/* ── SECTIONS ── */
.section { padding: 3.5rem 2rem; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 920px; margin: 0 auto; }
.section-header { margin-bottom: 2rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.3rem; }
.section-header p { color: var(--muted); font-size: 0.9rem; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--white); padding: 1.4rem 1.2rem; }
.step-num { font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 0.6rem; }
.step h3 { font-size: 0.9rem; font-weight: 650; margin-bottom: 0.3rem; }
.step p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── PREVIEW GRID (home) ── */
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.preview-card {
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  border: 1px solid var(--border); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
  display: block;
}
.preview-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.preview-thumb {
  height: 130px; display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.88rem; color: white;
}
.thumb-blue  { background: linear-gradient(135deg, #1e3a5f, #4a90e2); }
.thumb-amber { background: linear-gradient(135deg, #6b3410, #e8a030); }
.thumb-green { background: linear-gradient(135deg, #1a5c35, #2eb86a); }
.preview-label {
  padding: 0.7rem 0.9rem; font-size: 0.78rem; color: var(--muted);
  font-weight: 600; background: var(--white);
}

/* ── PORTFOLIO GRID (work page) ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.portfolio-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; display: block;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.06); }
.portfolio-thumb {
  height: 170px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; font-weight: 600; text-align: center; padding: 1rem;
}
.portfolio-info { padding: 1rem 1.2rem; }
.portfolio-tag { font-size: 0.7rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.2rem; }
.portfolio-info h3 { font-size: 0.92rem; font-weight: 650; margin-bottom: 0.25rem; }
.portfolio-info p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.portfolio-link { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-top: 0.5rem; display: inline-block; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pricing-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.6rem 1.4rem; position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.pricing-card.featured { border-color: var(--accent); }
.featured-badge {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.5px; text-transform: uppercase; padding: 0.15rem 0.7rem;
  border-radius: 100px;
}
.price-tier { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.price-amount { font-size: 2rem; font-weight: 750; letter-spacing: -1px; }
.price-amount span { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.price-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; margin-bottom: 1.2rem; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.4rem; }
.price-features li { font-size: 0.84rem; display: flex; align-items: flex-start; gap: 0.4rem; color: var(--text); }
.price-features li::before { content: "\2713"; color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 0.78rem; }
.price-features li.na::before { content: "\2014"; color: #cbd5e1; }
.price-features li.na { color: #94a3b8; }
.btn-tier {
  display: block; width: 100%; text-align: center; padding: 0.6rem;
  border-radius: 8px; font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: opacity 0.2s; cursor: pointer;
}
.btn-tier.fill { background: var(--accent); color: var(--white); border: none; }
.btn-tier.fill:hover { background: var(--accent-hover); color: var(--white); }
.btn-tier.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-tier.ghost:hover { border-color: #94a3b8; color: var(--text); }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; cursor: pointer; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.92rem; font-weight: 600;
}
.faq-q::after { content: "+"; font-size: 1.1rem; color: var(--muted); transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, opacity 0.25s; opacity: 0; }
.faq-item.open .faq-a { max-height: 180px; opacity: 1; }
.faq-a p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; padding-top: 0.6rem; }

/* ── CONTACT FORM ── */
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 2rem; max-width: 480px;
}
.contact-form { display: flex; flex-direction: column; gap: 0.65rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
input, textarea, select {
  background: var(--bg); border: 1px solid var(--border); color: var(--text);
  padding: 0.65rem 0.8rem; border-radius: 8px; font-size: 0.86rem;
  font-family: inherit; width: 100%; transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
input::placeholder, textarea::placeholder { color: #94a3b8; }
textarea { resize: vertical; min-height: 80px; }
select { color: #94a3b8; -webkit-appearance: none; }
select:valid { color: var(--text); }
.form-submit {
  background: var(--accent); color: var(--white); border: none; cursor: pointer;
  padding: 0.65rem; border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  font-family: inherit; transition: background 0.2s;
}
.form-submit:hover { background: var(--accent-hover); }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(170deg, #dce8f8, #e8eff9); border-top: 1px solid var(--border); }

/* ── INFO GRID (why you need a website) ── */
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.info-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.info-card:hover { transform: translateY(-2px); }
.info-icon { font-size: 1.3rem; margin-bottom: 0.5rem; }
.info-card h3 { font-size: 0.9rem; font-weight: 650; margin-bottom: 0.25rem; }
.info-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ── CHECKLIST (what's included) ── */
.checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.checklist li {
  font-size: 0.86rem; display: flex; align-items: center; gap: 0.45rem;
  color: var(--text); line-height: 1.45;
}
.checklist li::before {
  content: "\2713"; color: var(--green); font-weight: 700; font-size: 0.78rem;
  flex-shrink: 0; width: 20px; height: 20px; background: #dcfce7;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── PRICING SUMMARY (home page) ── */
.pricing-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-summary-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; text-align: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.price-summary-card:hover { transform: translateY(-2px); }
.price-summary-card.featured-summary { border-color: var(--accent); background: var(--accent-light); }
.price-summary-tier { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.3rem; }
.price-summary-amount { font-size: 1.4rem; font-weight: 750; letter-spacing: -0.5px; }
.price-summary-amount span { font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.price-summary-desc { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }

/* ── TESTIMONIALS ── */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem;
}
.testimonial-card p {
  font-size: 0.86rem; color: var(--text); line-height: 1.6;
  margin-bottom: 0.8rem; font-style: italic;
}
.testimonial-author { font-size: 0.78rem; }
.testimonial-author strong { color: var(--text); }
.testimonial-author span { color: var(--muted); }

/* ── PAGE HEADER (for inner pages) ── */
.page-header {
  background: linear-gradient(170deg, #dce8f8 0%, #e8eff9 60%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem 2rem; text-align: center;
}
.page-header h1 { font-size: 1.8rem; margin-bottom: 0.3rem; }
.page-header p { color: var(--muted); font-size: 0.92rem; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 1.5rem 2rem;
  text-align: center; font-size: 0.78rem; color: var(--muted);
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .preview-grid, .portfolio-grid, .pricing-grid, .testimonials, .pricing-summary { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .info-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute;
    top: 52px; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 0.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  }
  nav.menu-open .nav-links .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 2.5rem 1.4rem 2rem; }
  .section { padding: 2.5rem 1.4rem; }
}
