/* Static Site Styles — Stitch-Level Quality */
:root {
  --primary: #2563eb;
  --accent: #f59e0b;
  --font-heading: 'system-ui, sans-serif', system-ui, sans-serif;
  --font-body: 'system-ui, sans-serif', system-ui, sans-serif;

  /* Derived colors */
  --primary-light: color-mix(in srgb, #2563eb 12%, transparent);
  --primary-dark: color-mix(in srgb, #2563eb 85%, #000);
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  --surface-muted: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border-subtle: #f1f5f9;
  --border-default: #e2e8f0;

  /* Shadow scale — multi-layer for depth */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,.15);

  /* Radius scale */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-pill: 9999px;

  /* Timing */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.25s;
  --duration-slow: 0.4s;
}

/* ── Scroll Animations ── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: translateY(0); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .section { opacity: 1; }
  .feature-card:hover, .product-card:hover, .catalog-product:hover, .testimonial-card:hover, .cert-card:hover { transform: none; }
}



/* ── Segment 0: kept original (enhancement failed or too small) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--surface);
}

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

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

/* Focus styles for accessibility */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius-sm); }

/* Utility classes */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }

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

.container-md { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 6rem 0; }

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

.section-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 1rem; letter-spacing: -0.025em; line-height: 1.2; color: var(--text-primary); }

.section-subtitle { color: var(--text-secondary); text-align: center; margin-bottom: 3.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.75; font-size: 1.0625rem; }

@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  .section-title { font-size: 2.5rem; }
}

/* Grid */
.grid { display: grid; gap: 1.5rem; }

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

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

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

@media (min-width: 768px) {
  .grid { gap: 2rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-2-layout { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Navbar ─── */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.85); backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); border-bottom: 1px solid var(--border-subtle); transition: background var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out), border-color var(--duration-normal) var(--ease-out); }

.navbar-inner { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; height: 4.25rem; display: flex; align-items: center; justify-content: space-between; }

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

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

.navbar-logo span { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); letter-spacing: -0.02em; }

.navbar-links { display: none; align-items: center; gap: 2rem; }

.navbar-links a { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; transition: color var(--duration-fast) var(--ease-out); }

.navbar-links a:hover { color: var(--text-primary); }

.navbar-cta { display: none; padding: 0.5rem 1.25rem; color: #fff; font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-pill); background: var(--primary); box-shadow: var(--shadow-sm); transition: all var(--duration-fast) var(--ease-out); }

.navbar-cta:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.navbar-toggle { display: block; padding: 0.5rem; color: var(--text-secondary); background: none; border: none; cursor: pointer; }

.navbar-toggle svg { width: 1.5rem; height: 1.5rem; }

.navbar-mobile { display: none; border-top: 1px solid var(--border-subtle); background: var(--surface); padding: 1rem 1.5rem; }

.navbar-mobile.open { display: block; }

.navbar-mobile a { display: block; padding: 0.625rem 0; font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }

.navbar-mobile .mobile-cta { display: block; text-align: center; margin-top: 0.75rem; padding: 0.625rem 1.25rem; color: #fff; font-size: 0.875rem; font-weight: 500; border-radius: var(--radius-pill); background: var(--primary); }

@media (min-width: 768px) {
  .navbar-links { display: flex; }
  .navbar-cta { display: inline-block; }
  .navbar-toggle { display: none; }
}

/* ─── Hero ─── */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); }

.hero-content { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }

.hero h1 { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.15; letter-spacing: -0.03em; }

