/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --bg: #ffffff;
    --bg-muted: #f4f4f5;
    --fg: #0a0a0a;
    --fg-muted: #71717a;
    --border: #e4e4e7;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-bg: rgba(99,102,241,0.10);
    --accent-glow: rgba(99,102,241,0.30);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 20px rgba(0,0,0,0.07);
    --shadow-accent: 0 4px 24px rgba(99,102,241,0.35);
}
html.dark {
    --bg: #09090b;
    --bg-muted: #18181b;
    --fg: #fafafa;
    --fg-muted: #a1a1aa;
    --border: #27272a;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-bg: rgba(99,102,241,0.12);
    --accent-glow: rgba(99,102,241,0.25);
    --shadow: 0 2px 20px rgba(0,0,0,0.4);
    --shadow-accent: 0 4px 24px rgba(99,102,241,0.30);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    transition: background-color .3s, color .3s;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============================================================
   Layout
   ============================================================ */
.ws-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ws-section {
    padding: 6rem 0;
}
.ws-section--muted {
    background-color: var(--bg-muted);
}
.ws-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.ws-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.ws-section__sub {
    font-size: 1.1rem;
    color: var(--fg-muted);
    max-width: 600px;
    margin: 0 auto;
}
.ws-text-accent { color: var(--accent); }

/* Grid */
.ws-grid { display: grid; gap: 1.5rem; }
.ws-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ============================================================
   Typography helpers
   ============================================================ */
.ws-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.ws-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: .35rem .85rem;
    margin-bottom: 1.5rem;
}
.ws-badge__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ============================================================
   Buttons
   ============================================================ */
.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    height: 2.75rem;
    padding: 0 1.5rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 600;
    transition: transform .15s, opacity .15s, box-shadow .2s;
    white-space: nowrap;
}
.ws-btn:hover  { transform: translateY(-2px); }
.ws-btn:active { transform: translateY(0); }
.ws-btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.ws-btn--primary:hover { background: var(--accent-hover); }
.ws-btn--outline {
    border: 1.5px solid var(--border);
    color: var(--fg);
}
.ws-btn--outline:hover { border-color: var(--accent); }
.ws-btn--ghost {
    border: 1.5px solid var(--border);
    color: var(--fg-muted);
    background: transparent;
}
.ws-btn--ghost:hover { border-color: var(--accent); color: var(--fg); }
.ws-btn--lg { height: 3rem; padding: 0 2rem; font-size: .9rem; }
.ws-btn--full { width: 100%; height: 3rem; }
.ws-btn-icon {
    width: 2.25rem; height: 2.25rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--bg-muted);
    color: var(--fg);
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 700;
    transition: border-color .2s, background .2s;
}
.ws-btn-icon:hover { border-color: var(--accent); }

/* ============================================================
   Header
   ============================================================ */
.ws-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transition: background .3s, box-shadow .3s;
}
.ws-header.ws-header--scrolled { box-shadow: var(--shadow); }
.ws-header__inner {
    display: flex;
    align-items: center;
    height: 4rem;
    gap: 2rem;
}
.ws-logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.03em;
    flex-shrink: 0;
}
.ws-logo__accent { color: var(--accent); }
.ws-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
}
.ws-nav__link {
    font-size: .875rem;
    font-weight: 500;
    color: var(--fg);
    transition: color .2s;
}
.ws-nav__link:hover { color: var(--accent); }
.ws-header__controls {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}
.ws-header__cta { display: none; }
@media(min-width:768px){ .ws-header__cta { display: inline-flex; } }

/* Theme icon visibility */
html:not(.dark) .ws-icon-moon { display: block; }
html:not(.dark) .ws-icon-sun  { display: none; }
html.dark .ws-icon-sun  { display: block; }
html.dark .ws-icon-moon { display: none; }

/* Burger */
.ws-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.ws-burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.ws-burger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.ws-burger.is-active span:nth-child(2) { opacity: 0; }
.ws-burger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
@media(min-width:768px){ .ws-burger { display: none; } }

/* Mobile Nav */
.ws-mobile-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.ws-mobile-nav.is-open { display: flex; }
.ws-mobile-nav__link { font-size: .9rem; font-weight: 500; }
.ws-mobile-nav__cta { margin-top: .5rem; }

/* ============================================================
   Hero
   ============================================================ */
