/* ============================================
   See Change AI — Global Styles
   ============================================ */

@import url('lite-yt-embed.css');

:root {
  --navy-900: #0a1628;
  --navy-800: #0f1f3a;
  --navy-700: #1a2e4f;
  --navy-600: #264673;
  --navy-500: #3695E5;
  --teal-600: #2a7bc7;
  --teal-500: #3695E5;
  --teal-400: #5aadf0;
  --teal-300: #84c5f5;
  --teal-200: #b8ddf8;
  --teal-700: #1e5fa8;
  --purple-600: #2a7bc7;
  --purple-500: #3695E5;
  --purple-400: #5aadf0;
  --cyan-500: #3695E5;
  --cyan-400: #5aadf0;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,22,40,0.06);
  --shadow: 0 4px 24px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
  --shadow-glow: 0 0 40px rgba(54,149,229,0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 28px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--navy-900); }

h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw + 0.3rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw + 0.2rem, 1.5rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1rem; color: var(--gray-600); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px;
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 48px; }
}

.section-header h2 { margin-bottom: 12px; }

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(42,123,199,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
  box-shadow: 0 6px 24px rgba(42,123,199,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--teal-400);
  color: var(--teal-600);
  box-shadow: var(--shadow);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26,46,79,0.3);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 768px) {
  .header-inner { height: 68px; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-900);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo { font-size: 1.25rem; }
}

.logo-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  display: grid; place-items: center;
  color: white; font-size: 0.85rem; font-weight: 800;
}

@media (min-width: 768px) {
  .logo-mark { width: 32px; height: 32px; font-size: 0.9rem; }
}

.logo span { color: var(--teal-600); }

/* ---------- Desktop Nav (>1024px) ---------- */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-desktop {
    gap: 0;
    min-width: 0;
  }

  .nav-desktop .nav-link {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  .nav-desktop .nav-cta {
    margin-left: 4px;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .nav-desktop .lang-switch {
    margin-left: 8px;
    padding-left: 8px;
  }
}

.nav-link {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-900);
  background: var(--gray-100);
}

.nav-cta {
  margin-left: 6px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--gray-200);
}

.lang-switch button {
  background: none; border: none;
  font-size: 0.78rem; font-weight: 600;
  color: var(--gray-400); cursor: pointer;
  padding: 4px 6px; border-radius: 4px;
}

.lang-switch button.active {
  color: var(--navy-900);
  background: var(--gray-100);
}

/* ---------- Tablet Nav (768px - 1023px) ---------- */
.nav-tablet {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav-tablet { display: flex; }
}

.nav-tablet .nav-link {
  padding: 6px 10px;
  font-size: 0.85rem;
}

.nav-tablet .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-toggle {
  display: flex; align-items: center; gap: 4px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: var(--gray-50);
  color: var(--navy-900);
}

.dropdown-item strong {
  display: block;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.92rem;
}

.dropdown-item small {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 2px;
}

/* ---------- Mobile Menu Toggle ---------- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.menu-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
}

/* ---------- Mobile / Tablet Slide-out Nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 64px 0 0 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  overflow-y: auto;
  border-left: 1px solid var(--gray-100);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-nav {
    inset: 68px 0 0 auto;
    width: 400px;
    max-width: 70vw;
    border-radius: 24px 0 0 24px;
    padding: 24px;
  }
}

@media (min-width: 1024px) {
  .mobile-nav { display: none; }
  .mobile-nav-overlay { display: none; }
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav .nav-link {
  padding: 14px 16px;
  font-size: 1.05rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav .nav-link::after {
  content: "›";
  font-size: 1.2rem;
  color: var(--gray-300);
}

.mobile-nav .btn {
  margin-top: 16px;
  padding: 14px;
  font-size: 1rem;
}

.mobile-nav .lang-switch {
  margin-top: 20px;
  margin-left: 0;
  padding-left: 0;
  border-left: none;
  justify-content: center;
}

/* Mobile submenu */
.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  margin-bottom: 4px;
}

.mobile-submenu.open {
  display: flex;
}

.mobile-submenu .dropdown-item {
  padding: 12px 16px;
  border-radius: 10px;
}

.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-submenu-toggle .chevron {
  transition: transform 0.25s;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.mobile-submenu-toggle.open .chevron {
  transform: rotate(180deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,22,40,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 998;
}

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

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color 0.2s;
}

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

.breadcrumb .sep {
  color: var(--gray-300);
}

.breadcrumb .current {
  color: var(--navy-900);
  font-weight: 600;
}

/* ============================================
   Hero Section (Home)
   ============================================ */

.hero {
  position: relative;
  padding: 110px 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 60%);
}

