/* =============================================================
   BUILDOLOGY — SHARED STYLESHEET
   All pages use this one file. Edit colors/fonts here and every
   page updates at once. Color values are kept at the top so you
   can swap the brand palette without hunting through the file.
   ============================================================= */

/* ---------- BRAND COLORS (edit these to retheme the site) ---------- */
:root {
  --bg-darker:  #0a0e1a;        /* page background, very dark navy */
  --bg-dark:    #0e1320;        /* card / section background */
  --bg-card:    #12182a;        /* card surface */
  --border:     #1f2940;        /* subtle borders */
  --text:       #e6ecf5;        /* main body text */
  --text-muted: #a3adc2;        /* secondary / paragraph text */
  --text-dim:   #6b7791;        /* labels, captions */
  --accent:     #4dd0e1;        /* cyan highlight — "thrive", "Action" */
  --accent-soft:#7ee8f5;
  --green:      #34d399;        /* check marks, "Live" badges */
  --green-soft: #6ee7b7;
  --button-grad-from: #1a3a52;
  --button-grad-to:   #122036;

  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg-darker);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--maxw); margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.3px;
}
.logo .word-build  { color: var(--accent); }
.logo .word-ology  { color: var(--text); }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #0e1320, #1a3a52);
  border: 1px solid #2a4a6a;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--text-muted); font-size: 15px; font-weight: 500;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: linear-gradient(135deg, var(--button-grad-from), var(--button-grad-to));
  color: var(--text) !important;
  padding: 9px 18px; border-radius: 10px;
  border: 1px solid #2a4a6a;
  font-weight: 600;
}
.nav-cta:hover { text-decoration: none; filter: brightness(1.1); }
.mobile-toggle { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px;
  border: 1px solid #2a4a6a;
  cursor: pointer; transition: transform .15s, filter .15s;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--button-grad-from), var(--button-grad-to));
  color: var(--text);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border);
}
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-arrow::after { content: "→"; margin-left: 4px; }

/* ---------- SECTIONS / TYPOGRAPHY ---------- */
section { padding: 80px 0; }
h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(40px, 5.5vw, 64px); letter-spacing: -1px; }
h2 { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -0.5px; }
h3 { font-size: 20px; }
p  { margin: 0 0 14px; color: var(--text-muted); }
.lead { font-size: 18px; color: var(--text-muted); max-width: 720px; }
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(77, 208, 225, 0.08);
  border: 1px solid rgba(77, 208, 225, 0.25);
  border-radius: 999px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 18px;
}

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top, rgba(77,208,225,0.06), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(52,211,153,0.04), transparent 60%);
}
.hero h1 { max-width: 800px; }
.hero .lead { margin-top: 14px; max-width: 600px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- FEATURE STRIP (Fast / Clear / Secure) ---------- */
.feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 50px;
}
.feature-strip .item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-strip .item .title { font-weight: 700; color: var(--text); margin: 0 0 4px; }
.feature-strip .item .sub   { color: var(--text-dim); margin: 0; font-size: 14px; }

/* ---------- WHAT YOU GET CARD ---------- */
.checklist-card {
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.checklist-card h3 { font-size: 22px; margin-bottom: 24px; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0; color: var(--text);
}
.checklist li::before {
  content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0;
}
.checklist-card .note {
  text-align: center; color: var(--text-dim); margin-top: 10px; font-size: 14px;
}

/* ---------- GENERIC CARD GRID ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 50px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .15s, transform .15s;
}
.card:hover { border-color: #2a4a6a; transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(77, 208, 225, 0.1);
  border: 1px solid rgba(77, 208, 225, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { color: var(--text); }
.card p { font-size: 15px; }

/* ---------- PRODUCT (SaaS) CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
}
.product-card.live::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}
.product-card .head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.product-card .badge-live {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.product-card h3 { margin-bottom: 8px; }
.product-card .tagline { color: var(--accent); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; color: var(--text-muted);
}

/* ---------- PACKAGES ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.pkg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.pkg.featured {
  border-color: rgba(77, 208, 225, 0.4);
  box-shadow: 0 0 0 1px rgba(77, 208, 225, 0.15);
}
.pkg-tier  { font-size: 13px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.pkg-name  { font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.pkg-popular {
  position: absolute; top: -12px; right: 24px;
  background: var(--accent); color: var(--bg-darker);
  padding: 4px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}

/* ---------- STEPS (How it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--bg-darker);
  font-weight: 700; margin-bottom: 12px;
}

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; margin-top: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-info .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--text); }
.form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.form label { display: block; font-size: 14px; margin: 14px 0 6px; color: var(--text); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px;
  background: var(--bg-darker); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: inherit; font-size: 15px;
}
.form textarea { min-height: 120px; resize: vertical; }
.form .submit-row { margin-top: 22px; }

/* ---------- CTA SECTION ---------- */
.cta-section { text-align: center; padding: 80px 0; }
.cta-section h2 { margin-bottom: 14px; }
.cta-section .lead { margin: 0 auto 28px; }
.cta-section .hero-ctas { justify-content: center; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 60px 0 28px;
  color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--text); font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; }
.footer-grid a { color: var(--text-muted); display: block; padding: 4px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 13px; color: var(--text-dim);
}
.footer-bottom .links a { color: var(--text-dim); margin: 0 6px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .feature-strip, .card-grid, .product-grid, .pkg-grid, .steps {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .mobile-toggle {
    display: inline-flex; background: transparent; border: 1px solid var(--border);
    color: var(--text); padding: 8px 12px; border-radius: 8px; font-size: 14px;
  }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 64px; right: 16px; left: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 18px;
  }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