.ws-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 4rem;
}
.ws-hero__bg-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(99,102,241,.18) 0%, transparent 65%),
        radial-gradient(ellipse 40% 30% at 80% 80%,  rgba(99,102,241,.07) 0%, transparent 60%);
    pointer-events: none;
}
.ws-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(100px);
    pointer-events: none;
}
.ws-hero__orb--right { width: 500px; height: 500px; right: -12%; top: -5%;  opacity: .12; }
.ws-hero__orb--left  { width: 350px; height: 350px; left:  -8%; bottom: 5%; opacity: .07; }

/* Inner layout */
.ws-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 3rem 0 2rem;
    width: 100%;
}
.ws-hero__content {
    max-width: 760px;
    width: 100%;
}

/* Badge */
.ws-hero__badge { margin-bottom: .25rem; }

/* Title */
.ws-hero__title {
    font-size: clamp(2.8rem, 6.5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.05;
    margin: 0;
}
.ws-hero__accent {
    background: linear-gradient(135deg, var(--accent) 0%, #818cf8 60%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.ws-hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--fg-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Buttons */
.ws-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: .5rem;
}

/* Tech stack */
.ws-hero__stack {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: .5rem;
}
.ws-hero__stack-label {
    font-size: .78rem;
    color: var(--fg-muted);
    font-weight: 500;
}
.ws-hero__stack-items { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.ws-stack-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 99px;
    border: 1px solid var(--border);
    background: var(--bg-muted);
    font-size: .78rem;
    font-weight: 500;
    color: var(--fg-muted);
    transition: border-color .2s, color .2s;
}
.ws-stack-chip:hover { border-color: var(--accent); color: var(--fg); }
.ws-stack-chip span {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Mockup */
.ws-hero__mockup {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 1.5rem 0;
}
.ws-hero__mockup-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(99,102,241,.2) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.ws-browser--wide {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.04),
        0 20px 60px rgba(0,0,0,.3),
        0 4px 16px rgba(99,102,241,.12);
    transform: perspective(1200px) rotateX(4deg);
    transform-origin: top center;
    transition: transform .4s ease;
    animation: none;
}
.ws-browser--wide:hover { transform: perspective(1200px) rotateX(1deg); }
.ws-browser__dots { display: flex; gap: .35rem; }
.ws-browser__bar-actions {
    display: flex;
    gap: .35rem;
    margin-left: auto;
}
.ws-browser__bar-btn {
    width: 28px; height: 14px;
    border-radius: 4px;
    background: var(--border);
    opacity: .5;
}

@keyframes hero-mockup-enter {
    from { opacity: 0; transform: perspective(1200px) rotateX(8deg) translateY(30px); }
    to   { opacity: 1; transform: perspective(1200px) rotateX(4deg) translateY(0); }
}
.ws-hero__mockup { animation: hero-mockup-enter 1s .5s cubic-bezier(.22,1,.36,1) both; }

/* Mobile */
@media(max-width:767px) {
    .ws-hero { padding-top: 4.5rem; }
    .ws-hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .ws-hero__sub { max-width: 100%; }
    .ws-hero__mockup { margin-top: 2.5rem; }
    .ws-browser--wide { transform: none; }
    .ws-browser--wide:hover { transform: none; }
}

/* ============================================================
   Cards (Services)
   ============================================================ */
.ws-card {
    border: 1.5px solid var(--border);
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform .25s, border-color .25s;
}
.ws-card:hover { transform: translateY(-4px); border-color: var(--card-accent, var(--accent)); }
.ws-card--service {
    padding: 0;
    overflow: hidden;
}
.ws-card__preview {
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--bg-muted);
    flex-shrink: 0;
}
.ws-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.ws-card:hover .ws-card__preview img {
    transform: scale(1.05);
}
.ws-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.ws-card__icon {
    width: 3rem; height: 3rem;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.ws-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.ws-card__desc  { font-size: .875rem; color: var(--fg-muted); line-height: 1.65; }

/* ============================================================
   Portfolio
   ============================================================ */
.ws-portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}
.ws-filter-btn {
    height: 2.25rem;
    padding: 0 1rem;
    border-radius: var(--radius);
    font-size: .8rem;
    font-weight: 600;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--fg-muted);
    transition: all .2s;
}
.ws-filter-btn:hover, .ws-filter-btn--active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.ws-portfolio-card {
    border: 1.5px solid var(--border);
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s;
}
.ws-portfolio-card:hover { transform: translateY(-5px); }
.ws-portfolio-card.is-hidden { display: none; }
.ws-portfolio-card__thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.ws-portfolio-card__img { width: 100%; height: 100%; object-fit: cover; }
.ws-portfolio-card__placeholder {
    color: rgba(255,255,255,.25);
}
.ws-portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity .25s;
}
.ws-portfolio-card:hover .ws-portfolio-card__overlay { opacity: 1; }
.ws-portfolio-card__overlay span {
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,.5);
    padding: .5rem 1rem;
    border-radius: var(--radius);
}
.ws-portfolio-card__body { padding: 1.25rem; }
.ws-portfolio-card__title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.ws-portfolio-card__desc  { font-size: .85rem; color: var(--fg-muted); margin-bottom: 1rem; line-height: 1.6; }
.ws-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ws-tag {
    font-size: .7rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: .2rem .55rem;
    border-radius: 6px;
}

