/* ==========================================================================
   ShantiLink Landing Page Styles
   Modern, professional CSS for Thai AI automation studio
   ========================================================================== */

/* CSS Custom Properties (Variables)
   ========================================================================== */
:root {
  /* Typography */
  --font-main: 'Noto Sans Thai', 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
  --letter-spacing-tight: -0.03em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.02em;
  
  /* Brand Colors */
  --primary: #2cd5c4;
  --primary-hover: #34e6d4;
  --primary-rgb: 44, 213, 196;
  --accent-yellow: #ffd23f;
  --accent-yellow-hover: #ffe173;
  --accent-orange: #ff6b2b;
  
  /* Background Colors */
  --bg-deep: #12151e;
  --bg-dark: #1a1f2b;
  --bg-card: #1f2937;
  --bg-card-hover: #252d3d;
  
  /* Text Colors */
  --text-light: #ffffff;
  --text-muted: #a9b1d6;
  --text-dark: #1a1f2b;
  
  /* Layout */
  --max-width: 1180px;
  --header-height: 72px;
  --section-spacing: 5rem;
  --section-spacing-mobile: 3rem;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 28px rgba(5, 12, 24, 0.25);
  --shadow-lg: 0 24px 60px rgba(12, 18, 33, 0.35);
  --shadow-button: 0 14px 34px rgba(var(--primary-rgb), 0.25);
  --shadow-button-yellow: 0 14px 34px rgba(255, 210, 63, 0.25);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 900;
  --z-fixed: 1000;
  --z-modal: 1100;
}

/* Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-muted);
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--line-height-tight);
  color: var(--text-light);
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

p {
  margin: 0 0 var(--space-sm);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style-position: outside;
  padding-left: var(--space-lg);
}

/* Accessibility
   ========================================================================== */
.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -48px;
  background: var(--primary);
  color: var(--bg-dark);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  z-index: var(--z-fixed);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-sm);
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.no-break {
  white-space: nowrap;
}

/* Layout Components
   ========================================================================== */
.container {
  width: min(100% - (var(--space-xl) * 2), var(--max-width));
  margin-inline: auto;
  padding-inline: var(--space-md);
}

main {
  position: relative;
  padding-top: var(--space-lg);
}

.section {
  position: relative;
  padding-block: var(--section-spacing);
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background: 
    radial-gradient(circle at top right, rgba(var(--primary-rgb), 0.18) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(255, 107, 43, 0.14) 0%, transparent 45%);
  z-index: 0;
}

.section .container {
  position: relative;
  z-index: var(--z-base);
}

/* Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(18, 21, 30, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-lg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  transition: transform var(--transition-fast);
}

.brand:hover {
  transform: scale(1.02);
}

/* Hero Banner Logo
   ========================================================================== */
.hero-banner {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.hero-banner-logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.brand:hover .brand-logo {
  transform: rotate(-5deg) scale(1.05);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  position: relative;
  color: var(--text-muted);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text-light);
}

.site-nav a:hover::after {
  width: 80%;
}

/* Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.875rem 1.75rem;
  font-weight: 600;
  font-size: var(--font-size-base);
  line-height: 1;
  letter-spacing: var(--letter-spacing-wide);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
  user-select: none;
}

.btn.primary {
  background: var(--primary);
  color: var(--bg-dark);
  box-shadow: var(--shadow-button);
}

.btn.primary:hover,
.btn.primary:focus {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(var(--primary-rgb), 0.35);
}

.btn.primary:active {
  transform: translateY(0);
  transition-duration: 100ms;
}

.btn.outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--text-light);
}

.btn.outline:hover,
.btn.outline:focus {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  transform: translateY(-2px);
}

.cta {
  background: var(--accent-yellow);
  color: var(--text-dark);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
  box-shadow: var(--shadow-button-yellow);
  transition: all var(--transition-base);
}

.cta:hover,
.cta:focus {
  background: var(--accent-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(255, 210, 63, 0.35);
}

/* Hero Section
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height));
  padding-bottom: var(--section-spacing);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  display: none;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease-out backwards;
}

.hero p {
  margin: 0 auto var(--space-md);
  font-size: var(--font-size-lg);
  max-width: 720px;
  line-height: var(--line-height-relaxed);
  word-break: keep-all;
  overflow-wrap: break-word;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-video {
  margin: var(--space-2xl) auto var(--space-xl);
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(var(--primary-rgb), 0.15);
  transition: all var(--transition-slow);
}

.video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(var(--primary-rgb), 0.3),
    0 0 60px rgba(var(--primary-rgb), 0.25);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-xl);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-note {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  max-width: 480px;
  line-height: var(--line-height-normal);
}

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

/* Section Layouts
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  max-width: 760px;
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.section-note {
  text-align: center;
  margin-top: var(--space-xl);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
}

.services-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .services-cta {
    flex-direction: column;
    width: 100%;
  }
  
  .services-cta .btn {
    width: 100%;
  }
}

/* Card Components
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.card {
  position: relative;
  background: rgba(31, 41, 55, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-slow);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover,
.card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.3);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  flex-grow: 1;
}

.card .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-yellow);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

/* Section Specific Styles
   ========================================================================== */
