/* ============================================================
   Overbuilt Software — Main Stylesheet
   Professional light theme
   ============================================================ */

:root {
  --primary:        #0f172a;   /* slate-900 — headings, nav text */
  --primary-mid:    #1e293b;   /* slate-800 */
  --accent:         #2563eb;   /* blue-600 — CTAs, highlights */
  --accent-hover:   #1d4ed8;   /* blue-700 */
  --accent-light:   #eff6ff;   /* blue-50  — tinted backgrounds */
  --text:           #374151;   /* gray-700 — body copy */
  --text-muted:     #6b7280;   /* gray-500 — captions, labels */
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;   /* slate-50 */
  --bg-alt2:        #f1f5f9;   /* slate-100 */
  --border:         #e2e8f0;   /* slate-200 */
  --nav-height:     68px;
  --radius:         8px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.12);
  --transition:     0.2s ease;
}

/* ---- Reset & Base ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ------------------------------------ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  background: var(--primary);
  color: #e2e8f0;
}
.section-dark h2, .section-dark h3 { color: #f1f5f9; }
.section-dark p, .section-dark li { color: #cbd5e1; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.75rem auto 0;
}

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* ---- Navigation ------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-brand:hover { text-decoration: none; color: var(--primary); }
.nav-brand-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--transition);
}
.nav-links a:hover {
  background: var(--bg-alt2);
  color: var(--primary);
}
.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: var(--text);
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* ---- Hero ------------------------------------------------ */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: 1.25rem; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-visual-header {
  background: var(--primary);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red   { background: #ef4444; }
.dot-yellow{ background: #f59e0b; }
.dot-green { background: #22c55e; }

.hero-visual-body { padding: 1.5rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.stat-mini {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
  text-align: center;
}
.stat-mini-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-mini-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

.job-list { display: flex; flex-direction: column; gap: 0.5rem; }
.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
}
.job-row-name { font-weight: 600; color: var(--primary); }
.job-row-desc { color: var(--text-muted); font-size: 0.78rem; }
.job-row-cost { font-weight: 700; color: var(--accent); }

/* ---- Feature Cards --------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---- Pricing --------------------------------------------- */
.pricing-card {
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.pricing-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.pricing-amount sup {
  font-size: 1.5rem;
  vertical-align: super;
  font-weight: 700;
}
.pricing-amount sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  vertical-align: baseline;
}

.pricing-trial {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1.75rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check { color: #22c55e; font-weight: 700; flex-shrink: 0; }

/* ---- Mission / Values ------------------------------------ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.value-card h3 { margin-bottom: 0.6rem; }
.value-card p { color: var(--text-muted); font-size: 0.93rem; }

/* ---- CTA Banner ------------------------------------------ */
.cta-banner {
  background: var(--primary);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: #f1f5f9; margin-bottom: 1rem; }
.cta-banner p { color: #94a3b8; font-size: 1.1rem; margin-bottom: 2rem; }
.cta-banner-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---- Team / About ---------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro-visual {
  background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
}
.about-logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.about-logo-text span { color: var(--accent); }
.about-tagline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* ---- Contact --------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-muted); }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.contact-info-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item-text strong { display: block; font-size: 0.85rem; color: var(--text-muted); }
.contact-info-item-text span { font-weight: 600; color: var(--primary); }

/* ---- Form ------------------------------------------------ */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1rem;
  color: #166534;
  font-weight: 600;
  margin-top: 1rem;
  text-align: center;
}

/* ---- Footer ---------------------------------------------- */
.footer {
  background: var(--primary);
  color: #94a3b8;
  padding: 48px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer-brand-name span { color: var(--accent); }
.footer-brand-desc { font-size: 0.88rem; line-height: 1.6; }

.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #f1f5f9; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Page Hero (inner pages) ----------------------------- */
.page-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 1rem auto 0;
}

/* ---- Misc ------------------------------------------------ */
.divider { height: 1px; background: var(--border); margin: 0; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
