:root {
  --primary-blue: #0091d2;
  --primary-dark: #007bb5;
  --text-dark: #1a1a2e;
  --text-gray: #4a4a68;
  --text-light: #6b6b80;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e8eef3;
  --dot-blue: #0091d2;
  --dot-light: #d4e8f2;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

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

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

nav {
  display: flex;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  z-index: 200;
  padding: 80px 24px 24px;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav a:hover {
  color: var(--primary-blue);
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--text-dark);
  cursor: pointer;
}

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #f0f6fa 0%, #f8fbfd 100%);
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--text-dark);
}

.hero-content h1 .highlight {
  color: var(--primary-blue);
}

.hero-checklist {
  margin-bottom: 32px;
}

.hero-checklist .check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-gray);
}

.hero-checklist .check-item img,
.hero-checklist .check-item i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  color: var(--primary-blue);
}

.cta-button {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 14px 28px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

.dot-pattern {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(6, 8px);
  gap: 8px;
}

.dot-pattern.top-left {
  top: 60px;
  left: 60px;
}

.dot-pattern.top-right {
  top: 60px;
  right: 120px;
}

.dot-pattern.bottom-right {
  bottom: 40px;
  right: 60px;
}

.dot-pattern .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot-light);
}

.dot-pattern .dot.active {
  background: var(--primary-blue);
}

.section-divider {
  height: 60px;
  background: var(--bg-white);
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.expertise-section {
  padding: 80px 0;
  background: var(--bg-white);
}

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

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header .subtitle {
  color: var(--text-light);
  font-size: 15px;
}

.expertise-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.expertise-block.reverse {
  direction: rtl;
}

.expertise-block.reverse > * {
  direction: ltr;
}

.expertise-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.expertise-list {
  list-style: none;
}

.expertise-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.expertise-list li img,
.expertise-list li i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-blue);
}

.expertise-list li strong {
  color: var(--text-dark);
}

.expertise-list li span {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.5;
}

.expertise-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.why-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.why-card {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.why-card img,
.why-card .why-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.why-icon {
  background: #e8f4fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 28px;
  color: var(--primary-blue);
}

.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.why-card p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

.faq-section {
  padding: 80px 0;
  background: var(--bg-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--primary-blue);
}

.faq-question .icon {
  font-size: 24px;
  color: var(--primary-blue);
  transition: transform 0.3s;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.ready-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.ready-steps {
  max-width: 700px;
  margin: 0 auto 40px;
}

.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.step-item img,
.step-item i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-blue);
}

.step-item p {
  font-size: 16px;
  color: var(--text-gray);
}

.step-item strong {
  color: var(--text-dark);
}

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

.ready-cta .cta-button {
  margin: 0 12px;
}

footer {
  padding: 40px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  text-align: center;
}

footer p {
  color: var(--text-light);
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 145, 210, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-checklist {
    display: inline-block;
    text-align: left;
  }

  .hero-image {
    order: -1;
  }

  .expertise-block,
  .expertise-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .expertise-image {
    order: -1;
  }

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

  nav {
    display: none;
  }

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

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .dot-pattern {
    display: none;
  }
}

/* ==========================================
   ADDITIONAL STYLES FOR SPA
   ========================================== */

/* Content Pages */
.content-page,
.case-study-page,
.resource-page,
.legal-page {
  padding: 120px 0 80px;
  min-height: 60vh;
}

.content-header {
  margin-bottom: 40px;
}

.content-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
}