.problems {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  position: relative;
  overflow: hidden;
}

.problems::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.problems .container {
  position: relative;
  z-index: 1;
}

.problems-intro {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-2xl);
  max-width: 1200px;
  margin-inline: auto;
}

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

.problem-card {
  position: relative;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(31, 41, 55, 0.6) 100%);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 107, 43, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--transition-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-orange), rgba(255, 107, 43, 0.3));
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 43, 0.5);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 107, 43, 0.15);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.15), rgba(255, 107, 43, 0.05));
  border: 2px solid rgba(255, 107, 43, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.problem-card:hover .problem-icon {
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.25), rgba(255, 107, 43, 0.1));
  border-color: var(--accent-orange);
  transform: scale(1.1) rotate(-5deg);
}

.problem-icon i {
  font-size: 2rem;
  color: var(--accent-orange);
}

.problem-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.problem-content h3 {
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}

.problem-content > p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.problem-pain {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 107, 43, 0.08);
  border-left: 3px solid var(--accent-orange);
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.problem-pain i {
  color: var(--accent-orange);
  font-size: 1.125rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.problem-pain span {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: var(--line-height-normal);
}

/* Solution Box */
.solution-box {
  position: relative;
  background: linear-gradient(135deg, rgba(44, 213, 196, 0.12) 0%, rgba(44, 213, 196, 0.05) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  margin-block: var(--space-2xl);
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.12);
  max-width: 900px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .solution-box {
    flex-direction: column;
    text-align: center;
  }
  
  .solution-icon {
    margin-inline: auto;
  }
}

.solution-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
}

.solution-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.solution-icon i {
  font-size: 1.75rem;
  color: var(--bg-dark);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.4);
  }
}

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

.solution-content h3 {
  color: var(--text-light);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.solution-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: 0;
}

.solution-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: 0;
  background: transparent;
  border-radius: 0;
  transition: all var(--transition-base);
}

.solution-point:hover {
  transform: translateX(4px);
}

.solution-point i {
  color: var(--primary);
  font-size: 1.125rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.solution-point p {
  color: var(--text-muted);
  line-height: var(--line-height-normal);
  font-size: 0.9375rem;
  margin: 0;
}

.solution-point strong {
  color: var(--text-light);
  font-weight: 600;
}

/* Problems CTA */
.problems-cta {
  text-align: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin-inline: auto;
}

.problems-cta .btn {
  margin-bottom: var(--space-md);
}

.cta-subtext {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  margin: 0;
  font-style: italic;
  opacity: 0.9;
}

/* Half-Stack Section
   ========================================================================== */
.half-stack-intro {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Reality Box */
.reality-box {
  margin-block: var(--space-2xl);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.08) 0%, rgba(255, 107, 43, 0.03) 100%);
  border: 2px solid rgba(255, 107, 43, 0.2);
  border-left: 4px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.reality-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reality-icon i {
  font-size: 1.5rem;
  color: var(--bg-dark);
}

.reality-content {
  flex: 1;
}

.reality-content h3 {
  color: var(--accent-orange);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.reality-content p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-sm);
}

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

/* Principles */
.principles-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.principles-header h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 700;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

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

