/* ============================================
   WEBGUIDE - Comprehensive Stylesheet
   Replaces all Tailwind CSS utilities + inline <style> blocks
   ============================================ */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f0fafb;
  --color-bg-tertiary: #e6f7f9;
  --color-text: #1a2b3c;
  --color-text-muted: #5a7184;
  --color-accent: #12c8dd;
  --color-accent-dark: #0ea8ba;
  --color-accent-light: #b8f0f7;
  --color-accent-glow: rgba(18, 200, 221, 0.15);
  --color-warm: #ff8c42;
  --color-warm-light: #fff3eb;
  --color-border: #dce8ec;
  --color-green: #34c78b;
  --color-purple: #7c6ef0;
}

/* ============================================
   2. RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Zen Maru Gothic', sans-serif;
}

.font-en {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
}

/* ============================================
   3. LOADER (index.html only)
   ============================================ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.loader-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
}

.loader-circle::before,
.loader-circle::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.loader-circle::before {
  inset: 0;
  border: 3px solid var(--color-accent-light);
  border-top-color: var(--color-accent);
  animation: loaderSpin 0.8s linear infinite;
}

.loader-circle::after {
  inset: 8px;
  border: 2px solid transparent;
  border-bottom-color: var(--color-warm);
  animation: loaderSpin 1.2s linear infinite reverse;
}

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

.loader-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  animation: loaderPulse 1.2s ease infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================
   4. SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   5. ORGANIC BLOBS
   ============================================ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  pointer-events: none;
}

.blob-animated {
  animation: blobFloat 12s ease-in-out infinite;
}

.blob-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ============================================
   6. NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(18, 200, 221, 0.08);
}

.navbar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo img {
  height: 2rem;
  width: auto;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.navbar-links a {
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: #12c8dd;
}

.navbar-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1.5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  color: white;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  transition: all 0.2s ease;
}

.navbar-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.navbar-mobile-btn {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hamburger */
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
#mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 1rem 1rem;
  padding: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

#mobile-menu.hidden {
  display: none;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
}

#mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-menu-list a {
  display: block;
  padding: 0.25rem 0;
}

.mobile-menu-cta {
  display: block;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

/* ============================================
   7. HERO (index.html)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-secondary) 60%, var(--color-bg-tertiary) 100%);
}

.hero-inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 8rem 1.25rem 5rem;
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

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

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.hero-float-card {
  position: absolute;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ============================================
   8. BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 9999px;
  color: white;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 8px 32px rgba(18, 200, 221, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #f9fafb;
}

/* ============================================
   9. SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}

.section-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Section numbers (index only) */
.section-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.08;
  position: absolute;
  top: -10px;
  left: -10px;
}

/* ============================================
   10. CONTAINERS
   ============================================ */
.container-lg {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-md {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-sm {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-xs {
  max-width: 42rem;
  margin: 0 auto;
}

/* ============================================
   11. GRID LAYOUTS
   ============================================ */
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

.grid-2-gap {
  display: grid;
  gap: 1.5rem;
}

.grid-3-gap {
  display: grid;
  gap: 2rem;
}

/* ============================================
   12. SERVICE CARDS (index)
   ============================================ */
.service-card {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(18, 200, 221, 0.12);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-warm));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
}

/* ============================================
   13. STRENGTH SECTION (index)
   ============================================ */
.strength-item {
  position: relative;
  text-align: center;
}

.strength-icon {
  display: inline-flex;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.strength-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.strength-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ============================================
   14. TARGET SECTION (index)
   ============================================ */
.target-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

/* Industry tags */
.industry-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: all 0.25s ease;
}

.industry-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-glow);
}

/* ============================================
   15. FLOW SECTION (index)
   ============================================ */
.flow-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.flow-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.flow-line {
  position: absolute;
  left: 31px;
  top: 64px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-light));
}

.flow-line-connector {
  flex: 1;
  width: 2px;
  margin-top: 0.75rem;
}