@media (min-width: 768px) {
  .hero { padding: 140px 0 100px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-bg .orb-1 {
  width: 500px; height: 500px;
  background: var(--teal-300);
  top: -10%; right: -10%;
}

.hero-bg .orb-2 {
  width: 400px; height: 400px;
  background: var(--cyan-400);
  bottom: 10%; left: -10%;
  opacity: 0.3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

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

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-content { position: relative; z-index: 1; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--teal-300);
  color: var(--teal-700);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

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

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

.hero h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--teal-600), var(--cyan-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.2rem);
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-mockup {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.glass-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(54,149,229,0.1);
  padding: 24px;
}

.mockup-card {
  position: relative;
  z-index: 2;
}

.mockup-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.mockup-floating .icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 1rem;
}

.mockup-floating:nth-child(2) {
  top: -12px; right: 4px;
  animation-delay: 0s;
}

.mockup-floating:nth-child(2) .icon {
  background: linear-gradient(135deg, #e8f2fc, #b8ddf8);
}

.mockup-floating:nth-child(3) {
  bottom: 16px; left: 4px;
  animation-delay: 1.5s;
}

.mockup-floating:nth-child(3) .icon {
  background: linear-gradient(135deg, #e8f2fc, #84c5f5);
}

.mockup-floating:nth-child(4) {
  bottom: -8px; right: 20px;
  animation-delay: 3s;
}

.mockup-floating:nth-child(4) .icon {
  background: linear-gradient(135deg, #e8f2fc, #84c5f5);
}

@media (max-width: 767px) {
  .mockup-floating {
    padding: 10px 14px;
    font-size: 0.78rem;
    gap: 8px;
  }
  .mockup-floating .icon {
    width: 28px; height: 28px;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.mockup-inner h4 {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.progress-list { display: flex; flex-direction: column; gap: 12px; }

.progress-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--teal-500), var(--cyan-500));
}

/* ============================================
   Page Hero (Product & About pages)
   ============================================ */

.page-hero {
  position: relative;
  padding: 100px 0 48px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f7fd 0%, #ffffff 100%);
}

@media (min-width: 768px) {
  .page-hero { padding: 130px 0 64px; }
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) {
  .page-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
  margin-bottom: 14px;
}

.page-hero .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 14px;
}

.page-hero .lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  max-width: 560px;
}

.page-hero .meta-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.meta-tag {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

.page-hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.page-hero-visual img {
  width: 100%;
  object-fit: cover;
}

/* ============================================
   Feature Sections (Product pages)
   ============================================ */

.feature-section {
  padding: 72px 0;
}

@media (min-width: 768px) {
  .feature-section { padding: 72px 0; }
}

.feature-section.alt {
  background: linear-gradient(180deg, var(--gray-50), var(--white));
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.feature-grid.reverse {
  direction: rtl;
}

.feature-grid.reverse > * {
  direction: ltr;
}

.feature-text h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2vw + 0.2rem, 1.5rem);
}

.feature-text p {
  margin-bottom: 16px;
  color: var(--gray-500);
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.feature-list li .bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--cyan-400));
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.feature-visual img {
  width: 100%;
  object-fit: cover;
}

/* ============================================
   Info Cards (Product pages)
   ============================================ */

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .info-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .info-cards { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.info-card .num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: white;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
  margin-bottom: 14px;
}

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

.info-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================
   Screenshot Gallery
   ============================================ */

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .screenshot-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.screenshot {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.screenshot img {
  width: 100%;
  object-fit: cover;
}

.screenshot-caption {
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

/* ============================================
   Value Proposition Box
   ============================================ */

.value-box {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  text-align: center;
}

.value-box h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.value-box p {
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   Company Background Section
   ============================================ */

.company {
  padding: 64px 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .company { padding: 80px 0; }
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

.company-visual {
  position: relative;
}

.company-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.pillar-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: white;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700;
  flex-shrink: 0;
}

.pillar h4 { font-size: 1rem; margin-bottom: 2px; }
.pillar p { font-size: 0.85rem; color: var(--gray-500); }

/* ============================================
   Product Overview Cards
   ============================================ */

.products-overview {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--gray-50), var(--white));
}

@media (min-width: 768px) {
  .products-overview { padding: 80px 0; }
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .product-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .product-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-cards { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 22px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-card { padding: 28px; }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.product-card:nth-child(1) .card-icon {
  background: linear-gradient(135deg, #e8f2fc, #84c5f5);
}

.product-card:nth-child(2) .card-icon {
  background: linear-gradient(135deg, #f0f7fd, #b8ddf8);
}

.product-card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, #e8f2fc, #84c5f5);
}

.product-card:nth-child(4) .card-icon {
  background: linear-gradient(135deg, #e8f2fc, #b8ddf8);
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.product-card .tagline {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.product-card ul {
  list-style: none;
  margin-bottom: 20px;
  flex: 1;
}

.product-card ul li {
  font-size: 0.88rem;
  color: var(--gray-500);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

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

/* ============================================
   Why See Change AI
   ============================================ */

.why-section {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--white), var(--gray-50));
}

@media (min-width: 768px) {
  .why-section { padding: 80px 0; }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  .benefit { padding: 28px; }
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.benefit:nth-child(1) .icon-wrap { background: #e8f2fc; }
.benefit:nth-child(2) .icon-wrap { background: #f0f7fd; }
.benefit:nth-child(3) .icon-wrap { background: #f0f7fd; }
.benefit:nth-child(4) .icon-wrap { background: #f0f7fd; }
.benefit:nth-child(5) .icon-wrap { background: #f0f7fd; }
.benefit:nth-child(6) .icon-wrap { background: #f0f7fd; }

.benefit h4 { font-size: 1.05rem; margin-bottom: 6px; }

.audience-card .avatar svg {
  width: 28px;
  height: 28px;
}
.benefit p { font-size: 0.9rem; color: var(--gray-500); }

/* ============================================
   Audience Section
   ============================================ */

.audience {
  padding: 64px 0;
  background: var(--white);
}

@media (min-width: 768px) {
  .audience { padding: 80px 0; }
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(5, 1fr); }
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  .audience-card { padding: 24px; }
}

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

.audience-card .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
}

.audience-card:nth-child(1) .avatar { background: #e8f2fc; }
.audience-card:nth-child(2) .avatar { background: #f0f7fd; }
.audience-card:nth-child(3) .avatar { background: #e8f2fc; }
.audience-card:nth-child(4) .avatar { background: #e8f2fc; }
.audience-card:nth-child(5) .avatar { background: #f0f7fd; }

.audience-card h4 { font-size: 1rem; margin-bottom: 8px; }
.audience-card p { font-size: 0.85rem; color: var(--gray-500); }

/* ============================================
   Contact Section
   ============================================ */

.contact {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--gray-50), #f0f7fd);
}

@media (min-width: 768px) {
  .contact { padding: 80px 0; }
}

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

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-grid { gap: 32px; }
}

.contact-info h3 { margin-bottom: 12px; }
.contact-info p { margin-bottom: 24px; }

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

.contact-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-item div strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-900);
}

.contact-item div span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  padding: 24px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .contact-form { padding: 32px; }
}

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

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(54,149,229,0.15);
}

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

.form-status {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-status--success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.form-status--error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 48px 0 24px;
}

@media (min-width: 768px) {
  .footer { padding: 60px 0 24px; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

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

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-400);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--teal-300); }

.footer-bottom {
  border-top: 1px solid var(--navy-700);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ============================================
   Utilities
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* CTA Banner */
.cta-banner {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: var(--white);
  text-align: center;
}

@media (min-width: 768px) {
  .cta-banner { padding: 64px 0; }
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* Scroll-to-top */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 900;
}

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

/* ============================================
   HKICT Award Hero
   ============================================ */

.hkict-hero {
  padding: 100px 0 32px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .hkict-hero { padding: 120px 0 48px 0; }
}

.hkict-hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .hkict-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.hkict-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: #f0f7fd;
  border: 1px solid #b8ddf8;
  color: #1e5fa8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hkict-hero h2 {
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2rem);
  margin-bottom: 12px;
}

.hkict-hero-sub {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
}

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

.hkict-hero-visual img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  /* filter: drop-shadow(0 8px 24px rgba(10, 22, 40, 0.12)); */
}

/* ============================================
   Social Proof Sections
   ============================================ */

.social-proof {
  padding: 56px 0;
}

.social-proof.alt {
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .social-proof { padding: 72px 0; }
}

.trust-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  align-items: center;
}

@media (min-width: 640px) {
  .trust-logos-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .trust-logos-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
}

.trust-logos-grid img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  padding: 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  filter: grayscale(0.3);
  opacity: 0.85;
  transition: filter 0.2s, opacity 0.2s, transform 0.2s;
}

@media (min-width: 640px) {
  .trust-logos-grid img { max-height: 100px; }
}

@media (min-width: 1024px) {
  .trust-logos-grid img { max-height: 150px; }
}

.trust-logos-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
}

.video-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-grid.two-col {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .video-grid.two-col { grid-template-columns: repeat(2, 1fr); }
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-900);
  box-shadow: var(--shadow);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-embed:has(> lite-youtube) {
  padding-bottom: 0;
  height: auto;
}

.video-embed > lite-youtube {
  width: 100%;
  max-width: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
}

.video-embed.single {
  max-width: 800px;
  margin: 32px auto 0;
}

.video-embed-caption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
  text-align: center;
}

/* School Rollout Dashboard */
.school-rollout-dashboard {
  max-width: 800px;
  margin: 0 auto;
}

.school-rollout-names {
  text-align: center;
  margin-top: 24px;
}

.school-rollout-name-zh {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1.3;
}

.school-rollout-name-en {
  margin-top: 6px;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--gray-500);
  line-height: 1.4;
}

.school-rollout-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .school-rollout-tabs {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.school-rollout-tab {
  padding: 12px 10px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-900);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .school-rollout-tab { font-size: 0.85rem; padding: 14px 12px; }
}

.school-rollout-tab:hover:not(.active) {
  border-color: var(--teal-400);
  color: var(--teal-600);
  box-shadow: var(--shadow);
}

.school-rollout-tab.active {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(42, 123, 199, 0.3);
}

.school-rollout-tab:focus-visible {
  outline: 2px solid var(--teal-400);
  outline-offset: 2px;
}

/* Gallery Page */
.gallery-page-start {
  padding-top: 100px;
}

@media (min-width: 768px) {
  .gallery-page-start { padding-top: 130px; }
}

.gallery-matrix-block {
  max-width: 960px;
  margin: 0 auto;
}

.gallery-row-header {
  text-align: center;
  margin-bottom: 28px;
}

.gallery-row-header h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--navy-900);
  line-height: 1.35;
}

.gallery-matrix-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .gallery-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.gallery-video-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-section.alt .gallery-video-card {
  box-shadow: var(--shadow);
}

.gallery-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-video-card .video-embed {
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.gallery-video-card .video-embed-caption {
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy-900);
}

.gallery-caption-zh {
  margin-top: 2px !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  color: var(--gray-500) !important;
}

.gallery-row-caption {
  margin-top: 32px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* Satisfaction Section */
.satisfaction-section {
  padding: 56px 0;
  background: var(--white);
}

.satisfaction-section.alt {
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .satisfaction-section { padding: 72px 0; }
}

.satisfaction-chart {
  margin: 32px auto;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.satisfaction-chart img {
  width: 100%;
}

.satisfaction-quotes {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .satisfaction-quotes { grid-template-columns: repeat(3, 1fr); }
}

.satisfaction-quote {
  padding: 20px;
  background: #f0f7fd;
  border-left: 4px solid var(--teal-600);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.satisfaction-quote::before {
  content: '"';
  font-size: 1.5rem;
  color: var(--teal-600);
  font-weight: 700;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

/* Media Carousel (Instagram) */
.media-carousel-wrap {
  position: relative;
  margin-top: 32px;
}

.media-carousel {
  overflow: hidden;
  border-radius: var(--radius);
}

.media-carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.4s ease;
}

.media-carousel-slide {
  flex: 0 0 33.333%;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
}

.instagram-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instagram-card-featured {
  border-color: #b8ddf8;
  box-shadow: 0 4px 20px rgba(54,149,229,0.15);
}

.instagram-section-sub {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e5fa8;
  line-height: 1.5;
}

.instagram-embed-wrap {
  position: relative;
  flex: 1;
  min-height: 388px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  line-height: 0;
}

.instagram-embed-wrap iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .instagram-embed-wrap {
    min-height: 360px;
  }

  .instagram-embed-wrap iframe {
    height: 480px;
  }
}

.media-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.media-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s;
}

.media-carousel-btn:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--navy-500);
}

