/* WebTechPH marketing site. Palette matches the hub app (webtech/hub-app/app/assets/css/main.css). */
:root {
  --brand-50: #f2f1ff;
  --brand-100: #e7e4ff;
  --brand-200: #d2ccff;
  --brand-300: #b3a8ff;
  --brand-400: #8f7fff;
  --brand-500: #6b5cff;
  --brand-600: #4e40e0;
  --brand-700: #4033be;
  --brand-800: #352c99;
  --brand-900: #2e297a;
  --cream: #fbf7f0;
  --ink: #18181b;
  --muted: #52525b;
  --line: #e4e4e7;
  --bg: #ffffff;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -8px rgb(107 92 255 / 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.primary { display: flex; align-items: center; gap: 22px; }
nav.primary a { color: var(--muted); font-weight: 500; font-size: 0.94rem; }
nav.primary a:hover { color: var(--ink); text-decoration: none; }
nav.primary a.current { color: var(--brand-600); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 10px; font-weight: 600; font-size: 0.94rem;
  padding: 10px 18px; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--brand-500); color: white; }
.btn-primary:hover { background: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-200); }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 26px; font-size: 1rem; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1200px 500px at 50% -10%, var(--brand-50), transparent); }
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500;
  color: var(--muted); background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 6px 12px; border-radius: 999px;
}

/* Sections */
section { padding: 64px 0; }
section.alt { background: #fafafa; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 0 40px; }
.section-head .eyebrow { color: var(--brand-600); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; margin: 8px 0 10px; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* Cards / grid */
.grid { display: grid; gap: 20px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-5, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.app-card { display: flex; flex-direction: column; gap: 10px; }
.app-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.app-card h3 { margin: 4px 0 0; font-size: 1.08rem; }
.app-card p { margin: 0; color: var(--muted); font-size: 0.93rem; flex: 1; }
.app-price { font-weight: 700; color: var(--ink); }
.app-price span { font-weight: 500; color: var(--muted); font-size: 0.82rem; }

.step { display: flex; gap: 14px; }
.step .num {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-500); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.step h3 { margin: 2px 0 6px; font-size: 1.04rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.bundle-card { display: flex; flex-direction: column; gap: 14px; position: relative; }
.bundle-card.featured { border-color: var(--brand-400); box-shadow: 0 1px 2px rgb(0 0 0 / .04), 0 10px 30px -10px rgb(107 92 255 / .35); }
.badge {
  display: inline-flex; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; background: var(--brand-500); color: white; padding: 3px 10px; border-radius: 999px;
}
.bundle-card h3 { margin: 0; font-size: 1.1rem; }
.bundle-card .tagline { margin: 0; color: var(--muted); font-size: 0.9rem; }
.bundle-price { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.bundle-price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.bundle-save { font-size: 0.85rem; color: #15803d; font-weight: 600; }
.bundle-save .was { color: var(--muted); font-weight: 500; text-decoration: line-through; }
.bundle-apps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.bundle-apps li { display: flex; align-items: center; gap: 8px; }
.bundle-apps li::before { content: "✓"; color: var(--brand-600); font-weight: 700; }

table.pricelist { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.pricelist th, table.pricelist td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.pricelist th { color: var(--muted); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.pricelist td.amount { text-align: right; font-weight: 700; white-space: nowrap; }

.cta-band {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: white; border-radius: 24px; padding: 48px 40px; text-align: center;
}
.cta-band h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.cta-band p { margin: 0 0 24px; color: rgb(255 255 255 / 0.85); }
.cta-band .btn-ghost { background: rgb(255 255 255 / 0.1); color: white; border-color: rgb(255 255 255 / 0.35); }
.cta-band .btn-ghost:hover { background: rgb(255 255 255 / 0.18); }
.cta-band .btn-primary { background: white; color: var(--brand-700); }
.cta-band .btn-primary:hover { background: var(--cream); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 20px; color: var(--brand-600); font-weight: 800; }
.faq details[open] summary::before { content: "–"; }
.faq p { margin: 10px 0 0 20px; color: var(--muted); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 0.98rem; }
.prose ul { padding-left: 20px; }
.prose strong { color: var(--ink); }
.updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 30px; }

.contact-grid { display: grid; gap: 24px; grid-template-columns: 1.1fr 0.9fr; align-items: start; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-item h4 { margin: 0 0 2px; font-size: 0.98rem; }
.contact-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Footer */
footer.site { border-top: 1px solid var(--line); background: #fafafa; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--ink); font-size: 0.92rem; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  color: var(--muted); font-size: 0.85rem;
}

@media (max-width: 760px) {
  nav.primary { display: none; }
}