.principle-card {
  background: linear-gradient(135deg, rgba(44, 213, 196, 0.08) 0%, rgba(44, 213, 196, 0.03) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: all var(--transition-base);
}

.principle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.principle-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.principle-content h4 {
  color: var(--text-light);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.principle-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: var(--line-height-normal);
  margin: 0;
}

/* Key Message Box */
.key-message-box {
  background: linear-gradient(135deg, rgba(44, 213, 196, 0.15) 0%, rgba(44, 213, 196, 0.08) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.key-message-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.key-message-highlight {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.key-message-desc {
  color: var(--text-light);
  font-size: 1.125rem;
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Co-build Box */
.cobuild-box {
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.6) 0%, rgba(31, 41, 55, 0.4) 100%);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.cobuild-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--primary);
  color: var(--bg-dark);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.cobuild-badge i {
  font-size: 1.125rem;
}

.cobuild-content p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

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

.cobuild-result {
  color: var(--primary) !important;
  font-size: 1.0625rem;
}

.half-stack-cta {
  text-align: center;
}

/* Fastwork Reviews Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: var(--space-xl);
  margin-block: var(--space-2xl);
  max-width: 1200px;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.review-image-card {
  position: relative;
  background: rgba(31, 41, 55, 0.5);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: block;
  cursor: pointer;
}

.review-image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
}

.review-image-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.review-image-card:hover::before {
  opacity: 1;
}

.review-image-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.review-image-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Review Overlay */
.review-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.review-image-card:hover .review-overlay {
  opacity: 1;
  transform: translateY(0);
}

.review-overlay i {
  font-size: 2rem;
  color: var(--primary);
}

.review-overlay span {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Fastwork Stats */
.fastwork-stats {
  margin-block: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1200px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .fastwork-stats {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.08) 0%, rgba(var(--primary-rgb), 0.03) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.stat-item:hover {
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.4);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.stat-item:hover i {
  transform: scale(1.1);
}

.stat-item p {
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  margin: 0;
  font-size: 0.9375rem;
}

.stat-item strong {
  color: var(--text-light);
  font-weight: 600;
}

.fastwork-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Workflows Section
   ========================================================================== */

/* Workflows Intro */
.workflows-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-block: var(--space-2xl) var(--space-xl);
  padding: var(--space-lg);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1) 0%, rgba(var(--primary-rgb), 0.05) 100%);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.workflows-intro i {
  font-size: 1.75rem;
  color: var(--primary);
}

.workflows-intro h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--text-light);
  font-weight: 600;
}

/* Workflows Grid */
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

@media (max-width: 768px) {
  .workflows-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Workflow Card */
.workflow-card {
  position: relative;
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: rgba(31, 41, 55, 0.5);
  border: 2px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.workflow-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.2);
}

.workflow-card:hover::before {
  opacity: 1;
}

/* Workflow Number Badge */
.workflow-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: var(--bg-dark);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
  transition: transform var(--transition-base);
}

.workflow-card:hover .workflow-number {
  transform: scale(1.1) rotate(5deg);
}

/* Workflow Content */
.workflow-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.workflow-content h4 {
  margin: 0 0 var(--space-sm) 0;
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  color: var(--text-light);
  font-weight: 600;
  line-height: var(--line-height-tight);
}

.workflow-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: var(--line-height-relaxed);
  font-size: 0.9375rem;
}

/* Workflow Result */
.workflow-result {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.06) 100%);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
}

.workflow-result i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.workflow-result span {
  color: var(--text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: var(--line-height-normal);
}

/* Workflows Philosophy */
.workflows-philosophy {
  margin-block: var(--space-2xl);
  padding: var(--space-2xl);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15) 0%, rgba(var(--primary-rgb), 0.08) 100%);
  border: 2px solid rgba(var(--primary-rgb), 0.25);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.workflows-philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange), var(--primary));
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

.philosophy-content h3 {
  margin: 0 0 var(--space-md) 0;
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  color: var(--text-light);
  font-weight: 700;
}

.philosophy-content p {
  margin: 0 0 var(--space-sm) 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: var(--line-height-relaxed);
}

.philosophy-tagline {
  margin-top: var(--space-md) !important;
  font-size: clamp(1.125rem, 2.8vw, 1.375rem) !important;
  color: var(--text-light) !important;
  font-style: italic;
}

.philosophy-tagline strong {
  color: var(--primary);
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent-orange));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Workflows CTA */
.workflows-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* Contact Section
   ========================================================================== */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.contact-actions .btn i {
  margin-right: var(--space-xs);
  font-size: 1.125rem;
}

/* Footer
   ========================================================================== */
.site-footer {
  padding: var(--space-2xl) 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--font-size-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--space-2xl);
}

/* Responsive Design
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1024px) {
  :root {
    --header-height: 68px;
    --section-spacing: 4rem;
  }
  
  .container {
    width: min(100% - var(--space-xl), var(--max-width));
  }
}

/* Tablets */
@media (max-width: 960px) {
  .site-header .container {
    gap: var(--space-sm);
  }
  
  .site-nav {
    display: none;
  }
  
  .cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Devices */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --section-spacing: var(--section-spacing-mobile);
  }
  
  body {
    font-size: 15px;
  }
  
  .container {
    width: min(100% - (var(--space-md) * 2), var(--max-width));
    padding-inline: var(--space-sm);
  }
  
  .section {
    padding-block: var(--section-spacing-mobile);
  }
  
  .hero {
    padding-top: calc(var(--section-spacing-mobile) + var(--header-height));
    padding-bottom: var(--section-spacing-mobile);
    min-height: 90vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-video {
    margin: var(--space-xl) auto var(--space-lg);
    max-width: 100%;
  }
  
  .video-wrapper {
    border-radius: var(--radius-md);
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .card-grid {
    gap: var(--space-md);
  }
  
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .problem-card {
    padding: var(--space-lg);
  }
  
  .solution-box {
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    text-align: center;
  }
  
  .solution-icon {
    margin-inline: auto;
  }
}

/* Extra Small Devices */
@media (max-width: 420px) {
  .cta {
    display: none;
  }
  
  .brand-name {
    font-size: 1rem;
  }
  
  .hero-actions {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
