/* ==========================================================================
   Yuramsoft Enterprises — design system
   Dark navy / blue / cyan · glass surfaces · Bootstrap 5 companion
   ========================================================================== */
:root {
  --ys-navy-950: #040A18;
  --ys-navy-900: #08132B;
  --ys-navy-850: #0B1A38;
  --ys-navy-800: #0F2147;
  --ys-navy-700: #18306A;
  --ys-blue: #2563EB;
  --ys-blue-400: #4F8BFF;
  --ys-cyan: #38BDF8;
  --ys-cyan-300: #93C5FD;
  --ys-violet: #7C5CFF;
  --ys-ink: #0B1324;
  --ys-body: #334155;
  --ys-muted: #64748B;
  --ys-line: #E3E8F1;
  --ys-surface: #F5F7FB;
  --ys-white: #FFFFFF;
  --ys-success: #059669;
  --ys-warning: #D97706;
  --ys-danger: #DC2626;
  --ys-grad: linear-gradient(135deg, #2563EB 0%, #38BDF8 100%);
  --ys-grad-soft: linear-gradient(135deg, rgba(37,99,235,.14), rgba(56,189,248,.14));
  --ys-radius: 18px;
  --ys-radius-sm: 12px;
  --ys-shadow: 0 1px 2px rgba(11,19,36,.04), 0 12px 32px -12px rgba(11,19,36,.14);
  --ys-shadow-lg: 0 30px 60px -20px rgba(4,10,24,.45);
  --ys-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ys-display: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --ys-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --bs-body-font-family: var(--ys-font);
  --bs-body-color: var(--ys-body);
  --bs-primary: #2563EB;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563EB;
  --bs-link-hover-color: #1D4ED8;
  --bs-border-color: var(--ys-line);
}

html { scroll-behavior: smooth; }
body { font-family: var(--ys-font); color: var(--ys-body); background: var(--ys-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, .display-font { font-family: var(--ys-display); color: var(--ys-ink); letter-spacing: -0.02em; font-weight: 700; }
a { text-decoration: none; }
::selection { background: rgba(56,189,248,.25); }
:focus-visible { outline: 2px solid var(--ys-cyan); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; }
.text-req { color: var(--ys-danger); }
.mono { font-family: var(--ys-mono); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; padding: .7rem 1.25rem; letter-spacing: -0.005em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease; }
.btn-sm { padding: .42rem .85rem; border-radius: 10px; font-size: .85rem; }
.btn-lg { padding: .9rem 1.6rem; border-radius: 14px; font-size: 1.02rem; }
.btn-ys { color: #fff; background: var(--ys-grad); border: 0; box-shadow: 0 10px 24px -10px rgba(37,99,235,.7); }
.btn-ys:hover, .btn-ys:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(56,189,248,.75); }
.btn-ghost-light { color: #E6EEFF; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); }
.btn-outline-ys { color: var(--ys-blue); border: 1.5px solid rgba(37,99,235,.35); background: #fff; }
.btn-outline-ys:hover { color: #fff; background: var(--ys-blue); border-color: var(--ys-blue); }
.btn-soft { color: var(--ys-ink); background: var(--ys-surface); border: 1px solid var(--ys-line); }
.btn-soft:hover { background: #EBF0F8; color: var(--ys-ink); }
.btn-danger-soft { color: var(--ys-danger); background: #FEF2F2; border: 1px solid #FECACA; }
.btn-danger-soft:hover { background: #FEE2E2; color: #B91C1C; }

/* ---------- Navbar ---------- */
.ys-nav { position: fixed; inset: 0 0 auto 0; z-index: 1030; padding: 1rem 0; transition: background .25s ease, padding .25s ease, box-shadow .25s ease; }
.ys-nav.scrolled, .ys-nav.solid { background: rgba(6,13,31,.82); backdrop-filter: blur(16px) saturate(140%); padding: .6rem 0; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.ys-brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-family: var(--ys-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.ys-brand:hover { color: #fff; }
.ys-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--ys-grad); color: #fff; font-weight: 800; box-shadow: 0 8px 20px -8px rgba(56,189,248,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.ys-brand small { display: block; font-family: var(--ys-font); font-size: .64rem; font-weight: 600; letter-spacing: .18em; color: var(--ys-cyan-300); text-transform: uppercase; margin-top: -2px; }
.ys-nav .nav-link { color: rgba(226,236,255,.78); font-weight: 500; font-size: .94rem; padding: .5rem .85rem !important; border-radius: 10px; }
.ys-nav .nav-link:hover, .ys-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.ys-nav .navbar-toggler { border: 1px solid rgba(255,255,255,.2); color: #fff; padding: .4rem .6rem; }
.ys-nav .dropdown-menu { border: 1px solid var(--ys-line); border-radius: 14px; box-shadow: var(--ys-shadow); padding: .5rem; }
.ys-nav .dropdown-item { border-radius: 8px; padding: .5rem .75rem; font-size: .92rem; }
@media (max-width: 991.98px) {
  .ys-nav .navbar-collapse { background: rgba(6,13,31,.97); margin-top: .75rem; padding: 1rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); }
}

/* ---------- Dark sections & hero ---------- */
.ys-dark { background: var(--ys-navy-900); color: #B9C6E4; position: relative; overflow: hidden; }
.ys-dark h1, .ys-dark h2, .ys-dark h3, .ys-dark h4, .ys-dark h5 { color: #fff; }
.ys-dark .text-muted, .ys-dark .ys-muted { color: #8C9BBE !important; }
.ys-grid-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.ys-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.ys-glow.blue { background: #2563EB; }
.ys-glow.cyan { background: #38BDF8; }
.ys-glow.violet { background: #6D4AFF; }

.hero { padding: 9.5rem 0 6rem; min-height: 92vh; display: flex; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.hero .lead { color: #A9B7D6; font-size: 1.15rem; max-width: 36rem; line-height: 1.7; }
.text-grad { background: var(--ys-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ys-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ys-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ys-blue); font-weight: 600; }
.ys-dark .ys-eyebrow { color: var(--ys-cyan-300); }
.ys-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem .4rem .45rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #D6E2FF; font-size: .84rem; }
.ys-pill .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(56,189,248,.18); color: var(--ys-cyan-300); font-size: .72rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.75rem; }
.hero-stats strong { display: block; font-family: var(--ys-display); color: #fff; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.03em; }
.hero-stats span { font-size: .84rem; color: #8C9BBE; }

/* hero visual — glass console */
.hero-visual { position: relative; }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(140%); border-radius: var(--ys-radius); box-shadow: var(--ys-shadow-lg), inset 0 1px 0 rgba(255,255,255,.08); }
.console { padding: 1.1rem 1.2rem 1.3rem; }
.console-bar { display: flex; align-items: center; gap: .4rem; margin-bottom: 1rem; }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334675; display: inline-block; }
.console-bar i:nth-child(1) { background: #FF6B6B; } .console-bar i:nth-child(2) { background: #FFC94D; } .console-bar i:nth-child(3) { background: #3DDC97; }
.console-bar span { margin-left: auto; font-family: var(--ys-mono); font-size: .72rem; color: #7F8FB5; }
.console pre { margin: 0; font-family: var(--ys-mono); font-size: .8rem; line-height: 1.75; color: #C9D6F5; white-space: pre-wrap; }
.console .k { color: #7DD3FC; } .console .s { color: #86EFAC; } .console .c { color: #64748B; } .console .f { color: #C4B5FD; }
.float-card { position: absolute; padding: .85rem 1rem; display: flex; align-items: center; gap: .75rem; min-width: 210px; animation: floaty 6s ease-in-out infinite; }
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: var(--ys-grad); flex-shrink: 0; }
.float-card b { color: #fff; font-size: .9rem; display: block; }
.float-card small { color: #92A3C9; font-size: .76rem; }
.float-card.one { left: -38px; bottom: -28px; }
.float-card.two { right: -22px; top: -26px; animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) { .float-card { position: static; margin-top: 1rem; animation: none; } .hero { min-height: auto; padding: 8rem 0 4rem; } }

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section-sm { padding: 4rem 0; }
.section-alt { background: var(--ys-surface); }
.section-head { max-width: 46rem; margin-bottom: 3.25rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; margin: .75rem 0 1rem; }
.section-head p { font-size: 1.06rem; color: var(--ys-muted); line-height: 1.7; }
.ys-dark .section-head p { color: #92A3C9; }
.page-hero { padding: 9rem 0 4.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero p.lead { color: #A9B7D6; max-width: 42rem; }
.crumbs { font-size: .84rem; color: #8C9BBE; margin-bottom: 1rem; }
.crumbs a { color: var(--ys-cyan-300); }

/* trust strip */
.trust { border-top: 1px solid rgba(255,255,255,.07); padding: 1.6rem 0; }
.trust span { color: #7F8FB5; font-size: .85rem; font-weight: 600; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Cards ---------- */
.ys-card { background: #fff; border: 1px solid var(--ys-line); border-radius: var(--ys-radius); box-shadow: var(--ys-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; position: relative; }
.ys-card.hoverable:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,19,36,.04), 0 24px 48px -18px rgba(37,99,235,.28); border-color: rgba(37,99,235,.25); }
.ys-card-body { padding: 1.75rem; }
.icon-tile { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; color: var(--ys-blue); background: var(--ys-grad-soft); border: 1px solid rgba(37,99,235,.14); }
.ys-dark .icon-tile { color: var(--ys-cyan-300); background: rgba(56,189,248,.1); border-color: rgba(147,197,253,.18); }
.service-card { height: 100%; overflow: hidden; }
.service-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--ys-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.service-card:hover::after { transform: scaleX(1); }
.service-card h3 { font-size: 1.22rem; margin: 1.25rem 0 .6rem; }
.service-card p { color: var(--ys-muted); font-size: .96rem; line-height: 1.65; }
.service-card .more { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.service-card .more i { transition: transform .2s; }
.service-card:hover .more i { transform: translateX(4px); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; line-height: 1.55; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--ys-cyan); font-size: 1.05rem; }
.ys-dark .check-list li { color: #C3CEEA; }

.glass-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); border-radius: var(--ys-radius); padding: 1.75rem; transition: background .25s, border-color .25s, transform .25s; height: 100%; }
.glass-card:hover { background: rgba(255,255,255,.065); border-color: rgba(147,197,253,.25); transform: translateY(-3px); }

/* project cards */
.project-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.project-thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--ys-navy-850); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover .project-thumb img, .project-card:hover .project-art { transform: scale(1.04); }
.project-art { position: absolute; inset: 0; transition: transform .6s ease; background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.55), transparent 55%), radial-gradient(circle at 85% 75%, rgba(56,189,248,.5), transparent 50%), linear-gradient(135deg, #0B1A38, #08132B); display: grid; place-items: center; }
.project-art i { font-size: 3rem; color: rgba(255,255,255,.85); filter: drop-shadow(0 10px 25px rgba(56,189,248,.5)); }
.project-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 28px 28px; }
.project-thumb .tag { position: absolute; left: 1rem; top: 1rem; z-index: 2; }
.project-card .ys-card-body { flex: 1; display: flex; flex-direction: column; }
.tech-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .74rem; font-weight: 600; padding: .28rem .6rem; border-radius: 8px; background: var(--ys-surface); color: #475569; border: 1px solid var(--ys-line); font-family: var(--ys-mono); }
.ys-dark .chip { background: rgba(255,255,255,.05); color: #B9C6E4; border-color: rgba(255,255,255,.1); }
.glass-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 8px; color: #fff; background: rgba(8,19,43,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); }

/* process */
.process-step { position: relative; padding-top: 1rem; }
.process-step .num { font-family: var(--ys-mono); font-size: .78rem; color: var(--ys-cyan-300); letter-spacing: .1em; }
.process-step h4 { font-size: 1.15rem; margin: .9rem 0 .5rem; }
.process-step p { color: #92A3C9; font-size: .95rem; line-height: 1.65; margin: 0; }
.process-line { position: absolute; top: 2.1rem; left: 64px; right: -12px; height: 1px; background: linear-gradient(90deg, rgba(147,197,253,.45), rgba(147,197,253,0)); }
@media (max-width: 991.98px) { .process-line { display: none; } }

/* testimonials */
.quote-card { padding: 2rem; height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { color: #F59E0B; font-size: .9rem; letter-spacing: 2px; }
.quote-card blockquote { font-size: 1.02rem; line-height: 1.7; color: var(--ys-ink); margin: 1rem 0 1.5rem; flex: 1; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--ys-grad); font-size: .9rem; flex-shrink: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 84px; height: 84px; font-size: 1.5rem; border-radius: 24px; }

/* team */
.team-card { text-align: left; padding: 1.75rem; height: 100%; }
.team-card h4 { font-size: 1.1rem; margin: 1.1rem 0 .15rem; }
.team-card .role { color: var(--ys-blue); font-weight: 600; font-size: .88rem; }
.team-card p { color: var(--ys-muted); font-size: .93rem; margin: .8rem 0 1rem; line-height: 1.6; }

/* CTA band */
.cta-band { border-radius: 28px; padding: 4rem 3rem; position: relative; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(37,99,235,.55), transparent 50%), radial-gradient(circle at 90% 80%, rgba(56,189,248,.45), transparent 45%), var(--ys-navy-900); border: 1px solid rgba(255,255,255,.08); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { color: #A9B7D6; font-size: 1.06rem; }
@media (max-width: 767.98px) { .cta-band { padding: 2.5rem 1.5rem; border-radius: 20px; } }

/* course cards */
.course-card { height: 100%; display: flex; flex-direction: column; }
.course-card .meta { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .84rem; color: var(--ys-muted); }
.course-card .meta span { display: inline-flex; align-items: center; gap: .35rem; }
.course-card .price { font-family: var(--ys-display); font-weight: 700; color: var(--ys-ink); font-size: 1.3rem; }

/* blog */
.post-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.post-card .cover { aspect-ratio: 16/9; background: var(--ys-navy-850); position: relative; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3 { font-size: 1.12rem; line-height: 1.4; margin: .5rem 0; }
.post-card h3 a { color: var(--ys-ink); }
.post-card h3 a:hover { color: var(--ys-blue); }
.post-meta { font-size: .8rem; color: var(--ys-muted); display: flex; gap: .9rem; flex-wrap: wrap; }
.prose { font-size: 1.07rem; line-height: 1.85; color: #2B3A52; }
.prose h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.28rem; margin: 2rem 0 .8rem; }
.prose p { margin-bottom: 1.25rem; }
.prose img { max-width: 100%; border-radius: 14px; }
.prose blockquote { border-left: 3px solid var(--ys-cyan); padding: .5rem 0 .5rem 1.25rem; color: var(--ys-ink); font-style: italic; }
.prose pre { background: var(--ys-navy-900); color: #D6E2FF; padding: 1.1rem 1.25rem; border-radius: 14px; font-size: .88rem; }
.prose code { font-family: var(--ys-mono); font-size: .9em; }

/* ---------- Forms ---------- */
.form-control, .form-select { border-radius: 12px; border: 1px solid #D5DDEA; padding: .72rem .95rem; font-size: .96rem; background-color: #fff; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus { border-color: var(--ys-blue-400); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.form-label { font-weight: 600; color: var(--ys-ink); font-size: .9rem; margin-bottom: .4rem; }
.form-text { color: var(--ys-muted); font-size: .8rem; }
.form-check-input:checked { background-color: var(--ys-blue); border-color: var(--ys-blue); }
.ys-checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.ys-check-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border: 1px solid var(--ys-line); border-radius: 10px; font-size: .88rem; cursor: pointer; background: #fff; }
.ys-check-chip:has(input:checked) { border-color: var(--ys-blue); background: rgba(37,99,235,.06); }
.form-section { border-top: 1px solid var(--ys-line); padding-top: 1.75rem; margin-top: 1.75rem; }
.form-section h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.form-section h3 .n { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--ys-grad); color: #fff; font-size: .8rem; font-family: var(--ys-mono); }
.dropzone { border: 1.5px dashed #BBC7DC; border-radius: 14px; padding: 1.5rem; text-align: center; background: var(--ys-surface); transition: border-color .2s, background .2s; cursor: pointer; position: relative; }
.dropzone:hover, .dropzone.drag { border-color: var(--ys-blue); background: rgba(37,99,235,.04); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { list-style: none; padding: 0; margin: .75rem 0 0; font-size: .86rem; text-align: left; }
.file-list li { display: flex; gap: .5rem; padding: .3rem 0; color: var(--ys-ink); }
.ys-dark .form-control, .ys-dark .form-select { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #fff; }
.ys-dark .form-control::placeholder { color: #7F8FB5; }

/* ---------- Footer ---------- */
.ys-footer { background: var(--ys-navy-950); color: #8C9BBE; padding: 5rem 0 2rem; position: relative; overflow: hidden; }
.ys-footer h6 { color: #fff; font-family: var(--ys-font); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.ys-footer a { color: #A9B7D6; }
.ys-footer a:hover { color: var(--ys-cyan-300); }
.ys-footer ul { list-style: none; padding: 0; }
.ys-footer li { margin-bottom: .6rem; font-size: .94rem; }
.social a { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.1); margin-right: .4rem; }
.social a:hover { background: rgba(255,255,255,.06); }
.newsletter-box { display: flex; gap: .5rem; }
.newsletter-box .form-control { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); margin-top: 3.5rem; padding-top: 1.5rem; font-size: .85rem; }

/* ---------- Badges, alerts, toasts ---------- */
.ys-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.ys-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ys-badge-info { color: #0369A1; background: #E0F2FE; }
.ys-badge-primary { color: #1D4ED8; background: #DBEAFE; }
.ys-badge-violet { color: #6D28D9; background: #EDE9FE; }
.ys-badge-warning { color: #B45309; background: #FEF3C7; }
.ys-badge-success { color: #047857; background: #D1FAE5; }
.ys-badge-danger { color: #B91C1C; background: #FEE2E2; }
.ys-badge-cyan { color: #0369A1; background: #E0F2FE; }
.ys-badge-muted { color: #475569; background: #EEF2F7; }
.toast-stack { position: fixed; top: 84px; right: 18px; z-index: 1090; display: flex; flex-direction: column; gap: .6rem; max-width: min(420px, calc(100vw - 36px)); }
.ys-toast { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border: 1px solid var(--ys-line); border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--ys-shadow); font-size: .92rem; color: var(--ys-ink); animation: toastIn .35s ease; }
.ys-toast i.lead-ic { font-size: 1.15rem; margin-top: 1px; }
.ys-toast.success i.lead-ic { color: var(--ys-success); } .ys-toast.error i.lead-ic { color: var(--ys-danger); } .ys-toast.warning i.lead-ic { color: var(--ys-warning); } .ys-toast.info i.lead-ic { color: var(--ys-blue); }
.ys-toast .btn-close { margin-left: auto; font-size: .7rem; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .float-card { animation: none; } * { scroll-behavior: auto !important; } }

/* ==========================================================================
   App shell (client dashboard + staff portal)
   ========================================================================== */
.app-body { background: var(--ys-surface); }
.app-shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.app-side { background: var(--ys-navy-900); color: #A9B7D6; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.app-side .ys-brand { padding: .35rem .5rem 1.4rem; }
.side-label { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #5D6E95; font-weight: 700; padding: 1rem .75rem .45rem; }
.side-link { display: flex; align-items: center; gap: .75rem; padding: .62rem .75rem; border-radius: 11px; color: #A9B7D6; font-size: .93rem; font-weight: 500; margin-bottom: 2px; }
.side-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.side-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.side-link.active { background: linear-gradient(90deg, rgba(37,99,235,.28), rgba(56,189,248,.08)); color: #fff; box-shadow: inset 2px 0 0 var(--ys-cyan); }
.side-link .count { margin-left: auto; font-size: .7rem; font-weight: 700; background: var(--ys-cyan); color: var(--ys-navy-950); border-radius: 999px; padding: .1rem .45rem; }
.side-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.07); }
.app-main { min-width: 0; display: flex; flex-direction: column; }
.app-top { height: 68px; display: flex; align-items: center; gap: 1rem; padding: 0 2rem; background: rgba(245,247,251,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--ys-line); position: sticky; top: 0; z-index: 20; }
.app-top .who { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.app-content { padding: 2rem; flex: 1; }
.page-title { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.75rem; }
.page-title h1 { font-size: 1.65rem; margin: 0; }
.page-title p { margin: .35rem 0 0; color: var(--ys-muted); }
@media (max-width: 991.98px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { position: fixed; left: 0; top: 0; width: 280px; z-index: 1045; transform: translateX(-100%); transition: transform .25s ease; }
  .app-side.open { transform: none; box-shadow: var(--ys-shadow-lg); }
  .app-content { padding: 1.25rem; }
  .app-top { padding: 0 1.25rem; }
}
.side-backdrop { display: none; }
.app-side.open + .side-backdrop { display: block; position: fixed; inset: 0; background: rgba(4,10,24,.5); z-index: 1040; }

.panel { background: #fff; border: 1px solid var(--ys-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(11,19,36,.03); }
.panel-head { padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--ys-line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.panel-head h2, .panel-head h3 { font-size: 1rem; margin: 0; }
.panel-body { padding: 1.35rem; }
.kpi { padding: 1.25rem 1.35rem; height: 100%; }
.kpi .label { font-size: .78rem; color: var(--ys-muted); font-weight: 600; display: flex; align-items: center; gap: .45rem; }
.kpi .value { font-family: var(--ys-display); font-size: 1.65rem; font-weight: 700; color: var(--ys-ink); letter-spacing: -0.03em; margin-top: .45rem; }
.kpi .sub { font-size: .8rem; color: var(--ys-muted); margin-top: .15rem; }
.kpi .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--ys-grad-soft); color: var(--ys-blue); }
.kpi.accent { background: var(--ys-navy-900); border-color: var(--ys-navy-800); }
.kpi.accent .value { color: #fff; } .kpi.accent .label, .kpi.accent .sub { color: #92A3C9; }
.table-ys { margin: 0; font-size: .91rem; }
.table-ys thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ys-muted); font-weight: 700; background: #FAFBFD; border-bottom: 1px solid var(--ys-line); padding: .75rem 1rem; white-space: nowrap; }
.table-ys td { padding: .85rem 1rem; vertical-align: middle; border-color: #EEF2F7; }
.table-ys tbody tr { transition: background .15s; }
.table-ys tbody tr:hover { background: #FAFCFF; }
.table-ys .ref { font-family: var(--ys-mono); font-size: .8rem; color: var(--ys-blue); font-weight: 600; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--ys-muted); }
.empty i { font-size: 2.2rem; color: #B6C2D6; display: block; margin-bottom: .75rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filter-bar .form-control, .filter-bar .form-select { padding: .5rem .8rem; font-size: .88rem; border-radius: 10px; width: auto; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--ys-line); border-radius: 11px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: .38rem .8rem; border-radius: 8px; color: var(--ys-muted); font-size: .85rem; font-weight: 600; }
.seg a.on { background: var(--ys-navy-900); color: #fff; }

/* progress tracker */
.tracker { display: flex; gap: 4px; margin: .75rem 0 .5rem; }
.tracker span { flex: 1; height: 6px; border-radius: 3px; background: #E3E8F1; }
.tracker span.done { background: var(--ys-grad); }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--ys-line); }
.timeline li { position: relative; padding-left: 2rem; padding-bottom: 1.1rem; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--ys-blue); }
.timeline li:first-child::before { border-color: var(--ys-cyan); box-shadow: 0 0 0 4px rgba(56,189,248,.15); }
.timeline .when { color: var(--ys-muted); font-size: .78rem; }

/* messages */
.thread { display: flex; flex-direction: column; gap: 1rem; max-height: 560px; overflow-y: auto; padding-right: .25rem; }
.msg { display: flex; gap: .75rem; max-width: 86%; }
.msg .bubble { padding: .8rem 1rem; border-radius: 14px; background: var(--ys-surface); border: 1px solid var(--ys-line); font-size: .93rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.msg .meta { font-size: .74rem; color: var(--ys-muted); margin-top: .3rem; }
.msg.mine { margin-left: auto; flex-direction: row-reverse; }
.msg.mine .bubble { background: linear-gradient(135deg, #2563EB, #1E7BD8); color: #fff; border: 0; }
.msg.mine .meta { text-align: right; }
.msg.internal .bubble { background: #FFFBEB; border: 1px dashed #F59E0B; color: #78350F; }
.msg .avatar { width: 34px; height: 34px; font-size: .75rem; }

.file-row { display: flex; align-items: center; gap: .85rem; padding: .7rem 0; border-bottom: 1px solid #EEF2F7; }
.file-row:last-child { border-bottom: 0; }
.file-row .fi { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ys-surface); color: var(--ys-blue); font-size: 1.1rem; flex-shrink: 0; }
.milestone { padding: 1rem 0; border-bottom: 1px solid #EEF2F7; }
.milestone:last-child { border-bottom: 0; }
.dl-grid { display: grid; grid-template-columns: 160px 1fr; gap: .55rem 1rem; font-size: .92rem; margin: 0; }
.dl-grid dt { color: var(--ys-muted); font-weight: 600; font-size: .82rem; }
.dl-grid dd { margin: 0; color: var(--ys-ink); }
@media (max-width: 575.98px) { .dl-grid { grid-template-columns: 1fr; } .dl-grid dd { margin-bottom: .5rem; } }
.brief-block h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ys-muted); font-family: var(--ys-font); font-weight: 700; margin-bottom: .45rem; }
.brief-block p, .brief-block ul { font-size: .95rem; color: var(--ys-ink); white-space: pre-line; }

/* invoice document view */
.doc { background: #fff; border: 1px solid var(--ys-line); border-radius: 18px; overflow: hidden; box-shadow: var(--ys-shadow); }
.doc-head { background: var(--ys-navy-900); color: #A9B7D6; padding: 1.75rem 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: relative; }
.doc-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ys-grad); }
.doc-head h2 { color: #fff; font-size: 1.5rem; margin: 0; letter-spacing: .04em; }
.doc-body { padding: 2rem; }
.totals { margin-left: auto; max-width: 340px; }
.totals .row-t { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .93rem; }
.totals .row-t.grand { border-top: 2px solid var(--ys-navy-900); margin-top: .35rem; padding-top: .7rem; font-weight: 700; font-size: 1.05rem; color: var(--ys-ink); }
.pay-option { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1.5px solid var(--ys-line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; margin-bottom: .6rem; background: #fff; }
.pay-option:hover { border-color: #A8BFEA; }
.pay-option:has(input:checked) { border-color: var(--ys-blue); background: rgba(37,99,235,.04); box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.pay-option .gi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--ys-grad-soft); color: var(--ys-blue); font-size: 1.2rem; }
.secure-note { font-size: .8rem; color: var(--ys-muted); display: flex; gap: .45rem; align-items: center; }

/* line-item editor */
.items-table td { padding: .45rem .35rem; vertical-align: top; }
.items-table .form-control { padding: .5rem .65rem; font-size: .9rem; }
.items-table .line-total { font-family: var(--ys-mono); font-size: .88rem; padding-top: .9rem; white-space: nowrap; text-align: right; }
.item-row.removed { opacity: .4; }
.sticky-summary { position: sticky; top: 88px; }

/* auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; background: #fff; }
.auth-form .inner { width: 100%; max-width: 440px; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* charts */
.chart-box { position: relative; height: 260px; }
.chart-box.sm { height: 210px; }
.bar-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .7rem; font-size: .86rem; }
.bar-row .bar { flex: 1; height: 8px; border-radius: 4px; background: #EEF2F7; overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: var(--ys-grad); border-radius: 4px; }

/* admin brand tweaks reuse */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.error-page .code { font-family: var(--ys-display); font-size: clamp(5rem, 15vw, 9rem); font-weight: 800; line-height: 1; }
.btn input[type=file] { display: none; }

/* ==========================================================================
   v2 — Premium layer: aurora backgrounds, glass navigation, refined surfaces
   (overrides earlier rules; keep this block last)
   ========================================================================== */
:root {
  --ys-navy-900: #060E22;
  --ys-ink: #0A1226;
  --ys-grad: linear-gradient(120deg, #2563EB 0%, #3B82F6 35%, #38BDF8 100%);
  --ys-grad-text: linear-gradient(100deg, #60A5FA 0%, #38BDF8 45%, #A78BFA 90%);
  --ys-ring: linear-gradient(135deg, rgba(37,99,235,.38), rgba(226,232,240,.9) 38%, rgba(226,232,240,.9) 62%, rgba(56,189,248,.38));
  --ys-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body { background: #F7F9FD; }

/* ---------- Layered dark background ---------- */
.ys-dark { background: radial-gradient(120% 80% at 50% -10%, #0E2150 0%, #071330 45%, #040A1B 100%); isolation: isolate; }
.ys-dark > .container, .ys-dark > .position-relative, .auth-art > *:not(.ys-bg) { position: relative; z-index: 2; }
.ys-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ys-bg .aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.ys-bg .a1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: -12%; top: -28%; background: radial-gradient(circle, #2563EB 0%, rgba(37,99,235,0) 68%); animation: drift1 22s ease-in-out infinite alternate; }
.ys-bg .a2 { width: 40vw; height: 40vw; max-width: 620px; max-height: 620px; right: -10%; top: 5%; background: radial-gradient(circle, #38BDF8 0%, rgba(56,189,248,0) 66%); opacity: .42; animation: drift2 26s ease-in-out infinite alternate; }
.ys-bg .a3 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 35%; bottom: -30%; background: radial-gradient(circle, #7C3AED 0%, rgba(124,58,237,0) 66%); opacity: .32; animation: drift3 30s ease-in-out infinite alternate; }
.ys-bg.compact .aurora { opacity: .45; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-6vw, 10vh) scale(.92); } }
@keyframes drift3 { to { transform: translate(-10vw, -8vh) scale(1.15); } }
.ys-bg .beam { position: absolute; left: 50%; top: -30%; width: 140%; height: 90%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(147,197,253,.10) 48%, rgba(147,197,253,.16) 50%, rgba(147,197,253,.10) 52%, transparent 58%); filter: blur(6px); }
.ys-bg .grid-floor { position: absolute; left: -50%; right: -50%; bottom: -6%; height: 58%; background-image: linear-gradient(rgba(147,197,253,.20) 1px, transparent 1px), linear-gradient(90deg, rgba(147,197,253,.20) 1px, transparent 1px); background-size: 70px 70px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%; -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.7) 30%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.7) 30%, transparent 85%); animation: gridmove 9s linear infinite; }
.ys-bg.compact .grid-floor { height: 70%; opacity: .55; }
@keyframes gridmove { to { background-position: 0 70px, 0 0; } }
.ys-bg .ys-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.ys-bg .noise { position: absolute; inset: 0; background-image: var(--ys-noise); opacity: .07; mix-blend-mode: overlay; }
.ys-bg .fade-bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, rgba(4,10,27,.65)); }
.ys-dark + .section, .ys-dark + .section-sm { border-top: 0; }
.ys-dark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(147,197,253,.55), rgba(96,165,250,.55), transparent); }

/* ---------- Light section canvases ---------- */
.section-mesh, .section-alt { position: relative; isolation: isolate; }
.section-mesh { background: radial-gradient(60% 70% at 100% 0%, rgba(59,130,246,.09), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(56,189,248,.08), transparent 70%), #fff; }
.section-alt { background: radial-gradient(55% 60% at 0% 0%, rgba(37,99,235,.08), transparent 70%), radial-gradient(45% 55% at 100% 100%, rgba(124,58,237,.06), transparent 70%), #F3F6FC; }
.section-alt::before, .section-mesh::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(15,33,71,.11) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 85%); }
.section { background-color: transparent; }
main > .section:not(.ys-dark):not(.section-alt):not(.section-mesh) { background: #fff; }

/* ---------- Headings & eyebrows ---------- */
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.04em; text-wrap: balance; }
.hero h1, .page-hero h1 { background: linear-gradient(180deg, #FFFFFF 30%, #B8C9F0 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad { background: var(--ys-grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine-text 6s linear infinite; }
@keyframes shine-text { to { background-position: 200% center; } }
.section-head h2 { text-wrap: balance; }
.ys-eyebrow { padding: .38rem .8rem; border-radius: 999px; background: rgba(37,99,235,.07); border: 1px solid rgba(37,99,235,.14); }
.ys-dark .ys-eyebrow { background: rgba(147,197,253,.07); border-color: rgba(147,197,253,.2); }
.ys-pill { background: linear-gradient(90deg, rgba(37,99,235,.18), rgba(56,189,248,.10)); border-color: rgba(147,197,253,.25); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

/* ---------- Floating glass navigation ---------- */
.ys-nav, .ys-nav.scrolled, .ys-nav.solid { background: transparent; box-shadow: none; backdrop-filter: none; padding: .9rem 0; }
.ys-nav.scrolled { padding: .5rem 0; }
.ys-nav-shell { width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .55rem .5rem 1rem; border-radius: 18px; background: rgba(6,14,34,.38); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); transition: background .3s, box-shadow .3s, border-color .3s; }
.ys-nav.scrolled .ys-nav-shell, .ys-nav.solid .ys-nav-shell { background: rgba(6,14,34,.86); border-color: rgba(147,197,253,.14); box-shadow: 0 18px 40px -18px rgba(2,6,23,.7); }
.ys-nav .navbar-collapse { flex-grow: 1; }
.ys-nav .nav-link { position: relative; }
.ys-nav .nav-link.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; transform: translateX(-50%); border-radius: 2px; background: var(--ys-grad); }
@media (max-width: 991.98px) { .ys-nav .navbar-collapse { background: transparent; border: 0; margin-top: .25rem; padding: .5rem 0 .25rem; } .ys-nav-shell { padding: .55rem .7rem; } }
.ys-account { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .7rem .3rem .3rem; border-radius: 12px; color: #E6EEFF; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.ys-account:hover { background: rgba(255,255,255,.12); }
.ys-account .avatar { width: 32px; height: 32px; font-size: .8rem; border-radius: 9px; }
.ys-account strong { font-size: .84rem; color: #fff; }
.ys-account small { font-size: .7rem; color: #93A5CB; }
.ys-menu { min-width: 250px; padding: .5rem; border-radius: 16px; border: 1px solid var(--ys-line); box-shadow: 0 24px 50px -20px rgba(2,6,23,.35); }
.ys-menu .dropdown-item { display: flex; align-items: center; gap: .65rem; border-radius: 10px; padding: .55rem .75rem; font-size: .9rem; font-weight: 500; }
.ys-menu .dropdown-item i { color: var(--ys-blue); width: 18px; }
.ys-menu .dropdown-item.text-danger i { color: var(--ys-danger); }
.ys-menu .dropdown-item:active { background: var(--ys-blue); }
.ys-menu-head { padding: .5rem .75rem .65rem; border-bottom: 1px solid var(--ys-line); margin-bottom: .35rem; }

/* ---------- Buttons ---------- */
.btn-ys { position: relative; overflow: hidden; background: var(--ys-grad); background-size: 140% 140%; box-shadow: 0 12px 28px -12px rgba(37,99,235,.85), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ys::after { content: ""; position: absolute; top: 0; left: -60%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-ys:hover::after { left: 120%; }
.btn-ghost-light { box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }

/* ---------- Hero visual ---------- */
.hero { padding: 10rem 0 6.5rem; }
.hero-visual { isolation: isolate; }
.orb-ring { position: absolute; inset: -14% -10%; z-index: -1; border-radius: 50%; background: conic-gradient(from 0deg, rgba(37,99,235,0), rgba(37,99,235,.55), rgba(56,189,248,.6), rgba(124,58,237,.45), rgba(37,99,235,0)); filter: blur(60px); opacity: .55; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12); }
.console { position: relative; }
.console::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(147,197,253,.6), rgba(255,255,255,0) 40%, rgba(147,197,253,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.hero-stats > div { padding: .85rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-stats { gap: 1rem; }

/* ---------- Tech marquee ---------- */
.trust { padding: 1.15rem 0; background: rgba(4,10,27,.96); border-top: 1px solid rgba(255,255,255,.06); }
.marquee { overflow: hidden; -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 38s linear infinite; }
.marquee-track span { white-space: nowrap; color: #8EA0C8; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .55rem; }
.marquee-track i { color: var(--ys-cyan-300); font-size: 1.05rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards with gradient hairline borders ---------- */
.ys-card { border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ys-ring) border-box; box-shadow: 0 1px 2px rgba(10,18,38,.04), 0 18px 40px -24px rgba(10,18,38,.22); }
.ys-card.hoverable:hover { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #3B82F6, #38BDF8) border-box; box-shadow: 0 2px 4px rgba(10,18,38,.04), 0 30px 60px -24px rgba(37,99,235,.38); transform: translateY(-6px); }
.icon-tile { position: relative; box-shadow: 0 10px 22px -12px rgba(37,99,235,.55); background: linear-gradient(145deg, rgba(37,99,235,.12), rgba(56,189,248,.12)); }
.ys-card.hoverable:hover .icon-tile { background: var(--ys-grad); color: #fff; border-color: transparent; }
.service-card h3 { font-size: 1.25rem; }
.kpi.accent { background: radial-gradient(120% 120% at 0% 0%, rgba(37,99,235,.55), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(56,189,248,.35), transparent 50%), #071330; border-color: rgba(147,197,253,.18); }
.project-art { background: radial-gradient(circle at 18% 18%, rgba(59,130,246,.75), transparent 52%), radial-gradient(circle at 88% 78%, rgba(56,189,248,.65), transparent 50%), radial-gradient(circle at 60% 110%, rgba(124,58,237,.5), transparent 50%), linear-gradient(135deg, #0B1A3E, #050C20); }
.project-art::after { content: ""; position: absolute; inset: 0; background-image: var(--ys-noise); opacity: .08; mix-blend-mode: overlay; }
.glass-card { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(10px); }
.quote-card blockquote { font-size: 1.04rem; }
.quote-card::before { content: "\201C"; position: absolute; right: 1.4rem; top: .2rem; font-family: Georgia, serif; font-size: 5rem; line-height: 1; background: var(--ys-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .25; }

/* process with glowing nodes */
.process-step .icon-tile { box-shadow: 0 0 0 6px rgba(147,197,253,.06), 0 0 30px -4px rgba(56,189,248,.55); }
.process-line { height: 2px; background: linear-gradient(90deg, rgba(147,197,253,.7), rgba(96,165,250,.2) 70%, transparent); }

/* CTA band */
.cta-band { background: radial-gradient(70% 120% at 0% 0%, rgba(37,99,235,.75), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(56,189,248,.6), transparent 55%), radial-gradient(40% 80% at 70% 0%, rgba(124,58,237,.45), transparent 60%), #060E22; box-shadow: 0 40px 80px -40px rgba(37,99,235,.65); }
.cta-band::after { content: ""; position: absolute; inset: 0; background-image: var(--ys-noise); opacity: .08; mix-blend-mode: overlay; pointer-events: none; }
.cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(70% 90% at 80% 50%, #000, transparent); mask-image: radial-gradient(70% 90% at 80% 50%, #000, transparent); }

/* page hero */
.page-hero { padding: 10rem 0 5rem; }
.page-hero p.lead { color: #B4C3E3; font-size: 1.12rem; }

/* footer */
.ys-footer { background: #030817; }
.ys-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(147,197,253,.6), rgba(96,165,250,.6), transparent); }
.ys-footer .container { z-index: 2; }

/* forms */
.form-control, .form-select { background-color: rgba(255,255,255,.9); }
.form-control:hover, .form-select:hover { border-color: #B9C7E0; }

/* ---------- Auth ---------- */
.auth-form { background: radial-gradient(60% 50% at 100% 0%, rgba(37,99,235,.08), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(56,189,248,.07), transparent 70%), #fff; }
.auth-form .inner { padding: 2.25rem; border-radius: 22px; background: rgba(255,255,255,.75); border: 1px solid var(--ys-line); box-shadow: 0 30px 60px -36px rgba(10,18,38,.35); backdrop-filter: blur(10px); }
.ys-signin-note { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--ys-muted); padding: .75rem .9rem; border-radius: 12px; background: var(--ys-surface); border: 1px solid var(--ys-line); }
.ys-signin-note i { color: var(--ys-blue); margin-top: 1px; }
@media (max-width: 575.98px) { .auth-form .inner { padding: 1.4rem; } }

/* ---------- Portals ---------- */
.app-body { background: radial-gradient(50% 40% at 100% 0%, rgba(37,99,235,.07), transparent 70%), radial-gradient(40% 40% at 30% 100%, rgba(56,189,248,.06), transparent 70%), #F3F6FC; background-attachment: fixed; }
.app-side { background: radial-gradient(120% 40% at 0% 0%, rgba(37,99,235,.35), transparent 60%), radial-gradient(100% 30% at 100% 100%, rgba(56,189,248,.18), transparent 60%), #050C20; border-right: 1px solid rgba(255,255,255,.05); }
.app-top { background: rgba(243,246,252,.72); }
.panel { background: rgba(255,255,255,.92); border: 1px solid transparent; background: linear-gradient(rgba(255,255,255,.96), rgba(255,255,255,.96)) padding-box, var(--ys-ring) border-box; box-shadow: 0 1px 2px rgba(10,18,38,.03), 0 16px 34px -26px rgba(10,18,38,.3); }
.kpi .value { font-size: 1.75rem; }
.doc-head { background: radial-gradient(80% 140% at 0% 0%, rgba(37,99,235,.45), transparent 60%), #060E22; }

@media (prefers-reduced-motion: reduce) {
  .ys-bg .aurora, .ys-bg .grid-floor, .orb-ring, .marquee-track, .text-grad { animation: none !important; }
}
.float-card.one { left: -34px; bottom: -64px; }
.float-card.two { right: -26px; top: -40px; }
.console { padding-bottom: 2.4rem; }
/* mobile: keep wide gutters from pushing past the viewport */
html, body { overflow-x: clip; }
@media (max-width: 767.98px) {
  .container { --bs-gutter-x: 2rem; }
  .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
  .hero { padding: 8rem 0 4rem; }
  .hero-stats > div { flex: 1 1 30%; padding: .7rem .8rem; }
  .hero-stats strong { font-size: 1.45rem; }
}
@media (max-width: 575.98px) {
  .hero-stats { flex-wrap: nowrap; gap: .5rem; }
  .hero-stats > div { flex: 1 1 0; min-width: 0; padding: .65rem .6rem; }
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: .72rem; line-height: 1.25; display: block; }
  .console pre { font-size: .7rem; }
}
/* palette refresh: royal blue + sky + indigo/violet (no teal) */
:root { --ys-cyan: #38BDF8; --ys-cyan-300: #93C5FD; --ys-grad: linear-gradient(120deg, #2563EB 0%, #4F7BFF 45%, #38BDF8 100%); --ys-grad-text: linear-gradient(100deg, #93C5FD 0%, #60A5FA 40%, #C4B5FD 90%); }
.ys-bg .a2 { background: radial-gradient(circle, #6366F1 0%, rgba(99,102,241,0) 66%); opacity: .5; }
.ys-bg .a3 { background: radial-gradient(circle, #A855F7 0%, rgba(168,85,247,0) 66%); opacity: .3; }
.ys-dark { background: radial-gradient(120% 80% at 50% -10%, #12245C 0%, #0A1538 45%, #050A1F 100%); }
.cta-band { background: radial-gradient(70% 120% at 0% 0%, rgba(37,99,235,.8), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(99,102,241,.6), transparent 55%), radial-gradient(40% 80% at 70% 0%, rgba(56,189,248,.35), transparent 60%), #070D26; }
.project-art { background: radial-gradient(circle at 18% 18%, rgba(59,130,246,.8), transparent 52%), radial-gradient(circle at 88% 78%, rgba(99,102,241,.7), transparent 50%), radial-gradient(circle at 60% 110%, rgba(56,189,248,.45), transparent 50%), linear-gradient(135deg, #0D1B45, #060B22); }
.section-mesh { background: radial-gradient(60% 70% at 100% 0%, rgba(59,130,246,.09), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(99,102,241,.07), transparent 70%), #fff; }
.app-side { background: radial-gradient(120% 40% at 0% 0%, rgba(37,99,235,.38), transparent 60%), radial-gradient(100% 30% at 100% 100%, rgba(99,102,241,.22), transparent 60%), #060B22; }
.kpi.accent { background: radial-gradient(120% 120% at 0% 0%, rgba(37,99,235,.6), transparent 55%), radial-gradient(100% 100% at 100% 100%, rgba(99,102,241,.4), transparent 50%), #0A1538; }

/* ==========================================================================
   v3 — Lighter, brighter blue backgrounds (replaces the near-black navy)
   ========================================================================== */
.ys-dark { background: radial-gradient(90% 70% at 85% 10%, rgba(125,211,252,.35), transparent 60%), radial-gradient(70% 60% at 10% 90%, rgba(129,140,248,.35), transparent 60%), linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 48%, #2563EB 100%); color: rgba(255,255,255,.86); }
.ys-dark .text-muted, .ys-dark .ys-muted, .ys-dark .section-head p, .hero .lead, .page-hero p.lead, .process-step p, .ys-dark .check-list li { color: rgba(255,255,255,.84) !important; }
.crumbs { color: rgba(255,255,255,.75); }
.crumbs a, .ys-dark .ys-eyebrow { color: #E0F2FE; }
.ys-dark .ys-eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.hero h1, .page-hero h1 { background: none; color: #fff; text-shadow: 0 2px 24px rgba(15,23,80,.25); }
.ys-bg .aurora { mix-blend-mode: soft-light; opacity: .9; }
.ys-bg .a1 { background: radial-gradient(circle, #93C5FD 0%, rgba(147,197,253,0) 68%); }
.ys-bg .a2 { background: radial-gradient(circle, #A5B4FC 0%, rgba(165,180,252,0) 66%); opacity: .8; }
.ys-bg .a3 { background: radial-gradient(circle, #C4B5FD 0%, rgba(196,181,253,0) 66%); opacity: .6; }
.ys-bg .beam { background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(255,255,255,.10) 48%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.10) 52%, transparent 58%); }
.ys-bg .grid-floor { background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); }
.ys-bg .fade-bottom { display: none; }
.ys-bg .noise { opacity: .05; }
.ys-pill { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.ys-pill .dot { background: rgba(255,255,255,.2); color: #fff; }
.hero-stats > div { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.hero-stats span { color: rgba(255,255,255,.82); }
.glass { background: linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.28); box-shadow: 0 30px 60px -30px rgba(15,23,80,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.console { background: linear-gradient(160deg, rgba(15,30,90,.72), rgba(20,40,110,.6)); }
.float-card small { color: rgba(255,255,255,.8); }
.glass-card { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.22); }
.glass-card:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.4); }
.ys-dark .icon-tile { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.process-step .num { color: #E0F2FE; }
.process-line { background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,.15) 70%, transparent); }
.btn-ys { background: linear-gradient(120deg, #2563EB, #3B82F6 50%, #0EA5E9); }
.ys-dark .btn-ys, .cta-band .btn-ys, .ys-nav .btn-ys { background: #fff; color: #1D4ED8; box-shadow: 0 12px 28px -12px rgba(15,23,80,.6); }
.ys-dark .btn-ys:hover, .cta-band .btn-ys:hover, .ys-nav .btn-ys:hover { color: #1E3A8A; background: #F0F6FF; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.ys-dark::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }

/* nav over light-blue hero */
.ys-nav-shell { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.ys-nav.scrolled .ys-nav-shell, .ys-nav.solid .ys-nav-shell { background: rgba(30,58,138,.92); border-color: rgba(255,255,255,.2); }
.ys-nav .nav-link { color: rgba(255,255,255,.88); }
.ys-nav .nav-link:hover, .ys-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.14); }
.ys-nav .nav-link.active::after { background: #fff; }
.ys-account { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.ys-account small { color: rgba(255,255,255,.75); }
.ys-brand small { color: #E0F2FE; }
.ys-mark { background: #fff; color: #1D4ED8; box-shadow: 0 8px 20px -8px rgba(15,23,80,.5); }
@media (max-width: 991.98px) { .ys-nav-shell { background: rgba(30,58,138,.92); } }

/* tech strip, CTA, cards on blue */
.trust { background: #1E40AF; border-top-color: rgba(255,255,255,.12); }
.marquee-track span { color: rgba(255,255,255,.85); }
.marquee-track i { color: #BAE6FD; }
.cta-band { background: radial-gradient(70% 120% at 0% 0%, rgba(147,197,253,.45), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(165,180,252,.45), transparent 55%), linear-gradient(135deg, #1E40AF, #2563EB 60%, #3B82F6); box-shadow: 0 40px 80px -40px rgba(37,99,235,.7); }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .ys-eyebrow { color: #E0F2FE !important; }
.project-art { background: radial-gradient(circle at 18% 18%, rgba(147,197,253,.9), transparent 52%), radial-gradient(circle at 88% 78%, rgba(165,180,252,.85), transparent 50%), linear-gradient(135deg, #1D4ED8, #3B82F6); }
.kpi.accent { background: radial-gradient(120% 120% at 0% 0%, rgba(147,197,253,.45), transparent 55%), linear-gradient(135deg, #1D4ED8, #3B82F6); border-color: transparent; }
.kpi.accent .label, .kpi.accent .sub { color: rgba(255,255,255,.85); }

/* footer */
.ys-footer { background: linear-gradient(160deg, #1E3A8A 0%, #1E40AF 60%, #1D4ED8 100%); color: rgba(255,255,255,.8); }
.ys-footer a { color: rgba(255,255,255,.9); }
.ys-footer a:hover { color: #fff; text-decoration: underline; }
.ys-footer .text-info { color: #BAE6FD !important; }
.newsletter-box .form-control { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); }
.newsletter-box .form-control::placeholder { color: rgba(255,255,255,.7); }
.footer-bottom { border-top-color: rgba(255,255,255,.18); }

/* portals: lighter sidebar */
.app-side { background: radial-gradient(120% 40% at 0% 0%, rgba(147,197,253,.35), transparent 60%), linear-gradient(180deg, #1E40AF 0%, #1E3A8A 100%); color: rgba(255,255,255,.85); }
.side-label { color: rgba(255,255,255,.6); }
.side-link { color: rgba(255,255,255,.86); }
.side-link:hover { background: rgba(255,255,255,.12); }
.side-link.active { background: rgba(255,255,255,.18); box-shadow: inset 3px 0 0 #fff; }
.side-link .count { background: #fff; color: #1D4ED8; }
.side-foot { border-top-color: rgba(255,255,255,.18); }
.doc-head { background: linear-gradient(135deg, #1E40AF, #2563EB); color: rgba(255,255,255,.85); }
.auth-art .check-list li { color: #fff !important; }

/* ==========================================================================
   v4 — Brand: Yuramsoft logo palette
   Navy #0B1B4D · Deep royal #1E3A8A · Royal #2563EB · Azure #0EA5E9 · Amber accent #F59E0B
   ========================================================================== */
:root {
  --ys-brand-navy: #0B1B4D; --ys-brand-deep: #1E3A8A; --ys-blue: #2563EB; --ys-azure: #0EA5E9; --ys-amber: #F59E0B;
  --ys-ink: #0B1B4D; --ys-cyan: #0EA5E9; --ys-cyan-300: #BAE6FD;
  --ys-grad: linear-gradient(120deg, #1D4ED8 0%, #2563EB 45%, #0EA5E9 100%);
  --ys-grad-soft: linear-gradient(135deg, rgba(37,99,235,.12), rgba(14,165,233,.12));
  --bs-primary: #2563EB; --bs-link-color: #1D4ED8; --bs-link-hover-color: #1E3A8A;
}
::selection { background: rgba(245,158,11,.28); }
.ys-logo-mark { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; box-shadow: 0 8px 22px -10px rgba(11,27,77,.65); transition: transform .3s ease; }
.ys-brand:hover .ys-logo-mark { transform: rotate(-6deg) scale(1.04); }
.ys-brand { gap: .7rem; font-size: 1.16rem; letter-spacing: -0.025em; }
.ys-brand small { letter-spacing: .26em; font-size: .6rem; }
.app-side .ys-logo-mark { width: 38px; height: 38px; }
.doc-head .ys-logo-mark { width: 34px; height: 34px; }
.auth-form .ys-brand { color: var(--ys-ink); }
.auth-form .ys-brand small { color: var(--ys-blue); }

/* amber accent — used sparingly, like the node in the logo */
.ys-eyebrow i, .ys-pill .dot i { color: var(--ys-amber); }
.ys-dark .ys-eyebrow i, .cta-band .ys-eyebrow i { color: #FCD34D; }
.ys-nav .nav-link.active::after { background: var(--ys-amber); width: 18px; }
.process-step .num { color: #FDE68A; }
.side-link.active { box-shadow: inset 3px 0 0 var(--ys-amber); }
.ys-footer h6::after { content: ""; display: block; width: 26px; height: 3px; border-radius: 2px; background: var(--ys-amber); margin-top: .55rem; }
.hero-stats strong { color: #fff; }
.hero-stats > div { border-top: 2px solid rgba(252,211,77,.7); }

/* buttons & links follow the logo gradient */
.btn-ys { background: var(--ys-grad); }
.btn-outline-ys { color: #1D4ED8; border-color: rgba(29,78,216,.35); }
.btn-outline-ys:hover { background: #1D4ED8; border-color: #1D4ED8; }
.text-primary { color: #1D4ED8 !important; }
.icon-tile { color: #1D4ED8; background: linear-gradient(145deg, rgba(37,99,235,.12), rgba(14,165,233,.14)); border-color: rgba(37,99,235,.18); }
.check-list li::before { color: var(--ys-azure); }
.form-control:focus, .form-select:focus { border-color: #3B82F6; box-shadow: 0 0 0 4px rgba(37,99,235,.14); }

/* backgrounds tuned to the mark's gradient (deep royal → royal → azure glow) */
.ys-dark { background: radial-gradient(85% 70% at 88% 8%, rgba(14,165,233,.42), transparent 60%), radial-gradient(70% 60% at 8% 92%, rgba(99,102,241,.30), transparent 60%), linear-gradient(135deg, #1E3A8A 0%, #1D4ED8 50%, #2563EB 100%); }
.ys-bg .a1 { background: radial-gradient(circle, #7DD3FC 0%, rgba(125,211,252,0) 68%); }
.cta-band { background: radial-gradient(70% 120% at 0% 0%, rgba(14,165,233,.45), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(129,140,248,.4), transparent 55%), linear-gradient(135deg, #1E3A8A, #1D4ED8 55%, #2563EB); }
.cta-band::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.35), transparent 70%); pointer-events: none; }
.ys-footer { background: linear-gradient(160deg, #0B1B4D 0%, #1E3A8A 55%, #1D4ED8 100%); }
.app-side { background: radial-gradient(120% 40% at 0% 0%, rgba(14,165,233,.30), transparent 60%), linear-gradient(180deg, #1E3A8A 0%, #172F78 100%); }
.trust { background: #1E3A8A; }
.marquee-track i { color: #FCD34D; }
.kpi.accent { background: radial-gradient(120% 120% at 100% 0%, rgba(14,165,233,.5), transparent 55%), linear-gradient(135deg, #1E3A8A, #2563EB); }
.ys-badge-cyan { color: #0369A1; background: #E0F2FE; }

/* ==========================================================================
   v5 — YuramSoft brand (sun + YS monogram)
   Royal blue #1D4ED8/#2563EB · Navy #0B1B4D · Sun gold #FBBF24 → orange #F97316 · Ember #EA580C
   ========================================================================== */
:root { --ys-sun: linear-gradient(120deg, #FBBF24 0%, #F59E0B 45%, #F97316 100%); --ys-orange: #F97316; --ys-ember: #EA580C; }
.ys-logo-mark { width: 48px; height: 48px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 6px 14px rgba(234,88,12,.28)); }
.ys-brand:hover .ys-logo-mark { transform: rotate(18deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.app-side .ys-logo-mark { width: 44px; height: 44px; }
.doc-head .ys-logo-mark { width: 40px; height: 40px; }
.ys-word { font-family: var(--ys-display); font-weight: 700; letter-spacing: -0.02em; }
.ys-soft { background: linear-gradient(100deg, #FDBA74, #FB923C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-form .ys-soft, .ys-footer-light .ys-soft { background: var(--ys-sun); -webkit-background-clip: text; background-clip: text; }
.ys-brand small { color: #DBEAFE; }

/* sunrise call-to-action on blue backgrounds (navy text keeps it readable) */
.ys-dark .btn-ys, .cta-band .btn-ys, .ys-nav .btn-ys { background: var(--ys-sun); color: #0B1B4D; box-shadow: 0 12px 28px -12px rgba(234,88,12,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.ys-dark .btn-ys:hover, .cta-band .btn-ys:hover, .ys-nav .btn-ys:hover { color: #0B1B4D; background: linear-gradient(120deg, #FCD34D, #FBBF24 45%, #FB923C); box-shadow: 0 16px 34px -12px rgba(234,88,12,.8); }

/* warm accents echoing the sun */
.ys-eyebrow i, .ys-pill .dot i { color: var(--ys-orange); }
.ys-nav .nav-link.active::after, .ys-footer h6::after { background: var(--ys-sun); }
.hero-stats > div { border-top-color: rgba(251,191,36,.85); }
.side-link.active { box-shadow: inset 3px 0 0 #FBBF24; }
.text-grad { background: linear-gradient(100deg, #FCD34D, #FB923C); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; }
.quote-card::before { background: var(--ys-sun); -webkit-background-clip: text; background-clip: text; }
.stars, .quote-card .stars { color: #F59E0B; }
.cta-band::before { background: radial-gradient(circle, rgba(251,191,36,.45), transparent 70%); width: 240px; height: 240px; right: -60px; top: -60px; }
.ys-bg .a3 { background: radial-gradient(circle, #FDBA74 0%, rgba(253,186,116,0) 66%); opacity: .35; }
.marquee-track i { color: #FCD34D; }
.service-card::after { background: var(--ys-sun); }
.ys-footer-tag { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ys-display); font-weight: 600; font-size: .9rem; color: #FDE68A; letter-spacing: .01em; }
.ys-footer-tag span { width: 22px; height: 3px; border-radius: 2px; background: var(--ys-sun); }
.ys-footer-tag { display: flex; width: max-content; margin-top: .9rem !important; }

/* ==========================================================================
   v6 — Final YuramSoft identity: circle split by a Y (sunrise wedge + blue facets)
   ========================================================================== */
.ys-logo-mark { width: 42px; height: 42px; filter: drop-shadow(0 6px 14px rgba(11,27,77,.35)); transition: transform .35s ease; }
.ys-brand:hover .ys-logo-mark { transform: scale(1.06); transition: transform .35s ease; }
.app-side .ys-logo-mark { width: 40px; height: 40px; }
.doc-head .ys-logo-mark { width: 36px; height: 36px; }
.ys-word { font-weight: 700; letter-spacing: -0.025em; }
.ys-soft { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #93C5FD; font-weight: 600; }
.auth-form .ys-soft { background: none; color: #2563EB; }
.ys-brand small { color: #BFDBFE; letter-spacing: .32em; }
.auth-form .ys-brand small { color: #64748B; }

/* ==========================================================================
   v7 — Photography
   ========================================================================== */
img { max-width: 100%; }
/* hero composition */
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #1E40AF, #3B82F6); box-shadow: 0 40px 80px -30px rgba(11,27,77,.65); border: 1px solid rgba(255,255,255,.28); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,58,138,0) 55%, rgba(30,58,138,.45)); }
.hero-photo-inset { position: absolute; width: 38%; aspect-ratio: 1; right: -26px; bottom: -48px; border-radius: 22px; overflow: hidden; border: 5px solid rgba(255,255,255,.95); box-shadow: 0 24px 50px -20px rgba(11,27,77,.6); background: #1E40AF; z-index: 2; }
.hero-photo-inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual .float-card { z-index: 3; }
.float-card.one { left: -34px; bottom: 26px; top: auto; }
.float-card.two { right: auto; left: 46%; top: -30px; }
.float-card.three { left: -40px; top: 30px; animation-delay: -1.5s; }
.float-card .ic { background: var(--ys-sun); color: #0B1B4D; }
@media (max-width: 991.98px) {
  .hero-photo-inset { right: 10px; bottom: -30px; width: 34%; }
  .float-card.three { display: none !important; }
}

/* about media block */
.about-media { position: relative; padding-bottom: 2.5rem; }
.about-main { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; display: block; background: #DBEAFE; box-shadow: 0 30px 60px -32px rgba(11,27,77,.45); }
.about-card { position: absolute; left: -24px; bottom: 0; max-width: 330px; }
.about-badge { position: absolute; right: 18px; top: 18px; background: var(--ys-sun); color: #0B1B4D; border-radius: 18px; padding: .8rem 1rem; display: flex; align-items: center; gap: .6rem; box-shadow: 0 16px 34px -14px rgba(234,88,12,.6); }
.about-badge strong { font-family: var(--ys-display); font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: .75rem; font-weight: 700; line-height: 1.15; }
.mini-point { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--ys-line); font-weight: 600; color: var(--ys-ink); font-size: .9rem; }
.mini-point i { color: #1D4ED8; font-size: 1.1rem; }
@media (max-width: 767.98px) { .about-card { position: relative; left: 0; margin-top: -40px; max-width: none; margin-inline: 12px; } .about-media { padding-bottom: 0; } }

/* service cards with photos */
.service-card .service-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #1D4ED8, #60A5FA); }
.service-card .service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.service-card:hover .service-photo img { transform: scale(1.06); }
.service-card .service-photo .icon-tile { position: absolute; left: 1.25rem; bottom: -24px; background: #fff; color: #1D4ED8; border: 0; box-shadow: 0 12px 26px -12px rgba(11,27,77,.5); z-index: 2; }
.service-card .service-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,27,77,.35)); }
.service-card h3 { margin-top: .75rem; }
.service-feature-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1D4ED8, #60A5FA); box-shadow: 0 26px 50px -30px rgba(11,27,77,.45); }
.service-feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-photo { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #DBEAFE; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* photo-backed page headers, sign-in panel and CTA */
.page-hero-photo, .cta-photo { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center 30%; }
.page-hero.has-photo .page-hero-photo, .auth-art .page-hero-photo { opacity: .38; mix-blend-mode: luminosity; }
.page-hero.has-photo::before, .auth-art::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(30,58,138,.92) 0%, rgba(29,78,216,.78) 45%, rgba(37,99,235,.45) 100%); }
.page-hero.has-photo .ys-bg, .auth-art .ys-bg { z-index: 1; }
.page-hero.has-photo .ys-bg .grid-floor { opacity: .35; }
.page-hero.has-photo { padding-bottom: 6rem; }
.cta-photo { opacity: .22; mix-blend-mode: luminosity; border-radius: inherit; }
.about-main { height: auto; max-height: 520px; }
.service-card .service-photo .icon-tile { bottom: 14px; }
.service-card h3 { margin-top: 0; }
.float-card.two { left: 52%; top: -42px; }

/* ==========================================================================
   v8 — Hero video/photo slider
   ========================================================================== */
.hero-slider { position: relative; height: 100vh; height: 100svh; min-height: 680px; max-height: 1000px; overflow: hidden; background: #0B1B4D; isolation: isolate; }
.hero-slider::after { display: none; }
.hs-track, .hs-slide { position: absolute; inset: 0; }
.hs-slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; }
.hs-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.hs-media { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.hs-media img, .hs-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hs-media video { opacity: 0; transition: opacity .8s ease; }
.hs-slide.has-video .hs-media video { opacity: 1; }
.hs-slide.is-active .hs-img { animation: kenburns calc(var(--hs-interval, 7000ms) + 1500ms) ease-out both; }
.hs-slide:nth-child(even).is-active .hs-img { animation-name: kenburns-alt; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes kenburns-alt { from { transform: scale(1.02) translate3d(-1%, 0, 0); } to { transform: scale(1.14) translate3d(1.5%, -1%, 0); } }
.hs-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,20,64,.94) 0%, rgba(20,45,130,.80) 34%, rgba(29,78,216,.38) 64%, rgba(29,78,216,.08) 100%),
  linear-gradient(0deg, rgba(8,20,64,.85) 0%, rgba(8,20,64,0) 32%),
  linear-gradient(180deg, rgba(8,20,64,.55) 0%, rgba(8,20,64,0) 22%); }
.hs-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-top: 70px; padding-bottom: 150px; }
.hs-copy { max-width: 660px; }
.hs-kicker { display: inline-flex; align-items: center; gap: .75rem; font-family: var(--ys-mono); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #FDE68A; font-weight: 600; }
.hs-kicker-line { width: 34px; height: 3px; border-radius: 2px; background: var(--ys-sun); }
.hs-title { color: #fff; font-family: var(--ys-display); font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; margin: 1.1rem 0 1.2rem; text-wrap: balance; text-shadow: 0 4px 30px rgba(8,20,64,.35); }
.hs-caption { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; max-width: 34rem; margin-bottom: 2rem; }
.hs-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hs-slide .hs-kicker, .hs-slide .hs-title, .hs-slide .hs-caption, .hs-slide .hs-actions { opacity: 0; transform: translateY(26px); }
.hs-slide.is-active .hs-kicker, .hs-slide.is-active .hs-title, .hs-slide.is-active .hs-caption, .hs-slide.is-active .hs-actions { animation: hs-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.hs-slide.is-active .hs-title { animation-delay: .12s; }
.hs-slide.is-active .hs-caption { animation-delay: .26s; }
.hs-slide.is-active .hs-actions { animation-delay: .4s; }
@keyframes hs-rise { to { opacity: 1; transform: none; } }

.hs-ui { position: absolute; left: 0; right: 0; bottom: 2.2rem; z-index: 3; display: flex; align-items: flex-end; gap: 1.5rem; }
.hs-tabs { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1rem; }
.hs-tab { text-align: left; background: none; border: 0; padding: .6rem 0 0; color: rgba(255,255,255,.62); cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; row-gap: .7rem; align-items: baseline; transition: color .3s; }
.hs-tab:hover, .hs-tab.is-active { color: #fff; }
.hs-num { font-family: var(--ys-mono); font-size: .78rem; font-weight: 600; color: #FDE68A; }
.hs-label { font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-bar { grid-column: 1 / -1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.hs-bar i { display: block; height: 100%; width: 0; background: var(--ys-sun); border-radius: inherit; }
.hs-tab.is-active .hs-bar i { width: 100%; }
.hero-slider.run .hs-tab.is-active .hs-bar i { width: 0; animation: hs-progress var(--hs-interval, 7000ms) linear forwards; }
.hero-slider.paused .hs-tab.is-active .hs-bar i { animation-play-state: paused; }
@keyframes hs-progress { to { width: 100%; } }
.hs-controls { display: flex; gap: .5rem; }
.hs-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; backdrop-filter: blur(10px); transition: background .2s, border-color .2s, transform .2s; }
.hs-btn:hover { background: #fff; color: #1D4ED8; border-color: #fff; transform: translateY(-2px); }
.hs-btn:focus-visible, .hs-tab:focus-visible { outline: 2px solid #FCD34D; outline-offset: 3px; }

.hs-stats { position: absolute; z-index: 3; right: 0; left: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; pointer-events: none; }
.hs-stat { pointer-events: auto; width: 210px; padding: 1rem 1.2rem; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(14px) saturate(150%); color: #fff; box-shadow: 0 20px 40px -24px rgba(8,20,64,.6); }
.hs-stat strong { display: block; font-family: var(--ys-display); font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; }
.hs-stat span { font-size: .82rem; color: rgba(255,255,255,.8); }
.hs-stat:first-child { border-left: 3px solid #FBBF24; }
@media (max-width: 1199.98px) { .hs-stats { display: none; } }
@media (max-width: 767.98px) {
  .hero-slider { min-height: 620px; height: 92svh; }
  .hs-content { padding-bottom: 120px; align-items: flex-end; }
  .hs-shade { background: linear-gradient(0deg, rgba(8,20,64,.95) 0%, rgba(20,45,130,.78) 45%, rgba(29,78,216,.35) 100%); }
  .hs-label { display: none; }
  .hs-tabs { gap: .5rem; }
  .hs-ui { bottom: 1.4rem; }
  .hs-btn { width: 40px; height: 40px; }
  .hs-btn[data-toggle] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-slide.is-active .hs-img { animation: none; }
  .hs-slide .hs-kicker, .hs-slide .hs-title, .hs-slide .hs-caption, .hs-slide .hs-actions { opacity: 1; transform: none; animation: none !important; }
}

/* ==========================================================================
   v9 — Image cards, bento work grid, editorial polish
   ========================================================================== */
/* scroll progress + back to top */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--ys-sun); transform-origin: 0 50%; transform: scaleX(0); }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1050; width: 46px; height: 46px; border-radius: 14px; border: 0; background: #1D4ED8; color: #fff; box-shadow: 0 14px 30px -12px rgba(29,78,216,.7); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #1E3A8A; }

/* section headings */
.section-head h2, .section h2.h3 { position: relative; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 1rem; background: var(--ys-sun); }
.section-head.text-center h2::after, .text-center .section-head h2::after { margin-inline: auto; }
.ys-dark .section-head h2::after { background: #FCD34D; }

/* project cards: photo + icon badge */
.project-card .project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,77,0) 45%, rgba(11,27,77,.55)); pointer-events: none; }
.project-icon { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #1D4ED8; box-shadow: 0 10px 22px -10px rgba(11,27,77,.6); }
.project-thumb .tag { z-index: 2; }

/* bento grid for selected work */
.work-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.work-bento .bento-item { grid-column: span 4; }
.work-bento .bento-lead { grid-column: span 8; grid-row: span 2; }
.work-bento .bento-lead .project-card { height: 100%; }
.work-bento .bento-lead .project-thumb { aspect-ratio: auto; flex: 1; min-height: 340px; }
.work-bento .bento-lead h3 { font-size: 1.6rem !important; }
@media (max-width: 991.98px) { .work-bento .bento-item, .work-bento .bento-lead { grid-column: span 12; grid-row: auto; } .work-bento .bento-lead .project-thumb { min-height: 260px; } }

/* blog cards */
.post-card .cover img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .cover img { transform: scale(1.05); }
.post-cat { position: absolute; left: 1rem; top: 1rem; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 8px; background: rgba(255,255,255,.94); color: #1D4ED8; }
.post-cover { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 22px; height: auto; box-shadow: 0 30px 60px -36px rgba(11,27,77,.5); }

/* course cards with photos (no price) */
.course-card { padding: 0; }
.course-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #1D4ED8, #60A5FA); }
.course-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.course-card:hover .course-photo img { transform: scale(1.06); }
.course-level { position: absolute; left: 1rem; top: 1rem; font-size: .72rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; background: var(--ys-sun); color: #0B1B4D; }
.course-card .more { font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.course-card .more i { transition: transform .2s; }
.course-card:hover .more i { transform: translateX(4px); }

/* service page gallery */
.gallery-tile { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 10 / 7; background: #DBEAFE; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .75rem; font-size: .8rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(11,27,77,.8)); }

/* refined cards & buttons */
.ys-card { border-radius: 20px; }
.ys-card.hoverable { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
.btn-lg { padding: .95rem 1.7rem; }
.section { padding: 7rem 0; }
@media (max-width: 767.98px) { .section { padding: 4.5rem 0; } }
.hero-slider > .hs-ui { position: absolute; left: 0; right: 0; bottom: 2.2rem; z-index: 4; }
.hero-slider > .hs-stats { position: absolute; z-index: 3; }
@media (max-width: 767.98px) { .hero-slider > .hs-ui { bottom: 1.4rem; } }
