/* ==========================================
   AMOK Company Website - Main Stylesheet
   Colors from logo: Dark Navy + Teal
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
  --navy: #1e2d3d;
  --navy-dark: #152233;
  --navy-light: #2a3f52;
  --teal: #2ec4b6;
  --teal-dark: #25a89c;
  --teal-light: #5dd9cd;
  --white: #ffffff;
  --off-white: #f8fafb;
  --gray-50: #f0f4f5;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --gray-400: #64748b;
  --gray-500: #475569;
  --gray-600: #334155;
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --gradient-teal: linear-gradient(135deg, #2ec4b6, #20e3b2);
  --gradient-navy: linear-gradient(135deg, #1e2d3d, #2a4a6b);
  --gradient-hero: linear-gradient(135deg, #1e2d3d 0%, #2a3f52 50%, #1e3a4a 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-teal: 0 8px 30px rgba(46,196,182,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Noto Sans Thai', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }

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

.section {
  padding: 100px 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(46,196,182,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

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

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

.btn svg, .btn i {
  width: 18px;
  height: 18px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.navbar.scrolled .nav-logo {
  color: var(--navy);
}

.nav-logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(46,196,182,0.15);
  border: 1px solid rgba(46,196,182,0.3);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 .highlight {
  color: var(--teal);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

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

.hero-card-header h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.hero-card-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.hero-stat {
  text-align: center;
  padding: 20px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ---------- Floating shapes ---------- */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.floating-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--teal);
}

.shape-1 { width: 300px; height: 300px; top: 10%; right: 5%; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 200px; height: 200px; bottom: 20%; left: 8%; animation: float 10s ease-in-out infinite reverse; }
.shape-3 { width: 150px; height: 150px; top: 50%; left: 50%; animation: float 12s ease-in-out infinite; }

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

/* ---------- Highlight Bar ---------- */
.highlight-bar {
  background: var(--navy-dark);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.highlight-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.highlight-bar .icon {
  width: 24px;
  height: 24px;
  fill: var(--teal);
  flex-shrink: 0;
}

.highlight-bar p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ---------- Services Section ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(46,196,182,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--teal);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--teal);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  fill: var(--white);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
  transition: var(--transition);
}

.service-link:hover svg {
  transform: translateX(4px);
}

/* ---------- Why Choose Us ---------- */
.why-section {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card .icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(30,45,61,0.22), inset 0 1px 0 rgba(255,255,255,0.06);
  color: var(--teal);
  flex-shrink: 0;
}

.why-card .icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(46,196,182,0.18), transparent);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover .icon-wrap {
  box-shadow: 0 10px 32px rgba(46,196,182,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(-3px);
}

.why-card:hover .icon-wrap::after {
  opacity: 1;
}

.why-card .icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  flex-shrink: 0;
}

.why-card:hover .icon-wrap svg {
  fill: #5dd9cd;
  filter: drop-shadow(0 0 6px rgba(46,196,182,0.5));
}

.why-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Quote Section ---------- */
.quote-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(46,196,182,0.08);
}

.quote-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-size: 5rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
  opacity: 0.5;
}

.quote-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  line-height: 2;
  margin-bottom: 28px;
  font-style: italic;
}

.quote-author {
  color: var(--teal-light);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- Blog Section ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  height: 200px;
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb .blog-icon {
  width: 48px;
  height: 48px;
  fill: rgba(255,255,255,0.15);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-body {
  padding: 24px;
}

.blog-body h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--off-white);
  padding: 80px 0;
}

.cta-box {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(46,196,182,0.1);
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo img {
  height: 36px;
  border-radius: 6px;
}

.footer-brand .logo span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.7);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  fill: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Page Header ---------- */
.page-header {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(46,196,182,0.08);
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
}

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

.breadcrumb .sep {
  color: rgba(255,255,255,0.3);
}

/* ---------- About Page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-navy);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-image .overlay-icon {
  width: 80px;
  height: 80px;
  fill: rgba(255,255,255,0.1);
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.vm-card:hover {
  box-shadow: var(--shadow-md);
}

.vm-card.vision {
  border-top: 3px solid var(--teal);
}

.vm-card.mission {
  border-top: 3px solid var(--navy);
}

.vm-card h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-card p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}

/* ---------- Service Detail ---------- */
.service-detail-hero {
  background: var(--gradient-hero);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.overview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.overview-card h4 {
  margin-bottom: 12px;
  color: var(--navy);
}

.overview-card ul li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.overview-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 32px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 20px;
}

.step-card h4 {
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.contact-card .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(46,196,182,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: var(--teal);
}

.contact-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}

.form-control::placeholder {
  color: var(--gray-300);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Map */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  height: 400px;
  border: 1px solid var(--gray-100);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--teal);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
}

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

.faq-question .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(46,196,182,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-question .icon {
  background: var(--teal);
  transform: rotate(180deg);
}

.faq-question .icon svg {
  width: 14px;
  height: 14px;
  fill: var(--teal);
}

.faq-item.active .faq-question .icon svg {
  fill: var(--white);
}

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

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

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

/* ---------- Blog Page ---------- */
.blog-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-cat-btn {
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.blog-cat-btn:hover,
.blog-cat-btn.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ---------- Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-right"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"].visible {
  transform: translateX(0);
}

[data-animate="fade-left"] {
  transform: translateX(30px);
}

[data-animate="fade-left"].visible {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.95);
}