/* ============================================================
   About
   ============================================================ */
.ws-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media(max-width:900px){ .ws-about { grid-template-columns: 1fr; gap: 3rem; } }
.ws-about__legal-name {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin-bottom: 1rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--fg);
}
.ws-about__legal-sub {
    font-size: .8rem;
    font-weight: 400;
    color: var(--fg-muted);
}
.ws-about__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.ws-about__text { color: var(--fg-muted); margin-bottom: 1rem; line-height: 1.75; }
.ws-about__values { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.ws-about__value { display: flex; gap: .75rem; }
.ws-about__value-icon {
    width: 2rem; height: 2rem; flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-top: .1rem;
}
.ws-about__value-title { font-size: .9rem; font-weight: 700; margin-bottom: .1rem; }
.ws-about__value-desc  { font-size: .85rem; color: var(--fg-muted); }
.ws-about__stats-wrap { position: relative; }
.ws-about__stats-bg {
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: var(--radius-lg);
    transform: rotate(3deg);
    opacity: .12;
}
.ws-about__stats {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-muted);
}
.ws-about__stat-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    text-align: center;
}
.ws-about__stat-value { font-size: 2rem; font-weight: 800; color: var(--accent); }
.ws-about__stat-label { font-size: .75rem; color: var(--fg-muted); margin-top: .25rem; }

/* ============================================================
   Contact
   ============================================================ */
.ws-contact {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
    align-items: start;
}
@media(max-width:900px){ .ws-contact { grid-template-columns: 1fr; } }
.ws-contact__form-wrap {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.ws-form { display: flex; flex-direction: column; gap: 1.25rem; }
.ws-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media(max-width:600px){ .ws-form__row { grid-template-columns: 1fr; } }
.ws-form__group { display: flex; flex-direction: column; gap: .4rem; }
.ws-form__label { font-size: .8rem; font-weight: 600; }
.ws-form__input,
.ws-form__textarea,
.ws-form__select {
    background: var(--bg-muted);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: .65rem 1rem;
    font: inherit;
    font-size: .875rem;
    color: var(--fg);
    transition: border-color .2s;
    outline: none;
    width: 100%;
}
.ws-form__input:focus,
.ws-form__textarea:focus,
.ws-form__select:focus { border-color: var(--accent); }
.ws-form__textarea { resize: vertical; min-height: 130px; }
.ws-form__select { appearance: none; }
.ws-form__error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.3);
    color: #ef4444;
    border-radius: var(--radius);
    padding: .75rem 1rem;
    font-size: .875rem;
}
/* Contact method selector */
.ws-contact-method {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.ws-contact-method__btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    background: var(--bg-muted);
    color: var(--fg-muted);
    font-size: .825rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    user-select: none;
}
.ws-contact-method__btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.ws-contact-method__btn--active {
    background: var(--accent-bg);
    border-color: var(--accent);
    color: var(--accent);
}

