/* ============================================
   TRAVISATECH — Productivity & Automation
   Shared Stylesheet
   ============================================ */

:root {
  --brand-dark:    #0d1117;
  --brand-navy:    #0f2240;
  --brand-blue:    #1a6cf5;
  --brand-teal:    #00c4b3;
  --brand-light:   #f4f7fb;
  --brand-white:   #ffffff;
  --brand-slate:   #5a6a7e;
  --brand-border:  #e2e8f0;
  --font-sans:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:     0 12px 40px rgba(0,0,0,0.14);
  --transition:    0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--brand-light);
  color: var(--brand-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER / NAV ── */
.site-nav {
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--brand-dark);
}
.nav-logo span { color: var(--brand-blue); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--brand-slate); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--brand-blue); text-decoration: none; }
.nav-cta {
  background: var(--brand-blue);
  color: var(--brand-white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  transition: background var(--transition);
}
.nav-cta:hover { background: #1558cc !important; text-decoration: none !important; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #152e5e 100%);
  color: var(--brand-white);
  padding: 4rem 2rem 3rem;
  text-align: center;
}
.page-hero .badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--brand-teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--brand-teal);
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.hero-tags { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.hero-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
}

/* ── MAIN CONTENT WRAPPER ── */
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 0.5rem;
}

/* ── CARDS ── */
.card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.card-sm {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card-sm .icon {
  font-size: 1.6rem;
  margin-bottom: 0.7rem;
  display: block;
}
.card-sm h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.card-sm p  { font-size: 0.85rem; color: var(--brand-slate); line-height: 1.5; }

/* ── PROBLEM / SOLUTION SPLIT ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}
@media (max-width: 640px) { .split-section { grid-template-columns: 1fr; } }
.split-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.split-card.problem {
  background: #fff8f8;
  border: 1px solid #fde0e0;
}
.split-card.solution {
  background: #f0faf9;
  border: 1px solid #b8ede8;
}
.split-card h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.split-card.problem h4 { color: #c0392b; }
.split-card.solution h4 { color: #00897b; }
.split-card ul { list-style: none; }
.split-card ul li {
  font-size: 0.9rem;
  color: var(--brand-slate);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.split-card.problem ul li::before { content: '✕'; position: absolute; left: 0; color: #c0392b; font-size: 0.8rem; }
.split-card.solution ul li::before { content: '✓'; position: absolute; left: 0; color: #00897b; font-weight: 700; }

/* ── DELIVERABLES LIST ── */
.deliverables { list-style: none; margin: 1rem 0; }
.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--brand-border);
  font-size: 0.92rem;
}
.deliverables li:last-child { border-bottom: none; }
.deliverables li .check {
  width: 20px;
  height: 20px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── PRICING BOX ── */
.pricing-box {
  background: linear-gradient(135deg, var(--brand-navy), #1a3a6e);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--brand-white);
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.pricing-box .price-left h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.3rem; }
.pricing-box .price-left p  { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.pricing-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--brand-teal);
  letter-spacing: -1px;
  white-space: nowrap;
}
.pricing-amount sup { font-size: 1.2rem; vertical-align: top; margin-top: 0.6rem; display: inline-block; }
.pricing-amount .suffix { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.5); }
.pricing-box .cta-btn {
  display: inline-block;
  background: var(--brand-teal);
  color: var(--brand-dark);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background var(--transition);
}
.pricing-box .cta-btn:hover { background: #00a899; text-decoration: none; }

/* ── TIMELINE ── */
.timeline { margin: 1.5rem 0; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.timeline-num {
  width: 32px;
  height: 32px;
  background: var(--brand-blue);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.timeline-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.timeline-body p  { font-size: 0.88rem; color: var(--brand-slate); }

/* ── RESULTS / STATS ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat-box {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-box .stat-label { font-size: 0.8rem; color: var(--brand-slate); margin-top: 0.3rem; }

/* ── TECH STACK PILLS ── */
.tech-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--brand-slate);
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--brand-slate);
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--brand-blue); text-decoration: none; }

/* ── FOOTER ── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.83rem;
}
.site-footer strong { color: rgba(255,255,255,0.8); }

/* ── INDEX PAGE ── */
.index-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0d2050 60%, #0a1830 100%);
  color: white;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.index-hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 1rem;
}
.index-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.index-hero h1 em { font-style: normal; color: var(--brand-teal); }
.index-hero .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.index-hero .hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  display: inline-block;
  background: var(--brand-teal);
  color: var(--brand-dark) !important;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.btn-primary:hover { background: #00a899; text-decoration: none !important; }
.btn-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: white !important;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.18); text-decoration: none !important; }

.products-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.products-section > h2 {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}
.products-section > p {
  text-align: center;
  color: var(--brand-slate);
  margin-bottom: 3rem;
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card .product-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.product-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.product-card p  { font-size: 0.88rem; color: var(--brand-slate); flex: 1; line-height: 1.55; }
.product-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--brand-border);
}
.product-card .starting-at { font-size: 0.78rem; color: var(--brand-slate); }
.product-card .starting-at strong { display: block; font-size: 1.05rem; color: var(--brand-dark); font-weight: 800; }
.product-card .card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.product-card .card-link:hover { text-decoration: none; }

.why-section {
  background: var(--brand-white);
  padding: 4rem 2rem;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.why-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 640px) { .why-inner { grid-template-columns: 1fr; } }
.why-inner h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; }
.why-inner p  { color: var(--brand-slate); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1rem; }
.credential-list { list-style: none; }
.credential-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--brand-border);
}
.credential-list li:last-child { border-bottom: none; }
.credential-list .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-teal);
  flex-shrink: 0;
}