[data-animate="scale"].visible {
  transform: scale(1);
}

/* Stagger children */
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate-stagger].visible > *:nth-child(1) { transition-delay: 0.1s; }
[data-animate-stagger].visible > *:nth-child(2) { transition-delay: 0.2s; }
[data-animate-stagger].visible > *:nth-child(3) { transition-delay: 0.3s; }
[data-animate-stagger].visible > *:nth-child(4) { transition-delay: 0.4s; }
[data-animate-stagger].visible > *:nth-child(5) { transition-delay: 0.5s; }

[data-animate-stagger].visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 3px;
}

.navbar.scrolled .lang-switch {
  background: var(--gray-50);
}

.lang-btn {
  padding: 4px 10px;
  border-radius: var(--radius-xl);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  background: transparent;
  color: rgba(255,255,255,0.6);
}

.navbar.scrolled .lang-btn {
  color: var(--text-secondary);
}

.lang-btn.active {
  background: var(--teal);
  color: var(--white);
}

.navbar.scrolled .lang-btn.active {
  background: var(--teal);
  color: var(--white);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-intro { grid-template-columns: 1fr; }
  .vision-mission { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text-primary) !important;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hero-stat .number { font-size: 1.4rem; }
  .hero-card { padding: 28px; }

  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 24px; }
  .service-detail-grid { grid-template-columns: 1fr; }

  .highlight-bar .container { flex-direction: column; text-align: center; }

  .lang-switch { display: none; }

  .floating-shapes .shape { opacity: 0.03; }
  .shape-1 { width: 180px; height: 180px; }
  .shape-2 { width: 120px; height: 120px; }
  .shape-3 { width: 100px; height: 100px; }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-teal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-dark);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* ---------- Overlay ---------- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- Tabs ---------- */
.service-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-tab {
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.service-tab:hover,
.service-tab.active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

/* Service inner page cards */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.detail-card h4 {
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-card h4 .badge {
  background: rgba(46,196,182,0.1);
  color: var(--teal);
  padding: 2px 10px;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 600;
}

.detail-card ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.detail-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ==========================================
   Article / Blog Post Pages
   ========================================== */

/* Article Hero */
.article-hero {
  background: var(--gradient-hero);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(46,196,182,0.12) 0%, transparent 60%);
}

.article-hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.article-hero-text .article-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,196,182,0.15);
  border: 1px solid rgba(46,196,182,0.3);
  color: var(--teal);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.article-hero-text h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-hero-text .article-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.article-meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--teal);
  flex-shrink: 0;
}

.article-hero-illustration {
  position: relative;
}

.article-hero-illustration .hero-svg-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-hero-illustration svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

/* Article Content */
.article-content {
  min-width: 0;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
  line-height: 1.3;
}

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

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 12px;
}

.article-content p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}

.article-content ul, .article-content ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.article-content ul li, .article-content ol li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.article-content ol {
  counter-reset: article-counter;
}

.article-content ol li {
  counter-increment: article-counter;
}

.article-content ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 20px;
  padding-left: 0;
}

.article-blockquote {
  border-left: 4px solid var(--teal);
  background: var(--off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.article-blockquote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.7;
}

.article-blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-style: normal;
  font-weight: 600;
}

/* Article Diagram / Info Box */
.article-info-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  color: white;
}

.article-info-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-info-box ul {
  margin: 0;
}

.article-info-box ul li {
  color: rgba(255,255,255,0.85);
  padding: 6px 0 6px 24px;
}

.article-info-box ul li::before {
  background: var(--teal);
}

/* Article Stats Row */
.article-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.article-stat {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gray-100);
}

.article-stat .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.article-stat .stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Article Diagram SVG */
.article-diagram {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  text-align: center;
}

.article-diagram svg {
  max-width: 100%;
  height: auto;
}

.article-diagram figcaption {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* Step Cards */
.article-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.article-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article-step:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.article-step .step-num {
  width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.article-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.article-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Sidebar */
.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.sidebar-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-toc li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-50);
}

.sidebar-toc li:last-child {
  border-bottom: none;
}

.sidebar-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-toc a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.sidebar-toc a:hover {
  color: var(--teal);
}

.sidebar-cta {
  background: var(--gradient-navy);
  border-color: transparent;
}

.sidebar-cta h4 {
  color: var(--teal);
  border-bottom-color: rgba(46,196,182,0.3);
}

.sidebar-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sidebar-cta .btn-primary {
  width: 100%;
  justify-content: center;
}

.sidebar-related a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-related a:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-related a:hover .rel-title {
  color: var(--teal);
}

.sidebar-related .rel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-related .rel-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--teal);
}

.sidebar-related .rel-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: var(--transition);
}

.sidebar-related .rel-cat {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 3px;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.article-tag {
  padding: 6px 16px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.article-tag:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

/* Article Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.article-share span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.share-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.share-btn:hover svg {
  fill: white;
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--text-secondary);
  transition: var(--transition);
}

/* Related Articles Section */
.related-articles {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--gray-100);
}

.related-articles h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
}

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

/* Responsive for articles */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .article-sidebar .sidebar-card {
    margin-bottom: 0;
  }

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

  .article-hero-illustration {
    display: none;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-hero {
    padding: 100px 0 60px;
  }

  .article-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .article-stat .stat-num {
    font-size: 1.5rem;
  }

  .article-step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

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

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

/* Blog card as anchor link */
a.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.blog-card:hover {
  text-decoration: none;
}