.hero p.sub { font-size: 1.125rem; margin-bottom: 2.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; line-height: 1.7; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 1rem; border-radius: var(--radius-pill); font-size: 0.8125rem; font-weight: 600; margin-bottom: 1.5rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.hero:not(.has-bg) .hero-badge { background: var(--primary-light); color: var(--primary); border-color: transparent; }

.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero-ctas .btn-primary { padding: 0.875rem 2.25rem; color: #fff; border-radius: var(--radius-pill); font-weight: 600; background: var(--primary); box-shadow: 0 4px 14px color-mix(in srgb, #2563eb 35%, transparent); transition: all var(--duration-fast) var(--ease-out); }

.hero-ctas .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px color-mix(in srgb, #2563eb 40%, transparent); }

.hero-ctas .btn-secondary { padding: 0.875rem 2.25rem; border: 1.5px solid var(--border-default); border-radius: var(--radius-pill); font-weight: 600; transition: all var(--duration-fast) var(--ease-out); background: var(--surface); }

.hero-ctas .btn-secondary:hover { background: var(--surface-muted); transform: translateY(-2px); }

.hero.has-bg h1, .hero.has-bg p.sub { color: #fff; }

.hero.has-bg p.sub { color: rgba(255,255,255,0.85); }

.hero.has-bg .btn-secondary { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }

.hero.has-bg .btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.hero-stats { margin-top: 3.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }

.hero-stat-item { padding: 0.75rem 1.25rem; border-radius: var(--radius-lg); }

.hero.has-bg .hero-stat-item { background: rgba(255,255,255,0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); }

.hero-stat-value { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

.hero-stat-label { font-size: 0.8125rem; margin-top: 0.125rem; font-weight: 500; }

.hero.has-bg .hero-stat-value { color: #fff; }

.hero.has-bg .hero-stat-label { color: rgba(255,255,255,0.7); }

.hero:not(.has-bg) .hero-stat-value { color: var(--primary); }

.hero:not(.has-bg) .hero-stat-label { color: var(--text-secondary); }

.hero:not(.has-bg) .hero-stat-item { background: var(--surface-muted); border: 1px solid var(--border-subtle); }

@media (min-width: 768px) {
  .hero h1 { font-size: 4rem; }
  .hero p.sub { font-size: 1.25rem; }
  .hero-stat-value { font-size: 2.25rem; }
  .hero-stats { gap: 1rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
}

/* ─── Feature Grid ─── */
.feature-card { border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); overflow: hidden; transition: all var(--duration-normal) var(--ease-out); background: var(--surface); box-shadow: var(--shadow-xs); }

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

.feature-card-body { padding: 1.75rem; }

.feature-card img { width: 100%; height: 12rem; object-fit: cover; }

.feature-icon { width: 3.25rem; height: 3.25rem; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; background: var(--primary-light); }

.feature-card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }

.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }

/* ─── Logo Wall ─── */
.logo-wall { padding: 4rem 0; background: var(--surface-muted); }

.logo-wall-title { text-align: center; font-size: 0.875rem; color: var(--text-tertiary); margin-bottom: 2rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

.logo-wall-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; }

@media (min-width: 768px) { .logo-wall-grid { gap: 4rem; } }

.logo-wall-grid img { height: 2rem; object-fit: contain; filter: grayscale(100%); opacity: 0.5; transition: all var(--duration-normal) var(--ease-out); }

.logo-wall-grid img:hover { filter: grayscale(0%); opacity: 1; }

.logo-wall-grid .logo-text { display: inline-flex; align-items: center; height: 2rem; padding: 0 1rem; font-size: 0.875rem; font-weight: 500; color: var(--text-tertiary); letter-spacing: 0.05em; transition: color var(--duration-fast) var(--ease-out); }

.logo-wall-grid .logo-text:hover { color: var(--text-secondary); }

@media (min-width: 768px) { .logo-wall-grid img { height: 2.5rem; } .logo-wall-grid .logo-text { height: 2.5rem; } }

/* ─── Testimonial ─── */
.testimonial-card { position: relative; padding: 2rem; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); }

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

.testimonial-card::before { content: '"'; position: absolute; top: 1rem; right: 1.5rem; font-size: 4rem; font-family: Georgia, serif; line-height: 1; color: var(--primary); opacity: 0.08; pointer-events: none; }

.testimonial-card .quote { color: var(--text-primary); line-height: 1.7; margin-bottom: 1.5rem; font-size: 0.9375rem; }

.testimonial-card .stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 1rem; letter-spacing: 0.1em; }

.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }

.testimonial-author img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; ring: 2px solid var(--primary-light); box-shadow: 0 0 0 2px var(--primary-light); }

