/* Professional IBCOMS Website - Modern Design */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: #1a202c;
  background: #ffffff;
}

/* Typography */
.font-display {
  font-family: "Space Grotesk", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #1a202c;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-custom {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

/* Colors - Harmonized with IBCOMS logo */
:root {
  --primary: #0f172a;
  --secondary: #1976d2;
  --accent: #00acc1;
  --logo-cyan: #00bcd4;
  --logo-blue: #1976d2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  transition: all 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.cta-button {
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-cyan));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(25, 118, 210, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(25, 118, 210, 0.3);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--logo-blue), var(--logo-cyan));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: white;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.service-features li::before {
  content: "✓";
  color: var(--secondary);
  font-weight: bold;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonials {
  background: var(--gray-50);
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 50px;
  height: 50px;
  background: var(--gray-200);
  border-radius: 50%;
}

/* Tech Stack */
.tech-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.tech-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-500);
}

/* Contact Section */
.contact {
  background: var(--primary);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  margin-top: 2rem;
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

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

/* Footer */
.footer {
  background: var(--gray-50);
  padding: 3rem 0;
  border-top: 1px solid var(--gray-200);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--gray-600);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 1rem 0;
  }

  .nav-menu,
  .cta-button,
  .language-selector {
    display: none;
  }

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

  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid,
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* Utilities */
.language-selector {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-link {
  text-decoration: none;
  color: var(--gray-500);
}

.lang-link.active {
  color: var(--primary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 4rem;
}

.fade-in-up {
  animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tailwind-ish Utilities for Post Layout */
.w-full {
  width: 100%;
}
.w-5 {
  width: 1.25rem;
}
.h-5 {
  height: 1.25rem;
}
.w-8 {
  width: 2rem;
}
.h-8 {
  height: 2rem;
}

.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-col {
  flex-direction: column;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}
.space-x-4 > * + * {
  margin-left: 1rem;
}
.space-x-6 > * + * {
  margin-left: 1.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}

.bg-white {
  background-color: white;
}
.bg-gray-50 {
  background-color: var(--gray-50);
}
.bg-primary-100 {
  background-color: #e0f2fe;
}

.text-white {
  color: white !important;
}
.text-gray-300 {
  color: var(--gray-300);
}
.text-gray-600 {
  color: var(--gray-600);
}
.text-gray-900 {
  color: var(--gray-900);
}
.text-primary-800 {
  color: #075985;
}

.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}

.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}

.rounded-full {
  border-radius: 9999px;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.pt-8 {
  padding-top: 2rem;
}

.border-t {
  border-top: 1px solid;
}
.border-b {
  border-bottom: 1px solid;
}
.border-gray-200 {
  border-color: var(--gray-200);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.object-cover {
  object-fit: cover;
}
.object-center {
  object-position: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-none {
  max-width: none;
}

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

/* ==============================================
   ENTERPRISE BLOG STYLES
   ============================================== */

/* Page Header */
.insights-header {
  background: #ffffff;
  padding: 6rem 0 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-family: 'Space Grotesk', sans-serif;
}

.page-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #475569;
  max-width: 700px;
}

/* Article List */
.insights-content {
  padding: 4rem 0;
  background: #ffffff;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Article Item */
.article-item {
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.article-item:last-child {
  border-bottom: none;
}

.article-item:hover {
  background-color: #f8fafc;
  padding: 1.5rem;
  margin: -1.5rem;
  border-radius: 8px;
}

/* Meta Top: Category + Date */
.article-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #2563eb;
  text-transform: uppercase;
}

.category-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.article-date {
  font-size: 0.875rem;
  color: #64748b;
}

/* Title */
.article-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.article-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* Excerpt */
.article-excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1rem;
}

/* Author */
.article-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.author-name {
  font-weight: 500;
  color: #475569;
}

.meta-separator {
  color: #cbd5e1;
}

.reading-time {
  color: #64748b;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Actions: CTA + Sharing */
.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  gap: 1rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.read-more:hover {
  color: #1d4ed8;
  gap: 0.75rem;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.read-more:hover .arrow-icon {
  transform: translateX(4px);
}

/* Sharing */
.article-sharing {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sharing-label {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s ease;
}

.share-link:hover {
  color: #2563eb;
}

.share-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  z-index: 1000;
}

.toast-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
}

.pagination-link,
.pagination-number {
  padding: 0.5rem 1rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: transparent;
  cursor: pointer;
}

.pagination-link:hover:not(.disabled),
.pagination-number:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.pagination-number.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.pagination-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .insights-header {
    padding: 4rem 0 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .container-narrow {
    padding: 0 1.5rem;
  }

  .article-list {
    gap: 2rem;
  }

  .article-item {
    padding-bottom: 2rem;
  }

  .article-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-sharing {
    width: 100%;
  }

  .toast-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
  }
}

/* Helper Classes for Icons */
.w-4,
svg.w-4 {
  width: 1rem !important;
  max-width: 1rem;
}

.h-4,
svg.h-4 {
  height: 1rem !important;
  max-height: 1rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

/* ==============================================
   BLOG POST PAGE STYLES
   ============================================== */

/* Prose styling for blog content */
.prose {
  color: #374151;
  max-width: 65ch;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}

.prose-primary {
  --tw-prose-body: #374151;
  --tw-prose-headings: #0f172a;
  --tw-prose-links: #2563eb;
  --tw-prose-bold: #0f172a;
  --tw-prose-code: #0f172a;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
  font-family: 'Space Grotesk', sans-serif;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 1.5em;
}

.prose h3 {
  font-size: 1.375rem;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose a {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose strong {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose code {
  color: var(--tw-prose-code);
  background: #f1f5f9;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: 'Monaco', 'Courier New', monospace;
}

.prose pre {
  background: #0f172a;
  color: #e2e8f0;
  overflow-x: auto;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.prose ul,
.prose ol {
  padding-left: 1.625em;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose blockquote {
  border-left: 4px solid #e2e8f0;
  padding-left: 1.5rem;
  font-style: italic;
  color: #64748b;
  margin: 1.5rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th,
.prose td {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  text-align: left;
}

.prose th {
  background: #f8fafc;
  font-weight: 600;
}

/* Background gradients */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-gray-50 {
  --tw-gradient-from: #f9fafb;
  --tw-gradient-stops: var(--tw-gradient-from),
    var(--tw-gradient-to, rgb(249 250 251 / 0));
}

.to-white {
  --tw-gradient-to: #ffffff;
}

/* Layout utilities */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Font heading utility */
.font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Rounded utilities */
.rounded-b-xl {
  border-bottom-right-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}

/* ==============================================
   TAILWIND-LIKE UTILITY CLASSES
   ============================================== */

/* Background colors */
.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-white {
  background-color: #ffffff;
}

.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-primary-100 {
  background-color: #dbeafe;
}

/* Text colors */
.text-gray-600 {
  color: #4b5563;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.text-primary-800 {
  color: #1e40af;
}

.text-primary-600 {
  color: #2563eb;
}

/* Border */
.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-primary-100 {
  border-color: #dbeafe;
}

/* Spacing - Padding */
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Spacing - Margin */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* Flexbox */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.gap-2 {
  gap: 0.5rem;
}

/* Display */
.hidden {
  display: none;
}

/* Position */
.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

/* Z-index */
.z-50 {
  z-index: 50;
}

/* Shadow */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Backdrop blur */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

/* Text size */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

/* Font weight */
.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Border radius */
.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

/* Transitions */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover states */
.hover\:text-primary-600:hover {
  color: #2563eb;
}

.hover\:bg-blue-600:hover {
  background-color: #2563eb;
}

.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}

/* Focus states */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:text-primary-600:focus {
  color: #2563eb;
}

/* Line height */
.leading-relaxed {
  line-height: 1.625;
}

/* Max width */
.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-none {
  max-width: none;
}

/* Width utilities */
.w-full {
  width: 100%;
}

.w-6 {
  width: 1.5rem;
}

/* Height utilities */
.h-64 {
  height: 16rem;
}

/* Object fit */
.object-cover {
  object-fit: cover;
}

.object-center {
  object-position: center;
}

/* Responsive utilities */
@media (min-width: 1024px) {
  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .lg\:h-96 {
    height: 24rem;
  }
}

/* ==============================================
   ENTERPRISE ARTICLE PAGE STYLES
   ============================================== */

/* Article Breadcrumb */
.article-breadcrumb {
  max-width: 800px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  font-size: 0.875rem;
  color: #64748b;
}

.article-breadcrumb a {
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover {
  color: #2563eb;
}

.article-breadcrumb .separator {
  margin: 0 0.5rem;
  color: #cbd5e1;
}

.article-breadcrumb .current {
  color: #0f172a;
}

/* Article Header */
.article-header {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 3rem 0 3rem;
  margin-bottom: 3rem;
}

.article-header-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Category Badge */
.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.category-icon {
  width: 16px;
  height: 16px;
}

/* Article Title */
.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
}

/* Article Metadata */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-icon {
  width: 18px;
  height: 18px;
  color: #64748b;
}

.meta-label {
  color: #64748b;
}

.meta-value {
  font-weight: 500;
  color: #0f172a;
}

/* Article Sharing in Header */
.article-sharing {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.article-sharing .sharing-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.share-button:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.share-linkedin:hover {
  border-color: #0a66c2;
  color: #0a66c2;
  background: #eff6ff;
}

.share-icon {
  width: 18px;
  height: 18px;
}

/* Article Content */
.article-content {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

/* Strategic Conclusion */
.article-conclusion {
  max-width: 800px;
  margin: 4rem auto 3rem;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 8px;
  border-top: 3px solid #2563eb;
}

.conclusion-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.conclusion-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 1.5rem;
}

.conclusion-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.cta-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Author Expertise Block */
.author-expertise {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.expertise-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.expertise-text p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1rem;
}

.expertise-credentials {
  color: #1e293b !important;
  font-size: 0.9375rem;
}

.expertise-linkedin {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.linkedin-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #0a66c2;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}

.linkedin-button:hover {
  background: #004182;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
}

/* Final CTA Section */
.article-cta {
  max-width: 800px;
  margin: 4rem auto 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 8px;
  text-align: center;
}

.cta-heading {
  font-size: 1.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

.cta-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-primary {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.cta-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #475569;
}

.cta-secondary:hover {
  border-color: #cbd5e1;
  background: rgba(255, 255, 255, 0.1);
}

.cta-icon {
  width: 18px;
  height: 18px;
}

/* Callout Components */
.callout {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid;
}

.callout-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.callout-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.callout-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.callout-content {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.callout-content p:last-child {
  margin-bottom: 0;
}

/* Insight Callout (Blue) */
.callout-insight {
  background: #eff6ff;
  border-color: #2563eb;
}

.callout-insight .callout-icon {
  color: #2563eb;
}

.callout-insight .callout-title {
  color: #1e40af;
}

.callout-insight .callout-content {
  color: #475569;
}

/* Best Practice Callout (Green) */
.callout-practice {
  background: #f0fdf4;
  border-color: #10b981;
}

.callout-practice .callout-icon {
  color: #10b981;
}

.callout-practice .callout-title {
  color: #047857;
}

.callout-practice .callout-content {
  color: #475569;
}

/* Warning Callout (Amber) */
.callout-warning {
  background: #fffbeb;
  border-color: #f59e0b;
}

.callout-warning .callout-icon {
  color: #f59e0b;
}

.callout-warning .callout-title {
  color: #d97706;
}

.callout-warning .callout-content {
  color: #475569;
}

/* Responsive Article Styles */
@media (max-width: 768px) {
  .article-title {
    font-size: 1.875rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .article-sharing {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.75rem;
  }

  .share-button {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .article-header {
    padding: 2rem 0;
  }

  .article-breadcrumb {
    margin-top: 1rem;
  }
}

/* ========================================
   TECHNICAL ARTICLE STYLES - Wide Professional Layout
   ======================================== */

/* Article Container - Wide Layout */
.tech-article {
  background: #ffffff;
  min-height: 100vh;
}

.article-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

/* Breadcrumb - Minimal */
.breadcrumb {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #0f172a;
}

.breadcrumb .separator {
  color: #cbd5e1;
  font-weight: 300;
}

/* Article Header - Clean & Professional */
.article-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
}

.category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #2563eb;
  background: #eff6ff;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

/* Article Meta - Inline & Minimal */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.meta-item svg {
  opacity: 0.7;
}

.meta-separator {
  color: #cbd5e1;
  font-weight: 300;
}

/* Article Sharing - Minimal Buttons */
.article-sharing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #64748b;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.share-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.share-btn svg {
  flex-shrink: 0;
}

/* Article Content - Wide with Code Support */
.article-content {
  max-width: 900px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #334155;
}

.article-content > * + * {
  margin-top: 1.5rem;
}

.article-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.article-content h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content strong {
  font-weight: 600;
  color: #1e293b;
}

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

.article-content li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.article-content a {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-color: #93c5fd;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.article-content a:hover {
  color: #1d4ed8;
  text-decoration-color: #2563eb;
}

.article-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 3rem 0;
}

/* Code Blocks - Professional Dark Theme */
.article-content code {
  font-family: "Fira Code", "Consolas", "Monaco", "Courier New", monospace;
  font-size: 0.9em;
  background: #1e293b;
  color: #e2e8f0;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-weight: 400;
}

.article-content pre {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
}

.article-content pre code {
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #e2e8f0;
  display: block;
  white-space: pre;
}

/* Syntax Highlighting - Manual Colors */
.article-content pre code .comment {
  color: #64748b;
  font-style: italic;
}

.article-content pre code .keyword {
  color: #c792ea;
  font-weight: 500;
}

.article-content pre code .string {
  color: #c3e88d;
}

.article-content pre code .number {
  color: #f78c6c;
}

.article-content pre code .function {
  color: #82aaff;
}

.article-content pre code .variable {
  color: #eeffff;
}

/* Code Block Copy Button */
.code-block-wrapper {
  position: relative;
}

.copy-code-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #334155;
  border: 1px solid #475569;
  color: #cbd5e1;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}

.copy-code-btn:hover {
  background: #475569;
  border-color: #64748b;
  color: #f1f5f9;
}

/* Inline Code in Lists */
.article-content li code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.15em 0.3em;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Blockquotes */
.article-content blockquote {
  border-left: 4px solid #2563eb;
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: #475569;
  font-style: italic;
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
}

/* Tables */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.article-content th {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #0f172a;
}

.article-content td {
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
}

.article-content tr:hover {
  background: #f8fafc;
}

/* Article Footer - Author & CTA */
.article-footer {
  max-width: 900px;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid #e2e8f0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.author-box,
.cta-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 2rem;
}

.author-box h3,
.cta-box h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
}

.author-box p,
.cta-box p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.5rem;
}

.linkedin-link,
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
}

.linkedin-link:hover,
.cta-button:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.linkedin-link svg,
.cta-button svg {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-container {
    padding: 2rem;
  }

  .article-title {
    font-size: 2.25rem;
  }

  .article-content {
    font-size: 1rem;
  }

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

@media (max-width: 768px) {
  .article-container {
    padding: 1.5rem;
  }

  .article-title {
    font-size: 1.875rem;
  }

  .article-meta {
    font-size: 0.8125rem;
  }

  .article-sharing {
    flex-wrap: wrap;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-content h3 {
    font-size: 1.25rem;
  }

  .article-content pre {
    padding: 1rem;
    border-radius: 6px;
  }

  .article-content pre code {
    font-size: 0.8125rem;
  }
}