.content-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4 {
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-body h2 {
  font-size: 24px;
  color: var(--primary-blue);
}

.content-body h3 {
  font-size: 20px;
}

.content-body p {
  margin-bottom: 16px;
}

.content-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.content-body a {
  color: var(--primary-blue);
  text-decoration: none;
}

.content-body a:hover {
  text-decoration: underline;
}

.content-body ul,
.content-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.content-body li {
  margin-bottom: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
}

.back-link:hover {
  text-decoration: underline;
}

/* Case Study List */
.case-study-list-section,
.resources-section,
.not-found-section {
  padding: 120px 0 80px;
  min-height: 60vh;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.case-study-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary-blue);
  border-radius: 8px;
  padding: 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.case-study-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-study-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.case-study-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-study-card .card-link {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Contact Section */
.contact-section {
  padding: 120px 0 80px;
  min-height: 60vh;
}

.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Custom Contact Form */
.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

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

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group label .required {
  color: #e53e3e;
}

.form-group label .optional {
  color: var(--text-gray);
  font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0aec0;
}

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

/* Honeypot field - hidden from humans */
.form-field-honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Turnstile container */
.turnstile-container {
  display: flex;
  justify-content: center;
  min-height: 65px;
}

/* Submit button */
.contact-form .btn-large {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.contact-form .btn-loading i {
  margin-right: 8px;
}

/* Form messages */
.form-message {
  margin-top: 16px;
  padding: 0;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.form-message.success {
  padding: 16px;
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #276749;
}

.form-message.error {
  padding: 16px;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 24px;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
}

/* Contact CTA (Google Form Link - kept for other CTAs) */
.contact-cta-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 60px 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-blue), #0077b6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 32px;
  color: white;
}

.contact-info h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-info .cta-button i {
  font-size: 14px;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-form label .required {
  color: #d32f2f;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 145, 210, 0.1);
}

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

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.submit-btn.loading .spinner {
  display: block;
}

.submit-btn.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  display: none;
  background: #ffebee;
  color: #c62828;
  padding: 14px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

.error-message.show {
  display: block;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-message.show {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: white;
}

.success-message h2 {
  color: var(--text-dark);
  margin-bottom: 12px;
}

.success-message p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

/* Section header h1 support */
.section-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

/* Nav link active state */
nav a.active {
  color: var(--primary-blue);
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .case-study-grid {
    grid-template-columns: 1fr;
  }
  
  .content-page,
  .case-study-page,
  .resource-page,
  .legal-page,
  .case-study-list-section,
  .resources-section,
  .contact-section {
    padding: 100px 0 60px;
  }
}

/* ==========================================
   USE CASES PAGE - INDUSTRY ACCORDIONS
   ========================================== */

.use-cases-page {
  padding-bottom: 80px;
}

.use-cases-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #f0f6fa 0%, #f8fbfd 100%);
  position: relative;
  overflow: hidden;
}

.use-cases-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.use-cases-hero-content .tag {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.use-cases-hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.use-cases-hero-content h1 .highlight {
  color: var(--primary-blue);
}

.use-cases-hero-content .intro {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.use-cases-hero-content .bullet-list {
  margin-bottom: 24px;
}

.use-cases-hero-content .bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

.use-cases-hero-content .bullet-item img,
.use-cases-hero-content .bullet-item i {
  width: 18px;
  height: 18px;
  font-size: 16px;
  color: var(--primary-blue);
}

.use-cases-hero-image img {
  max-width: 100%;
  height: auto;
}

/* Industry Accordions */
.industry-accordions {
  padding: 60px 0;
}

.industry-accordion {
  margin-bottom: 8px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}

.industry-accordion-header {
  width: 100%;
  background: var(--primary-blue);
  color: white;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  transition: background 0.2s;
}

.industry-accordion-header:hover {
  background: var(--primary-dark);
}

.industry-accordion.collapsed .industry-accordion-header {
  background: var(--bg-white);
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}

.industry-accordion.collapsed .industry-accordion-header:hover {
  background: var(--bg-light);
}

.industry-accordion-header .chevron {
  font-size: 20px;
  transition: transform 0.3s;
}

.industry-accordion.collapsed .industry-accordion-header .chevron {
  transform: rotate(0deg);
}

.industry-accordion:not(.collapsed) .industry-accordion-header .chevron {
  transform: rotate(180deg);
}

.industry-accordion-content {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: var(--bg-white);
}

.industry-accordion.collapsed .industry-accordion-content {
  max-height: 0;
}

.industry-accordion-inner {
  padding: 32px 24px;
}

/* Capability Categories */
.capability-category {
  margin-bottom: 40px;
}

.capability-category:last-child {
  margin-bottom: 0;
}

.capability-category h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.capability-category .category-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.capability-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f4fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.capability-card .icon-circle img,
.capability-card .icon-circle i {
  width: 24px;
  height: 24px;
  font-size: 20px;
  color: var(--primary-blue);
}

.capability-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.capability-card p {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

.accordion-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 992px) {
  .use-cases-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .use-cases-hero-content .bullet-list {
    display: inline-block;
    text-align: left;
  }
  
  .use-cases-hero-image {
    order: -1;
  }
  
  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .use-cases-hero-content h1 {
    font-size: 28px;
  }
  
  .capability-grid {
    grid-template-columns: 1fr;
  }
  
  .industry-accordion-header {
    font-size: 16px;
    padding: 16px 20px;
  }
  
  .industry-accordion-inner {
    padding: 24px 20px;
  }
}

/* ==========================================
   BLOG PAGE
   ========================================== */
.blog-page {
  padding: 120px 0 80px;
  background: var(--bg-light);
  min-height: 100vh;
}

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

.blog-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.category-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-tag {
  background: var(--primary-blue);
  color: white;
}

.cv-tag {
  background: #e8f4fc;
  color: var(--primary-blue);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
}

.blog-card-content .category-tag {
  margin-bottom: 12px;
}

.blog-card-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-content h3 a:hover {
  color: var(--primary-blue);
}

.blog-excerpt {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.blog-meta .blog-author {
  margin-right: 12px;
}

.read-more, .learn-more {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.read-more:hover, .learn-more:hover {
  gap: 10px;
}

/* ==========================================
   WORK PAGE
   ========================================== */
.work-page {
  padding: 120px 0 80px;
  background: var(--bg-light);
  min-height: 100vh;
}

.work-header {
  text-align: center;
  margin-bottom: 40px;
}

.work-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.work-subtitle {
  font-size: 18px;
  color: var(--text-gray);
}

.work-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.work-tab {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: white;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

a.work-tab {
  text-decoration: none;
}

.work-tab:hover {
  background: #e8f4fc;
  color: var(--primary-blue);
}

.work-tab.active {
  background: var(--primary-blue);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 20px;
}

.project-content .category-tag {
  margin-bottom: 12px;
}

.project-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.project-content h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.project-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ==========================================
   CASE STUDY DETAIL HERO
   ========================================== */
.work-detail-page {
  padding: 0;
  background: var(--bg-light);
}

.case-study-hero {
  background: linear-gradient(135deg, #f0f7fc 0%, #e8f4fc 50%, #f8fafc 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.case-study-hero .dot-pattern {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  opacity: 0.6;
}

.case-study-hero .dot-pattern.top-left {
  top: 100px;
  left: 40px;
}

.case-study-hero .dot-pattern.top-right {
  top: 100px;
  right: 40px;
}

.case-study-hero .dot-pattern .dot {
  width: 6px;
  height: 6px;
  background: var(--dot-light);
  border-radius: 50%;
}

.case-study-hero .dot-pattern .dot.active {
  background: var(--dot-blue);
}

.case-study-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  transition: gap 0.2s;
}

.breadcrumb-link:hover {
  gap: 12px;
}

.case-study-hero-content .category-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.case-study-hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto;
}

.work-detail-page .work-body-detail {
  padding: 40px 0 80px;
}

.work-detail-page .detail-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.work-detail-page .detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.work-detail-page .pdf-row {
  margin-bottom: 24px;
}

.work-detail-page .detail-subtitle {
  font-size: 18px;
  color: var(--primary-blue);
  margin-bottom: 24px;
}

.work-detail-page .detail-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.work-detail-page .detail-footer {
  text-align: center;
  padding: 20px 0;
}

@media (max-width: 768px) {
  .case-study-hero {
    padding: 100px 0 40px;
  }
  
  .case-study-hero-content h1 {
    font-size: 26px;
  }
  
  .case-study-hero .dot-pattern {
    display: none;
  }
  
  .work-detail-page .detail-content {
    padding: 24px;
  }
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-page {
  padding: 120px 0 80px;
  background: var(--bg-white);
}

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

.about-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px;
  background: var(--bg-light);
  border-radius: 16px;
}

.about-intro-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.about-headline {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.6;
}

.about-bullets li img,
.about-bullets li i {
  width: 20px;
  height: 20px;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--primary-blue);
}

.about-intro-image {
  text-align: center;
}

.about-intro-image img {
  max-width: 100%;
  height: auto;
  max-height: 300px;
}

.about-transition {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
  font-size: 16px;
  color: var(--text-gray);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about-feature-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.feature-icon img,
.feature-icon i {
  width: 32px;
  height: 32px;
  font-size: 28px;
  color: var(--primary-blue);
}

.feature-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-content p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

.about-closing {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
}

.about-closing p {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page {
  padding: 100px 0 80px;
  background: var(--bg-light);
  min-height: 100vh;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.esided-logo-header {
  margin-bottom: 24px;
}

.esided-logo-header img {
  height: 40px;
}

.contact-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-container h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-form-container > p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group .required {
  color: #e53935;
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 145, 210, 0.1);
}

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

.form-actions {
  margin-top: 8px;
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.form-message.sending {
  background: #e3f2fd;
  color: #1565c0;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
}

/* ==========================================
   RESPONSIVE - BLOG
   ========================================== */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-header h1 {
    font-size: 32px;
  }
}

/* ==========================================
   RESPONSIVE - WORK
   ========================================== */
@media (max-width: 992px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .work-header h1 {
    font-size: 32px;
  }
  
  .work-tabs {
    gap: 8px;
  }
  
  .work-tab {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ==========================================
   RESPONSIVE - ABOUT
   ========================================== */
@media (max-width: 992px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .about-intro-image {
    order: -1;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-header h1 {
    font-size: 32px;
  }
  
  .about-intro {
    padding: 24px;
  }
  
  .about-feature-card {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto;
  }
}

/* ==========================================
   RESPONSIVE - CONTACT
   ========================================== */
@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 28px;
  }
  
  .contact-form-container {
    padding: 24px;
    margin: 0 16px;
  }
  
  .contact-form-container h2 {
    font-size: 24px;
  }
}

/* ==========================================
   CASE STUDY DETAIL PAGE
   ========================================== */
.case-study-detail {
  padding-bottom: 80px;
}

/* Case study hero styles now in post.css */

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-blue);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-left: 16px;
  transition: background 0.2s;
}

.pdf-download-btn:hover {
  background: var(--primary-dark);
}

.case-study-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.case-study-detail .container {
  padding-top: 40px;
}

.case-study-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}

.case-study-detail .back-link:hover {
  gap: 12px;
}

.case-study-header {
  margin-bottom: 40px;
}

.case-study-header .category-tag {
  margin-bottom: 16px;
}

.case-study-header h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.case-study-header h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary-blue);
}

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

.case-study-content h4,
.case-study-content .cs-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 16px;
}

.case-study-content h4:first-child {
  margin-top: 0;
}

.case-study-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.case-study-content ul {
  margin: 16px 0 24px 24px;
  padding: 0;
}

.case-study-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.case-study-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

.case-study-content strong {
  color: var(--text-dark);
}

.case-study-cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-light);
  border-radius: 16px;
  text-align: center;
}

.case-study-cta p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

/* ==========================================
   CASE STUDY DETAIL (within Work page)
   ========================================== */
.work-body {
  animation: fadeIn 0.3s ease;
}

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

.work-body-detail {
  max-width: 800px;
  margin: 0 auto;
}

.work-body-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}