.ws-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
}
.ws-form__success.is-shown {
    animation: success-appear .5s cubic-bezier(.34,1.56,.64,1) forwards;
    pointer-events: auto;
}
@keyframes success-appear {
    from { opacity: 0; transform: scale(.85) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ws-form__success-icon {
    width: 5rem; height: 5rem;
    border-radius: 50%;
    background: var(--accent-bg);
    border: 2px solid var(--accent);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 8px rgba(99,102,241,.08), var(--shadow-accent);
    transform: scale(0) rotate(-20deg);
}
.ws-form__success.is-shown .ws-form__success-icon {
    animation: icon-pop .6s cubic-bezier(.34,1.56,.64,1) .15s forwards;
}
@keyframes icon-pop {
    from { transform: scale(0) rotate(-20deg); }
    to   { transform: scale(1) rotate(0deg); }
}
.ws-form__success-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fg);
    line-height: 1.4;
}
.ws-form__success-sub {
    font-size: .875rem;
    color: var(--fg-muted);
    margin-top: -.25rem;
}
.ws-form__success-dots {
    display: flex;
    gap: 6px;
    margin-top: .5rem;
}
.ws-form__success-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: dot-bounce .8s ease-in-out infinite;
}
.ws-form__success-dots span:nth-child(2) { animation-delay: .15s; }
.ws-form__success-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes dot-bounce {
    0%, 100% { transform: translateY(0); opacity: .4; }
    50%       { transform: translateY(-6px); opacity: 1; }
}
.ws-btn__spinner svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ws-contact__info { display: flex; flex-direction: column; gap: 1rem; }
.ws-contact__info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .2s, transform .2s;
    text-decoration: none;
    color: var(--fg);
}
.ws-contact__info-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
}
.ws-contact__info-icon {
    width: 2.5rem; height: 2.5rem; flex-shrink: 0;
    border-radius: var(--radius);
    background: var(--accent-bg);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.ws-contact__info-value { font-size: .9rem; font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
.ws-footer {
    background: var(--bg-muted);
    padding: 4.5rem 0 0;
    position: relative;
}
.ws-footer__top-line {
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
    margin-bottom: 4.5rem;
}
.ws-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}
@media(max-width:700px){ .ws-footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.ws-logo--footer { margin-bottom: .6rem; font-size: 1.3rem; }
.ws-footer__legal {
    font-size: .8rem;
    font-weight: 700;
    color: var(--fg);
    line-height: 1.5;
    margin-bottom: .75rem;
}
.ws-footer__legal span { font-weight: 400; color: var(--fg-muted); }
.ws-footer__desc {
    font-size: .85rem;
    color: var(--fg-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.ws-footer__socials {
    display: flex;
    gap: .6rem;
}
.ws-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border);
    color: var(--fg-muted);
    transition: color .2s, border-color .2s, background .2s;
}
.ws-footer__social:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-bg);
}
.ws-footer__col-title {
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--fg-muted);
    margin-bottom: 1.25rem;
}
.ws-footer__list { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.ws-footer__list a { font-size: .875rem; color: var(--fg); transition: color .2s; }
.ws-footer__list a:hover { color: var(--accent); }
.ws-footer__list--contacts li {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .875rem;
    color: var(--fg-muted);
}
.ws-footer__list--contacts svg { flex-shrink: 0; color: var(--accent); }
.ws-footer__list--contacts a { color: var(--fg); }
.ws-footer__list--contacts a:hover { color: var(--accent); }
.ws-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .8rem;
    color: var(--fg-muted);
}
.ws-footer__totop {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--fg-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .35rem .75rem;
    transition: color .2s, border-color .2s;
}
.ws-footer__totop:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   Animations
   ============================================================ */
.ws-fade-up {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(4px);
    transition: opacity .65s ease, transform .65s ease, filter .65s ease;
}
.ws-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}
.ws-fade-left {
    opacity: 0;
    transform: translateX(-44px);
    filter: blur(4px);
    transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.ws-fade-right {
    opacity: 0;
    transform: translateX(44px);
    filter: blur(4px);
    transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}
.ws-fade-left.is-visible,
.ws-fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

/* ============================================================
   Responsive Nav hide
   ============================================================ */
@media(max-width:767px){
    .ws-nav { display: none; }
}

/* ============================================================
   WordPress admin bar offset
   ============================================================ */
.admin-bar .ws-header { top: 32px; }
@media(max-width:782px){ .admin-bar .ws-header { top: 46px; } }


/* Spinning ring */
.ws-visual-ring {
    position: absolute;
    width: 480px; height: 480px;
    border: 1.5px dashed rgba(99,102,241,.22);
    border-radius: 50%;
    animation: rotate-slow 28s linear infinite;
    pointer-events: none;
}
.ws-visual-ring::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 18px 4px var(--accent-glow);
}