.flow-content {
  padding-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.flow-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.flow-content p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Stats counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating shapes animations */
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(3deg); }
}

/* ============================================
   16. BLOG CARDS
   ============================================ */
.blog-grid {
  display: grid;
  gap: 2rem;
}

.blog-card {
  /* container for article */
}

.blog-card-link {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.blog-card-link:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.group:hover .blog-card-thumb img,
.blog-card-link:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 9999px;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.375;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.group:hover .blog-card-title {
  color: var(--color-accent-dark);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   17. CATEGORY FILTER (blog.html)
   ============================================ */
.category-filter {
  padding: 2rem 0;
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.category-filter-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.category-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.category-btn:hover,
.category-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  background: var(--color-accent-glow);
}

/* ============================================
   18. PAGINATION (blog.html)
   ============================================ */
.pagination {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.pagination-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

/* ============================================
   19. BLOG DETAIL (blog-detail.html)
   ============================================ */

/* Article header */
.article-header {
  padding-top: 8rem;
  padding-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-secondary) 60%, var(--color-bg-tertiary) 100%);
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
  color: var(--color-text-muted);
}

.breadcrumb-list a {
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: #12c8dd;
}

/* Article meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

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

.article-author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

/* Eyecatch */
.eyecatch {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
}

.eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Article content section */
.article-content {
  padding-bottom: 4rem;
}

/* Article body */
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-accent);
  line-height: 1.5;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.article-body p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.article-body strong {
  color: var(--color-text);
  font-weight: 700;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: revert;
}

.article-body li {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.article-body img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2rem 0;
}