.work-body-detail .back-link:hover {
  gap: 12px;
}

.pdf-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dc3545;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid #dc3545;
  border-radius: 6px;
  transition: all 0.2s;
}

.pdf-download-link:hover {
  background: #dc3545;
  color: white;
}

.pdf-download-link i {
  font-size: 16px;
}

.work-tabs.tabs-inactive {
  opacity: 0.5;
  pointer-events: none;
}

.blog-body {
  animation: fadeIn 0.3s ease;
}

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

.blog-body-detail .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}

.blog-body-detail .back-link:hover {
  gap: 12px;
}

.blog-body-detail .blog-meta {
  margin-top: 8px;
  color: var(--text-light);
  font-size: 14px;
}

.case-study-detail-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.case-study-detail-section .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}

.case-study-detail-section .back-link:hover {
  gap: 12px;
}

.detail-image {
  width: 100%;
  margin: 0 auto 32px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-light);
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-header {
  text-align: center;
  margin-bottom: 32px;
}

.detail-header .category-tag {
  margin-bottom: 16px;
}

.detail-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 8px;
}

.detail-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary-blue);
  margin: 0;
}

.detail-content {
  margin-bottom: 40px;
}

.detail-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 28px 0 12px;
}

.detail-content h4:first-child {
  margin-top: 0;
}