/* Dot grid */
.ws-visual-dots {
    position: absolute;
    bottom: -20px; left: -30px;
    width: 130px; height: 130px;
    background-image: radial-gradient(circle, rgba(99,102,241,.35) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    z-index: 0;
    border-radius: 8px;
    pointer-events: none;
}

/* Glow */
.ws-visual-glow {
    position: absolute;
    bottom: 60px; right: -10px;
    width: 80px; height: 80px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(50px);
    opacity: .25;
    animation: glow-pulse 3s ease-in-out infinite;
    pointer-events: none;
}

/* Browser window */
.ws-browser {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: var(--bg-muted);
    border: 1.5px solid rgba(99,102,241,.45);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,.35),
                0 0 0 1px rgba(99,102,241,.2),
                0 0 60px rgba(99,102,241,.12);
    animation: float 7s ease-in-out infinite;
}
html.dark .ws-browser {
    background: #1e1e2e;
    border-color: rgba(99,102,241,.55);
    box-shadow: 0 32px 80px rgba(0,0,0,.6),
                0 0 0 1px rgba(99,102,241,.3),
                0 0 80px rgba(99,102,241,.15);
}
.ws-browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: var(--bg);
    border-bottom: 1px solid rgba(99,102,241,.2);
}
html.dark .ws-browser__bar {
    background: #16162a;
    border-bottom-color: rgba(99,102,241,.25);
}
html.dark .ws-browser__screen {
    background: #1a1a2e;
}
.ws-browser__dot {
    width: 11px; height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ws-browser__dot--red    { background: #ff5f57; }
.ws-browser__dot--yellow { background: #febc2e; }
.ws-browser__dot--green  { background: #28c840; }
.ws-browser__url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 4px 10px;
    font-size: 11px;
    color: var(--fg-muted);
    margin-left: 8px;
}
.ws-browser__screen {
    padding: 0;
    background: var(--bg);
    overflow: hidden;
}

/* ── Mini Nav ─────────────────────────────── */
.ws-mini-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.ws-mini-logo {
    width: 38px; height: 7px;
    background: linear-gradient(90deg, var(--accent), #818cf8);
    border-radius: 4px;
}
.ws-mini-links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.ws-mini-link  { width: 22px; height: 5px; background: var(--border); border-radius: 3px; opacity: .6; }
.ws-mini-link--active { background: var(--accent); opacity: .7; }
.ws-mini-btn   { width: 40px; height: 16px; background: var(--accent); border-radius: 5px; opacity: .85; }

/* ── Mini Hero ────────────────────────────── */
.ws-mini-hero {
    position: relative;
    padding: 16px 14px;
    margin-bottom: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    overflow: hidden;
    min-height: 110px;
}
.ws-mini-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 100% at 50% 0%, rgba(99,102,241,.14) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 90% 50%, rgba(139,92,246,.1) 0%, transparent 60%);
    pointer-events: none;
}
.ws-mini-hero__content { flex: 1; position: relative; z-index: 1; }
.ws-mini-badge {
    width: 60px; height: 8px;
    background: rgba(99,102,241,.25);
    border: 1px solid rgba(99,102,241,.4);
    border-radius: 99px;
    margin-bottom: 8px;
}
.ws-mini-line { border-radius: 3px; margin-bottom: 5px; }
.ws-mini-line--h      { height: 9px; width: 90%; background: var(--fg); opacity: .25; }
.ws-mini-line--accent { background: linear-gradient(90deg, var(--accent), #818cf8); opacity: .7; width: 75%; }
.ws-mini-line--short  { width: 55%; }
.ws-mini-line--med    { width: 80%; }
.ws-mini-line--sub    { height: 5px; width: 100%; background: var(--fg-muted); opacity: .2; }
.ws-mini-btns  { display: flex; gap: 6px; margin-top: 9px; }
.ws-mini-cta   { width: 50px; height: 16px; background: var(--accent); border-radius: 4px; opacity: .9; }
.ws-mini-outline { width: 50px; height: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; }

/* Mini browser inside hero */
.ws-mini-hero__visual {
    position: relative;
    width: 80px;
    flex-shrink: 0;
    z-index: 1;
}
.ws-mini-browser-inner {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(99,102,241,.35);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.3), 0 0 0 1px rgba(99,102,241,.15);
}
.ws-mini-browser-bar {
    display: flex;
    gap: 3px;
    padding: 5px 7px;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(99,102,241,.2);
}
.ws-mini-browser-bar span {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--border);
}
.ws-mini-browser-bar span:nth-child(1) { background: #ff5f57; }
.ws-mini-browser-bar span:nth-child(2) { background: #febc2e; }
.ws-mini-browser-bar span:nth-child(3) { background: #28c840; }
.ws-mini-browser-body { padding: 7px 7px; }
.ws-mini-browser-line {
    height: 5px; border-radius: 2px;
    background: rgba(255,255,255,.15);
    margin-bottom: 4px;
    width: 100%;
}
.ws-mini-browser-line--accent { background: linear-gradient(90deg, var(--accent), #818cf8); opacity: .6; width: 80%; }
.ws-mini-browser-line--short  { width: 55%; opacity: .1; }
.ws-mini-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
}
.ws-mini-orb--1 { width: 30px; height: 30px; background: var(--accent); opacity: .3; top: -8px; right: -8px; }
.ws-mini-orb--2 { width: 20px; height: 20px; background: #06b6d4; opacity: .25; bottom: 0; left: -5px; }

/* ── Mini Stats ───────────────────────────── */
.ws-mini-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 14px;
    margin-bottom: 0;
}
.ws-mini-stat { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.ws-mini-stat__val {
    width: 22px; height: 7px;
    background: var(--accent);
    border-radius: 3px;
    opacity: .7;
}
.ws-mini-stat__lbl {
    width: 28px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    opacity: .5;
}

/* ── Mini Cards ───────────────────────────── */
.ws-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
}
.ws-mini-card {
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 9px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-muted);
    position: relative;
    overflow: hidden;
}
.ws-mini-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 7px 7px 0 0;
}
.ws-mini-card--1::after { background: var(--accent); }
.ws-mini-card--2::after { background: #06b6d4; }
.ws-mini-card--3::after { background: #8b5cf6; }
.ws-mini-card__icon {
    width: 16px; height: 16px;
    border-radius: 5px;
    margin-bottom: 3px;
}
.ws-mini-card--1 .ws-mini-card__icon { background: rgba(99,102,241,.3); }
.ws-mini-card--2 .ws-mini-card__icon { background: rgba(6,182,212,.3); }
.ws-mini-card--3 .ws-mini-card__icon { background: rgba(139,92,246,.3); }
.ws-mini-card__line {
    height: 5px;
    background: var(--border);
    border-radius: 2px;
    width: 100%;
    opacity: .7;
}
.ws-mini-card__line--title { height: 6px; background: var(--fg); opacity: .2; width: 85%; }
.ws-mini-card__line--short { width: 60%; }

/* Floating tech badges — inside .ws-hero__mockup */
.ws-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    white-space: nowrap;
    z-index: 3;
}
.ws-float-badge__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ws-float-badge--1 { top: -16px;  left: 10%;   animation: badge-float-1 5.0s ease-in-out        infinite; }
.ws-float-badge--2 { top: -16px;  right: 12%;  animation: badge-float-2 6.2s ease-in-out .5s   infinite; }
.ws-float-badge--3 { bottom: -16px; left: 8%;  animation: badge-float-3 6.8s ease-in-out 1s    infinite; }
.ws-float-badge--4 { bottom: -16px; right: 10%; animation: badge-float-1 5.5s ease-in-out 1.5s infinite; }

/* ============================================================
   Section Illustrations
   ============================================================ */
.ws-section-illustration {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Services: Orbit animation */
.ws-orbit {
    position: relative;
    width: 120px; height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ws-orbit__ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(99,102,241,.2);
    animation: rotate-slow linear infinite;
}
.ws-orbit__ring--1 { width: 120px; height: 120px; animation-duration: 12s; }
.ws-orbit__ring--2 { width: 80px;  height: 80px;  animation-duration: 8s; animation-direction: reverse; }
.ws-orbit__core {
    width: 48px; height: 48px;
    background: var(--accent-bg);
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    z-index: 2;
    animation: glow-pulse 3s ease-in-out infinite;
}
.ws-orbit__planet {
    position: absolute;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--bg);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.ws-orbit__planet--1 { top: -14px; left: 50%; transform: translateX(-50%); }
.ws-orbit__planet--2 { right: -14px; top: 50%; transform: translateY(-50%); }
.ws-orbit__planet--3 { bottom: -14px; left: 50%; transform: translateX(-50%); }

/* Portfolio: tiles grid */
.ws-tiles {
    display: grid;
    grid-template-columns: repeat(4, 36px);
    grid-template-rows: repeat(2, 36px);
    gap: 8px;
}
.ws-tile {
    border-radius: 8px;
    animation: tile-pop .6s ease both;
}
.ws-tile--1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); animation-delay: .0s; }
.ws-tile--2 { background: linear-gradient(135deg,#3b82f6,#06b6d4); animation-delay: .1s; }
.ws-tile--3 { background: linear-gradient(135deg,#10b981,#14b8a6); animation-delay: .2s; }
.ws-tile--4 { background: linear-gradient(135deg,#f97316,#f59e0b); animation-delay: .3s; }
.ws-tile--5 { background: linear-gradient(135deg,#ec4899,#f43f5e); animation-delay: .4s; }
.ws-tile--6 { background: linear-gradient(135deg,#8b5cf6,#6366f1); animation-delay: .5s; }
.ws-tile--pulse {
    background: var(--accent-bg);
    border: 1.5px dashed var(--accent);
    animation: tile-pop .6s ease .6s both, tile-pulse 2s ease-in-out 1s infinite;
}

/* About: team avatars */
.ws-about-illustration {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--bg-muted);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
}
.ws-avatars { display: flex; }
.ws-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 2.5px solid var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    margin-left: -10px;
    transition: transform .2s;
}
.ws-avatar:first-child { margin-left: 0; }
.ws-avatar:hover { transform: translateY(-3px) scale(1.1); z-index: 1; }
.ws-avatar--1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.ws-avatar--2 { background: linear-gradient(135deg,#3b82f6,#06b6d4); }
.ws-avatar--3 { background: linear-gradient(135deg,#10b981,#14b8a6); }
.ws-avatar--more {
    background: var(--bg-muted);
    border-color: var(--border);
    color: var(--fg-muted);
    font-size: .7rem;
}
.ws-about-illustration__bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}
.ws-about-illustration__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
    border-radius: 3px;
    animation: fill-bar 2s ease 1s forwards;
}
.ws-about-illustration__label {
    display: none;
}

/* Contact: envelope */
.ws-envelope {
    position: relative;
    width: 110px;
}
.ws-envelope__body {
    background: var(--accent-bg);
    border: 1.5px solid var(--accent);
    border-radius: 10px;
    padding: 18px 16px 14px;
    position: relative;
    animation: float 5s ease-in-out infinite;
}
.ws-envelope__flap {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    border-bottom: 1.5px solid var(--accent);
    background: rgba(99,102,241,.06);
    border-radius: 10px 10px 0 0;
}
.ws-envelope__flap::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -1px;
    transform: translateX(-50%);
    border: 16px solid transparent;
    border-top-color: var(--accent);
    opacity: .4;
}
.ws-envelope__lines { display: flex; flex-direction: column; gap: 5px; margin-top: 28px; }
.ws-envelope__line       { height: 5px; background: var(--accent); border-radius: 2px; opacity: .3; }
.ws-envelope__line--short { width: 60%; }
.ws-envelope__dot {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: .6;
    animation: float 4s ease-in-out infinite;
}
.ws-envelope__dot--1 { width: 8px; height: 8px;  top: -10px; right: -10px; animation-delay: 0s; }
.ws-envelope__dot--2 { width: 6px; height: 6px;  bottom: 10px; right: -20px; animation-delay: -.5s; }
.ws-envelope__dot--3 { width: 10px; height: 10px; bottom: -8px; left: -14px; animation-delay: -1s; }

/* ============================================================
   Keyframe Animations
   ============================================================ */
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}
@keyframes badge-float-1 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-6px,-10px); }
}
@keyframes badge-float-2 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(8px,-8px); }
}
@keyframes badge-float-3 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(6px,10px); }
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes glow-pulse {
    0%,100% { box-shadow: 0 0 0 0 transparent; }
    50%      { box-shadow: 0 0 24px 6px var(--accent-glow); }
}
@keyframes tile-pop {
    from { opacity: 0; transform: scale(0.5); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes tile-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: .4; }
}
@keyframes fill-bar {
    from { width: 0; }
    to   { width: 78%; }
}
@keyframes underline-grow {
    to { transform: scaleX(1); }
}

/* ============================================================
   Tech-Enhanced Animations
   ============================================================ */

/* Canvas particles */
#ws-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .7;
}
.ws-hero__inner {
    position: relative;
    z-index: 1;
}

/* Browser scan line */
.ws-browser__scanline {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,.7) 50%, transparent 100%);
    pointer-events: none;
    z-index: 10;
    animation: scan-line 4s ease-in-out 1s infinite;
}
@keyframes scan-line {
    0%   { top: 0%; opacity: 0; }
    6%   { opacity: 1; }
    94%  { opacity: .6; }
    100% { top: 100%; opacity: 0; }
}

/* Glitch effect on hero accent */
@keyframes glitch {
    0%, 100% { text-shadow: none; transform: none; }
    10%  { text-shadow: 3px 0 #ff0080, -3px 0 #00e5ff; transform: skewX(-2deg) translateX(2px); }
    20%  { text-shadow: -3px 0 #ff0080, 3px 0 #00e5ff; transform: skewX(2deg) translateX(-2px); }
    30%  { text-shadow: 2px 0 rgba(99,102,241,.8); transform: none; }
    40%  { text-shadow: none; transform: skewX(-1deg); }
    50%  { text-shadow: none; transform: none; }
}
.ws-hero__accent--glitch {
    animation: glitch 0.35s linear;
}

/* Button shine sweep */
.ws-btn--primary {
    position: relative;
    overflow: hidden;
}
.ws-btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-18deg);
    transition: left .55s ease;
    pointer-events: none;
}
.ws-btn--primary:hover::after {
    left: 160%;
}

/* Card inner glow on hover */
.ws-card--service {
    position: relative;
    transition: transform .25s, border-color .25s, box-shadow .3s;
}
.ws-card--service::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at 50% 0%, var(--card-accent, rgba(99,102,241,.12)) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    z-index: 0;
}
.ws-card--service > * { position: relative; z-index: 1; }
.ws-card--service:hover::before { opacity: 1; }
.ws-card--service:hover {
    box-shadow: 0 0 0 1.5px var(--card-accent, var(--accent)), 0 12px 40px rgba(99,102,241,.18);
}

/* 3D tilt */
.ws-tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Number counter */
.ws-count-up {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* About stat card hover */
.ws-about__stat-card {
    transition: transform .3s ease, box-shadow .3s ease;
}
.ws-about__stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-accent);
}

/* Orbit ring dot indicator */
.ws-orbit__ring--1::after {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px 3px var(--accent-glow);
}

/* Typing cursor */
.ws-typed-cursor {
    display: inline-block;
    width: 2px;
    height: .9em;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: middle;
    border-radius: 1px;
    animation: blink-cursor .75s step-end infinite;
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Floating code tags decoration in hero */
.ws-code-tag {
    position: absolute;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: var(--accent);
    pointer-events: none;
    z-index: 0;
    animation: code-drift var(--dur, 9s) var(--delay, 0s) ease-in-out infinite;
}
@keyframes code-drift {
    0%, 100% { opacity: 0; transform: translateY(0) scale(.9); }
    15%, 80%  { opacity: .18; }
    50%       { transform: translateY(-16px) scale(1); }
}

/* Portfolio card hover — subtle neon border */
.ws-portfolio-card {
    transition: transform .25s ease, box-shadow .3s ease;
}
.ws-portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(99,102,241,.15), 0 0 0 1px rgba(99,102,241,.35);
}

/* Contact info item enhanced hover */
.ws-contact__info-item {
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ws-contact__info-item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: -4px 0 16px rgba(99,102,241,.15);
}

/* ============================================================
   Scroll Progress Bar
   ============================================================ */
.ws-progress-bar {
    position: fixed;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, #818cf8 50%, #a78bfa 100%);
    z-index: 9999;
    pointer-events: none;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 8px rgba(99,102,241,.5);
}

/* ============================================================
   Active Nav Link
   ============================================================ */
.ws-nav__link.is-active {
    color: var(--accent);
    font-weight: 600;
}
.ws-mobile-nav__link.is-active {
    color: var(--accent);
}

/* ============================================================
   About stat values — gradient text
   ============================================================ */
.ws-about__stat-value {
    background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================
   Footer top-line — fade center outward
   ============================================================ */
.ws-footer__top-line {
    background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, #818cf8 50%, var(--accent) 65%, transparent 100%);
}

/* ============================================================
   Service card: colored top border accent
   ============================================================ */
.ws-card--service {
    border-top: 3px solid var(--card-accent, var(--accent));
}

/* ============================================================
   Section header: label with glow dot
   ============================================================ */
.ws-label {
    position: relative;
}
.ws-label::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: .4rem;
    vertical-align: middle;
    box-shadow: 0 0 6px 2px var(--accent-glow);
    animation: pulse 1.8s infinite;
}

/* ============================================================
   Portfolio card body link
   ============================================================ */
.ws-portfolio-card__title {
    transition: color .2s;
}
.ws-portfolio-card:hover .ws-portfolio-card__title {
    color: var(--accent);
}