.testimonial-author .name { font-weight: 700; font-size: 0.9375rem; }

.testimonial-author .meta { font-size: 0.8125rem; color: var(--text-secondary); }

/* ─── FAQ ─── */
.faq-item { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); overflow: hidden; transition: box-shadow var(--duration-fast) var(--ease-out); }

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question { width: 100%; padding: 1.25rem 1.5rem; text-align: left; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-family: var(--font-heading); background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--text-primary); transition: background var(--duration-fast) var(--ease-out); }

.faq-question:hover { background: var(--surface-muted); }

.faq-question .arrow { transition: transform var(--duration-normal) var(--ease-out); font-size: 0.75rem; color: var(--text-tertiary); }

.faq-question .arrow.open { transform: rotate(180deg); }

.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; display: none; }

.faq-answer.open { display: block; }

/* ─── CTA ─── */
.cta-section { text-align: center; position: relative; overflow: hidden; }

.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, color-mix(in srgb, #2563eb 6%, transparent), transparent 70%), radial-gradient(ellipse at 70% 50%, color-mix(in srgb, #f59e0b 5%, transparent), transparent 70%); pointer-events: none; }

.cta-section h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.025em; position: relative; }

@media (min-width: 768px) { .cta-section h2 { font-size: 2.5rem; } }

.cta-section p { font-size: 1.125rem; margin-bottom: 2.5rem; position: relative; line-height: 1.7; }

.cta-section .cta-btn { display: inline-block; padding: 0.875rem 2.5rem; border-radius: var(--radius-pill); font-weight: 600; transition: all var(--duration-fast) var(--ease-out); position: relative; box-shadow: var(--shadow-md); }

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

/* ─── Footer ─── */
.site-footer { background: #0f172a; color: #fff; padding: 5rem 0 0; }

.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 3.5rem; }

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

.footer-logo { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; }

.footer-logo img { height: 2rem; }

.footer-logo h3 { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); letter-spacing: -0.02em; }

.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }

.footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; font-size: 0.8125rem; color: #94a3b8; background: rgba(255,255,255,0.06); transition: all var(--duration-fast) var(--ease-out); }

.footer-socials a:hover { color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-1px); }