.detail-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.detail-content ul {
  margin: 12px 0 16px 20px;
  padding: 0;
}

.detail-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.detail-content img,
.detail-content svg,
.detail-content .mermaid,
.detail-content pre {
  display: none;
}

.detail-footer {
  text-align: center;
  padding: 32px;
  background: var(--bg-light);
  border-radius: 12px;
}

.detail-footer .cta-button {
  margin-bottom: 16px;
}

.pdf-link-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.pdf-link-small:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .detail-image {
    max-width: 100%;
  }
  
  .detail-header h2 {
    font-size: 24px;
  }
}

/* ==========================================
   RESPONSIVE - CASE STUDY DETAIL
   ========================================== */
@media (max-width: 768px) {
  .case-study-header h1 {
    font-size: 28px;
  }
  
  .case-study-header h2 {
    font-size: 18px;
  }
  
  .case-study-content h4 {
    font-size: 18px;
  }
  
  .case-study-content p,
  .case-study-content li {
    font-size: 15px;
  }
}

/* ==========================================
   CONTACT PAGE V2 - POLISHED DESIGN
   ========================================== */

.contact-v2-page {
  padding-bottom: 80px;
}

/* Hero Section - Compact */
.contact-v2-hero {
  padding: 100px 0 0;
  background: linear-gradient(180deg, #f0f6fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-v2-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.contact-v2-hero-content .tag {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-v2-hero-content h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
  color: var(--text-dark);
}

.contact-v2-hero-content h1 .highlight {
  color: var(--primary-blue);
}

.contact-v2-hero-content .intro {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* Main Content Section */
.contact-v2-main {
  padding: 24px 0 60px;
  background: #ffffff;
}

.contact-v2-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-v2-centered {
  max-width: 640px;
  margin: 0 auto;
}

/* Form Card */
.contact-v2-form-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.form-header {
  text-align: center;
  margin-bottom: 36px;
}

.form-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-blue), #0077b6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: white;
}