.media-carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.media-carousel-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  min-width: 48px;
  text-align: center;
}

/* Before / After Video Carousel */
.before-after-section {
  padding: 56px 0;
  background: var(--gray-50);
}

@media (min-width: 768px) {
  .before-after-section { padding: 72px 0; }
}

.before-after-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin: 24px 0 32px;
  text-align: center;
}

.before-after-banner .before-text {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.before-after-banner .after-text {
  color: #2a7bc7;
  font-weight: 600;
  font-size: 0.95rem;
}

.before-after-arrow {
  font-size: 1.5rem;
  color: #2a7bc7;
}

.before-after-carousel {
  max-width: 960px;
  margin: 0 auto;
}

.before-after-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.before-after-track {
  display: flex;
  transition: transform 0.45s ease;
}

.before-after-slide {
  flex: 0 0 100%;
  display: grid;
  gap: 20px;
  min-width: 0;
}

@media (min-width: 768px) {
  .before-after-slide { grid-template-columns: 1fr 1fr; }
}

.before-after-video .video-embed-caption {
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 8px;
}

.before-after-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.before-after-controls .media-carousel-btn {
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.before-after-controls .before-after-counter {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  min-width: 56px;
}

/* ============================================
   Feedback Dashboard (Custom Charts)
   ============================================ */

.feedback-dashboard {
  margin-top: 8px;
}

/* Charts Row */
.feedback-charts-row {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .feedback-charts-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Chart Card */
.feedback-chart-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.feedback-chart-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.feedback-chart-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

/* Icon */
.feedback-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f4fd;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feedback-icon svg {
  width: 20px;
  height: 20px;
}

/* Chart Body */
.feedback-chart-body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.feedback-bars-wrap {
  flex: 1;
  min-width: 0;
}

.feedback-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Bar Row */
.feedback-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feedback-bar-label {
  width: 60px;
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: right;
  flex-shrink: 0;
}

.feedback-bar-track {
  flex: 1;
  height: 18px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
}

.feedback-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
  border-radius: 4px;
}

.feedback-bar-value {
  width: 36px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  flex-shrink: 0;
}

/* Axis */
.feedback-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.7rem;
  color: var(--gray-400);
}

/* Result */
.feedback-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  text-align: center;
  padding-bottom: 16px;
}