.footer-col h4 { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; margin-bottom: 1.25rem; color: #e2e8f0; letter-spacing: -0.01em; }

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a { font-size: 0.875rem; color: #94a3b8; transition: color var(--duration-fast) var(--ease-out); position: relative; display: inline-block; }

.footer-col a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: #fff; transition: width var(--duration-normal) var(--ease-out); }

.footer-col a:hover { color: #fff; }

.footer-col a:hover::after { width: 100%; }

.footer-copyright { border-top: 1px solid rgba(255,255,255,0.08); padding: 2rem 0; text-align: center; color: #64748b; font-size: 0.8125rem; }

.site-footer { opacity: 1 !important; visibility: visible !important; transform: none !important; }

.navbar, nav { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* ─── Comparison Table ─── */
.comparison-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

.comparison-table thead tr { background: var(--primary); }

.comparison-table th { padding: 1rem 1.5rem; font-weight: 600; color: #fff; text-align: center; font-size: 0.875rem; }

.comparison-table th:first-child { text-align: left; }

.comparison-table td { padding: 1rem 1.5rem; color: var(--text-primary); font-size: 0.9375rem; }

.comparison-table td:first-child { font-weight: 600; }

.comparison-table td:not(:first-child) { text-align: center; color: var(--text-secondary); }

.comparison-table tr:nth-child(even) { background: var(--surface-muted); }

/* ─── Product Gallery ─── */
.product-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--duration-normal) var(--ease-out); }

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

.product-card img { width: 100%; height: 16rem; object-fit: cover; }

.product-card-body { padding: 1.5rem; }

.product-card h3 { font-weight: 700; font-size: 1.125rem; }

.product-card .desc { color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.5rem; line-height: 1.6; }

.product-card .bottom { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }

.product-card .price { font-size: 1.125rem; font-weight: 800; color: var(--text-primary); }

.product-card .link { font-size: 0.875rem; color: var(--primary); font-weight: 500; }

.product-card .link:hover { text-decoration: underline; }

/* ─── Rich Content ─── */
.rich-content h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }

.rich-content p { color: var(--text-secondary); line-height: 1.75; }

.rich-content img { width: 100%; border-radius: var(--radius-lg); }

.rich-side-by-side { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }

@media (min-width: 768px) { .rich-side-by-side { grid-template-columns: repeat(2, 1fr); } }

.rich-side-by-side img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ─── Spec Table ─── */
.spec-table { border: 1px solid var(--border-default); border-radius: var(--radius-lg); overflow: hidden; }

.spec-row { display: flex; }

.spec-row:nth-child(odd) { background: var(--surface-muted); }

.spec-row:nth-child(even) { background: var(--surface); }

.spec-label { width: 33%; padding: 1rem 1.5rem; font-weight: 600; color: var(--text-primary); border-right: 1px solid var(--border-default); font-size: 0.9375rem; }

.spec-value { width: 67%; padding: 1rem 1.5rem; color: var(--text-secondary); font-size: 0.9375rem; }

/* ─── Stats Grid ─── */
.stat-item { text-align: center; padding: 2rem 1.5rem; }

.stat-icon { font-size: 1.875rem; margin-bottom: 0.75rem; }

.stat-value { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; color: var(--primary); letter-spacing: -0.02em; }

@media (min-width: 768px) { .stat-value { font-size: 3rem; } }

.stat-label { font-family: var(--font-heading); font-weight: 600; font-size: 0.9375rem; color: var(--text-primary); margin-bottom: 0.25rem; }

.stat-desc { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 0.25rem; }

/* ─── Team ─── */
.team-member { text-align: center; }

.team-avatar { width: 8rem; height: 8rem; margin: 0 auto 1.25rem; border-radius: 50%; overflow: hidden; background: var(--surface-muted); box-shadow: var(--shadow-md); }

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

.team-avatar .initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.875rem; font-weight: 700; color: #fff; background: var(--primary); }

.team-member h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }

.team-member .role { font-size: 0.875rem; margin-top: 0.25rem; color: var(--primary); font-weight: 500; }

.team-member .bio { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.5rem; max-width: 20rem; margin-left: auto; margin-right: auto; line-height: 1.6; }

.team-socials { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; }

.team-socials a { font-size: 0.75rem; color: var(--text-tertiary); transition: color var(--duration-fast) var(--ease-out); }

.team-socials a:hover { color: var(--text-secondary); }

/* ─── Timeline ─── */
.timeline { position: relative; }

.timeline-line { position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 2px; background: var(--primary-light); }

@media (min-width: 768px) { .timeline-line { left: 50%; transform: translateX(-50%); } }

.timeline-item { position: relative; margin-bottom: 3rem; }

.timeline-desktop { display: none; }

@media (min-width: 768px) { .timeline-desktop { display: flex; align-items: center; } .timeline-mobile { display: none; } }

.timeline-mobile { display: flex; align-items: flex-start; gap: 1rem; }

.timeline-dot { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.875rem; font-weight: 700; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-md); flex-shrink: 0; z-index: 10; }

.timeline-content .date { font-size: 0.875rem; font-weight: 600; color: var(--primary); }

.timeline-content h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-top: 0.25rem; }

.timeline-content p { font-size: 0.875rem; color: var(--text-secondary); margin-top: 0.25rem; line-height: 1.6; }

.timeline-left { width: 41.67%; text-align: right; padding-right: 2rem; }

.timeline-center { width: 16.67%; display: flex; justify-content: center; }

.timeline-right { width: 41.67%; }

.timeline-item:nth-child(even) .timeline-desktop { flex-direction: row-reverse; }

.timeline-item:nth-child(even) .timeline-left { text-align: left; padding-left: 2rem; padding-right: 0; }

/* ─── Product Catalog ─── */
.catalog-sidebar { width: 100%; }

@media (min-width: 768px) { .catalog-sidebar { width: 16rem; flex-shrink: 0; } }