.form-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-gray);
  font-size: 15px;
}

/* Form Styles */
.contact-form-v2 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-v2 {
  margin-bottom: 24px;
}

.form-group-v2 label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 14px;
}

.form-group-v2 label i {
  color: var(--primary-blue);
  font-size: 14px;
}

.form-group-v2 label .required {
  color: #e53e3e;
}

.form-group-v2 label .optional {
  color: var(--text-light);
  font-weight: 400;
}

.form-group-v2 input,
.form-group-v2 textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-group-v2 input:focus,
.form-group-v2 textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 145, 210, 0.1);
}

.form-group-v2 input::placeholder,
.form-group-v2 textarea::placeholder {
  color: #a0aec0;
}

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

.turnstile-container-v2 {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* Submit Button V2 */
.submit-btn-v2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-blue), #0077b6);
  color: white;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.submit-btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 145, 210, 0.3);
}

.submit-btn-v2:active {
  transform: translateY(0);
}

.submit-btn-v2:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn-v2 .btn-text i {
  margin-right: 4px;
}

/* Form Messages V2 */
.form-message-v2 {
  margin-top: 20px;
  padding: 0;
  border-radius: 12px;
  font-size: 15px;
  text-align: center;
}

.form-message-v2.success {
  padding: 16px 20px;
  background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
  border: 1px solid #9ae6b4;
  color: #276749;
}

.form-message-v2.error {
  padding: 16px 20px;
  background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
  border: 1px solid #feb2b2;
  color: #c53030;
}

.form-message-v2 i {
  margin-right: 8px;
}

/* Right Side Info Cards */
.contact-v2-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e6f4ff 0%, #d4e8f2 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, #f0f6fa 0%, #e6f4ff 100%);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 1px solid #d4e8f2;
}

