/* CidTools — shared site stylesheet (H-Dark Hero design system) */

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #0F172A;
  background: #FFFFFF;
  padding-top: 96px;
}

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

/* ===== NAV (locked component) ===== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px; padding: 0 48px;
  background: rgba(15,23,42,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: box-shadow .2s ease;
  color: white;
}
.nav::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0EA5E9, #7C3AED); }
.nav.scrolled { box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: white; text-decoration: none; }
.logo-badge { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.navlinks > a.nav-icon-link { padding: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.navlinks { display: flex; gap: 6px; font-size: 15px; color: #CBD5E1; align-items: center; height: 100%; }
.navlinks > a, .dropdown > a { position: relative; color: inherit; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-weight: 500; letter-spacing: .01em; transition: background .2s ease, color .2s ease; }
.navlinks > a:hover, .navlinks > a.active { background: rgba(255,255,255,0.1); color: white; }
.dropdown { position: static; height: 100%; display: flex; align-items: center; }
.dropdown > a { cursor: default; display: flex; align-items: center; gap: 5px; }
.dropdown:hover > a { background: rgba(255,255,255,0.1); color: white; }
.dropdown > a .caret { display: inline-block; transition: transform .2s ease; font-size: 10px; }
.dropdown:hover > a .caret { transform: rotate(180deg); }

/* ===== MEGA MENU (locked component) ===== */
.megapanel { position: fixed; top: 96px; left: 0; right: 0; background: white; color: #0F172A; border-bottom: 1px solid #F1F5F9; box-shadow: 0 24px 48px rgba(0,0,0,0.25); padding: 32px 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .15s ease; z-index: 30; }
.dropdown:hover .megapanel { opacity: 1; visibility: visible; transform: translateY(0); }
.megapanel-inner { max-width: 940px; margin: 0 auto; padding: 0 48px; }
.megapanel h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; margin-bottom: 16px; font-weight: 600; }
.megapanel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega-product { display: block; text-decoration: none; color: inherit; }
.mega-product-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mega-product .icon { width: 32px; height: 32px; border-radius: 9px; background: #F1F5F9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 4px; }
.mega-product .icon img { width: 100%; height: 100%; object-fit: contain; }
.mega-product h3 { font-size: 14.5px; }
.mega-product p { font-size: 12.5px; color: #64748B; line-height: 1.5; }
.mega-product-head .badge-soon { margin-left: 2px; }

/* ===== MOBILE NAV (below 900px) ===== */
.mobile-nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: none; border-radius: 8px; cursor: pointer; color: white; flex-shrink: 0; }
.mobile-nav-toggle .icon-close { display: none; }
.mobile-nav-toggle.open .icon-menu { display: none; }
.mobile-nav-toggle.open .icon-close { display: flex; }
.mobile-menu { display: none; }
.mobile-menu-backdrop { position: fixed; top: 96px; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); z-index: 40; }
.mobile-menu-panel { position: fixed; top: 96px; left: 0; right: 0; background: #0F172A; border-bottom: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 48px rgba(0,0,0,0.35); z-index: 50; padding: 8px 0 12px; max-height: calc(100vh - 96px); overflow-y: auto; }
.mobile-menu-label { padding: 14px 20px 6px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #94A3B8; }
.mobile-menu-sublink { display: block; padding: 13px 20px 13px 32px; color: #E2E8F0; font-size: 14.5px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu-link { display: block; padding: 14px 20px; color: white; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu-link:last-child { border-bottom: none; }

/* ===== "Coming soon" badge ===== */
.badge-soon { display: inline-flex; align-items: center; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #B45309; background: #FEF3C7; border: 1px solid #FDE68A; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }

/* ===== HERO (home) ===== */
.hero { position: relative; overflow: hidden; background: #0B1220; padding: 110px 48px 90px; text-align: center; color: white; }
.hero .glow-a { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,0.25), transparent 70%); top: -180px; left: -80px; }
.hero .glow-b { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.2), transparent 70%); bottom: -220px; right: -100px; }
.hero h1 { position: relative; font-size: 50px; font-weight: 800; line-height: 1.15; max-width: 720px; margin: 0 auto 20px; letter-spacing: -0.02em; }
.hero p { position: relative; font-size: 17px; color: #94A3B8; max-width: 540px; margin: 0 auto 34px; }

/* ===== PAGE HERO (secondary pages) ===== */
.page-hero { position: relative; overflow: hidden; background: #0B1220; padding: 76px 48px 64px; text-align: center; color: white; }
.page-hero .glow-a { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,0.22), transparent 70%); top: -160px; left: -60px; }
.page-hero .glow-b { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%); bottom: -180px; right: -80px; }
.page-hero .eyebrow { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #38BDF8; margin-bottom: 10px; }
.page-hero h1 { position: relative; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.page-hero p { position: relative; font-size: 15.5px; color: #94A3B8; max-width: 560px; margin: 0 auto; }

/* ===== DEVICE MOCKUPS ===== */
.device { background: white; border-radius: 12px; border: 1px solid #E2E8F0; box-shadow: 0 20px 45px rgba(15,23,42,0.12); overflow: hidden; }
.device-bar { background: #F8FAFC; padding: 9px 12px; display: flex; gap: 6px; border-bottom: 1px solid #E2E8F0; }
.device-bar span { width: 9px; height: 9px; border-radius: 50%; background: #E2E8F0; display: block; }
.device-body { padding: 20px; min-height: 200px; }
.device-body.tight { padding: 0; min-height: 0; line-height: 0; }
.device-body.tight img, .device-body.tight video { width: 100%; display: block; }

/* ===== COMING SOON PANEL (product not yet ready for release) ===== */
.coming-soon-panel {
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1px dashed #FDE68A; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 260px; text-align: center; padding: 48px 32px;
}
.coming-soon-panel .icon { width: 52px; height: 52px; border-radius: 50%; background: white; border: 1px solid #FDE68A; display: flex; align-items: center; justify-content: center; }
.coming-soon-panel .icon svg { width: 24px; height: 24px; color: #B45309; }
.coming-soon-panel h3 { font-size: 16px; font-weight: 700; color: #92400E; }
.coming-soon-panel p { font-size: 13px; color: #B45309; max-width: 420px; line-height: 1.6; }

/* ===== FEATURE TOUR (tabbed real screenshots/gifs) ===== */
.tour { max-width: 1080px; margin: 0 auto; padding: 10px 48px 90px; }
.tour-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tour-tab { font-size: 13.5px; font-weight: 700; padding: 10px 20px; border-radius: 999px; border: 1px solid #E2E8F0; background: white; color: #64748B; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.tour-tab:hover { border-color: #CBD5E1; }
.tour-tab.active { background: #0B1220; color: white; border-color: #0B1220; }
.tour-stage { display: flex; gap: 32px; align-items: flex-start; }
.tour-main { flex: 2; min-width: 0; }
.tour-frame { background: white; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; box-shadow: 0 16px 36px rgba(15,23,42,0.1); cursor: zoom-in; position: relative; }
.tour-frame .frame-bar { background: #F8FAFC; padding: 8px 12px; display: flex; gap: 6px; border-bottom: 1px solid #E2E8F0; }
.tour-frame .frame-bar span { width: 8px; height: 8px; border-radius: 50%; background: #E2E8F0; display: block; }
.tour-frame img { width: 100%; display: block; }
.tour-frame .zoom-badge { position: absolute; top: 10px; right: 10px; background: rgba(11,18,32,0.75); color: white; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .15s ease; pointer-events: none; display: flex; align-items: center; gap: 5px; }
.tour-frame:hover .zoom-badge { opacity: 1; }
.tour-main-caption { margin-top: 16px; }
.tour-main-caption .caption-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tour-main-caption h3 { font-size: 18px; font-weight: 800; color: #0F172A; }
.tour-main-caption p { font-size: 13.5px; color: #64748B; line-height: 1.6; }
.tour-thumbs { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tour-thumb { display: flex; align-items: center; gap: 12px; border: 1px solid #E2E8F0; border-radius: 10px; padding: 9px; background: white; cursor: pointer; text-align: left; width: 100%; font: inherit; color: inherit; }
.tour-thumb.active { border-color: #0EA5E9; box-shadow: 0 0 0 2px rgba(14,165,233,0.18); }
.tour-thumb img { width: 64px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: #F8FAFC; }
.tour-thumb span { font-size: 13px; font-weight: 600; color: #0F172A; }
.badge-note { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #64748B; background: #F1F5F9; border: 1px solid #E2E8F0; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.badge-note[hidden] { display: none; }

/* ===== LIGHTBOX (click any screenshot/gif to view full-size) ===== */
.lightbox { position: fixed; inset: 0; background: rgba(6,10,20,0.92); display: none; align-items: center; justify-content: center; z-index: 999; padding: 32px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); cursor: default; }
.lightbox .lb-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: white; font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox .lb-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #CBD5E1; font-size: 13px; }
.lightbox .lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); color: white; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox .lb-arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox .lb-arrow[hidden] { display: none; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
@media (max-width: 560px) {
  .lightbox .lb-arrow { width: 40px; height: 40px; font-size: 20px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
}

/* ===== DEVICE FRAME with a real screenshot inside (clickable) ===== */
.device.clickable { cursor: zoom-in; position: relative; }
.device.clickable .zoom-badge { position: absolute; top: 10px; right: 10px; background: rgba(11,18,32,0.75); color: white; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; opacity: 0; transition: opacity .15s ease; pointer-events: none; display: flex; align-items: center; gap: 5px; }
.device.clickable:hover .zoom-badge { opacity: 1; }

/* ===== PRODUCT BANDS (alternating rows) ===== */
.product-band { padding: 90px 48px; }
.product-band.band-1 { background: #FFFFFF; }
.product-band.band-2 { background: #F5F3FF; }
.product-band.band-3 { background: #EFF8FF; }
.product-row { display: flex; align-items: center; gap: 64px; max-width: 1040px; margin: 0 auto; }
.product-row.reverse { flex-direction: row-reverse; }
.product-visual { flex: 1; }
.product-copy { flex: 1; }
.product-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.product-logo { width: 48px; height: 48px; border-radius: 12px; background: white; padding: 8px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(15,23,42,0.08); }
.product-logo img { width: 100%; height: 100%; object-fit: contain; }
.product-copy h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.01em; color: #0F172A; }
.product-copy h2 a { text-decoration: none; color: inherit; }
.product-copy .tagline { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.product-copy p.desc { font-size: 14.5px; color: #64748B; line-height: 1.6; margin-bottom: 18px; }
.feature-list { list-style: none; }
.feature-list li { font-size: 13.5px; color: #334155; padding-left: 22px; position: relative; margin-bottom: 8px; }
.feature-list li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; }
.band-1 .tagline, .band-1 .feature-list li::before, .band-1 .link-arrow { color: #0369A1; }
.band-2 .tagline, .band-2 .feature-list li::before, .band-2 .link-arrow { color: #6D28D9; }
.band-3 .tagline, .band-3 .feature-list li::before, .band-3 .link-arrow { color: #0369A1; }
.link-arrow { display: inline-block; margin-top: 6px; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ===== TRUST BAR ===== */
.trust-bar { background: #0B1220; padding: 26px 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: #94A3B8; font-size: 13.5px; font-weight: 600; }
.trust-item svg { width: 18px; height: 18px; color: #0EA5E9; flex-shrink: 0; }

/* ===== SECTION HEAD / WHY-US ===== */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0EA5E9; margin-bottom: 10px; }
.section-head h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.section-head p { font-size: 15.5px; color: #64748B; max-width: 520px; margin: 0 auto; }

.why-us { max-width: 1040px; margin: 0 auto; padding: 100px 48px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why-item { text-align: center; }
.why-item .icon { width: 48px; height: 48px; border-radius: 12px; background: #EFF8FF; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-item .icon svg { width: 22px; height: 22px; color: #0369A1; }
.why-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 13px; color: #64748B; line-height: 1.55; }

/* ===== GENERIC CONTENT SECTION (product pages, about) ===== */
.content-section { max-width: 860px; margin: 0 auto; padding: 90px 48px; }
.content-section.narrow { max-width: 700px; }
.content-section h2 { font-size: 26px; font-weight: 800; color: #0F172A; margin-bottom: 18px; letter-spacing: -0.01em; }
.content-section p { font-size: 15px; color: #64748B; line-height: 1.75; margin-bottom: 16px; }
.content-section p:last-child { margin-bottom: 0; }

.feature-grid { max-width: 1040px; margin: 0 auto; padding: 90px 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; background: #F8FAFC; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-tile { border: 1px solid #E2E8F0; border-radius: 10px; padding: 26px; background: white; }
.feature-tile .cmd { font-family: monospace; font-size: 12px; color: #0369A1; margin-bottom: 10px; display: block; }
.feature-tile h3 { font-size: 15.5px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.feature-tile p { font-size: 13px; color: #64748B; line-height: 1.6; }
.feature-tile .tile-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.feature-tile .tile-head i { font-size: 16px; color: #0369A1; flex-shrink: 0; }
.feature-tile .tile-head h3 { margin-bottom: 0; }

/* ===== PRODUCT HERO (per-product pages) ===== */
.product-hero { position: relative; overflow: hidden; background: #0B1220; padding: 64px 48px 56px; text-align: center; color: white; }
.product-hero .glow-a { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,233,0.22), transparent 70%); top: -140px; left: -60px; }
.product-hero .glow-b { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(124,58,237,0.18), transparent 70%); bottom: -160px; right: -80px; }
.product-hero .hero-logo { position: relative; width: 64px; height: 64px; border-radius: 16px; background: white; padding: 12px; margin: 0 auto 22px; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.product-hero .hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.product-hero h1 { position: relative; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.product-hero .tagline { position: relative; color: #7DD3FC; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.product-hero p.desc { position: relative; font-size: 15.5px; color: #94A3B8; max-width: 560px; margin: 0 auto 30px; line-height: 1.6; }
.product-hero .ctagroup { position: relative; }

/* ===== SIMPLE LIST (products index, news index) ===== */
.simple-list { max-width: 860px; margin: 0 auto; padding: 30px 48px 100px; }
.list-row { display: flex; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid #F1F5F9; text-decoration: none; color: inherit; }
.list-row:first-child { border-top: 1px solid #F1F5F9; }
.list-row .icon { width: 44px; height: 44px; border-radius: 10px; background: white; padding: 8px; flex-shrink: 0; border: 1px solid #E2E8F0; box-shadow: 0 2px 8px rgba(15,23,42,0.05); }
.list-row .icon img { width: 100%; height: 100%; object-fit: contain; }
.list-row .titles { flex: 1; }
.list-row h3 { font-size: 16px; color: #0F172A; margin-bottom: 4px; font-weight: 700; }
.list-row p { font-size: 13.5px; color: #64748B; }
.list-row .go { font-size: 13px; color: #0369A1; font-weight: 600; flex-shrink: 0; }

.news-row { display: block; padding: 30px 0; border-bottom: 1px solid #F1F5F9; text-decoration: none; color: inherit; }
.news-row:first-child { border-top: 1px solid #F1F5F9; }
.news-row .news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.news-row .date { font-size: 12px; color: #0369A1; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.news-row h3 { font-size: 19px; font-weight: 700; color: #0F172A; margin-bottom: 8px; }
.news-row p { font-size: 14px; color: #64748B; line-height: 1.6; }

/* ===== NEWS CATEGORY TAGS ===== */
.tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.tag-release { color: #0369A1; background: #E0F2FE; border: 1px solid #BAE6FD; }
.tag-fix { color: #15803D; background: #DCFCE7; border: 1px solid #BBF7D0; }
.tag-issue { color: #C2410C; background: #FFEDD5; border: 1px solid #FED7AA; }
.tag-preview { color: #6D28D9; background: #EDE9FE; border: 1px solid #DDD6FE; }
.tag-company { color: #475569; background: #F1F5F9; border: 1px solid #E2E8F0; }

/* ===== BLOG POST ===== */
.post-header { max-width: 720px; margin: 0 auto; padding: 70px 48px 30px; text-align: center; border-bottom: 1px solid #F1F5F9; }
.post-header .meta { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.post-header .date { font-size: 12.5px; color: #0369A1; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.post-header h1 { font-size: 32px; font-weight: 800; color: #0F172A; letter-spacing: -0.01em; margin-bottom: 14px; }
.post-header .byline { font-size: 13px; color: #94A3B8; }
.post-body { max-width: 700px; margin: 0 auto; padding: 50px 48px 100px; }
.post-body p { font-size: 15.5px; color: #334155; line-height: 1.85; margin-bottom: 20px; }
.post-body h2 { font-size: 20px; font-weight: 700; color: #0F172A; margin: 36px 0 14px; }
.post-body code { font-family: monospace; background: #F1F5F9; border: 1px solid #E2E8F0; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; color: #0369A1; }
.post-body ul { margin: 0 0 20px; padding-left: 22px; }
.post-body li { font-size: 15.5px; color: #334155; line-height: 1.8; margin-bottom: 8px; }
.post-body figure { margin: 8px 0 28px; }
.post-body figure img { width: 100%; border-radius: 10px; border: 1px solid #E2E8F0; box-shadow: 0 12px 28px rgba(15,23,42,0.08); }
.post-body figcaption { font-size: 12.5px; color: #94A3B8; text-align: center; margin-top: 10px; }
.post-back { max-width: 700px; margin: 0 auto; padding: 0 48px 40px; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 560px; margin: 0 auto; padding: 0 48px 100px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 12.5px; font-weight: 600; color: #475569; margin-bottom: 8px; }
.form-row input:not([type="checkbox"]), .form-row textarea {
  width: 100%; background: white; border: 1px solid #E2E8F0; border-radius: 8px;
  padding: 12px 14px; font-size: 14.5px; color: #0F172A; font-family: inherit;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:not([type="checkbox"]):focus, .form-row textarea:focus { outline: none; border-color: #0EA5E9; }
.form-note { font-size: 12.5px; color: #94A3B8; margin-top: -8px; margin-bottom: 24px; }

/* ===== DOWNLOAD & LICENSE ===== */
.downloads-section { max-width: 860px; margin: 0 auto; padding: 90px 48px; scroll-margin-top: 90px; }
.downloads-section h2 { font-size: 26px; font-weight: 800; color: #0F172A; margin-bottom: 10px; letter-spacing: -0.01em; }
.downloads-section .intro { font-size: 14.5px; color: #64748B; line-height: 1.7; margin-bottom: 28px; }

.download-card { background: white; border: 1px solid #E2E8F0; border-radius: 14px; padding: 28px 32px; box-shadow: 0 12px 30px rgba(15,23,42,0.06); }
.download-main { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.download-icon { width: 52px; height: 52px; border-radius: 12px; background: #EFF8FF; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.download-icon svg { width: 24px; height: 24px; color: #0369A1; }
.download-info { flex: 1; min-width: 200px; }
.download-info h3 { font-size: 15.5px; font-weight: 700; color: #0F172A; margin-bottom: 4px; word-break: break-all; }
.download-info p { font-size: 13px; color: #64748B; }
.download-hash { margin-top: 20px; padding-top: 20px; border-top: 1px solid #F1F5F9; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.download-hash .hash-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94A3B8; flex-shrink: 0; }
.download-hash code { font-family: monospace; font-size: 12.5px; color: #334155; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 6px; padding: 5px 10px; word-break: break-all; }
.hash-copy { font-size: 12px; font-weight: 600; color: #0369A1; background: #EFF8FF; border: 1px solid #BAE6FD; border-radius: 999px; padding: 5px 12px; cursor: pointer; flex-shrink: 0; }
.hash-copy:hover { background: #E0F2FE; }
.hash-copy.copied { color: #15803D; background: #DCFCE7; border-color: #86EFAC; }

.license-note { margin-top: 24px; padding: 20px 24px 24px; background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px; }
.license-note h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #94A3B8; margin-bottom: 14px; }
.license-note ul { list-style: none; }
.license-note li { font-size: 12.5px; color: #64748B; line-height: 1.65; padding-left: 18px; position: relative; margin-bottom: 10px; }
.license-note li:last-child { margin-bottom: 0; }
.license-note li::before { content: "\2013"; position: absolute; left: 0; color: #94A3B8; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; padding: 0 48px 100px; }
.faq details { border-bottom: 1px solid #F1F5F9; padding: 20px 0; }
.faq summary { font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: #0F172A; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: #94A3B8; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { font-size: 14px; color: #64748B; line-height: 1.6; margin-top: 12px; }

/* ===== BUTTONS ===== */
.ctagroup { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: #0EA5E9; color: white; border: none; padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); padding: 13px 28px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-secondary.on-light { color: #0F172A; border-color: #CBD5E1; }

/* ===== FINAL CTA ===== */
.final-cta { position: relative; overflow: hidden; background: #0B1220; padding: 90px 48px; text-align: center; color: white; }
.final-cta h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; }
.final-cta p { font-size: 15.5px; color: #94A3B8; margin-bottom: 30px; }

/* ===== CTA DIVIDER (plain colored bar, used where a full final-cta is redundant) ===== */
.cta-divider { background: #0B1220; height: 48px; }

/* ===== FOOTER ===== */
.footer { background: #F8FAFC; padding: 64px 48px 32px; }
.footer-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #E2E8F0; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; text-decoration: none; color: #0F172A; }
.footer-grid p { font-size: 13px; color: #94A3B8; max-width: 220px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #94A3B8; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: #475569; text-decoration: none; margin-bottom: 10px; }
.footer-col a:hover { color: #0369A1; }
.footer-bottom { max-width: 1040px; margin: 0 auto; padding-top: 24px; display: flex; justify-content: space-between; font-size: 12.5px; color: #94A3B8; flex-wrap: wrap; gap: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navlinks > a:not(.dropdown a) { display: none; }
  .dropdown { display: none; }
  .mobile-nav-toggle { display: flex; }
  .mobile-menu.open { display: block; }
  .product-row { flex-direction: column !important; gap: 32px; }
  .why-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tour-stage { flex-direction: column; }
}
@media (max-width: 560px) {
  .nav { padding: 0 20px; }
  .hero, .page-hero, .product-hero { padding-left: 24px; padding-right: 24px; }
  .why-grid, .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .content-section, .product-band, .why-us, .feature-grid, .faq, .contact-form { padding-left: 24px; padding-right: 24px; }
  .tour { padding-left: 24px; padding-right: 24px; }
}

/* ===== CONTACT FORM — conditional-required + shake feedback ===== */
.form-row-checkbox label { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #334155; }
.tooltip-icon { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #E2E8F0; color: #475569; font-size: 10px; font-weight: 700; margin-left: 4px; cursor: help; }
label.required::after { content: " *"; color: #B91C1C; }
@keyframes formRowShake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-4px); } 40%, 60% { transform: translateX(4px); } }
.form-row.shake { animation: formRowShake 0.4s; }
.form-row.shake input, .form-row.shake textarea { border-color: #B91C1C; }

/* ===== PORTAL SHELL (Register/Login/My Products/Device Management) ===== */
.portal-topbar { height: 96px; background: white; border-bottom: 1px solid #E2E8F0; display: flex; align-items: center; padding: 0 40px; }
.portal-brand { display: flex; align-items: center; gap: 14px; font-weight: 700; color: #0F172A; font-size: 22px; text-decoration: none; }
.portal-brand .logo-badge { width: 48px; height: 48px; border-radius: 12px; background: #0F172A; display: flex; align-items: center; justify-content: center; }
.portal-body { background: #F8FAFC; min-height: calc(100vh - 96px); padding-top: 0 !important; }

.portal-center { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 96px); padding: 40px 20px; box-sizing: border-box; }
.portal-card { width: 100%; max-width: 420px; background: white; border: 1px solid #E2E8F0; border-radius: 14px; box-shadow: 0 12px 30px rgba(15,23,42,0.06); padding: 40px 40px 36px; box-sizing: border-box; }
.portal-card h1 { font-size: 22px; font-weight: 800; color: #0F172A; letter-spacing: -0.01em; margin-bottom: 6px; }
.portal-card-subtitle { font-size: 13.5px; color: #64748B; margin-bottom: 28px; }
.portal-card-footer { margin-top: 16px; font-size: 13.5px; color: #64748B; text-align: center; }
.portal-card .form-note.success { color: #15803D; }

.account-subnav { height: 56px; background: white; border-bottom: 1px solid #E2E8F0; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.account-subnav-tabs { display: flex; gap: 4px; }
.account-subnav-tab { padding: 8px 16px; border-radius: 999px; color: #475569; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.account-subnav-tab.active { background: #0F172A; color: white; }
.account-subnav-user { display: flex; align-items: center; gap: 16px; font-size: 13px; color: #64748B; }
.account-subnav-user .logout-link { color: #B91C1C; text-decoration: none; font-weight: 600; }

.portal-content { max-width: 640px; margin: 0 auto; padding: 36px 32px; }
.portal-page-title { font-size: 20px; font-weight: 800; color: #0F172A; letter-spacing: -0.01em; margin-bottom: 20px; }

/* ===== LICENSE CARD (Download My Products) — extends .download-card ===== */
.license-card + .license-card { margin-top: 20px; }
.license-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.license-card-head h3 { font-size: 17px; font-weight: 800; color: #0F172A; }
.btn-muted { background: #F1F5F9; color: #94A3B8; padding: 9px 20px; border-radius: 8px; font-size: 13.5px; font-weight: 700; display: inline-block; }

/* ===== DEVICE MANAGEMENT ===== */
.device-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.device-tab { padding: 9px 18px; border-radius: 999px; border: 1px solid #E2E8F0; background: white; color: #64748B; font-size: 13px; font-weight: 700; text-decoration: none; }
.device-tab.active { border-color: #0F172A; background: #0F172A; color: white; }
.device-row { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-top: 1px solid #F1F5F9; }
.device-row:first-child { border-top: none; }
.device-row .machine-name { font-size: 14.5px; font-weight: 700; color: #0F172A; }
.device-row .last-seen { font-size: 12.5px; color: #94A3B8; margin-top: 2px; }
.remove-btn { background: white; border: 1px solid #FCA5A5; color: #B91C1C; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.remove-btn:hover { background: #FEF2F2; }

/* ===== PASSWORD COMPLEXITY CHECKLIST + LIVE AVAILABILITY (new interactive additions, not in the static mockup) ===== */
.password-rules { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.password-rules li { font-size: 12px; color: #94A3B8; position: relative; padding-left: 18px; }
.password-rules li::before { content: "\25CB"; position: absolute; left: 0; }
.password-rules li.met { color: #15803D; }
.password-rules li.met::before { content: "\2713"; }
.field-availability { display: block; font-size: 12px; margin-top: 4px; min-height: 15px; }
.field-availability.available { color: #15803D; }
.field-availability.taken { color: #B91C1C; }