.catalog-cat-btn { display: block; width: 100%; text-align: left; padding: 0.625rem 1rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; border: none; cursor: pointer; background: none; color: var(--text-primary); transition: all var(--duration-fast) var(--ease-out); }

.catalog-cat-btn:hover { background: var(--surface-muted); }

.catalog-cat-btn.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }

.catalog-sub-btn { display: block; width: 100%; text-align: left; padding: 0.375rem 0.75rem; margin-left: 1rem; border-radius: 0.25rem; font-size: 0.875rem; border: none; cursor: pointer; background: none; color: var(--text-secondary); transition: color var(--duration-fast) var(--ease-out); }

.catalog-sub-btn.active { color: var(--primary); font-weight: 600; }

.catalog-product { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border-default); overflow: hidden; transition: all var(--duration-normal) var(--ease-out); }

.catalog-product:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.catalog-product img { width: 100%; height: 12rem; object-fit: cover; }

.catalog-product-body { padding: 1.25rem; }

.catalog-product h3 { font-weight: 700; font-size: 1rem; }

.catalog-product .desc { color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.25rem; }

.catalog-spec { display: flex; font-size: 0.75rem; margin-top: 0.25rem; }

.catalog-spec .spec-k { color: var(--text-tertiary); width: 5rem; flex-shrink: 0; }

.catalog-spec .spec-v { color: var(--text-secondary); }

/* ─── Inquiry Form ─── */
.inquiry-form { background: var(--surface); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-md); border: 1px solid var(--border-subtle); }

.inquiry-field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.375rem; }

.inquiry-field input, .inquiry-field textarea { width: 100%; padding: 0.625rem 0.875rem; border: 1.5px solid var(--border-default); border-radius: var(--radius-md); font-size: 0.875rem; transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); background: var(--surface); }

.inquiry-field input:focus, .inquiry-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); outline: none; }

.inquiry-field textarea { height: 7rem; resize: none; }

.inquiry-submit { width: 100%; padding: 0.75rem; border-radius: var(--radius-pill); border: none; color: #fff; font-weight: 600; font-size: 0.9375rem; cursor: pointer; background: var(--primary); box-shadow: var(--shadow-sm); transition: all var(--duration-fast) var(--ease-out); }

.inquiry-submit:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }

.inquiry-contact { background: var(--surface); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle); }

.inquiry-contact h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem; }

.inquiry-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }

.inquiry-contact-item .label { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); }

.inquiry-contact-item .value { font-size: 0.875rem; color: var(--text-secondary); }

/* ─── Certification Wall ─── */
.cert-card { background: var(--surface); border: 1px solid var(--border-default); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: all var(--duration-normal) var(--ease-out); }

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

.cert-card img { width: 4rem; height: 4rem; margin: 0 auto 0.75rem; object-fit: contain; }

.cert-badge {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-fast) var(--ease-out-expo);
}

.cert-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-expo);
}

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

.cert-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
}

