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

:root {
  --muted: 214 20% 69%;
  --blue-50: #eff6ff; --blue-100: #dbeafe; --blue-200: #bfdbfe;
  --blue-500: hsl(211 87% 47%) 0%; --blue-600: #2563eb; --blue-700: hsl(211 80% 55%) 100%;
  --blue-550:hsl(211 87% 47%);
  --blue-800: #1e3a5f; --blue-900: #0f172a;
  --gray-50: #f8fafc; --gray-100: #f1f5f9; --gray-200: #e2e8f0;
  --gray-400: #94a3b8; --gray-500: #64748b; --gray-600: #475569;
  --gray-700: #334155; --gray-800: #1e293b; --gray-900: #0f172a;
  --gray-muted-40 :hsl(var(--muted) / .4);
  --white: #ffffff; --accent: #3b82f6;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; max-width: 100%; }
body{font-family:'Inter',system-ui,sans-serif;color:var(--gray-800);background:var(--gray-50);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x: hidden;max-width: 100%;}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container {max-width:1200px;margin:0 auto;padding:0 1.5rem;}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.from-left { transform: translateX(-40px); }
.animate-on-scroll.from-left.visible { transform: translateX(0); }
.animate-on-scroll.from-right { transform: translateX(40px); }
.animate-on-scroll.from-right.visible { transform: translateX(0); }
.animate-on-scroll.scale { transform: scale(0.9); }
.animate-on-scroll.scale.visible { transform: scale(1); }

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(59,130,246,0.15); }

.float-animation { animation: float 3s ease-in-out infinite; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 60px; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.5px; }
.logo span { background: linear-gradient(135deg, var(--blue-500), var(--blue-700)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--gray-500); transition: color 0.25s ease; position: relative; }
.nav-links a::after { content:''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--blue-500); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--gray-900); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 0.875rem;
  border: none; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white); box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(59,130,246,0.5); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--gray-600); }
.btn-ghost:hover { color: var(--blue-600); background: var(--blue-50); }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--gray-800); }
.mobile-menu { display: none; }

/* ── Hero ── */
.hero {
  padding: 140px 0 80px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-50) 100%);
  margin-top: 64px;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15); font-size: 0.75rem; font-weight: 600;
  color: var(--blue-600); margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); animation: pulse 2s infinite; }
.hero h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.1; color: var(--gray-900); margin-bottom: 24px; letter-spacing: -1px; }
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 200%; animation: gradientShift 4s ease infinite;
}
.hero p { font-size: 1.125rem; color: var(--gray-500); max-width: 480px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-links { display: flex; align-items: center; gap: 16px; font-size: 0.875rem; color: var(--gray-500); }
.hero-links a { display: flex; align-items: center; gap: 6px; transition: color 0.25s; }
.hero-links a:hover { color: var(--blue-600); }
.hero-links .sep { width: 1px; height: 16px; background: var(--gray-200); }
.hero-image { position: relative; display: flex; justify-content: center; }
.hero-image .glow { position: absolute; inset: -16px; border-radius: 24px; background: rgba(59,130,246,0.06); filter: blur(30px); }
.hero-image img { position: relative; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,0.12); max-width: 460px; width: 100%; transition: transform 0.4s ease; }
.hero-image:hover img { transform: scale(1.02); }

/* ── Features ── */
.features { padding: 60px 0; background-color: hsl(210 33% 97%);}
.section-label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-550) !important; margin-bottom: 12px;line-height: 1.25rem; }
.section-title { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-500); max-width: 560px; margin: 0 auto 56px; }
.text-center { text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--gray-200); transition: all 0.35s ease;
}
.feature-card:hover { border-color: var(--blue-200); box-shadow: 0 20px 40px rgba(59,130,246,0.08); transform: translateY(-4px); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transition: background 0.3s ease;
}
.feature-card:hover .feature-icon { background: var(--blue-100); }
.feature-icon svg { width: 22px; height: 22px; color: var(--blue-500); stroke: var(--blue-600); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--gray-500); line-height: 1.7; }

