/* Lightweight dashboard graphics: no canvas, WebGL, images, or animation library. */
:root {
  --preview-surface: #101e30;
  --preview-card: #15283d;
  --preview-text: #eaf6ff;
  --preview-muted: #93a9bd;
  --preview-border: rgba(158, 208, 245, .14);
}
body:not(.light-theme) { --bg-color: #080f1b; }
body.light-theme {
  --preview-surface: #f8fcff;
  --preview-card: #eaf3fa;
  --preview-text: #17324b;
  --preview-muted: #526f85;
  --preview-border: rgba(41, 105, 153, .18);
}
body::before { display: none; }
.hero-refresh { overflow: hidden; padding: 72px 0 64px; }
.hero-refresh .hero-scanline { display: none; }
.hero-refresh::before {
  content: ''; position: absolute; pointer-events: none; inset: 0;
  background: radial-gradient(ellipse at 78% 48%, rgba(0, 198, 235, .09), transparent 55%);
}
.hero-refresh .hero-grid { grid-template-columns: .96fr 1.04fr; gap: 38px; }
.hero-refresh .hero-info { min-width: 0; }
.hero-refresh .hero-info h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: normal; }
.hero-refresh .hero-info h1 span { background-image: linear-gradient(110deg, #65e8fb, #19bedf); text-shadow: none; }
.hero-refresh .glowing-cyan-text { animation: none; filter: none; }
body.light-theme .hero-refresh .hero-info h1 span { background-image: linear-gradient(110deg, #03759b, #107ead); }
.hero-refresh .hero-eyebrow {
  display: inline-flex; gap: 9px; align-items: center; font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  letter-spacing: .5px; color: var(--primary-color); margin-bottom: 20px;
  padding: 7px 13px; border: 1px solid var(--border-color); border-radius: 100px; background: rgba(0, 198, 235, .04);
}
.hero-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hero-refresh .engine-activity-badge { color: #5ae0ae; border-color: rgba(55, 217, 158, .25); background: rgba(25, 180, 125, .06); }
.engine-activity-badge small { font-size: .55rem; letter-spacing: .1em; opacity: .7; border-left: 1px solid currentColor; padding-left: 9px; }
body.light-theme .hero-refresh .engine-activity-badge { color: #147554; }
.hero-refresh[data-motion="running"] .hero-eyebrow-dot { animation: engine-heartbeat 2s ease-in-out infinite; }
.hero-refresh .cta-btn { border-radius: 11px; padding: 14px 23px; font-size: .86rem; box-shadow: none; }
.hero-refresh .cta-primary { background: linear-gradient(115deg, #51e6fa, #00b9d8); color: #052330; }
.hero-refresh .cta-primary:hover { box-shadow: 0 8px 28px rgba(0, 192, 226, .18); }
.hero-refresh .trust-signals { gap: 13px !important; margin-top: 26px !important; }
.hero-refresh .trust-signals > div { font-size: .74rem !important; }
.hero-refresh .trust-signals .fa-star { font-size: .65rem; }
.home-icon { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.workspace-scene {
  position: relative; width: 100%; max-width: 580px; margin: auto; padding: 40px 23px 52px;
  color: var(--preview-text); isolation: isolate; text-align: left;
}
.workspace-scene::before {
  content: ''; position: absolute; inset: 6% -4%; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--preview-border) 1px, transparent 1px), linear-gradient(90deg, var(--preview-border) 1px, transparent 1px);
  background-size: 38px 38px; opacity: .35;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 72%);
}
.workspace-orbit { position: absolute; inset: 2% 3%; border: 1px solid var(--preview-border); border-radius: 50%; transform: rotate(-18deg); z-index: -1; opacity: .65; }
.workspace-orbit::after { content: ''; position: absolute; width: 8px; height: 8px; top: 9%; left: 23%; background: #6be9fa; box-shadow: 0 0 20px #16bbd1; border-radius: 50%; }
.workspace-window {
  position: relative; border: 1px solid var(--preview-border); border-radius: 20px; background: var(--preview-surface);
  box-shadow: 0 34px 65px rgba(0, 0, 0, .3), 0 0 65px rgba(0, 206, 236, .035), inset 0 1px 0 rgba(255, 255, 255, .08);
  transform: perspective(1300px) rotateY(-7deg) rotateX(3deg); transition: transform .4s;
}
.workspace-window:hover, .workspace-window:focus-within { transform: perspective(1300px) rotateY(0) rotateX(0); }
.workspace-chrome { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--preview-border); }
.workspace-chrome > span { width: 6px; height: 6px; border-radius: 50%; background: var(--preview-muted); opacity: .4; }
.workspace-chrome > span:first-child { background: #ff847f; opacity: 1; }
.workspace-chrome > span:nth-child(2) { background: #f2c46f; opacity: 1; }
.workspace-chrome > span:nth-child(3) { background: #59ceaa; opacity: 1; }
.workspace-chrome small { margin-left: 9px; letter-spacing: .16em; font-size: .55rem; color: var(--preview-muted); }
.workspace-body { padding: 25px 26px 20px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.workspace-heading .workspace-kicker { color: var(--preview-muted); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.workspace-heading h2 { font-family: var(--font-display); font-size: 1.26rem; letter-spacing: -.045em; margin: 5px 0 0; line-height: 1.25; color: var(--preview-text); }
.workspace-core { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; color: #70e9fb;
  background: linear-gradient(140deg, #25445a, #0d2738); border: 1px solid rgba(91, 223, 244, .4);
  box-shadow: 4px 5px 0 #0a1c2c, 0 7px 25px rgba(0, 210, 232, .1); transform: rotate(-8deg); }
.workspace-core .home-icon { width: 25px; height: 25px; }
.workspace-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 5px; border: 1px solid var(--preview-border); background: var(--preview-card); border-radius: 11px; }
.workspace-tabs button { font: inherit; font-size: .7rem; color: var(--preview-muted); border: 0; border-radius: 7px; background: transparent; padding: 10px 3px; cursor: pointer; transition: color .2s, background .2s; }
.workspace-tabs button[aria-selected="true"] { background: var(--preview-surface); color: #6de7f7; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
body.light-theme .workspace-tabs button[aria-selected="true"] { color: #006d87; }
.workspace-tabs button:focus-visible, .workspace-panel a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
.workspace-panel { min-height: 230px; padding-top: 18px; }
.workspace-panel[hidden] { display: none; }
.workspace-panel-heading { display: flex; gap: 9px; align-items: center; font-size: .75rem; font-weight: 600; margin-bottom: 14px; }
.workspace-panel-heading .home-icon { width: 18px; height: 18px; color: #60d9b4; }
.workspace-panel-heading small { margin-left: auto; color: var(--preview-muted); font-size: .6rem; font-weight: 400; }
.preview-chat { display: flex; flex-direction: column; gap: 9px; }
.preview-bubble { font-size: .73rem; line-height: 1.65; padding: 10px 13px; border-radius: 11px; background: var(--preview-card); width: fit-content; max-width: 90%; }
.preview-bubble.incoming { align-self: flex-end; border-bottom-right-radius: 3px; color: var(--preview-text); }
.preview-bubble.outgoing { border: 1px solid rgba(43, 203, 174, .23); background: rgba(26, 193, 155, .06); border-bottom-left-radius: 3px; }
.preview-bubble strong { font-size: .57rem; letter-spacing: .06em; color: #63cdae; display: block; margin-bottom: 3px; }
body.light-theme .preview-bubble strong { color: #14664f; }
.workspace-panel > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary-color); font-size: .65rem; text-decoration: none; }
.workspace-panel > a .home-icon { width: 12px; height: 12px; }
.preview-flow { display: flex; align-items: center; gap: 7px; border-top: 1px solid var(--preview-border); margin-top: 8px; padding-top: 17px; font-size: .54rem; color: var(--preview-muted); }
.preview-flow > span { display: flex; align-items: center; gap: 5px; }
.preview-flow svg { width: 12px; height: 12px; color: #60d9b4; }
.preview-flow > b { font-weight: 400; opacity: .55; }
.workspace-caption { text-align: right; font-size: .62rem; color: var(--text-muted); margin: 19px 0 0 180px; }
.workspace-caption p { margin: 0; }
.workspace-motion-toggle { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 5px 8px; border: 1px solid var(--preview-border); border-radius: 7px; background: var(--preview-surface); color: var(--text-muted); font: inherit; cursor: pointer; }
.workspace-motion-toggle .home-icon { width: 12px; height: 12px; }
.workspace-motion-toggle .motion-play-icon { display: none; }
.workspace-motion-toggle[aria-pressed="true"] .motion-play-icon { display: block; }
.workspace-motion-toggle[aria-pressed="true"] .motion-pause-icon { display: none; }
.workspace-motion-toggle:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
.workspace-motion-toggle:disabled { cursor: default; opacity: .65; }
.workspace-activity { display: flex; align-items: center; gap: 7px; min-height: 31px; padding-top: 8px; color: var(--preview-muted); font-size: .6rem; }
.activity-bars { display: flex; align-items: center; gap: 2px; height: 13px; color: var(--primary-color); }
.activity-bars i { width: 2px; height: 10px; background: currentColor; border-radius: 3px; transform: scaleY(.45); }
.activity-bars i:nth-child(2) { animation-delay: -.3s !important; }
.activity-bars i:nth-child(3) { animation-delay: -.6s !important; }
.activity-bars i:nth-child(4) { animation-delay: -.9s !important; }
.activity-indicator { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #60d9b4; }
.preview-chat { position: relative; }
.preview-typing { position: absolute; top: 54px; left: 0; display: flex; gap: 4px; align-items: center; padding: 10px 12px; color: var(--preview-muted); opacity: 0; pointer-events: none; }
.preview-typing > span { width: 4px; height: 4px; background: #60d9b4; border-radius: 50%; }
.preview-typing > span:nth-child(2) { animation-delay: .15s !important; }
.preview-typing > span:nth-child(3) { animation-delay: .3s !important; }
.preview-typing small { font-size: .6rem; margin-left: 5px; }
.preview-bubble, .preview-invoice-row { transition: opacity .35s, transform .35s; }
.hero-refresh[data-motion="running"] .workspace-orbit { animation: workspace-orbit-turn 28s linear infinite; }
.hero-refresh[data-motion="running"] .workspace-core { animation: engine-core 3s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .activity-bars i { animation: activity-wave 1.2s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .activity-indicator { animation: engine-heartbeat 2s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .preview-typing > span { animation: typing-wave .9s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .workspace-panel:not([hidden]) .preview-website-shape { animation: design-float 4s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .preview-flow { position: relative; overflow: hidden; padding-bottom: 4px; }
.hero-refresh[data-motion="running"] .preview-flow::before { content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 30%; background: linear-gradient(90deg, transparent, #62e6c4, transparent); animation: workflow-signal 7.2s linear infinite; }
.hero-refresh[data-motion="running"] .preview-flow > span { animation: workflow-step 7.2s ease-in-out infinite; }
.hero-refresh[data-motion="running"] .preview-flow > span:nth-of-type(2) { animation-delay: -4.8s; }
.hero-refresh[data-motion="running"] .preview-flow > span:nth-of-type(3) { animation-delay: -2.4s; }
.hero-refresh[data-motion="running"] .workspace-scene[data-demo-stage="1"] .preview-bubble.outgoing,
.hero-refresh[data-motion="running"] .workspace-scene[data-demo-stage="2"] .preview-bubble.outgoing { opacity: 0; transform: translateY(6px); }
.hero-refresh[data-motion="running"] .workspace-scene[data-demo-stage="2"] .preview-typing { opacity: 1; }
.hero-refresh[data-motion="running"] .workspace-scene[data-demo-stage="1"] .preview-invoice-row { opacity: .35; transform: translateY(3px); }
.hero-refresh[data-motion="running"] .workspace-scene[data-demo-stage="2"] .preview-invoice-total { opacity: .35; }
.hero-refresh[data-motion="paused"] *, .hero-refresh[data-motion="offscreen"] * { animation-play-state: paused !important; }
@keyframes engine-heartbeat { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(55, 217, 158, .3); } 50% { opacity: .65; box-shadow: 0 0 0 5px rgba(55, 217, 158, 0); } }
@keyframes workspace-orbit-turn { from { transform: rotate(-18deg); } to { transform: rotate(342deg); } }
@keyframes engine-core { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(2deg) scale(1.06); } }
@keyframes activity-wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes typing-wave { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes design-float { 0%, 100% { transform: rotate(13deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-4px); } }
@keyframes workflow-signal { from { transform: translateX(-100%); } to { transform: translateX(440%); } }
@keyframes workflow-step { 0%, 35%, 100% { color: var(--preview-muted); } 12%, 25% { color: var(--preview-text); } }
.workspace-float { position: absolute; z-index: 2; padding: 13px 15px; background: var(--preview-surface); border: 1px solid var(--preview-border); border-radius: 12px; box-shadow: 0 13px 25px rgba(0, 0, 0, .18); pointer-events: none; animation: workspace-float 7s ease-in-out infinite; }
.workspace-float-web { right: 0; top: 9px; width: 145px; transform: rotate(5deg); }
.mini-browser-top { display: flex; gap: 3px; border-bottom: 1px solid var(--preview-border); padding-bottom: 7px; }
.mini-browser-top span { width: 3px; height: 3px; border-radius: 50%; background: var(--preview-muted); }
.mini-browser-top i { width: 50%; height: 4px; border-radius: 3px; background: var(--preview-card); margin: 0 auto; }
.mini-browser-content { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 7px; padding: 10px 0; }
.mini-browser-copy > i { display: block; height: 3px; width: 90%; background: var(--preview-muted); margin-bottom: 5px; opacity: .6; border-radius: 4px; }
.mini-browser-copy > i:last-child { width: 50%; height: 7px; background: #62d7ef; opacity: 1; }
.mini-browser-art { height: 28px; border-radius: 6px; background: linear-gradient(135deg, #1c5569, #52d2dd); }
.workspace-float small { font-size: .54rem; color: var(--preview-muted); }
.workspace-float-bill { left: 0; bottom: 2px; display: flex; gap: 10px; align-items: center; animation-delay: -3s; }
.workspace-float-bill > .home-icon { width: 24px; height: 24px; color: #78a8ff; }
.workspace-float-bill strong { display: block; font-size: .65rem; color: var(--preview-text); }
.preview-invoice { border: 1px solid var(--preview-border); border-radius: 12px; background: var(--preview-card); padding: 14px; }
.preview-invoice-head { display: flex; justify-content: space-between; font-size: .65rem; margin-bottom: 17px; }
.preview-invoice-head small { color: var(--preview-muted); font-size: .6rem; }
.preview-invoice-row { display: flex; justify-content: space-between; font-size: .64rem; color: var(--preview-muted); margin: 8px 0; }
.preview-invoice-total { border-top: 1px solid var(--preview-border); padding-top: 10px; color: var(--preview-text); }
.preview-invoice-total strong { color: #76b1fb; }
.preview-website { border: 1px solid var(--preview-border); background: var(--preview-card); border-radius: 11px; padding: 13px; }
.preview-website-header { display: flex; align-items: center; justify-content: space-between; font-size: .6rem; color: var(--preview-muted); }
.preview-website-header span { width: 28%; height: 4px; background: var(--preview-border); border-radius: 4px; }
.preview-website-body { display: flex; justify-content: space-between; align-items: center; padding: 19px 0 5px; }
.preview-website-body h3 { font-size: .96rem; line-height: 1.3; margin: 0 0 8px; color: var(--preview-text); }
.preview-website-body p { font-size: .6rem; color: var(--preview-muted); }
.preview-website-shape { width: 48px; height: 48px; margin-left: 14px; border: 1px solid #65daec; border-radius: 13px; background: linear-gradient(145deg, rgba(106, 217, 242, .3), rgba(84, 108, 248, .1)); transform: rotate(13deg); display: grid; place-items: center; color: #65daec; }
@keyframes workspace-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

/* Every service gets a small, consistently styled illustration. */
.services-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 22px; }
.cases-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.why-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.testimonials-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important; }
.service-card, .service-dev-card { border-radius: 20px; box-shadow: 0 12px 35px rgba(0, 0, 0, .05); }
.service-card { padding: 28px; }
.service-card:hover, .service-dev-card:hover { transform: translateY(-4px); }
.service-card:focus-within, .service-dev-card:focus-within { border-color: var(--primary-color); }
.service-illustration {
  position: relative; height: 104px; margin-bottom: 23px; border-radius: 12px; overflow: hidden; isolation: isolate;
  display: flex; gap: 18px; justify-content: center; align-items: center;
  background: linear-gradient(125deg, rgba(0, 193, 216, .07), rgba(121, 139, 225, .035)); border: 1px solid var(--border-color);
}
.service-illustration::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 30% 60%, rgba(0, 206, 223, .12), transparent 60%); }
.service-illustration .art-tile { width: 46px; height: 46px; background: var(--preview-surface); border: 1px solid var(--preview-border); border-radius: 13px; display: grid; place-items: center; color: var(--primary-color); transform: rotate(-9deg); box-shadow: 4px 5px 0 var(--preview-card); transition: transform .3s; }
.service-card:hover .art-tile, .service-dev-card:hover .art-tile { transform: rotate(0deg) translateY(-2px); }
.art-panel { width: 82px; padding: 10px; background: var(--preview-surface); border: 1px solid var(--preview-border); border-radius: 9px; transform: rotate(5deg); box-shadow: 0 6px 12px rgba(0, 0, 0, .1); }
.art-panel > span { display: block; width: 100%; height: 4px; background: var(--preview-card); border-radius: 3px; margin-bottom: 5px; }
.art-panel > span:first-child { width: 60%; background: rgba(67, 195, 220, .4); }
.art-panel > span:last-child { margin-bottom: 0; width: 80%; }
.art-chart { display: flex; align-items: end; height: 32px; gap: 5px; }
.art-chart > span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(#73cfeb, #285976); height: 35%; }
.art-chart > span:nth-child(2) { height: 60%; }.art-chart > span:nth-child(3) { height: 48%; }.art-chart > span:nth-child(4) { height: 85%; }
.art-phone { width: 34px; height: 55px; border: 2px solid var(--preview-border); border-radius: 8px; background: var(--preview-surface); padding: 9px 4px 5px; transform: rotate(9deg); box-shadow: 0 5px 10px rgba(0, 0, 0, .1); }
.art-phone > span { display: block; height: 10px; border-radius: 3px; background: rgba(114, 186, 227, .3); margin-bottom: 5px; }
.art-phone > span:last-child { height: 17px; background: rgba(61, 209, 170, .18); }
body.light-theme .workspace-window, body.light-theme .workspace-float { box-shadow: 0 20px 45px rgba(33, 83, 120, .12); }
.header_section button.menu-toggle { border: 1px solid var(--border-color); border-radius: 10px; background: var(--panel-bg); padding: 10px; align-items: center; justify-content: center; }
.header_section button.menu-toggle .home-icon { width: 22px; height: 22px; }
.theme-toggle-btn .theme-sun { display: none; }
body.light-theme .theme-toggle-btn .theme-sun { display: block; }
body.light-theme .theme-toggle-btn .theme-moon { display: none; }
@media (min-width: 1200px) { .hero-refresh { min-height: 650px; padding: 58px 0 65px; } }
@media (max-width: 1050px) {
  .header_section .menu-toggle { display: inline-flex; }
  .header_section .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; background: var(--bg-color); border-bottom: 1px solid var(--border-color); padding: 20px 0; gap: 16px; }
  .header_section .nav-links.active { display: flex; }
  .header_section .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; background: transparent; margin-top: 5px; }
  .header_section .dropdown.open .dropdown-menu { display: block; }
  .header_section .dropdown-menu::before { display: none; }
  .hero-refresh .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-refresh .hero-info > p { margin-inline: auto; max-width: 590px; }
  .hero-refresh .trust-signals { justify-content: center; }
  .hero-refresh .btn-group { justify-content: center; }
  .workspace-scene { max-width: 550px; padding-top: 36px; }
}
@media (max-width: 600px) {
  .header_section .brand-logo { font-size: clamp(1rem, 4.9vw, 1.3rem); min-width: 0; }
  .header_section button.menu-toggle { flex-shrink: 0; }
  .hero-refresh { padding: 37px 0 28px; }
  .workspace-scene { padding: 12px 0 4px; }
  .workspace-window { transform: none; border-radius: 16px; }
  .workspace-float { display: none; }
  .workspace-body { padding: 20px 18px 16px; }
  .workspace-heading h2 { font-size: 1.15rem; }
  .workspace-tabs button { font-size: .65rem; }
  .workspace-panel { min-height: 224px; }
  .workspace-caption { font-size: .59rem; text-align: center; margin-left: 0; }
  .workspace-window:hover, .workspace-window:focus-within { transform: none; }
  .service-dev-card { padding: 25px !important; }
  #services-dev > .container > div:last-child { grid-template-columns: minmax(0, 1fr) !important; }
  .preview-flow { font-size: .5rem; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .workspace-window, .workspace-window:hover, .workspace-window:focus-within { transform: none; }
}


/* Responsive Clamp for Brand Logo on All Viewports (including 4:3 / square monitors) */
.brand-logo img.logo-full,
.h-brand img,
.header_section .brand-logo img {
  height: clamp(34px, 3.8vw, 46px) !important;
  max-width: clamp(160px, 18vw, 220px) !important;
  width: auto !important;
  object-fit: contain !important;
}