.article-body blockquote {
  border-left: 4px solid var(--color-accent-light);
  background: var(--color-bg-secondary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

.article-body blockquote p {
  margin-bottom: 0;
  font-style: italic;
}

/* Table styles for CMS content */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.article-body th, .article-body td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

.article-body th {
  background: var(--color-bg-secondary);
  font-weight: 700;
  color: var(--color-text);
}

.article-body td {
  color: var(--color-text-muted);
}

.article-body a {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.article-body a:hover {
  color: var(--color-accent);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.article-body pre {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Share section */
.share-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.share-section p {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}

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

/* ============================================
   20. CTA SECTION
   ============================================ */
.cta-bg {
  background: linear-gradient(135deg, var(--color-accent) 0%, #0ea8ba 50%, var(--color-purple) 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section {
  padding: 5rem 0;
}

.cta-inner {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  text-align: center;
  z-index: 10;
}

.cta-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1rem;
  color: white;
  opacity: 0.8;
  margin-bottom: 2.5rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 700;
  background: white;
  color: var(--color-accent-dark);
  transition: all 0.2s ease;
}

.cta-phone:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cta-note {
  font-size: 0.875rem;
  color: white;
  opacity: 0.6;
  margin-top: 1.25rem;
}

/* ============================================
   21. FOOTER
   ============================================ */
.footer {
  padding: 3rem 0;
  position: relative;
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo img {
  height: 2rem;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  opacity: 0.7;
}

.footer-nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-nav-list a {
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #12c8dd;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

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

.footer-contact-item.align-top {
  align-items: flex-start;
}

.footer-contact-item a {
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   22. ABOUT TABLE (index)
   ============================================ */
.about-table {
  width: 100%;
  text-align: left;
}

.about-table th {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--color-bg-secondary);
  width: 33.333%;
}

.about-table td {
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
}

.about-table tr {
  border-bottom: 1px solid var(--color-border);
}

.about-table tr:last-child {
  border-bottom: none;
}

/* ============================================
   23. TAILWIND UTILITY REPLACEMENTS
   ============================================ */

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Grid columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Gap */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Sizing */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-0\.5 { width: 0.125rem; }
.h-auto { height: auto; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-5 { padding: 1.25rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-8 { padding-top: 2rem; }
.pt-32 { padding-top: 8rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-1 { margin-left: 0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.-top-4 { top: -1rem; }
.-right-6 { right: -1.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-left-8 { left: -2rem; }

/* Top/Right/Bottom/Left */
.top-0 { top: 0; }
.top-full { top: 100%; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0 { inset: 0; }

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

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.leading-snug { line-height: 1.375; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.tracking-widest { letter-spacing: 0.1em; }

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

.text-white { color: white; }
.whitespace-nowrap { white-space: nowrap; }
.underline { text-decoration: underline; }

/* Line clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Aspect ratio */
.aspect-\[16\/10\] {
  aspect-ratio: 16 / 10;
}

/* Border radius */
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-b-2xl { border-radius: 0 0 1rem 1rem; }

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

/* Opacity */
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }

/* Transitions */
.transition-colors { transition: color 0.2s ease; }
.transition-all { transition: all 0.2s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

/* Hover effects */
.hover\:text-\[\#12c8dd\]:hover { color: #12c8dd; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:opacity-70:hover { opacity: 0.7; }
.hover\:text-white:hover { color: white; }

/* group-hover (for blog cards) */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-\[var\(--color-accent-dark\)\] { color: var(--color-accent-dark); }

/* Shadows */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.drop-shadow-2xl { filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15)); }

/* Filter */
.brightness-0 { filter: brightness(0); }
.invert { filter: invert(1); }
.brightness-0.invert { filter: brightness(0) invert(1); }

/* Space-y */
.space-y-0 > * + * { margin-top: 0; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Background white (for mobile menu etc.) */
.bg-white { background-color: white; }

/* ============================================
   24. RESPONSIVE MEDIA QUERIES
   ============================================ */

/* sm: 640px */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }

  .cta-actions {
    flex-direction: row;
  }
}

/* md: 768px */
@media (min-width: 768px) {
  /* Display overrides */
  .md\:flex { display: flex; }
  .md\:inline-flex { display: inline-flex; }
  .md\:block { display: block; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* Spacing */
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:pt-40 { padding-top: 10rem; }
  .md\:pb-14 { padding-bottom: 3.5rem; }
  .md\:pb-20 { padding-bottom: 5rem; }
  .md\:pb-24 { padding-bottom: 6rem; }
  .md\:pb-28 { padding-bottom: 7rem; }
  .md\:gap-10 { gap: 2.5rem; }

  /* Typography */
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }

  /* Height */
  .md\:h-10 { height: 2.5rem; }

  /* Hero grid */
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    padding-top: 10rem;
    padding-bottom: 7rem;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-visual {
    display: flex;
  }

  /* Article header */
  .article-header {
    padding-top: 10rem;
    padding-bottom: 3.5rem;
  }

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

  /* Section */
  .section {
    padding: 7rem 0;
  }

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

  /* CTA */
  .cta-section {
    padding: 7rem 0;
  }

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

  /* Target grid */
  .target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Flow */
  .flow-step {
    gap: 2.5rem;
  }

  /* Navbar */
  .navbar-links {
    display: flex;
  }

  .navbar-cta {
    display: inline-flex;
  }

  .navbar-mobile-btn {
    display: none;
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Grid layouts */
  .grid-2, .grid-2-gap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Special handling: hamburger only shows on mobile */
@media (min-width: 768px) {
  .hamburger.md\:hidden {
    display: none;
  }
  #mobile-menu.md\:hidden {
    display: none !important;
  }
}

/* lg: 1024px */
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:block { display: block; }
  .lg\:text-\[3\.4rem\] { font-size: 3.4rem; }

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

  /* Blog grid */
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Grid layouts */
  .grid-3, .grid-3-gap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ============================================
   25. PAGE HEADER (blog.html, blog-detail.html)
   ============================================ */
.page-header {
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-bg) 0%, var(--color-bg-secondary) 60%, var(--color-bg-tertiary) 100%);
}

@media (min-width: 768px) {
  .page-header {
    padding-top: 10rem;
    padding-bottom: 5rem;
  }
}
