/* Modern Color Palette */
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #6366f1;
  --dark: #111827;
  --gray-900: #1f2937;
  --gray-800: #374151;
  --gray-700: #4b5563;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
}

/* Core Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--gray-50);
  overflow-x: hidden;
}

section {
  padding: 7rem 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gray-800);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 30px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 500px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-outlined {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-outlined:hover {
  background: var(--primary);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-800);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(243, 244, 246, 0.8) 100%);
  padding: 5rem 0 0;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(99, 102, 241, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  border-radius: 50%;
}

.hero-content {
  max-width: 600px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image {
  position: relative;
  z-index: 2;
  background-color: #0f1e38;
  padding: 0;
  border-radius: 16px;
  text-align: center;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 500px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

/* Features Section */
.features {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
  top: -400px;
  right: -400px;
  z-index: 1;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-content {
  flex-grow: 1;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
}

/* What You Get Section */
.what-you-get {
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.what-you-get::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.02) 100%);
  bottom: -400px;
  left: -400px;
  z-index: 1;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.benefits-list {
  list-style: none;
  margin: 2rem 0;
}

.benefit-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  display: flex;
  align-items: flex-start;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 18px;
  height: 18px;
  background: var(--success);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
}

.price-tag {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  display: block;
  margin: 1.5rem 0;
}

.price-note {
  display: block;
  font-size: 1rem;
  color: var(--gray-700);
  margin-top: -1rem;
  margin-bottom: 2rem;
}

/* Who We Are Section */
.who-we-are {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.team-image {
  background-color: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.team-image::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  z-index: 0;
  border-radius: 16px;
}

.team-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.team-image:hover img {
  transform: scale(1.03);
}

/* Call to Action Section */
.call-to-action {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.call-to-action::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.call-to-action::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.call-to-action h2,
.call-to-action p {
  color: white;
}

.call-to-action .btn {
  background: white;
  color: var(--primary);
  margin-top: 1rem;
}

.call-to-action .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

/* Reusable components */
.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.02) 100%);
  margin: 1rem 0;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-logo {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-text {
  color: var(--gray-100);
  margin-bottom: 2rem;
  max-width: 300px;
}

.footer-title {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-100);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-100);
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    grid-row: 1;
    max-width: 80%;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    height: auto;
    padding: 1rem 0;
  }

  .nav-link {
    padding: 1rem 2rem;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu .btn {
    margin: 1rem 2rem;
    width: calc(100% - 4rem);
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .hero-image {
    margin-top: 2rem;
  }
}

.float {
  animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes gentleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.delay-0 {
  animation-delay: 0s;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.delay-5 {
  animation-delay: 1s;
}

.agent-log-panel {
  background: #0f172a;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.2), 0 8px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Courier New', monospace;
  color: #e2e8f0;
  overflow-y: auto;
  max-height: 340px;
  border: 1px solid #1e293b;
  position: relative;
}

.agent-log-header {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.agent-log-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #f87171;
}

.dot.yellow {
  background: #facc15;
}

.dot.green {
  background: #34d399;
}

.agent-log-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #93c5fd;
}

.agent-log-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #cbd5e1;
}

.agent-log-list li.typing::after {
  content: "|";
  animation: blink 1s step-start infinite;
  margin-left: 4px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.features-journey .journey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.journey-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.journey-card h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.journey-card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin: 0;
}

.journey-card.before {
  border-color: #f87171;
  background: #fef2f2;
}

.journey-card.after {
  border-color: #34d399;
  background: #f0fdf4;
}

@media (max-width: 768px) {
  .features-journey .journey-grid {
    grid-template-columns: 1fr;
  }
}

.custom-quote-note {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  margin-top: 1rem;
  line-height: 1.5;
}

.why-workbotic-section {
  background-color: var(--gray-50);
  position: relative;
  overflow: hidden;
}

.why-workbotic-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.why-card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
  line-height: 1.5;
}

.hero-capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(179px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.capability-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 600;
  color: var(--gray-800);
  transition: transform 0.3s ease;
  min-height: 200px;
}

.capability-card i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.capability-card strong {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.card-subtext {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: white;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.modal-body h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.modal-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.modal-body p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.modal-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.close-modal {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-modal:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header {
    padding: 1rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }
}

/* ===== CASE STUDIES STYLES ===== */

/* Case Studies Page */
.case-studies-page {
  min-height: 100vh;
}

.page-hero {
  background: linear-gradient(135deg, rgba(249, 250, 251, 0.8) 0%, rgba(243, 244, 246, 0.8) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 0;
}

.case-studies-content {
  background: var(--white);
  padding: 4rem 0;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.page-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 0.5rem;
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.cta-section {
  margin-top: 4rem;
  text-align: center;
}

.cta-card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta-card h3 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.cta-card p {
  margin-bottom: 2rem;
  color: var(--gray-700);
}

/* Individual Case Study Page */
.case-study-page {
  min-height: 100vh;
}

.case-study-hero {
  background: var(--white);
  padding: 8rem 0 3rem;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

.case-study-hero.has-cover-image {
  padding: 12rem 0 6rem;
  color: white;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.case-study-hero.has-cover-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.case-study-hero.has-cover-image .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.case-study-hero.has-cover-image .breadcrumb {
  color: rgba(255, 255, 255, 0.8);
}

.case-study-hero.has-cover-image .breadcrumb a {
  color: white;
}

.case-study-hero.has-cover-image .breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.case-study-header {
  max-width: 800px;
}

.case-study-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
}

.industry-tag {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 500px;
  font-size: 0.875rem;
  font-weight: 600;
}

.date {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.case-study-header h1 {
  color: var(--gray-900);
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.case-study-hero.has-cover-image .case-study-header h1 {
  color: white;
}

.results-highlights {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  margin-top: 1.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.result-item i {
  color: var(--success);
  font-size: 1.1rem;
}

.case-study-content {
  background: var(--white);
  padding: 3rem 0 5rem;
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-content img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-study-article {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.case-study-article h1, .case-study-article h2, .case-study-article h3, .case-study-article h4 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.case-study-article h1:first-child, .case-study-article h2:first-child {
  margin-top: 0;
}

.case-study-article h2 {
  font-size: 1.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-100);
}

.case-study-article h3 {
  font-size: 1.5rem;
  color: var(--primary);
}

.case-study-article h4 {
  font-size: 1.25rem;
}

.case-study-article p {
  margin-bottom: 1.5rem;
}

.case-study-article ul, .case-study-article ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.case-study-article li {
  margin-bottom: 0.5rem;
}

.case-study-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.case-study-article th, .case-study-article td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.case-study-article th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-900);
}

.case-study-article blockquote {
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-700);
}

.article-footer {
  margin-top: 0;
  padding-top: 0;
}

.share-section {
  margin-bottom: 3rem;
  text-align: center;
}

.share-section h4 {
  margin-bottom: 1.5rem;
  color: var(--gray-900);
  font-size: 1.1rem;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.email {
  background: var(--gray-700);
  color: white;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navigation-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Responsive Design for Case Studies */
@media (max-width: 768px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }
  
  .case-study-hero {
    padding: 6rem 0 2rem;
  }
  
  .case-study-hero.has-cover-image {
    padding: 8rem 0 4rem;
    min-height: 50vh;
  }
  
  .case-study-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
  }
  
  .navigation-section {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .case-study-article {
    font-size: 1rem;
  }
  
  .blog-content {
    padding: 0 1rem;
  }
}