.cert-card .issuer {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.cert-card .year {
  font-size: 0.8125rem;
  color: var(--primary);
  margin-top: 0.125rem;
  font-weight: 500;
}

/* ── Variant: Hero Split ── */
.hero--split {
  min-height: auto;
  padding: 5rem 0;
  background-color: var(--bg);
}

.hero--split .hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: left;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.hero--split h1 {
  text-align: left;
  color: var(--fg);
  line-height: 1.2;
}

.hero--split p.sub {
  text-align: left;
  margin-left: 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero--split .hero-ctas {
  justify-content: flex-start;
  margin-top: 2rem;
}

.hero--split .hero-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero--split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero--split .hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.hero--split .hero-image:hover::after {
  opacity: 1;
}

/* ── Variant: Hero Minimal ── */
.hero--minimal {
  min-height: 60vh;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.hero--minimal .hero-ctas .btn-secondary {
  display: none;
}

.hero--minimal .hero-stats {
  display: none;
}

.hero--minimal h1 {
  color: var(--fg);
  text-align: center;
  font-size: 3rem;
  line-height: 1.1;
}

.hero--minimal p {
  color: var(--muted);
  text-align: center;
  font-size: 1.125rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ── Variant: Navbar Transparent ── */
.navbar--transparent {
  position: absolute;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  transition: background-color var(--duration-normal) var(--ease-out-expo), border-bottom-color var(--duration-normal) var(--ease-out-expo);
  z-index: 1000;
}

.navbar--transparent .navbar-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast) var(--ease-out-expo);
  position: relative;
  padding-bottom: 5px;
}

.navbar--transparent .navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width var(--duration-fast) var(--ease-out-expo);
}

.navbar--transparent .navbar-links a:hover {
  color: #fff;
}

.navbar--transparent .navbar-links a:hover::after {
  width: 100%;
}

.navbar--transparent .navbar-logo span {
  color: #fff;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.navbar--transparent .navbar-toggle {
  color: rgba(255, 255, 255, 0.85);
}

.navbar--transparent .navbar-mobile {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  border-top-color: rgba(255, 255, 255, 0.1);
}

.navbar--transparent .navbar-mobile a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.navbar--transparent .navbar-mobile a:hover {
  color: #fff;
}

.navbar--transparent .navbar-mobile .mobile-cta {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.navbar--transparent .navbar-mobile .mobile-cta:hover {
  opacity: 0.9;
}

.navbar--transparent.navbar--scrolled {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.navbar--transparent.navbar--scrolled .navbar-links a {
  color: var(--fg);
}

.navbar--transparent.navbar--scrolled .navbar-links a:hover {
  color: var(--primary);
}

.navbar--transparent.navbar--scrolled .navbar-links a::after {
  background-color: var(--primary);
}

.navbar--transparent.navbar--scrolled .navbar-logo span {
  color: var(--fg);
}

.navbar--transparent.navbar--scrolled .navbar-toggle {
  color: var(--fg);
}

.navbar--transparent.navbar--scrolled .navbar-mobile {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-top-color: var(--border);
}

.navbar--transparent.navbar--scrolled .navbar-mobile a {
  color: var(--fg);
}

.navbar--transparent.navbar--scrolled .navbar-mobile a:hover {
  color: var(--primary);
}

.navbar--transparent.navbar--scrolled .navbar-mobile .mobile-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: none;
}

/* ── Variant: Navbar Dark ── */
.navbar--dark {
  background: #0f172a;
  border-bottom-color: #1e293b;
  transition: background-color var(--duration-normal) var(--ease-out-expo), border-bottom-color var(--duration-normal) var(--ease-out-expo);
  z-index: 1000;
}

.navbar--dark .navbar-links a {
  color: #cbd5e1;
  transition: color var(--duration-fast) var(--ease-out-expo);
  position: relative;
  padding-bottom: 5px;
}

.navbar--dark .navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width var(--duration-fast) var(--ease-out-expo);
}

.navbar--dark .navbar-links a:hover {
  color: #fff;
}

.navbar--dark .navbar-links a:hover::after {
  width: 100%;
}

.navbar--dark .navbar-logo span {
  color: #fff;
}

.navbar--dark .navbar-toggle {
  color: #cbd5e1;
}

.navbar--dark .navbar-mobile {
  background: #0f172a;
  border-top-color: #1e293b;
}

.navbar--dark .navbar-mobile a {
  color: #cbd5e1;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.navbar--dark .navbar-mobile a:hover {
  color: #fff;
}

.navbar--dark .navbar-mobile .mobile-cta {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.navbar--dark .navbar-mobile .mobile-cta:hover {
  opacity: 0.9;
}

.navbar--dark.navbar--scrolled {
  background: #1e293b;
  border-bottom-color: #334155;
}

.navbar--dark.navbar--scrolled .navbar-links a {
  color: #e2e8f0;
}

.navbar--dark.navbar--scrolled .navbar-links a:hover {
  color: #fff;
}

.navbar--dark.navbar--scrolled .navbar-links a::after {
  background-color: var(--primary);
}

.navbar--dark.navbar--scrolled .navbar-logo span {
  color: #e2e8f0;
}

.navbar--dark.navbar--scrolled .navbar-toggle {
  color: #e2e8f0;
}

.navbar--dark.navbar--scrolled .navbar-mobile {
  background: #1e293b;
  backdrop-filter: blur(16px);
  border-top-color: #334155;
}

.navbar--dark.navbar--scrolled .navbar-mobile a {
  color: #e2e8f0;
}

.navbar--dark.navbar--scrolled .navbar-mobile a:hover {
  color: #fff;
}

.navbar--dark.navbar--scrolled .navbar-mobile .mobile-cta {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

/* ── Variant: Feature Grid Bento ── */
.feature-grid--bento .grid {
  grid-template-rows: auto;
  gap: var(--gap-md);
}

.feature-grid--bento .feature-card:first-child {
  grid-row: span 2;
}

.feature-grid--bento .feature-card:first-child img {
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
}

.feature-grid--bento .feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-expo);
}

.feature-grid--bento .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-grid--bento .feature-card-body {
  padding: 1.5rem;
}

.feature-grid--bento .feature-card-body h3 {
  color: var(--fg);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-grid--bento .feature-card-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.feature-grid--bento .feature-card-body .btn {
  margin-top: 1rem;
}

/* ── Variant: Feature Grid Minimal ── */
.feature-grid--minimal .feature-card {
  border: none;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.feature-grid--minimal .feature-card:hover {
  box-shadow: none;
  transform: none;
}

.feature-grid--minimal .feature-card-body {
  padding: 1rem 0;
}

.feature-grid--minimal .feature-card-body h3 {
  color: var(--fg);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-grid--minimal .feature-card-body p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ── Variant: Testimonial Single ── */
.testimonial--single .grid {
  grid-template-columns: 1fr !important;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.testimonial--single .testimonial-card {
  padding: 3rem;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial--single .testimonial-card .quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial--single .testimonial-card .quote::before {
  content: '“';
  font-size: 3rem;
  opacity: 0.3;
  line-height: 1;
  display: block;
  margin-bottom: -1.5rem;
}

.testimonial--single .testimonial-author {
  justify-content: center;
  margin-top: 1.5rem;
}

.testimonial--single .testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial--single .testimonial-author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-pill);
  background-color: var(--primary-light);
  overflow: hidden;
}

.testimonial--single .testimonial-author-name {
  font-weight: 700;
  color: var(--fg);
  font-size: 1rem;
}

.testimonial--single .testimonial-author-title {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Variant: Testimonial Featured ── */
.testimonial--featured .testimonial-card:first-child {
  grid-column: 1 / -1;
  padding: 2.5rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
}

.testimonial--featured .testimonial-card:first-child .quote {
  font-size: 1.125rem;
  color: var(--fg);
  line-height: 1.6;
}

.testimonial--featured .testimonial-card:first-child .quote::before {
  font-size: 2.5rem;
  margin-bottom: -1rem;
}

.testimonial--featured .testimonial-card:not(:first-child) {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.testimonial--featured .testimonial-card:not(:first-child) .quote {
  font-size: 1rem;
  color: var(--fg);
  line-height: 1.5;
}

.testimonial--featured .testimonial-card:not(:first-child) .quote::before {
  font-size: 2rem;
  margin-bottom: -0.8rem;
}

.testimonial--featured .testimonial-author {
  margin-top: 1rem;
}

.testimonial--featured .testimonial-author-avatar {
  width: 2.5rem;
  height: 2.5rem;
}

.testimonial--featured .testimonial-author-name {
  font-size: 0.9375rem;
}

.testimonial--featured .testimonial-author-title {
  font-size: 0.8125rem;
}

/* ── Variant: Footer Minimal ── */
.footer--minimal {
  padding: 2.5rem 0;
  background-color: var(--bg);
  color: var(--muted);
}

.footer--minimal .footer-grid {
  grid-template-columns: 1fr;
  text-align: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.footer--minimal .footer-col {
  display: none;
}

.footer--minimal .footer-socials {
  justify-content: center;
  gap: 1rem;
}

.footer--minimal .footer-socials a {
  color: var(--muted);
  font-size: 1.5rem;
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.footer--minimal .footer-socials a:hover {
  color: var(--primary);
}

.footer--minimal .footer-copyright {
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

/* ── Variant: Footer Light ── */
.footer--light {
  background: var(--surface-muted);
  color: var(--text-primary);
  padding: 3rem 0 2rem;
}

.footer--light .footer-col a {
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out-expo);
}

.footer--light .footer-col a:hover {
  color: var(--primary);
}

.footer--light .footer-col a::after {
  background: var(--primary);
}

.footer--light .footer-copyright {
  border-top-color: var(--border);
  color: var(--muted);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.footer--light .footer-socials a {
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  transition: color var(--duration-fast) var(--ease-out-expo), background var(--duration-fast) var(--ease-out-expo);
}

.footer--light .footer-socials a:hover {
  color: var(--primary);
  background: rgba(0, 0, 0, 0.08);
}

/* ── Variant: CTA Split ── */
.cta--split {
  text-align: left;
  background-color: var(--surface-elevated);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-sm);
}

.cta--split .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta--split h2 {
  text-align: left;
  margin-bottom: 0;
  color: var(--fg);
  line-height: 1.2;
  font-size: 2rem;
}

.cta--split p {
  text-align: left;
  margin-bottom: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.cta--split .btn {
  margin-top: 0;
  flex-shrink: 0;
}

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

.shimmer-effect {
  position: relative;
  overflow: hidden;
}

.shimmer-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.5s var(--ease-out-expo) infinite;
  z-index: 1;
}

/* ── Variant: Stats Decorated ── */
.stats--decorated .stat-item {
  position: relative;
  padding-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.stats--decorated .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.stats--decorated .stat-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stats--decorated .stat-value,
.stats--decorated .stat-label {
  color: var(--fg);
}

.stats--decorated .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}

.stats--decorated .stat-label {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none; /* Remove existing animation */
  animation-delay: calc(var(--stagger, 0) * 0.08s);
}

/* Image hover effect */
.feature-card img,
.product-card img,
.catalog-product img {
  transition: transform var(--duration-slow) var(--ease-out-expo), filter var(--duration-fast) var(--ease-out-expo);
}

.feature-card:hover img,
.product-card:hover img,
.catalog-product:hover img {
  transform: scale(1.04);
  filter: brightness(95%) saturate(110%);
}

/* Subtle glow effect for cards */
.feature-card,
.product-card,
.catalog-product,
.cert-card {
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-out-expo);
}

.feature-card::before,
.product-card::before,
.catalog-product::before,
.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out-expo);
  pointer-events: none;
}

.feature-card:hover::before,
.product-card:hover::before,
.catalog-product:hover::before,
.cert-card:hover::before {
  opacity: 1;
}

.feature-card:hover,
.product-card:hover,
.catalog-product:hover,
.cert-card:hover {
  box-shadow: var(--shadow-lg), 0 0 15px rgba(130, 87, 229, 0.3); /* Example glow using primary color */
}

/* Basic Button Styles - Ensuring consistency and adding hover effects */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--duration-fast) var(--ease-out-expo), color var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-fast) var(--ease-out-expo), transform var(--duration-fast) var(--ease-out-expo);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-text {
  background: none;
  color: var(--primary);
  padding-left: 0;
  padding-right: 0;
  font-weight: 700;
}

.btn-text:hover {
  text-decoration: underline;
  color: var(--primary-dark);
  transform: none;
}

/* General spacing and alignment */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-header p.sub {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: var(--gap-md, 2rem);
}

/* Add ripple effect on button clicks */
.btn:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-xs);
}

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0.7;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  pointer-events: none;
}

.ripple:active::after {
  transform: translate(-50%, -50%) scale(2);
  opacity: 0;
}

/* Subtle animation for section titles */
.section-header h2 {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo);
}

.section-header.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

/* Add pulsing effect to specific elements */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulsing-element {
  animation: pulse var(--duration-xl) var(--ease-out-expo) infinite;
}