/* Talisman Solutions - Design System */
/* Colors: Dark Slate Blue + Surgical Teal */

:root {
  /* Primary Colors */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  
  /* Accent - Surgical Teal */
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-dark: #0f766e;
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  
  /* Semantic Colors */
  --red-500: #ef4444;
  --red-600: #dc2626;
  --amber-500: #f59e0b;
  --green-500: #22c55e;
  
  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 24px;
  --container-max: 1200px;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

/* Layout */
.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Navigation Bar */
.nav-top {
  background: var(--slate-900);
  padding: 8px 0;
  font-size: 13px;
}

.nav-top-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-top-links {
  display: flex;
  gap: 24px;
}

.nav-top-links a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-top-links a:hover {
  color: var(--white);
}

/* Main Navigation */
.nav-main {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-main-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--slate-900);
  background: var(--slate-50);
}

.nav-link svg {
  width: 14px;
  height: 14px;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  z-index: 200;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--slate-700);
  font-size: 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-dropdown a:hover {
  background: var(--teal-50);
  color: var(--accent);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--slate-800);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(13, 148, 136, 0.1) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(13, 148, 136, 0.2);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent-light);
}

.hero p {
  font-size: 18px;
  color: var(--slate-300);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Page Hero (Interior Pages) */
.page-hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  padding: 60px 24px;
}

.page-hero .section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--white);
  font-size: 42px;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--slate-300);
  font-size: 18px;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--slate-400);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent-light);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: var(--slate-500);
}

.breadcrumb span {
  color: var(--slate-300);
}

/* Section Styling */
.content-section {
  padding: var(--section-padding);
}

.content-section.gray {
  background: var(--slate-50);
}

.content-section.dark {
  background: var(--slate-900);
}

.content-section.dark h2,
.content-section.dark h3 {
  color: var(--white);
}

.content-section.dark p {
  color: var(--slate-300);
}

.content-section.teal {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal-700) 100%);
}

.content-section.teal h2,
.content-section.teal h3,
.content-section.teal p {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--teal-100);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--teal-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.card p {
  color: var(--slate-600);
  font-size: 15px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-content h2 {
  margin-bottom: 20px;
}

.two-col-content p {
  color: var(--slate-600);
  margin-bottom: 16px;
}

.two-col-visual {
  background: var(--slate-100);
  border-radius: 16px;
  padding: 40px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Feature List */
.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--slate-600);
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-card p {
  font-size: 16px;
  font-style: italic;
  color: var(--slate-700);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--slate-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--slate-600);
}

.testimonial-info h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 13px;
  color: var(--slate-500);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, var(--teal-700) 100%);
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--accent);
}

.cta-section .btn-primary:hover {
  background: var(--slate-100);
}

.cta-section .btn-secondary {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Problem Cards (Mid-Market Squeeze) */
.problem-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  border: 1px solid var(--slate-200);
}

.problem-card .icon {
  width: 64px;
  height: 64px;
  background: var(--red-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.problem-card .icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none;
}

.problem-card h3 {
  color: var(--red-500);
  margin-bottom: 12px;
}

/* Transformation Section */
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.transform-before,
.transform-after {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--slate-200);
}

.transform-before {
  border-left: 4px solid var(--slate-400);
}

.transform-after {
  border-left: 4px solid var(--accent);
}

.transform-arrow {
  font-size: 48px;
  color: var(--accent);
}

@media (max-width: 900px) {
  .transform-grid { grid-template-columns: 1fr; }
  .transform-arrow { transform: rotate(90deg); text-align: center; }
}

/* Specialty Grid */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.specialty-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.specialty-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.1);
}

.specialty-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.specialty-card p {
  font-size: 13px;
  color: var(--slate-500);
  margin: 0;
}

@media (max-width: 768px) {
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Partner Logos */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-logo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.2s;
}

.partner-logo-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.partner-logo-card .logo-placeholder {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.partner-logo-card span {
  font-size: 11px;
  color: var(--slate-400);
}

@media (max-width: 768px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Forms */
.contact-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--slate-50);
  border-radius: 12px;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
}

.filter-group select {
  padding: 8px 12px;
  border: 1px solid var(--slate-300);
  border-radius: 6px;
  font-size: 14px;
}

/* Resource Cards */
.resource-card-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--teal-100);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Footer */
.footer {
  background: var(--slate-900);
  padding: 60px 24px 30px;
  color: var(--slate-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-column h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  color: var(--slate-400);
  font-size: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--slate-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  padding: 6px 12px;
  background: var(--slate-800);
  border-radius: 6px;
  font-size: 12px;
  color: var(--slate-400);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Table Styles */
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.service-table th,
.service-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}

.service-table th {
  background: var(--slate-50);
  font-weight: 600;
  font-size: 14px;
  color: var(--slate-600);
}

.service-table td {
  font-size: 15px;
}

/* Pillar Cards for Overview Pages */
.pillar-card {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  border-radius: 16px;
  padding: 40px;
  color: var(--white);
  text-align: center;
}

.pillar-card .icon {
  width: 72px;
  height: 72px;
  background: rgba(13, 148, 136, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.pillar-card .icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent-light);
  fill: none;
}

.pillar-card h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--slate-300);
  font-size: 15px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--slate-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-item h4 {
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--slate-600);
  font-size: 15px;
}

/* Certification Badges */
.cert-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
}

.cert-badge img {
  height: 40px;
}

.cert-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease-out forwards;
}