.feedback-result-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
}

.feedback-result-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-top: 4px;
}

.feedback-result-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--teal-500);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}

.feedback-result-check svg {
  width: 16px;
  height: 16px;
}

/* Comments Section */
.feedback-comments {
  margin-top: 8px;
}

.feedback-comments-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.feedback-comments-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* Comments Grid */
.feedback-comments-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .feedback-comments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feedback-comments-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Comment Card */
.feedback-comment-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  border-bottom: 3px solid var(--teal-500);
  position: relative;
  min-height: 120px;
}

.feedback-comment-card p {
  margin: 0;
  padding: 6px 28px 22px 34px;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.feedback-comment-quote-open,
.feedback-comment-quote-close {
  position: absolute;
  z-index: 0;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.feedback-comment-quote-open svg,
.feedback-comment-quote-close svg {
  width: 100%;
  height: 100%;
}

.feedback-comment-quote-close svg {
  transform: scaleX(-1);
}

.feedback-comment-quote-open {
  top: 14px;
  left: 14px;
  color: var(--teal-500);
  opacity: 0.45;
}

.feedback-comment-quote-close {
  bottom: 12px;
  right: 12px;
  color: var(--teal-200);
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .feedback-chart-card {
    padding: 16px;
  }
  .feedback-bar-label {
    width: 50px;
    font-size: 0.75rem;
  }
  .feedback-result-number {
    font-size: 1.6rem;
  }
}

/* ===== Scrolling Image Showcase (Thinking Lab) ===== */
.showcase-section { overflow: hidden; }
.showcase-scroller {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
}
.showcase-scroller::before,
.showcase-scroller::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  pointer-events: none;
  z-index: 2;
}
.showcase-scroller::before {
  top: 0;
  background: linear-gradient(to bottom, var(--white), transparent);
}
.showcase-scroller::after {
  bottom: 0;
  background: linear-gradient(to top, var(--white), transparent);
}
.showcase-track {
  display: flex;
  flex-direction: column;
  animation: showcaseScroll 45s linear infinite;
  will-change: transform;
}
.showcase-scroller:hover .showcase-track { animation-play-state: paused; }
@keyframes showcaseScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.showcase-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card:hover {
  transform: rotate(0) scale(1.03) !important;
  z-index: 3;
}
.showcase-card.r1  { transform: rotate(2deg); }
.showcase-card.r2  { transform: rotate(-2deg); }
.showcase-card.r3  { transform: rotate(1deg); }
.showcase-card.r4  { transform: rotate(-1deg); }
@media (min-width: 640px) {
  .showcase-scroller { height: 520px; }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .showcase-scroller { height: 560px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
}

/* ===== Image Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 22, 40, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
  cursor: default;
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