.cta-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.cta-card p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.cta-card .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-card .cta-button i {
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-v2-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-v2-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .cta-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .contact-v2-hero {
    padding: 120px 0 50px;
  }
  
  .contact-v2-hero-content h1 {
    font-size: 32px;
  }
  
  .contact-v2-form-card {
    padding: 32px 24px;
  }
  
  .contact-form-v2 .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-v2-info {
    grid-template-columns: 1fr;
  }
  
  .cta-card {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .contact-v2-hero-content h1 {
    font-size: 28px;
  }
  
  .contact-v2-hero-content .intro {
    font-size: 16px;
  }
  
  .form-header h2 {
    font-size: 20px;
  }
}

/* ==========================================
   ROI CALCULATOR PAGE - React Islands Demo
   ========================================== */

.roi-calculator-page {
  padding-bottom: 80px;
}

.roi-hero {
  padding: 120px 0 40px;
  background: linear-gradient(180deg, #f0f6fa 0%, #ffffff 100%);
  text-align: center;
}

.roi-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.roi-hero-content .tag {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.roi-hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.roi-hero-content h1 .highlight {
  color: var(--primary-blue);
}

.roi-hero-content .intro {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.5;
}

.roi-main {
  padding: 40px 0;
}

.roi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.roi-scenario {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 32px;
}

.roi-scenario h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roi-scenario h3 i {
  color: var(--primary-blue);
}

.roi-scenario p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.pain-points {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
}

.pain-point i {
  color: #e53e3e;
  font-size: 16px;
}

.roi-widget-container {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.widget-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-gray);
}

.widget-loading i {
  font-size: 24px;
  margin-bottom: 12px;
  display: block;
  color: var(--primary-blue);
}

/* React Widget Styles */
.roi-widget h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.roi-inputs {
  margin-bottom: 32px;
}

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

.input-group label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.label-text {
  color: var(--text-gray);
}

.label-value {
  font-weight: 600;
  color: var(--primary-blue);
}

.input-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 145, 210, 0.3);
}

.input-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  border: none;
}

.roi-results h3 {
  margin-bottom: 16px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.result-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.result-card.highlight {
  background: linear-gradient(135deg, var(--primary-blue), #0077b6);
  color: white;
}

.result-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.result-card.highlight .result-value {
  color: white;
}

.result-label {
  font-size: 13px;
  color: var(--text-gray);
}

.result-card.highlight .result-label {
  color: rgba(255, 255, 255, 0.9);
}

.roi-summary {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

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

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
}

.stat-label {
  font-size: 13px;
  color: var(--text-gray);
}

.react-islands-note {
  margin-top: 40px;
  padding: 24px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
}

.react-islands-note h4 {
  font-size: 14px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.react-islands-note h4 i {
  color: #f59e0b;
}

.react-islands-note p {
  font-size: 14px;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .roi-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .roi-hero {
    padding: 100px 0 30px;
  }
  
  .roi-hero-content h1 {
    font-size: 26px;
  }
  
  .result-grid {
    grid-template-columns: 1fr;
  }
  
  .roi-summary {
    flex-direction: column;
    gap: 20px;
  }
}

/* ========================================
   4-Column Dark Footer
   ======================================== */

.site-footer {
  background: #0a2540;
  color: white;
  padding: 60px 0 30px;
  border-top: none;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-col p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-follow-btn {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.footer-follow-btn:hover {
  background: var(--primary-dark);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s, transform 0.2s;
}

.footer-social-link:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.footer-social-link i {
  display: block;
}

.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding-top: 24px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* Hide dotted pattern decoration in hero section */
.hero .dot-pattern {
  display: none;
}

/* ========================================
   Contained Width Utilities (cw-*)
   Scoped layout utilities for blog/work pages
   Reversible: delete this block to revert
   ======================================== */

.cw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .cw-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.cw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .cw-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ========================================
   Shared Listing Page Styles
   Used by /blog and /work listing pages
   ======================================== */

/* Listing Hero */
.listing-hero {
  background: linear-gradient(180deg, #f0f6fa 0%, #f8fbfd 100%);
  padding: 60px 0 40px;
  text-align: center;
}

.listing-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.listing-hero .subtitle {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 auto;
}

/* Listing Section */
.listing-section {
  padding: 48px 0 80px;
  background: var(--bg-white);
}

/* Card Grid - 3/2/1 responsive columns */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Content Card */
.content-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Image */
.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

/* Card Body */
.card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card Title */
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Excerpt */
.card-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Meta */
.card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

/* Card CTA */
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
  transition: gap 0.2s;
}

.content-card:hover .card-cta {
  gap: 10px;
}

.card-cta i {
  font-size: 11px;
}

/* Chip Row */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.chip {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  background: #f1f5f9;
  color: #64748b;
  white-space: nowrap;
}

.chip-category {
  background: #e0f4fc;
  color: #0284c7;
  font-weight: 600;
}

.chip-tier {
  background: #f3e8ff;
  color: #7c3aed;
  font-weight: 600;
}

.chip-action {
  background: #f1f5f9;
  color: #475569;
}

/* Filter Section */
.filter-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
}

.filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill:hover {
  background: #e8f4fa;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}

.filter-pill.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}