/* ── Why TracPrac ── */
.why-section { padding: 60px 0; background: var(--blue-800); color: var(--white); overflow: hidden; }
.why-section .section-label { color: var(--blue-550); }
.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,0.6); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; width: 100%; }
.why-grid > div { min-width: 0; }
.why-image { position: relative; }
.why-image img { border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,0.3); transition: transform 0.4s ease; }
.why-image:hover img { transform: scale(1.02); }
.why-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.why-item {
  display: flex; gap: 16px; padding: 20px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease; cursor: default; width: 100%; box-sizing: border-box;
}
.why-item:hover { background: rgba(255,255,255,0.1); transform: translateX(8px); }
.why-item-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(59,130,246,0.2); display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.why-item:hover .why-item-icon { background: rgba(59,130,246,0.35); }
.why-item-icon svg { width: 24px; height: 24px; stroke: var(--blue-550); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ── How It Works ── */
.how-section { padding: 60px 0; background: var(--gray-muted-40); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { text-align: center; position: relative; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: var(--white); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 20px; box-shadow: 0 8px 24px rgba(59,130,246,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover .step-number { transform: scale(1.1); box-shadow: 0 12px 32px rgba(59,130,246,0.4); }
.step-connector {
  position: absolute; top: 32px; left: 60%; width: 80%; height: 2px;
 /* background: linear-gradient(90deg, var(--blue-200), transparent);*/
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; max-width: 220px; margin: 0 auto; }

/* ── About ── */
.about { padding: 60px 0; background-color: hsl(210 33% 97%);}
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.about-grid > div { min-width: 0; }
.about-text .section-label { text-align: left; }
.about-text .section-title { text-align: left; }
.about-text p { color: var(--gray-500); line-height: 1.8; margin-bottom: 16px; }
.about-text p strong { color: var(--gray-800); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  padding: 28px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--gray-200); text-align: center;
  transition: all 0.35s ease;
}
.stat-card:hover { border-color: var(--blue-200); box-shadow: 0 15px 30px rgba(59,130,246,0.1); transform: translateY(-4px); }
.stat-card svg { width: 24px; height: 24px; stroke: var(--blue-550); fill: none; stroke-width: 2; margin: 0 auto 12px; stroke-linecap: round; stroke-linejoin: round; }
.stat-number {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.85rem; color: var(--gray-500); font-weight: 500; }

/* ── CTA ── */
.cta { padding: 60px 0; background-color: hsl(210 33% 97%);}
.cta-box {
  position: relative; overflow: hidden; border-radius: 24px;
  background: linear-gradient(135deg, hsl(211 70% 18%) 0%, hsl(211 60% 30%) 50%, hsl(211 55% 40%) 100%);;
  padding: 64px; text-align: center; color: var(--white);
}
.cta-box::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(59,130,246,0.15); filter: blur(60px);
  animation: float 5s ease-in-out infinite;
}
.cta-box::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 250px; height: 250px; border-radius: 50%;
  background: rgba(59,130,246,0.1); filter: blur(60px);
  animation: float 7s ease-in-out infinite reverse;
}
.cta-box h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-box p { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; position: relative; }
.cta-buttons .btn-primary { background: linear-gradient(135deg, var(--blue-500), #60a5fa); }
.cta-buttons .btn-outline { border-color: rgba(255,255,255,0.2); color: var(--white); }
.cta-buttons .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.cta-email { margin-top: 24px; color: rgba(255,255,255,0.4); font-size: 0.875rem !important; position: relative; margin-top: 1.5rem !important;line-height: 1.25rem;}

/* FOOTER */
.footer{border-top:1px solid var(--gray-200);background:var(--white);padding:3rem 0;}
.footer-inner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1.5rem;}
.footer-sub{font-size:.8125rem;color:var(--gray-500);margin-top:.25rem;}
.footer-links{display:flex;flex-wrap:wrap;gap:1.5rem;}
.footer-links a{font-size:.875rem;color:var(--gray-500);transition:color .2s;}
.footer-links a:hover{color:var(--gray-900);}
.footer-bottom{margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--gray-200);text-align:center;font-size:.75rem;color:var(--gray-500);}


/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
    padding: 16px 0;
  }
  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu .container { display: flex; flex-direction: column; gap: 8px; height: auto !important; align-items: stretch !important; justify-content: flex-start !important; }
  .mobile-menu a { padding: 10px 0; font-size: 1rem; color: var(--gray-600); transition: color 0.2s; font-weight: 500; }
  .mobile-menu a:hover { color: var(--blue-600); }
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-links { justify-content: center; }
  .hero-image img { max-width: 320px; }
  .section-title { font-size: 2rem; }
  .section-label { font-size: 0.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .why-section { padding: 40px 0; }
  .why-item { padding: 16px; }
  .why-item-icon { width: 40px; height: 40px; }
  .why-item-icon svg { width: 20px; height: 20px; }
  .why-item h3 { font-size: 0.95rem; }
  .why-item p { font-size: 0.8rem; }
}  
@media (max-width: 480px) {
  .why-section { padding: 30px 0; }
  .why-grid { gap: 24px; }
  .why-list { gap: 12px; }
  .why-item { padding: 12px; gap: 12px; }
  .why-item-icon { width: 36px; height: 36px; }
  .why-item-icon svg { width: 18px; height: 18px; }
  .why-item h3 { font-size: 0.9rem; }
  .why-item p { font-size: 0.75rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-connector { display: none; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.75rem; }
  .section-label { font-size: 0.75rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-image img { max-width: 100%; }
  .hero-buttons { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 24px 16px; }
  .feature-icon { width: 48px; height: 48px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.85rem; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 16px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.75rem; }
  .cta-box { padding: 24px 16px; }
  .cta-box h2 { font-size: 1.4rem; }
}
.purpose-slider .section-label { margin-bottom: 20px; }
.purpose-section { padding: 60px 0;}
.slider-frame {
  width: 100%;
  max-width: 760px;
  min-height: 320px;
  max-height: 440px;
  aspect-ratio: 4 / 3;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: var(--white);
}
.slider-track {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.4s ease;
}
.slider-image {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(15,23,42,0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.slider-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(255,255,255,1);
  box-shadow: 0 24px 48px rgba(15,23,42,0.14);
}
.slider-arrow-left { left: 16px; }
.slider-arrow-right { right: 16px; }
.slider-arrow svg { width: 18px; height: 18px; }
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(15,23,42,0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.slider-dot.active {
  background: var(--blue-500);
  transform: scale(1.2);
}
.slider-dot:hover { background: rgba(59,130,246,0.5); }

/* ── Purpose Section Slider Enhancements (Global) ── */
.purpose-slider {
  position: relative;
  width: 100%;
}

.slider-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gray-100);
  aspect-ratio: 16 / 9;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  width: 100%;
  will-change: transform;
}

.slider-image {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .slider-frame {
    min-height: 260px;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .slider-frame {
    min-height: 180px;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }
  .slider-arrow {
    width: 32px;
    height: 32px;
  }
  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }
  .slider-arrow-left {
    left: 8px;
  }
  .slider-arrow-right {
    right: 8px;
  }
  .slider-dot {
    width: 8px;
    height: 8px;
  }
  .slider-dots {
    gap: 6px;
    margin-top: 12px;
  }
}

/* ── Video Slider Section (Why TracPrac) ── */
.video-slider-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  -webkit-overflow-scrolling: auto;
}

.video-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gray-50);
  padding: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.video-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 20px;
  width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.video-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
}

