/* Modern site theme (used by index.html and certificates.html) */
/* Contact section enhancements */
.contact-grid { gap: 24px; align-items: center; }
.contact-card { text-align: center; padding: 32px; }
.contact-sub { color: #64748b; margin: -8px 0 12px; }
.contact-ways { display: flex; flex-wrap: wrap; gap: 10px 12px; justify-content: center; margin-bottom: 8px; }
.chip { display: inline-block; padding: 8px 12px; border: 1px solid rgba(100,116,139,0.25); border-radius: 999px; color: #0f172a; background: rgba(148,163,184,0.08); text-decoration: none; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.chip:hover { transform: translateY(-1px); background: rgba(148,163,184,0.14); border-color: rgba(100,116,139,0.35); }
.contact-media .lottie-wrap { max-width: 320px; margin: 0 auto; }

/* Bottom contact strip */
.contact-strip { background: linear-gradient(180deg, #0f172a, #0b1220); color: #e2e8f0; padding-top: 48px; padding-bottom: 32px; width: 100%; position: relative; left: 0; right: 0; margin-left: 0; margin-right: 0; }
.footer-amz.section { max-width: none; padding-left: 0; padding-right: 0; }
.contact-strip .contact-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.contact-strip h2, .contact-strip h3 { color: #f1f5f9; }
.contact-strip a { color: #e2e8f0; }
.contact-strip .card { background: rgba(255,255,255,0.04); border: 1px solid rgba(148,163,184,0.18); box-shadow: none; }
.contact-strip .contact-sub { color: #cbd5e1; }
.contact-strip .chip { color: #e2e8f0; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.contact-strip .chip:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); }
.contact-strip .btn.ghost { border-color: rgba(255,255,255,0.28); color: #e2e8f0; }
.contact-strip .btn.ghost:hover { background: rgba(255,255,255,0.08); }

/* Three-column layout inside contact strip */
.contact-columns { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-top: 12px; }
@media (min-width: 720px) { .contact-columns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .contact-columns { grid-template-columns: 1.2fr 0.8fr 0.8fr; } }
.contact-col h3 { margin-bottom: 8px; }
.contact-col .hero-actions { justify-content: flex-start; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list a { text-decoration: none; opacity: 0.9; }
.link-list a:hover { opacity: 1; text-decoration: underline; }
.bottom-meta { text-align: center; color: #94a3b8; font-size: 0.9rem; margin-top: 18px; border-top: 1px solid rgba(148,163,184,0.18); padding-top: 14px; }

/* Fixed bottom tabs */
/* Remove bottom-tabs padding if styles remain cached */
body { padding-bottom: 0; }

/* Amazon-like footer styles */
.footer-amz-top { display: none; }
.footer-amz-top a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-amz-top a:hover { text-decoration: underline; }

.footer-amz { background: #232f3e !important; color: #ddd; }
.footer-amz h3 { color: #fff; }
.footer-amz a { color: #ddd; }
.footer-amz a:hover { text-decoration: underline; }
.footer-amz .chip { color: #e6eef6; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); }
.footer-amz .chip:hover { background: rgba(255,255,255,0.1); }
.contact-actions { justify-content: flex-start; }

.footer-legal { width: 100%; position: relative; left: 0; right: 0; margin-left: 0; margin-right: 0; background: #131a22; color: #9fb0c0; text-align: center; font-size: 0.9rem; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08); }
:root { --accent: #ffea00; --accent2: #fde047; --ink: #0f172a; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Fira Sans", sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky; top: 0; left: 0; right: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 20px;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; gap: 10px; align-items: center; color: #e2e8f0; font-weight: 700; letter-spacing: .3px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: #84cc16; box-shadow: 0 0 10px #bef264; }
.hamburger { display: none; background: none; border: none; color: #ffea00; font-size: 1.6rem; cursor: pointer; }
.nav-links { display: flex; gap: 10px; }
.nav-links a { color: var(--accent); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; transition: transform .15s ease, background .2s ease, color .2s ease; }
.nav-links a:hover { background: rgba(255, 234, 0, 0.12); }
.nav-links a.active { outline: 2px solid rgba(255,234,0,0.35); background: rgba(255, 234, 0, 0.08); }
.nav-links .cta { color: #111827; background: var(--accent); }
.nav-links .cta:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(17,24,39,0.15); }

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links { position: fixed; left: 0; right: 0; top: 60px; bottom: 0; background: rgba(15,23,42,0.98); display: none; flex-direction: column; padding: 20px; overflow-y: auto; }
  .navbar.menu-open .nav-links { display: flex; }
  .nav-links a { font-size: 1.1rem; border: 1px solid rgba(255,255,255,0.08); }
  body { overflow-x: hidden; }
}

/* Hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 60px 20px 30px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero .lead { color: #0f172a; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.hero .subtitle { color: #334155; font-size: clamp(16px, 2vw, 18px); margin: 14px 0 22px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { background: #111827; color: #ffea00; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 12px; letter-spacing: .3px; }
.hero-card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); }
.hero-card .title { color: #0f172a; font-weight: 800; margin-bottom: 8px; }
.hero-actions { display: flex; gap: 10px; margin-top: 16px; }
.btn { border: none; border-radius: 10px; padding: 12px 16px; font-weight: 800; cursor: pointer; position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .2s ease, background-position .3s ease; }
.btn.primary { background: linear-gradient(90deg, var(--accent) 0%, var(--accent2) 100%); background-size: 200% 100%; color: #111827; }
.btn.primary:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17,24,39,0.15); }
.btn.ghost { background: #0f172a; color: var(--accent); border: 1px solid rgba(255,255,255,0.08); }
.btn.ghost:hover { color: #111827; background: var(--accent); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(17,24,39,0.15); }
.btn:focus-visible { outline: 3px solid rgba(255,234,0,0.6); outline-offset: 2px; }

/* Lottie container helpers */
.lottie-wrap { display: flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; min-height: 220px; width: 100%; }
.lottie-wrap lottie-player, .lottie-wrap dotlottie-player { width: 100%; height: 100%; }
.hero .lottie-wrap { aspect-ratio: 1.2 / 1; }
@media (max-width: 900px) { .hero .lottie-wrap { aspect-ratio: 16 / 10; } }

@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

/* Sections */
.section { max-width: 1200px; margin: 0 auto; padding: 10px 20px 60px; }
.section h2 { font-size: 22px; color: #0f172a; margin: 20px 0 14px; font-weight: 900; letter-spacing: .2px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(2,6,23,0.06); min-height: 260px; }
.card h3 { margin: 0 0 10px; font-size: 20px; color: #0f172a; font-weight: 900; }
.card p { margin: 0; color: #334155; font-size: 15px; }
.card ul { margin: 6px 0 0; padding-left: 18px; color: #334155; font-size: 14px; }
.card ul li { margin: 4px 0; }
/* Small animations inside cards */
.card-anim { display: flex; align-items: center; justify-content: center; height: 150px; margin: -6px -6px 10px; }
.card-anim dotlottie-player, .card-anim lottie-player { width: 100%; height: 100%; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr; } }

/* Product page */
.product-hero { padding: 56px 20px 24px; max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 0; }
.product-hero::before { content: ""; position: absolute; inset: -14px 0; left: 50%; transform: translateX(-50%); width: 100vw; background: #f1f5f9; z-index: -1; }
.product-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 900; color: #0f172a; margin: 0 0 8px; }
.product-hero p { color: #334155; margin-top: 6px; font-size: 16px; }
.product-grid { max-width: 1200px; margin: 0 auto; padding: 10px 20px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product-card { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; box-shadow: 0 6px 24px rgba(2,6,23,0.05); display: flex; flex-direction: column; gap: 8px; }
.product-card .meta { color: #64748b; font-size: 12px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

/* Zigzag sections (combined page layout) */
.zigzag { max-width: 1200px; margin: 0 auto; padding: 26px 20px 80px; display: grid; gap: 36px; }
.zigzag h2 { font-size: clamp(26px, 3.6vw, 34px); color: #0f172a; margin: 12px 0 10px; font-weight: 900; letter-spacing: .2px; text-align: center; }
.zigzag .section-intro { color: #334155; font-size: 17px; line-height: 1.75; margin: 0 0 18px; max-width: 72ch; }
.zigzag .row { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: start; padding: 16px 0; }
.zigzag .row.reverse { grid-template-columns: 1.3fr 0.7fr; }
.zigzag .row .points { grid-column: 1; }
.zigzag .row .media { grid-column: 2; }
.zigzag .row.reverse .points { grid-column: 2; }
.zigzag .row.reverse .media { grid-column: 1; }
.zigzag .points { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; max-width: 72ch; }
.zigzag .points h3 { margin: 0 0 12px; color: #0f172a; font-size: clamp(20px, 2.6vw, 24px); font-weight: 900; }
.zigzag .points ul { margin: 0; padding-left: 22px; color: #334155; font-size: clamp(16px, 2vw, 18px); line-height: 1.8; }
.zigzag .points ul li { margin: 10px 0; }
.zigzag .media { display: flex; align-items: start; justify-content: flex-start; width: 100%; }
.zigzag .row.reverse .media { justify-content: flex-end; }
.zigzag .media .lottie-wrap { min-height: 320px; width: 100%; }

/* Nudge left-side animations a bit further left on wide screens */
@media (min-width: 901px) {
  .zigzag .row.reverse .media .lottie-wrap { transform: translateX(-32px) scale(0.9); transform-origin: left center; }
}
@media (max-width: 900px) {
  .zigzag .row.reverse .media .lottie-wrap { transform: none; }
}

/* Subtle entrance animations */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  .zigzag .row .points { animation: fadeUp .6s ease both; }
  .zigzag .row .media { animation: fadeUp .6s ease .08s both; }
}

/* Blog-style sections */
.blog-main { display: block; }
.blog-section { position: relative; z-index: 0; padding: 28px 0 70px; }
.blog-section h2 { text-align: center; font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 12px; color: #0f172a; font-weight: 900; }
.blog { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.blog::after { content: ""; display: block; clear: both; }
.blog .media { width: clamp(260px, 36%, 420px); }
.blog .media.right { float: right; margin: 6px 0 18px 28px; }
.blog .media.left { float: left; margin: 6px 28px 18px 0; }
.blog .media .lottie-wrap { min-height: 280px; width: 100%; }
.blog .block { margin: 8px 0 18px; }
.blog .block h3 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 24px); font-weight: 900; color: #0f172a; }
.blog .block ul { margin: 0; padding-left: 20px; color: #334155; font-size: clamp(16px, 2vw, 18px); line-height: 1.8; }
.blog .block ul li { margin: 8px 0; }

/* Stripe separators for blog main as well */
.blog-main > section::before { content: ""; position: absolute; inset: -12px 0; left: 50%; transform: translateX(-50%); width: 100vw; background: #f8fafc; z-index: -1; }
.blog-main > section:nth-of-type(even)::before { background: #f1f5f9; }

@media (max-width: 900px) {
  .blog .media.right, .blog .media.left { float: none; margin: 0 0 16px 0; width: 100%; }
}

/* Simple stacked page layout */
.simple-main { max-width: 1000px; margin: 0 auto; padding: 28px 20px 80px; }
.simple-section { position: relative; z-index: 0; padding: 36px 0; }
.simple-section h2 { text-align: center; font-size: clamp(28px, 4vw, 36px); font-weight: 900; color: #0f172a; margin: 0 0 12px; }
.simple-intro { text-align: center; color: #334155; max-width: 80ch; margin: 0 auto 18px; font-size: 17px; }
.media-center { display: flex; justify-content: center; align-items: center; margin: 16px 0 22px; }
.media-center .lottie-wrap { width: clamp(260px, 60%, 540px); min-height: 280px; }
.simple-main .block { margin: 10px 0 18px; }
.simple-main .block h3 { margin: 0 0 8px; font-size: clamp(20px, 2.6vw, 24px); font-weight: 900; color: #0f172a; }
.simple-main .block p { margin: 0; color: #334155; font-size: clamp(16px, 2vw, 18px); line-height: 1.8; }

/* Stripes for simple layout */
.simple-main > section::before { content: ""; position: absolute; inset: -12px 0; left: 50%; transform: translateX(-50%); width: 100vw; background: #f8fafc; z-index: -1; }
.simple-main > section:nth-of-type(even)::before { background: #f1f5f9; }

/* Full-width stripe separators behind each section */
.zigzag > section { position: relative; z-index: 0; }
.zigzag > section::before { content: ""; position: absolute; inset: -12px 0; left: 50%; transform: translateX(-50%); width: 100vw; background: transparent; z-index: -1; }
.zigzag > section:nth-of-type(odd)::before { background: #f8fafc; }
.zigzag > section:nth-of-type(even)::before { background: #f1f5f9; }

/* Inline link CTA (non-boxy) */
/* Inline links should look like regular text in lists */
.link-inline { color: inherit; font-weight: inherit; text-decoration: none; border-bottom: 1px solid rgba(2,6,23,0.18); padding-bottom: 1px; transition: border-color .2s ease; }
.link-inline:hover { border-color: rgba(2,6,23,0.35); }

/* Also normalize any anchor inside points list */
.zigzag .points ul li a { color: inherit; font-weight: inherit; text-decoration: none; border-bottom: 1px solid rgba(2,6,23,0.18); padding-bottom: 1px; }
.zigzag .points ul li a:hover { border-color: rgba(2,6,23,0.35); }
@media (max-width: 900px) {
  .zigzag .row, .zigzag .row.reverse { grid-template-columns: 1fr; }
}

/* Certificates */
.certs-hero { max-width: 1200px; margin: 0 auto; padding: 56px 20px 12px; }
.certs-grid { max-width: 1200px; margin: 0 auto; padding: 10px 20px 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert-card { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.cert-card a { color: #0f172a; text-decoration: none; font-weight: 700; }
.cert-card a:hover { text-decoration: underline; }
@media (max-width: 900px) { .certs-grid { grid-template-columns: 1fr; } }
