/* ==========================================================================
   Aisleweb — site styles (Bootstrap 5 + custom design layer)
   ========================================================================== */
/* Inter & Space Grotesk variable fonts: @font-face lives in base.html (CDN URL with local fallback). */

:root {
  --aw-bg: #070d1f;
  --aw-bg-2: #0b1530;
  --aw-surface: rgba(255, 255, 255, .045);
  --aw-surface-2: rgba(255, 255, 255, .08);
  --aw-border: rgba(148, 180, 255, .14);
  --aw-text: #e8eeff;
  --aw-soft: #9fb0d6;
  --aw-blue: #2f6bff;
  --aw-cyan: #38e1ff;
  --aw-violet: #8b5cf6;
  --aw-pink: #f472b6;
  --aw-grad: linear-gradient(120deg, var(--aw-cyan), var(--aw-blue) 45%, var(--aw-violet));
  --aw-radius: 20px;
  --aw-font-display: "Space Grotesk", system-ui, sans-serif;
  --aw-font-body: "Inter", system-ui, sans-serif;

  --bs-body-bg: var(--aw-bg);
  --bs-body-color: var(--aw-text);
  --bs-body-font-family: var(--aw-font-body);
  --bs-link-color: var(--aw-cyan);
  --bs-link-hover-color: #7cf3ff;
  --bs-link-color-rgb: 56, 225, 255;
  --bs-link-hover-color-rgb: 124, 243, 255;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body { background: var(--aw-bg); color: var(--aw-text); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6, .brand-word { font-family: var(--aw-font-display); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
.text-soft { color: var(--aw-soft) !important; }
.text-accent { color: var(--aw-cyan) !important; }
.text-gradient { background: var(--aw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(56, 225, 255, .3); }

/* --- Ambient background -------------------------------------------------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; background: #1b3fd1; top: -12vw; left: -10vw; }
.aurora span:nth-child(2) { width: 38vw; height: 38vw; background: #6d28d9; top: 30vh; right: -12vw; animation-delay: -7s; opacity: .32; }
.aurora span:nth-child(3) { width: 30vw; height: 30vw; background: #0891b2; bottom: -10vw; left: 30vw; animation-delay: -14s; opacity: .28; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.15); } }
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(148, 180, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 180, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(56, 225, 255, .12), transparent 65%);
  transform: translate(-50%, -50%); left: -500px; top: -500px; transition: opacity .3s;
}

/* --- Navbar ---------------------------------------------------------------- */
.site-nav { padding: 1.1rem 0; transition: padding .3s, background .3s, box-shadow .3s; }
.site-nav.scrolled { padding: .55rem 0; background: rgba(7, 13, 31, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--aw-border); }
.site-nav .nav-link { color: var(--aw-soft); font-weight: 500; position: relative; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
@media (min-width: 992px) {
  .site-nav .nav-link.active::after { content: ""; position: absolute; left: .5rem; right: .5rem; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--aw-grad); }
}
.site-nav .navbar-toggler { color: #fff; padding: .25rem .5rem; }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(56, 225, 255, .35); }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { background: #0b1530; border: 1px solid var(--aw-border); border-radius: 16px; padding: .75rem 1rem 1rem; margin-top: .75rem; box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .8); }
  .site-nav:has(.navbar-collapse.show, .navbar-collapse.collapsing) { background: rgba(7, 13, 31, .96); }
  .site-nav .nav-link { padding: .6rem .75rem; border-radius: 10px; }
  .site-nav .nav-link.active { color: #fff; background: rgba(56, 225, 255, .1); box-shadow: inset 3px 0 0 var(--aw-cyan); }
  .site-nav .nav-item .btn { margin-top: .5rem; }
}
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 14px rgba(47, 107, 255, .45)); }
.brand-word { font-size: 1.45rem; font-weight: 700; color: #fff; }
.brand-word span { background: var(--aw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-spark { transform-origin: 32px 15px; animation: spark 3.2s ease-in-out infinite; }
@keyframes spark { 50% { transform: scale(1.35); opacity: .65; } }

/* --- Buttons --------------------------------------------------------------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-glow { color: #fff; border: 0; background: var(--aw-grad); background-size: 200% 100%; box-shadow: 0 8px 30px -8px rgba(47, 107, 255, .7); transition: background-position .5s, transform .2s, box-shadow .2s; }
.btn-glow:hover, .btn-glow:focus { color: #fff; background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(139, 92, 246, .75); }
.btn-outline-glow { color: var(--aw-text); border: 1px solid var(--aw-border); background: var(--aw-surface); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-outline-glow:hover { color: #fff; border-color: var(--aw-cyan); background: rgba(56, 225, 255, .08); }
.btn-icon { border-radius: 12px; border: 1px solid var(--aw-border); color: var(--aw-text); background: var(--aw-surface); width: 48px; height: 48px; }
.btn-icon:hover { color: var(--aw-cyan); border-color: var(--aw-cyan); }
.btn-icon.spin i { display: inline-block; animation: spin .6s linear; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Sections -------------------------------------------------------------- */
.section { padding: 6rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--aw-cyan); margin-bottom: .9rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22e3a0; box-shadow: 0 0 0 0 rgba(34, 227, 160, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 227, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 227, 160, 0); } }

/* Reveal-on-scroll (driven by Dojo in site.js) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; min-height: 100vh; display: flex; align-items: center; padding: 8rem 0 4rem; }
#constellation { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 700; line-height: 1.04; margin-bottom: 1.4rem; }
.rotator { display: inline-block; background: var(--aw-grad); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; }
.rotator::after { content: ""; position: absolute; right: -.12em; top: .12em; bottom: .08em; width: 3px; background: var(--aw-cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; color: var(--aw-soft); font-size: .9rem; }
.hero-trust i { color: var(--aw-cyan); margin-right: .35rem; }

.orbit-stage { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(148, 180, 255, .22); inset: 0; animation: rotate 38s linear infinite; }
.orbit-2 { inset: 13%; animation-duration: 28s; animation-direction: reverse; border-style: solid; border-color: rgba(139, 92, 246, .2); }
.orbit-3 { inset: 26%; animation-duration: 20s; }
@keyframes rotate { to { transform: rotate(360deg); } }
.orbit-node { position: absolute; width: 54px; height: 54px; margin: -27px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: rgba(11, 21, 48, .85); border: 1px solid var(--aw-border); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .8); animation: rotate 38s linear infinite reverse; }
.orbit-2 .orbit-node { animation-duration: 28s; animation-direction: normal; }
.orbit-3 .orbit-node { animation-duration: 20s; }
.orbit-node:nth-child(1) { top: 50%; left: 0; }
.orbit-node:nth-child(2) { top: 50%; left: 100%; }
.orbit-2 .orbit-node:nth-child(1) { top: 0; left: 50%; }
.orbit-2 .orbit-node:nth-child(2) { top: 100%; left: 50%; }
.node-aws { color: #ff9900; } .node-azure { color: #3ea0ff; } .node-gcp { color: #4ade80; }
.node-ios { color: #f1f5ff; } .node-android { color: #3ddc84; } .node-web { color: var(--aw-cyan); }
.orbit-core { position: absolute; inset: 36%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(47, 107, 255, .35), transparent 70%); }
.logo-hero { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(56, 225, 255, .5)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.float-card { position: absolute; display: flex; gap: .7rem; align-items: center; padding: .7rem 1rem; border-radius: 14px; background: rgba(11, 21, 48, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--aw-border); box-shadow: 0 20px 40px -20px #000; font-size: .82rem; animation: float 7s ease-in-out infinite; }
.float-card i { font-size: 1.4rem; color: var(--aw-cyan); }
.float-card strong { display: block; } .float-card small { color: var(--aw-soft); }
.fc-1 { top: 4%; right: -2%; } .fc-2 { bottom: 12%; left: -6%; animation-delay: -2s; } .fc-3 { bottom: -2%; right: 6%; animation-delay: -4s; }
.fc-2 i { color: #22e3a0; } .fc-3 i { color: var(--aw-pink); }
@media (max-width: 575.98px) { .float-card { display: none; } }

/* --- Marquee --------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--aw-border); background: rgba(255, 255, 255, .02); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--aw-font-display); font-weight: 600; font-size: 1.1rem; color: var(--aw-soft); white-space: nowrap; }
.marquee-track span::before { content: "✦"; color: var(--aw-cyan); margin-right: 3rem; opacity: .6; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- Cards ----------------------------------------------------------------- */
.glass-card, .stat-card, .cloud-card, .cloud-detail, .news-card, .cta-band {
  position: relative; border-radius: var(--aw-radius); background: var(--aw-surface); border: 1px solid var(--aw-border); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.glass-card { padding: 2rem; transition: border-color .3s, box-shadow .3s; }
.glass-card:hover { border-color: rgba(56, 225, 255, .35); box-shadow: 0 30px 60px -30px rgba(47, 107, 255, .5); }
.tilt { transform-style: preserve-3d; will-change: transform; }
.icon-orb { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; margin-bottom: 1.25rem; background: var(--aw-grad); box-shadow: 0 10px 30px -10px rgba(56, 225, 255, .7); }
.tick-list { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.tick-list li { padding: .3rem 0 .3rem 1.6rem; position: relative; }
.tick-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--aw-cyan); }

.stat-card { padding: 1.6rem; text-align: center; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--aw-grad); }
.stat-value { font-family: var(--aw-font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.stat-label { color: var(--aw-soft); font-size: .9rem; }

/* Cloud */
.cloud-section { background: linear-gradient(180deg, transparent, rgba(47, 107, 255, .06), transparent); }
.cloud-card { display: block; height: 100%; padding: 2rem; color: var(--aw-text); text-decoration: none; overflow: hidden; transition: border-color .3s; }
.cloud-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%; background: var(--cloud-color); filter: blur(80px); opacity: .25; transition: opacity .3s; }
.cloud-card:hover { color: var(--aw-text); border-color: var(--cloud-color); }
.cloud-card:hover::after { opacity: .45; }
.cloud-aws { --cloud-color: #ff9900; } .cloud-azure { --cloud-color: #0a84ff; } .cloud-gcp { --cloud-color: #34a853; }
.cloud-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: var(--cloud-color); background: rgba(255, 255, 255, .06); border: 1px solid var(--aw-border); }
.cloud-logo.lg { width: 64px; height: 64px; font-size: 1.9rem; }
.card-link { display: inline-block; margin-top: 1.2rem; font-weight: 600; color: var(--cloud-color); }
.card-link i { transition: transform .2s; } .cloud-card:hover .card-link i { transform: translateX(4px); }
.cloud-detail { padding: 2.5rem; overflow: hidden; border-left: 3px solid var(--cloud-color); }
.skill-tile { padding: 1rem 1.2rem; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--aw-border); font-weight: 500; }
.skill-tile i { color: var(--cloud-color); margin-right: .4rem; }
.security-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2rem; margin-top: 3rem; padding: 1.3rem 2rem; border-radius: 999px; border: 1px solid var(--aw-border); background: rgba(34, 227, 160, .04); font-size: .9rem; color: var(--aw-soft); }
.security-strip i { color: #22e3a0; margin-right: .4rem; }
@media (max-width: 767.98px) { .security-strip { border-radius: var(--aw-radius); justify-content: flex-start; } }

/* --- News ------------------------------------------------------------------ */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.updates-head { margin-bottom: 1.75rem; }
.updates-head .filter-pills { margin-top: 1.25rem; }
.pill { border: 1px solid var(--aw-border); background: var(--aw-surface); color: var(--aw-soft); padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; text-decoration: none; transition: all .2s; }
.pill:hover { color: #fff; border-color: var(--aw-cyan); }
.pill.active { color: #fff; background: var(--aw-grad); border-color: transparent; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.news-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, border-color .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(56, 225, 255, .4); box-shadow: 0 30px 50px -30px rgba(56, 225, 255, .45); }
.news-card.is-hidden { display: none; }
.news-thumb { aspect-ratio: 16 / 8; overflow: hidden; background: var(--aw-bg-2); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb.no-img { background: radial-gradient(circle at 20% 20%, rgba(56, 225, 255, .25), transparent 50%), radial-gradient(circle at 80% 80%, rgba(139, 92, 246, .3), transparent 50%), var(--aw-bg-2); }
.news-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: var(--aw-soft); margin-bottom: .7rem; }
.news-body h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-body p { font-size: .87rem; color: var(--aw-soft); margin-bottom: .8rem; }
.news-body time { margin-top: auto; font-size: .78rem; color: var(--aw-soft); }
.cat-chip { padding: .15rem .6rem; border-radius: 999px; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.cat-ai { background: rgba(244, 114, 182, .15); color: #f9a8d4; }
.cat-cloud { background: rgba(56, 225, 255, .14); color: #7cf3ff; }
.cat-security { background: rgba(34, 227, 160, .14); color: #6ee7b7; }
.cat-aws { background: rgba(255, 153, 0, .15); color: #ffc266; }
.cat-azure { background: rgba(10, 132, 255, .18); color: #7cc0ff; }
.cat-gcp { background: rgba(52, 168, 83, .18); color: #86efac; }

/* --- Process ----------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; }
.process::before { content: ""; position: absolute; top: 26px; left: 5%; right: 5%; height: 2px; background: var(--aw-grad); opacity: .35; }
.process-step { position: relative; text-align: center; padding: 0 .5rem; }
.process-step span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--aw-bg-2); border: 2px solid var(--aw-cyan); font-family: var(--aw-font-display); font-weight: 700; margin-bottom: 1rem; box-shadow: 0 0 24px rgba(56, 225, 255, .35); }
.process-step p { color: var(--aw-soft); font-size: .9rem; }
@media (max-width: 767.98px) {
  .process { grid-template-columns: 1fr; }
  .process::before { top: 0; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; }
  .process-step { text-align: left; padding-left: 72px; }
  .process-step span { position: absolute; left: 0; top: 0; }
}

/* --- CTA ------------------------------------------------------------------- */
.cta-band { padding: 3rem; overflow: hidden; background: linear-gradient(120deg, rgba(47, 107, 255, .18), rgba(139, 92, 246, .16)); }
.cta-glow { position: absolute; width: 400px; height: 400px; right: -100px; top: -200px; border-radius: 50%; background: var(--aw-cyan); filter: blur(120px); opacity: .25; }

/* --- Inner pages ----------------------------------------------------------- */
.page-hero { padding: 10rem 0 4rem; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
.mini-stat { padding: 1.2rem; border-radius: 16px; background: var(--aw-surface); border: 1px solid var(--aw-border); }
.mini-stat strong { display: block; font-family: var(--aw-font-display); font-size: 1.8rem; }
.mini-stat small { color: var(--aw-soft); }

/* CSS-only device mockups */
.device-duo { position: relative; height: 440px; }
.device { position: absolute; width: 210px; height: 420px; border-radius: 36px; padding: 10px; background: linear-gradient(145deg, #1f2a4a, #0b1227); border: 1px solid var(--aw-border); box-shadow: 0 40px 80px -30px #000; }
.device.ios { left: 12%; top: 0; transform: rotate(-6deg); }
.device.android { right: 12%; top: 20px; transform: rotate(6deg); border-radius: 26px; }
.device .screen { height: 100%; border-radius: 28px; background: var(--aw-bg-2); overflow: hidden; padding: 36px 14px 14px; }
.device.android .screen { border-radius: 18px; }
.notch { position: absolute; top: 18px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: #000; border-radius: 12px; z-index: 1; }
.cam { position: absolute; top: 20px; left: 50%; width: 10px; height: 10px; margin-left: -5px; background: #000; border-radius: 50%; z-index: 1; }
.app-bar { height: 70px; border-radius: 16px; background: var(--aw-grad); margin-bottom: 12px; }
.app-bar.alt { background: linear-gradient(120deg, #22e3a0, var(--aw-blue)); }
.app-card { height: 90px; border-radius: 14px; background: rgba(255, 255, 255, .07); margin-bottom: 12px; }
.app-card.short { height: 56px; }
.app-row { display: flex; gap: 10px; } .app-row span { flex: 1; height: 50px; border-radius: 12px; background: rgba(56, 225, 255, .15); }
.app-chart { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); margin-bottom: 12px; }
.app-chart i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--aw-grad); }
.app-chart i:nth-child(1) { height: 40%; } .app-chart i:nth-child(2) { height: 70%; } .app-chart i:nth-child(3) { height: 55%; } .app-chart i:nth-child(4) { height: 90%; } .app-chart i:nth-child(5) { height: 65%; }
@media (max-width: 575.98px) { .device { width: 170px; height: 340px; } .device-duo { height: 370px; } .device.ios { left: 0; } .device.android { right: 0; } }

/* --- Contact form ---------------------------------------------------------- */
.form-card { padding: 2.4rem; }
.form-label { font-weight: 500; font-size: .9rem; }
.form-control, .form-select { background-color: rgba(7, 13, 31, .6); border: 1px solid var(--aw-border); color: var(--aw-text); border-radius: 12px; padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { background-color: rgba(7, 13, 31, .8); color: #fff; border-color: var(--aw-cyan); box-shadow: 0 0 0 .25rem rgba(56, 225, 255, .15); }
.form-control::placeholder { color: #5f6f94; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #f87171; }
.field-error { color: #fca5a5; font-size: .82rem; margin-top: .35rem; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-box { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.captcha-box img.captcha { border-radius: 12px; border: 1px solid var(--aw-border); height: 50px; }
.captcha-box input[type="text"] { max-width: 200px; text-transform: uppercase; letter-spacing: .2em; font-weight: 600; }
.next-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.next-steps li { counter-increment: s; position: relative; padding: 0 0 1.2rem 3rem; }
.next-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--aw-grad); }
.next-steps strong { display: block; } .next-steps span { color: var(--aw-soft); font-size: .9rem; }
.alert-success { background: rgba(34, 227, 160, .12); border-color: rgba(34, 227, 160, .35); color: #a7f3d0; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { padding: 4rem 0 2rem; border-top: 1px solid var(--aw-border); background: rgba(3, 7, 18, .6); }
.site-footer h6 { font-family: var(--aw-font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--aw-soft); margin-bottom: 1rem; }
.site-footer hr { border-color: var(--aw-border); opacity: 1; margin: 2.5rem 0 1.5rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: var(--aw-text); text-decoration: none; opacity: .8; }
.footer-links a:hover { opacity: 1; color: var(--aw-cyan); }
.trust-badges span { font-size: .78rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--aw-border); color: var(--aw-soft); }
.trust-badges i { color: #22e3a0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --- SEO page ---------------------------------------------------------------- */
.serp-mock { padding: 1.4rem; border-radius: var(--aw-radius); background: rgba(11, 21, 48, .75); border: 1px solid var(--aw-border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 40px 80px -40px #000; }
.serp-bar { display: flex; align-items: center; gap: .7rem; padding: .75rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--aw-border); margin-bottom: 1rem; }
.serp-bar i { color: var(--aw-cyan); }
.serp-query::after { content: "|"; color: var(--aw-cyan); margin-left: 1px; animation: blink 1s steps(1) infinite; }
.serp-ai { padding: .9rem 1.1rem; border-radius: 14px; margin-bottom: 1rem; background: linear-gradient(120deg, rgba(139, 92, 246, .16), rgba(56, 225, 255, .1)); border: 1px solid rgba(139, 92, 246, .3); font-size: .88rem; }
.serp-ai i { color: #c4b5fd; } .serp-ai p { margin: .35rem 0 0; color: var(--aw-soft); }
.serp-ai mark { background: rgba(56, 225, 255, .2); color: #fff; border-radius: 4px; padding: 0 .25rem; }
.serp-result { padding: 1rem 1.1rem; border-radius: 14px; margin-bottom: .75rem; }
.serp-result.top { background: rgba(255, 255, 255, .05); border: 1px solid rgba(56, 225, 255, .35); box-shadow: 0 0 40px -12px rgba(56, 225, 255, .5); }
.serp-site { display: flex; align-items: center; gap: .6rem; font-size: .8rem; margin-bottom: .4rem; }
.serp-site small { display: block; color: var(--aw-soft); }
.serp-fav { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.serp-logo { width: 20px; height: 20px; }
.serp-rank { margin-left: auto; padding: .15rem .6rem; border-radius: 999px; background: var(--aw-grad); font-weight: 700; font-size: .78rem; }
.serp-result h4 { font-size: 1.05rem; color: #8ab4ff; margin-bottom: .3rem; }
.serp-stars { color: #fbbf24; font-size: .85rem; } .serp-stars small { color: var(--aw-soft); }
.serp-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.serp-links span { font-size: .78rem; padding: .2rem .7rem; border-radius: 999px; border: 1px solid var(--aw-border); color: #8ab4ff; }
.serp-result.dim { opacity: .45; }
.serp-line { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .1); margin-bottom: .5rem; }
.w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

.gauges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gauge { position: relative; text-align: center; }
.gauge svg { width: 100%; max-width: 120px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; }
.g-track { stroke: rgba(255, 255, 255, .08); }
.g-fill { stroke: #22e3a0; stroke-linecap: round; stroke-dasharray: 326.7; filter: drop-shadow(0 0 6px rgba(34, 227, 160, .6)); }
.g-num { position: absolute; top: 0; left: 0; right: 0; height: min(120px, 100%); aspect-ratio: 1; margin: 0 auto; max-width: 120px; display: grid; place-items: center; font-family: var(--aw-font-display); font-size: 1.8rem; font-weight: 700; color: #6ee7b7; }
.gauge small { display: block; margin-top: .4rem; color: var(--aw-soft); font-size: .82rem; }
.vitals { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.vitals span { padding: .35rem .9rem; border-radius: 999px; background: rgba(34, 227, 160, .1); border: 1px solid rgba(34, 227, 160, .3); font-size: .82rem; color: #a7f3d0; }
@media (max-width: 575.98px) { .gauges { grid-template-columns: repeat(2, 1fr); } }

.faq .accordion-item { background: var(--aw-surface); border: 1px solid var(--aw-border); border-radius: 16px !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { background: transparent; color: var(--aw-text); font-family: var(--aw-font-display); font-weight: 600; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--aw-cyan); }
.faq .accordion-body { color: var(--aw-soft); padding-top: 0; }

/* Home SEO band */
.seo-band { padding: 2.5rem; overflow: hidden; }
.seo-band .kw { display: inline-block; margin: .25rem; padding: .35rem .85rem; border-radius: 999px; font-size: .85rem; border: 1px solid var(--aw-border); background: rgba(255, 255, 255, .04); }
.seo-band .kw b { color: #22e3a0; margin-left: .35rem; }

/* Sitemap page */
.sitemap-list > li { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--aw-border); }
.sitemap-list > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sitemap-list > li > a { font-family: var(--aw-font-display); font-weight: 600; font-size: 1.1rem; color: #fff; text-decoration: none; }
.sitemap-list > li > a:hover { color: var(--aw-cyan); }
.sitemap-list p { color: var(--aw-soft); font-size: .9rem; margin: .25rem 0 .4rem; }
.sitemap-list ul a { font-size: .88rem; text-decoration: none; }

/* --- Cookie consent (GDPR) ---------------------------------------------------
   "Reject" and "Accept" share one style on purpose: regulators require equal prominence. */
.consent-banner {
  position: fixed; z-index: 1080; left: 50%; bottom: 1.25rem; transform: translateX(-50%);
  width: min(980px, calc(100% - 2rem)); display: flex; align-items: center; gap: 1.5rem;
  padding: 1.25rem 1.5rem; border-radius: 20px; border: 1px solid rgba(56, 225, 255, .28);
  background: rgba(11, 21, 48, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03);
  animation: consent-in .5s cubic-bezier(.2, .7, .2, 1);
}
.consent-banner[hidden] { display: none; }
@keyframes consent-in { from { opacity: 0; transform: translate(-50%, 24px); } }
.consent-body { display: flex; gap: 1rem; align-items: flex-start; flex: 1; }
.consent-body p { font-size: .88rem; color: var(--aw-soft); }
.consent-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--aw-grad); color: #fff; }
.consent-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.btn-consent { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: .5rem 1.1rem; }
.btn-consent:hover, .btn-consent:focus { color: #fff; background: rgba(56, 225, 255, .16); border-color: var(--aw-cyan); }
.consent-link { color: var(--aw-soft); text-decoration: underline; text-underline-offset: 3px; padding-inline: .5rem; }
.consent-link:hover { color: #fff; }
@media (max-width: 767.98px) {
  .consent-banner { flex-direction: column; align-items: stretch; gap: 1rem; bottom: .75rem; padding: 1.1rem; }
  .consent-actions { flex-wrap: wrap; }
  .consent-actions .btn-consent { flex: 1 1 40%; }
  .consent-actions .consent-link { order: 3; width: 100%; text-align: center; }
}
.consent-modal { background: #0b1530; border: 1px solid var(--aw-border); border-radius: 20px; color: var(--aw-text); }
.consent-modal .modal-header, .consent-modal .modal-footer { border-color: var(--aw-border); }
.consent-choice { padding: .9rem 0; border-bottom: 1px solid var(--aw-border); }
.consent-choice:last-child { border-bottom: 0; }
.consent-choice .form-check-label { font-weight: 600; }
.consent-choice p { font-size: .85rem; color: var(--aw-soft); margin: .35rem 0 0 2.5em; }
.form-switch .form-check-input { width: 2.4em; height: 1.3em; cursor: pointer; }
.form-check-input:checked { background-color: var(--aw-blue); border-color: var(--aw-blue); }
.form-check-input:disabled { cursor: not-allowed; }
.badge-always, .badge-off { margin-left: .4rem; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 999px; vertical-align: middle; }
.badge-always { background: rgba(34, 227, 160, .15); color: #6ee7b7; }
.badge-off { background: rgba(255, 255, 255, .08); color: var(--aw-soft); }

/* Footer legal links */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal a { color: var(--aw-soft); text-decoration: none; }
.footer-legal a:hover { color: var(--aw-cyan); }

/* Contact form privacy acknowledgement */
.privacy-check { padding: 1rem 1rem 1rem 2.6rem; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--aw-border); }
.privacy-check .form-check-label { font-size: .88rem; color: var(--aw-soft); }
.privacy-check .form-check-input { margin-top: .2rem; }

/* Privacy policy */
.legal { padding: 2.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2.5rem 0 1rem; padding-top: .5rem; scroll-margin-top: 100px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.25rem 0 .5rem; color: #fff; }
.legal p, .legal li { color: var(--aw-soft); line-height: 1.7; }
.legal li { margin-bottom: .35rem; }
.legal strong { color: var(--aw-text); }
.legal-table { --bs-table-bg: transparent; --bs-table-color: var(--aw-soft); --bs-table-border-color: var(--aw-border); font-size: .9rem; }
.legal-table th { color: var(--aw-text); font-weight: 600; white-space: nowrap; }
.legal-table code { color: var(--aw-cyan); }
.legal-toc { position: sticky; top: 100px; padding: 1.25rem; display: flex; flex-direction: column; gap: .15rem; }
.legal-toc a { color: var(--aw-soft); text-decoration: none; font-size: .9rem; padding: .35rem .6rem; border-radius: 8px; }
.legal-toc a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.consent-inline { margin: 1.5rem 0; padding: 1.5rem; border-radius: 16px; border: 1px solid rgba(56, 225, 255, .25); background: rgba(56, 225, 255, .04); }
@media (max-width: 575.98px) { .legal { padding: 1.5rem; } }