.video-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-player {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  box-sizing: border-box;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-caption {
  padding: 1.5rem;
}

.video-caption h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.video-caption p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

/* Video Slider Navigation Buttons */
.video-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(59, 130, 246, 0.9);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.video-slider-btn:hover {
  background: rgba(59, 130, 246, 1);
  transform: translateY(-50%) scale(1.1);
}

.video-slider-btn-prev { left: 10px; }
.video-slider-btn-next { right: 10px; }

.video-slider-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* Video Slider Dots Navigation */
.video-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.video-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.video-slider-dot.active {
  background: var(--blue-550);
  transform: scale(1.2);
}

/* Video Slider Responsive */
@media (max-width: 768px) {
  .video-slider-wrapper { overflow: hidden; max-width: 100%; }
  .video-slider-container { 
    padding: 12px; 
    width: 100%; 
    box-sizing: border-box;
    max-width: 100%;
  }
  .video-slider-track { gap: 12px; width: 100%; }
  .video-slide { width: 100%; max-width: 100%; }
  .video-card { width: 100%; max-width: 100%; }
  .video-slider-btn { width: 36px; height: 36px; }
  .video-slider-btn svg { width: 20px; height: 20px; }
  .video-slider-btn-prev { left: 5px; }
  .video-slider-btn-next { right: 5px; }
  .video-caption { padding: 1rem; }
  .video-caption h3 { font-size: 0.95rem; }
  .video-caption p { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .video-slider-wrapper { overflow: hidden; max-width: 100%; width: 100%; }
  .video-slider-container { 
    padding: 6px; 
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    border-radius: 16px;
  }
  .video-slider-track { gap: 6px; width: 100%; }
  .video-slide { width: 100%; max-width: 100%; }
  .video-card { width: 100%; max-width: 100%; }
  .video-slider-btn { width: 32px; height: 32px; }
  .video-slider-btn svg { width: 16px; height: 16px; }
  .video-caption { padding: 0.8rem; }
  .video-caption h3 { font-size: 0.85rem; }
  .video-caption p { font-size: 0.75rem; }
}