/* ==========================================================================
   Solvetrics v2 — Main Stylesheet
   Complete redesign: typography, buttons, hover effects, graphics
   ========================================================================== */

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
    /* Core palette */
    --bg:           #04020c;
    --bg2:          #07041a;
    --bg3:          #0e0928;
    --bg4:          #130e35;

    /* Accent colours */
    --orange:       #ff6a3d;
    --orange-mid:   #ff8f6b;
    --orange-glow:  rgba(255, 106, 61, 0.18);
    --orange-glow2: rgba(255, 106, 61, 0.07);

    --purple:       #7c3aed;
    --purple-mid:   #9d6ef5;
    --purple-light: #c4b5fd;
    --purple-glow:  rgba(124, 58, 237, 0.22);
    --purple-glow2: rgba(124, 58, 237, 0.08);

    --cyan:         #22d3ee;
    --cyan-glow:    rgba(34, 211, 238, 0.18);

    --green:        #34d399;
    --green-glow:   rgba(52, 211, 153, 0.2);

    /* Typography */
    --white:        #ffffff;
    --off-white:    #f0eeff;
    --muted:        #8892a4;
    --muted2:       #556070;

    /* Surface */
    --border:       rgba(255, 255, 255, 0.06);
    --border-soft:  rgba(255, 255, 255, 0.03);
    --glass-bg:     rgba(12, 8, 30, 0.5);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-shadow: 0 8px 40px rgba(0,0,0,0.55);

    /* Radius */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Easing */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

    /* Background gradient */
    --bg-gradient: radial-gradient(ellipse 120% 80% at 50% -10%, #1a0a3d 0%, #04020c 60%);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--purple-glow);
    border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(124,58,237,0.5); }

/* Accessibility */
.screen-reader-text {
    border:0; clip:rect(1px,1px,1px,1px);
    -webkit-clip-path:inset(50%); clip-path:inset(50%);
    height:1px; margin:-1px; overflow:hidden;
    padding:0; position:absolute!important;
    width:1px; word-wrap:normal!important;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ── AMBIENT ORBS ───────────────────────────────────────────────────────── */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.28;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    animation: floatOrb 24s ease-in-out infinite;
}
.orb-purple {
    top: -160px; left: 5%;
    width: 560px; height: 560px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 75%);
}
.orb-cyan {
    top: 200px; right: 5%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 75%);
    animation-delay: -7s;
}
.orb-orange {
    bottom: 5%; left: 12%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, var(--orange) 0%, transparent 75%);
    animation-delay: -14s;
}
@keyframes floatOrb {
    0%,100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-40px) scale(1.08); }
}

/* ── PAGE LOADER ─────────────────────────────────────────────────────────── */
.solv-loader-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.solv-loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader {
    position: relative;
    width: 54px; height: 54px;
    border-radius: 10px;
}
.loader div {
    width: 8%; height: 24%;
    background: var(--orange);
    position: absolute;
    left: 50%; top: 30%;
    opacity: 0;
    border-radius: 50px;
    box-shadow: 0 0 10px var(--orange);
    animation: fade458 1s linear infinite;
}
@keyframes fade458 { from { opacity: 1; } to { opacity: 0.1; } }
.loader .bar1  { transform: rotate(0deg)   translate(0,-130%); animation-delay: 0s; }
.loader .bar2  { transform: rotate(30deg)  translate(0,-130%); animation-delay: -1.1s; }
.loader .bar3  { transform: rotate(60deg)  translate(0,-130%); animation-delay: -1s; }
.loader .bar4  { transform: rotate(90deg)  translate(0,-130%); animation-delay: -0.9s; }
.loader .bar5  { transform: rotate(120deg) translate(0,-130%); animation-delay: -0.8s; }
.loader .bar6  { transform: rotate(150deg) translate(0,-130%); animation-delay: -0.7s; }
.loader .bar7  { transform: rotate(180deg) translate(0,-130%); animation-delay: -0.6s; }
.loader .bar8  { transform: rotate(210deg) translate(0,-130%); animation-delay: -0.5s; }
.loader .bar9  { transform: rotate(240deg) translate(0,-130%); animation-delay: -0.4s; }
.loader .bar10 { transform: rotate(270deg) translate(0,-130%); animation-delay: -0.3s; }
.loader .bar11 { transform: rotate(300deg) translate(0,-130%); animation-delay: -0.2s; }
.loader .bar12 { transform: rotate(330deg) translate(0,-130%); animation-delay: -0.1s; }

/* ── GLOBAL SPOTLIGHT ───────────────────────────────────────────────────── */
.glow-aura-spotlight {
    position: fixed; top: 0; left: 0;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(124,58,237,0.07) 0%,
        rgba(255,106,61,0.04) 45%,
        transparent 70%
    );
    pointer-events: none; z-index: 0;
    transform: translate(-50%,-50%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.6s ease;
}
@media (min-width: 901px) { body:hover .glow-aura-spotlight { opacity: 1; } }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    height: 80px; display: flex; align-items: center;
    background: rgba(4, 2, 12, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}
.site-header.scrolled {
    height: 66px;
    background: rgba(7, 4, 26, 0.88);
    box-shadow: 0 4px 40px rgba(0,0,0,0.5);
    border-bottom-color: rgba(255,255,255,0.04);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
    height: 36px; width: auto;
    transition: all 0.4s var(--ease-out);
    filter: brightness(1);
}
.site-header.scrolled .logo-img { height: 30px; }

/* Nav */
.site-nav { display: flex; align-items: center; }
.primary-menu { display: flex; align-items: center; gap: 2px; }
.primary-menu li { list-style: none; }
.primary-menu a {
    display: inline-block;
    font-size: 0.875rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
    padding: 8px 15px; border-radius: var(--r-sm);
    letter-spacing: 0.01em;
    transition: color 0.25s ease, background 0.25s ease;
    position: relative;
}
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--orange);
    border-radius: 99px;
    transform: translateX(-50%);
    transition: width 0.3s var(--ease-out);
}
.primary-menu a:hover { color: white; }
.primary-menu a:hover::after { width: 60%; }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a,
.primary-menu li.active > a,
.primary-menu a.active {
    color: var(--orange);
    background: rgba(255,106,61,0.07);
}
.primary-menu .current-menu-item > a::after,
.primary-menu a.active::after { width: 60%; }

/* CTA button in nav */
.btn-consult {
    position: relative;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(124,58,237,0.4);
    color: var(--purple-light);
    border-radius: var(--r-sm);
    font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.35s var(--ease-out);
}
.btn-consult::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--purple), #5b21b6);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.btn-consult:hover {
    border-color: var(--purple);
    color: white;
    box-shadow: 0 0 28px rgba(124,58,237,0.35), 0 0 0 1px rgba(124,58,237,0.2);
}
.btn-consult:hover::before { opacity: 1; }
.btn-consult span { position: relative; z-index: 1; }
/* shimmer sweep on btn-consult */
.btn-consult::after {
    content: '';
    position: absolute; top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.2),transparent);
    transform: skewX(-25deg);
    transition: none; pointer-events: none;
}
.btn-consult:hover::after {
    left: 150%;
    transition: left 0.8s var(--ease-out);
}

.menu-toggle {
    display: none; flex-direction: column;
    gap: 5px; cursor: pointer; padding: 8px;
    border: none; background: none;
}
.menu-toggle span {
    width: 22px; height: 2px;
    background: var(--off-white);
    border-radius: 99px;
    display: block;
    transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */

/* Primary — orange gradient with magnetic lift */
.btn-primary {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff8264 0%, var(--orange) 60%, #e8400d 100%);
    color: white; border: none; border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer; overflow: hidden;
    box-shadow: 0 4px 22px var(--orange-glow), 0 1px 0 rgba(255,255,255,0.15) inset;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    text-decoration: none;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #ffb89a 0%, #ff6a3d 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary::after {
    content: '';
    position: absolute; top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.35),transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,106,61,0.5), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover::after {
    left: 150%;
    transition: left 0.75s var(--ease-out);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-primary > span { position: relative; z-index: 1; }

/* Outline — ghost with glow */
.btn-outline {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: rgba(255,255,255,0.025);
    color: var(--off-white);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer; overflow: hidden;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}
.btn-outline::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,211,238,0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
}
.btn-outline:hover {
    border-color: rgba(124,58,237,0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(124,58,237,0.2);
}
.btn-outline:hover::before { opacity: 1; }
.btn-outline:active { transform: translateY(-1px); }
.btn-outline > span { position: relative; z-index: 1; }

/* Submit / full-width */
.submit-btn {
    position: relative;
    width: 100%;
    padding: 17px 32px;
    background: linear-gradient(135deg, #ff8264 0%, var(--orange) 60%, #e8400d 100%);
    color: white; border: none; border-radius: var(--r-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer; overflow: hidden;
    box-shadow: 0 4px 22px var(--orange-glow);
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.submit-btn::after {
    content: '';
    position: absolute; top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.3),transparent);
    transform: skewX(-25deg); pointer-events: none;
    transition: none;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255,106,61,0.5);
}
.submit-btn:hover::after {
    left: 150%;
    transition: left 0.75s var(--ease-out);
}
.submit-btn:active { transform: translateY(0); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────────────────── */
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.045em;
    margin-bottom: 28px;
    background: linear-gradient(160deg, #ffffff 0%, #ddd8ff 50%, #b8b0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero h1 .accent {
    background: linear-gradient(130deg, var(--cyan) 0%, var(--purple-mid) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Cursive accent — the signature element */
.cursive-accent {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 1.15em;
    display: inline-block;
    transform: rotate(-2deg) translateY(3px);
    padding: 0 6px;
    background: linear-gradient(120deg,
        #ffd060 0%,
        var(--orange) 30%,
        #ffffff 50%,
        var(--orange) 70%,
        #ffd060 100%
    ) !important;
    background-size: 220% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: shimmerText 5s linear infinite !important;
}
h2 .cursive-accent {
    font-size: 1.05em;
    transform: rotate(-1.5deg) translateY(2px);
    vertical-align: middle;
}
@keyframes shimmerText {
    0%   { background-position: 0% center; }
    100% { background-position: -220% center; }
}

/* Section shared */
.section { padding: 120px 0; position: relative; }
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--orange);
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-tag::before {
    content: '';
    width: 18px; height: 2px;
    background: var(--orange);
    border-radius: 99px;
}
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    background: linear-gradient(160deg, #ffffff 30%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub {
    color: var(--muted);
    font-size: 1.05rem; font-weight: 300;
    line-height: 1.75; max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.text-center .section-tag { display: inline-flex; }

/* ── HERO SECTION ────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 140px; padding-bottom: 80px;
    position: relative; overflow: hidden;
}
/* Dot-matrix background */
.hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
/* Subtle top gradient line */
.hero::after {
    content: '';
    position: absolute; top: 80px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(34,211,238,0.2), transparent);
}
.hero-content { text-align: center; position: relative; z-index: 2; width: 100%; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,106,61,0.06);
    border: 1px solid rgba(255,106,61,0.22);
    color: var(--orange-mid);
    padding: 8px 20px; border-radius: 99px;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 36px;
}
.hero-badge-dot {
    width: 7px; height: 7px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--orange);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 8px var(--orange); }
    50% { opacity:0.5; transform:scale(1.5); box-shadow:0 0 20px var(--orange); }
}

.hero p {
    color: var(--muted);
    font-size: 1.15rem; font-weight: 300; line-height: 1.75;
    max-width: 600px; margin: 0 auto 52px;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Scroll indicator */
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--muted2); font-size: 0.7rem;
    letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7;
}
.scroll-line {
    width: 1px; height: 44px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
    50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
    100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── HERO BROWSER MOCKUPS ────────────────────────────────────────────────── */
.hero-visual {
    margin-top: 80px;
    max-width: 1000px;
    margin-left: auto; margin-right: auto;
    position: relative;
}
/* Glow underneath the mockups */
.hero-visual::before {
    content: '';
    position: absolute;
    bottom: -60px; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 100px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.25) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}
.browser-mockups {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 20px;
    align-items: flex-start;
}
.browser-window {
    background: rgba(10,6,28,0.7);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-md);
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.3),
        0 20px 60px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
    transition: all 0.6s var(--ease-out);
}
.browser-window--left  { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.browser-window--right { transform: perspective(1400px) rotateY(-5deg) rotateX(2deg) translateY(44px); }
.browser-window:hover  {
    transform: perspective(1400px) rotateY(0deg) rotateX(0deg) translateY(-10px) !important;
    border-color: rgba(124,58,237,0.3);
    box-shadow: 0 40px 100px rgba(124,58,237,0.18), 0 0 0 1px rgba(124,58,237,0.1);
}
.browser-bar {
    display: flex; align-items: center; gap: 6px;
    background: rgba(20,16,44,0.7);
    padding: 11px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.b-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.b-url {
    flex: 1; text-align: center;
    font-size: 0.62rem; color: var(--muted2);
    background: rgba(0,0,0,0.4); border-radius: 4px;
    padding: 3px 10px; margin: 0 10px;
    font-family: 'Inter', sans-serif; letter-spacing: 0.03em;
}
.browser-body { padding: 18px; }

/* skeleton */
.bm-logo-bar,.bm-nav-dots { display:flex; align-items:center; gap:8px; }
.bm-logo-dot { width:18px; height:18px; border-radius:4px; background:var(--orange); opacity:0.85; }
.bm-logo-line,.bm-nav-line,.bm-sub,.bm-h1,.bm-tag,.bm-a-title,.bm-cell,.bm-kpi-label,.bm-a-tab {
    height: 8px; border-radius: 4px; background: rgba(255,255,255,0.05);
}
.bm-h1 { height:14px; border-radius:4px; margin-bottom:7px; }
.bm-h1.accent { background:linear-gradient(90deg,rgba(255,106,61,0.35),rgba(124,58,237,0.25)); }
.bm-tag { width:80px; height:14px; border-radius:50px; background:rgba(255,106,61,0.12); margin-bottom:10px; }
.bm-sub { margin-bottom:5px; }
.w30{width:30%} .w40{width:40%} .w50{width:50%}
.w55{width:55%} .w60{width:60%} .w70{width:70%} .w80{width:80%}
.green{background:rgba(52,211,153,0.22)!important}
.orange{background:rgba(255,106,61,0.22)!important}
.purple{background:rgba(124,58,237,0.22)!important}
.bm-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.bm-nav-dots { gap:5px; }
.bm-cta-pill { width:48px; height:20px; border-radius:50px; background:rgba(255,106,61,0.28); }
.bm-hero-block { padding:10px 0 14px; border-bottom:1px solid rgba(255,255,255,0.03); margin-bottom:14px; }
.bm-btns { display:flex; gap:8px; margin-top:12px; }
.bm-btn { height:20px; border-radius:5px; }
.bm-btn--primary { width:72px; background:rgba(255,106,61,0.4); }
.bm-btn--outline  { width:72px; background:transparent; border:1px solid rgba(124,58,237,0.28); }
.bm-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:7px; }
.bm-stat {
    background:rgba(255,255,255,0.02);
    border:1px solid rgba(255,255,255,0.04);
    border-radius:7px; padding:9px 6px; text-align:center;
}
.bm-stat-val { font-family:'Montserrat',sans-serif; font-size:0.85rem; font-weight:700; display:block; margin-bottom:4px; }
.bm-stat-lbl { height:5px; border-radius:4px; background:rgba(255,255,255,0.05); margin:0 auto; width:60%; }
.bm-analytics-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.bm-a-title { height:11px; }
.bm-a-tabs { display:flex; gap:5px; }
.bm-a-tab { width:34px; height:18px; border-radius:4px; }
.bm-a-tab.active { background:rgba(124,58,237,0.35)!important; }
.bm-chart-area {
    background:rgba(255,255,255,0.012);
    border:1px solid rgba(255,255,255,0.04);
    border-radius:7px; padding:10px; margin-bottom:12px;
}
.bm-line-chart svg { width:100%; height:auto; display:block; }
.bm-kpi-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.bm-kpi {
    background:rgba(255,255,255,0.018); border-radius:7px; padding:9px;
    border:1px solid rgba(255,255,255,0.04);
}
.bm-kpi-label { width:60%; margin-bottom:5px; }
.bm-kpi-val { font-family:'Montserrat',sans-serif; font-size:0.95rem; font-weight:700; display:block; margin-bottom:3px; }
.bm-kpi-badge { font-size:0.62rem; color:var(--green); font-weight:600; }
.bm-table-rows { display:flex; flex-direction:column; gap:7px; }
.bm-row { display:flex; gap:7px; align-items:center; padding:7px 0; border-bottom:1px solid rgba(255,255,255,0.025); }
.bm-cell { height:7px; border-radius:4px; background:rgba(255,255,255,0.05); }

/* SVG draw animation */
.bm-line-chart svg path {
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    animation: drawChart 2.8s var(--ease-out) forwards;
}
.bm-line-chart svg path:nth-child(2) {
    animation: fadeIn 2.4s var(--ease-out) forwards;
    opacity: 0; stroke-dasharray: none; stroke-dashoffset: none;
}
.bm-line-chart svg path:nth-child(3) {
    stroke-dasharray: 450; stroke-dashoffset: 450;
    animation: drawChart 3.2s var(--ease-out) forwards;
    animation-delay: 0.3s;
}
@keyframes drawChart { to { stroke-dashoffset: 0; } }
@keyframes fadeIn   { to { opacity: 1; } }

@media (max-width: 768px) {
    .browser-mockups { grid-template-columns: 1fr; }
    .browser-window--left, .browser-window--right { transform: none; }
}

/* ── STATS BAR ───────────────────────────────────────────────────────────── */
.stats-bar {
    background: rgba(7,4,26,0.5);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
    backdrop-filter: blur(16px);
    position: relative; overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(255,106,61,0.3),rgba(124,58,237,0.3),transparent);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
    text-align: center; padding: 18px 24px;
    border-right: 1px solid var(--border);
    transition: all 0.3s ease;
}
.stat:last-child { border-right: none; }
.stat:hover .stat-val { color: var(--purple-light); text-shadow: 0 0 20px var(--purple-glow); }
.stat-val {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800; color: var(--orange);
    display: block; line-height: 1;
    margin-bottom: 8px;
    transition: all 0.4s ease;
}
.stat-lbl {
    font-size: 0.78rem; color: var(--muted2);
    letter-spacing: 0.04em;
    text-transform: uppercase; font-weight: 500;
}

/* ── SERVICE CARDS ───────────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-top: 64px;
}
.service-card {
    position: relative; overflow: hidden;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 40px 36px;
    backdrop-filter: blur(16px);
    transition: all 0.45s var(--ease-out);
    z-index: 1;
}
/* Animated top-border reveal */
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--cyan), var(--orange));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    border-radius: 0 0 2px 0;
}
/* Mouse-tracking glow */
.service-card::after {
    content: '';
    position: absolute; inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,106,61,0.12),
        rgba(34,211,238,0.06) 25%,
        transparent 50%
    );
    z-index: -1; opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.service-card:hover {
    border-color: rgba(255,106,61,0.25);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,106,61,0.08);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }

.service-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; font-weight: 800;
    color: var(--orange); letter-spacing: 0.15em;
    text-transform: uppercase; margin-bottom: 22px;
    opacity: 0.8;
}
.service-icon { width: 52px; height: 52px; margin-bottom: 26px; }
.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem; font-weight: 700; margin-bottom: 14px;
    background: linear-gradient(135deg, #fff 40%, var(--purple-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.service-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.75; }
.service-card p strong { color: var(--orange-mid); font-weight: 500; -webkit-text-fill-color: var(--orange-mid); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.stag {
    font-size: 0.72rem; font-weight: 600;
    padding: 4px 13px;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: 99px; color: rgba(196,181,253,0.7);
    transition: all 0.25s ease;
}
.stag:hover { background: rgba(124,58,237,0.18); color: var(--purple-light); }
.stag.orange {
    color: var(--orange-mid); background: rgba(255,106,61,0.07);
    border-color: rgba(255,106,61,0.25);
}
.stag.orange:hover { background: rgba(255,106,61,0.15); }

/* ── PORTFOLIO CARDS (home) ──────────────────────────────────────────────── */
.home-portfolio-section { background: rgba(7,4,26,0.3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: var(--glass-shadow);
    transition: all 0.45s var(--ease-out);
    display: flex; flex-direction: column;
    position: relative;
}
.portfolio-card::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(124,58,237,0.05) 100%);
    opacity: 0; transition: opacity 0.4s ease;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124,58,237,0.3);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.1);
}
.portfolio-card:hover::before { opacity: 1; }
.portfolio-card-img-wrap {
    height: 200px; overflow: hidden; position: relative;
    background: var(--bg3);
}
/* bg variants for static fallback cards */
.portfolio-card-img-wrap.bg-purple {
    background: linear-gradient(135deg, #1a0a3d 0%, #0e0928 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.portfolio-card-img-wrap.bg-blue {
    background: linear-gradient(135deg, #051a3d 0%, #050929 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.portfolio-card-img-wrap.bg-dark {
    background: linear-gradient(135deg, #0e1a28 0%, #05090a 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.portfolio-card-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.portfolio-card:hover .portfolio-card-img-wrap img { transform: scale(1.08); }
.portfolio-card-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--bg3) 0%, var(--bg) 100%);
}
.portfolio-card-live-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(124,58,237,0.9); color: white;
    font-size: 0.7rem; font-weight: 700;
    padding: 4px 12px; border-radius: 99px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.portfolio-card-live-badge:hover {
    background: var(--purple-mid);
    box-shadow: 0 0 20px var(--purple-glow);
}
.portfolio-card-body {
    padding: 24px; flex: 1;
    display: flex; flex-direction: column;
    position: relative; z-index: 1;
}
.portfolio-card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px;
}
.portfolio-card-client {
    font-size: 0.72rem; font-weight: 700; color: var(--orange);
    text-transform: uppercase; letter-spacing: 0.1em;
}
.portfolio-card-year { font-size: 0.72rem; color: var(--muted2); }
.portfolio-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 10px; line-height: 1.3;
}
.portfolio-card p {
    color: var(--muted); font-size: 0.88rem;
    line-height: 1.65; margin-bottom: 18px; flex: 1;
}
.portfolio-card-result {
    font-size: 0.82rem; font-weight: 600; color: var(--green);
    background: rgba(52,211,153,0.08);
    border: 1px solid rgba(52,211,153,0.2);
    padding: 6px 14px; border-radius: 6px;
    display: inline-block; width: max-content;
}

/* ── CONTACT FORM ────────────────────────────────────────────────────────── */
.contact-section { position: relative; overflow: hidden; }
.contact-section::before {
    content: '';
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), transparent);
}
.contact-form {
    max-width: 700px; margin: 64px auto 0;
    display: flex; flex-direction: column; gap: 16px;
    background: rgba(10,6,28,0.65);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(24px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    border-radius: var(--r-xl);
    padding: 52px 48px;
    position: relative; z-index: 1;
}
/* Animated gradient border */
.contact-form::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: calc(var(--r-xl) + 1px);
    background: linear-gradient(135deg, var(--purple), var(--cyan), var(--orange), var(--purple));
    background-size: 300% 300%;
    animation: borderFlow 6s ease infinite;
    z-index: -1; opacity: 0.45;
}
/* Mouse-tracking glow on form */
.contact-form::after {
    content: '';
    position: absolute; inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(124,58,237,0.1),
        transparent 50%
    );
    z-index: -1; opacity: 0; transition: opacity 0.4s ease;
    pointer-events: none;
}
.contact-form:hover::after { opacity: 1; }
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(0,0,0,0.28);
    border: 1px solid rgba(255,255,255,0.07);
    color: white; padding: 15px 18px;
    border-radius: var(--r-sm);
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted2); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: rgba(124,58,237,0.55);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1), 0 0 20px rgba(124,58,237,0.15);
    background: rgba(0,0,0,0.4);
}
.contact-form select option { background: var(--bg2); color: white; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.form-status {
    text-align: center; padding: 14px; border-radius: var(--r-sm);
    font-size: 0.9rem; display: none;
}
.form-status.success {
    display: block;
    background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3);
    color: var(--green);
}
.form-status.error {
    display: block;
    background: rgba(255,106,61,0.1); border: 1px solid rgba(255,106,61,0.3);
    color: var(--orange);
}

/* ── PAGE HERO (inner pages) ─────────────────────────────────────────────── */
.page-hero {
    padding: 190px 0 90px; text-align: center;
    background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(124,58,237,0.14) 0%, transparent 70%);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 44px 44px;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.25), transparent);
}
.page-hero .container { position: relative; z-index: 1; }
.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900; letter-spacing: -0.04em;
    margin-bottom: 18px;
    background: linear-gradient(160deg, #ffffff 20%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-sub {
    color: var(--muted); font-size: 1.1rem;
    max-width: 560px; margin: 0 auto; font-weight: 300; line-height: 1.75;
}

/* ── CASE STUDIES (Impact page) ──────────────────────────────────────────── */
.cases { padding: 60px 0 120px; }
.case {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; margin-bottom: 100px; align-items: center;
}
.case:last-child { margin-bottom: 0; }
.case.reverse { direction: rtl; }
.case.reverse > * { direction: ltr; }
.case-img-wrap {
    position: relative; border-radius: var(--r-md); overflow: hidden;
}
.case-img-wrap img {
    width: 100%; height: 360px; object-fit: cover;
    display: block; filter: brightness(0.85);
    transition: all 0.6s var(--ease-out);
}
.case-img-wrap:hover img { filter: brightness(1); transform: scale(1.03); }
.case-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    pointer-events: none;
}
/* Gradient overlay on image */
.case-img-wrap::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.case-img-wrap:hover::before { opacity: 0; }
.case-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: rgba(4,2,12,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 6px 14px;
    font-size: 0.72rem; font-weight: 700;
    color: var(--orange); letter-spacing: 0.09em; text-transform: uppercase;
}
.case-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800; margin-bottom: 18px;
    line-height: 1.12; letter-spacing: -0.02em;
}
.case-content p { color: var(--muted); font-size: 0.97rem; line-height: 1.85; margin-bottom: 30px; }
.case-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.cstat { border-left: 2px solid var(--purple-light); padding-left: 18px; }
.cstat-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem; font-weight: 800; color: var(--orange);
    display: block; line-height: 1;
}
.cstat-lbl { font-size: 0.76rem; color: var(--muted2); margin-top: 4px; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.ctag {
    font-size: 0.72rem; padding: 4px 13px;
    background: rgba(124,58,237,0.08);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 99px; color: rgba(196,181,253,0.7);
}
.ctag.orange {
    color: var(--orange-mid); background: rgba(255,106,61,0.07);
    border-color: rgba(255,106,61,0.25);
}

/* ── WORK PROCESS — PHILOSOPHY ───────────────────────────────────────────── */
.philosophy { padding: 90px 0; }
.phil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.phil-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800; line-height: 1.12; margin-bottom: 22px;
    letter-spacing: -0.025em;
}
.phil-text h2 span { color: var(--orange); -webkit-text-fill-color: var(--orange); }
.phil-text p { color: var(--muted); margin-bottom: 16px; font-size: 0.97rem; line-height: 1.85; }
.phil-list { list-style: none; padding: 0; }
.phil-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.phil-list-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.phil-list-sub { font-size: 0.87rem; color: var(--muted); line-height: 1.6; }

/* ── PROCESS STEPS ───────────────────────────────────────────────────────── */
.process { background: var(--bg2); padding: 100px 0; }
.process > .container > h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800; text-align: center; margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.process-sub { color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 60px; font-size: 1rem; }
.steps { display: flex; flex-direction: column; gap: 20px; }
.step {
    display: grid; grid-template-columns: 80px 1fr;
    gap: 28px; background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 32px;
    transition: all 0.35s var(--ease-out);
    position: relative; overflow: hidden;
}
.step::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--purple), var(--orange));
    transform: scaleY(0); transform-origin: top;
    transition: transform 0.4s var(--ease-out);
    border-radius: 0 2px 2px 0;
}
.step:hover { border-color: rgba(124,58,237,0.25); transform: translateY(-4px); }
.step:hover::before { transform: scaleY(1); }
.step-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; font-weight: 900;
    color: var(--orange); line-height: 1; opacity: 0.8;
}
.step-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--purple-light); padding: 4px 12px;
    background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.22);
    border-radius: 99px; margin-bottom: 12px;
}
.step-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.22rem; font-weight: 700; margin-bottom: 10px;
}
.step-body > p { color: var(--muted); font-size: 0.93rem; line-height: 1.78; margin-bottom: 16px; }
.step-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.step-body ul li {
    font-size: 0.76rem; padding: 4px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 99px; color: rgba(255,255,255,0.5);
}

/* ── PRINCIPLES ──────────────────────────────────────────────────────────── */
.principles { padding: 100px 0; }
.principles > .container > h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem; font-weight: 800; margin-bottom: 12px;
}
.principles > .container > p { color: var(--muted); max-width: 560px; margin-bottom: 50px; }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.principle-card {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 32px;
    transition: all 0.35s var(--ease-out);
    position: relative; overflow: hidden;
}
.principle-card::after {
    content: '';
    position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,106,61,0.1), transparent 50%
    );
    z-index: -1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.principle-card:hover { border-color: rgba(255,106,61,0.28); transform: translateY(-4px); }
.principle-card:hover::after { opacity: 1; }
.principle-card h3 {
    font-family: 'Montserrat', sans-serif;
    display: flex; align-items: center; gap: 12px;
    font-size: 1.2rem; font-weight: 700; margin-bottom: 14px;
}
.principle-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.78; }
.principle-card p strong { color: var(--orange-mid); font-weight: 500; }

/* ── WORK PLAN — PHASES ──────────────────────────────────────────────────── */
.phases-overview { padding: 80px 0; background: var(--bg2); }
.phases-overview > .container > h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem; font-weight: 800; margin-bottom: 10px;
}
.phases-overview > .container > p { color: var(--muted); max-width: 560px; }
.phases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.phase-pill {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 26px 20px; text-align: center;
    transition: all 0.35s var(--ease-out); cursor: default;
    position: relative; overflow: hidden;
}
.phase-pill::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
}
.phase-pill.p1::before { background: var(--orange); }
.phase-pill.p2::before { background: var(--cyan); }
.phase-pill.p3::before { background: var(--purple-light); }
.phase-pill.p4::before { background: var(--green); }
.phase-pill:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); }
.phase-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px;
}
.p1 .phase-num { color: var(--orange); }
.p2 .phase-num { color: var(--cyan); }
.p3 .phase-num { color: var(--purple-light); }
.p4 .phase-num { color: var(--green); }
.phase-pill h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.phase-pill p { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.phase-duration {
    display: inline-block; margin-top: 14px;
    font-size: 0.7rem; padding: 3px 11px;
    border-radius: 99px; font-weight: 700;
}
.p1 .phase-duration { background: rgba(255,106,61,0.1); color: var(--orange); }
.p2 .phase-duration { background: rgba(34,211,238,0.1); color: var(--cyan); }
.p3 .phase-duration { background: rgba(124,58,237,0.1); color: var(--purple-light); }
.p4 .phase-duration { background: rgba(52,211,153,0.1); color: var(--green); }

/* ── TIMELINE ────────────────────────────────────────────────────────────── */
.timeline-section { padding: 100px 0; }
.timeline-section > .container > h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 12px;
}
.timeline-section > .container > p { color: var(--muted); text-align: center; margin-bottom: 80px; }
.timeline { position: relative; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--orange), var(--cyan), var(--purple-light), var(--green), transparent);
    transform: translateX(-50%); opacity: 0.3;
}
.tl-item { display: grid; grid-template-columns: 1fr 60px 1fr; margin-bottom: 60px; align-items: start; }
.tl-item.right .tl-content { grid-column: 3; grid-row: 1; }
.tl-item.right .tl-empty { grid-column: 1; grid-row: 1; }
.tl-item.left .tl-content { grid-column: 1; grid-row: 1; text-align: right; }
.tl-item.left .tl-empty { grid-column: 3; grid-row: 1; }
.tl-node { grid-column: 2; grid-row: 1; display: flex; justify-content: center; align-items: flex-start; padding-top: 20px; z-index: 1; }
.node {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.node:hover { transform: scale(1.1); }
.node::after {
    content: ''; position: absolute; inset: -6px;
    border-radius: 50%; border: 1px solid; opacity: 0.25;
}
.n-orange { background: rgba(255,106,61,0.18); border: 2px solid var(--orange); color: var(--orange); }
.n-orange::after { border-color: var(--orange); }
.n-cyan { background: rgba(34,211,238,0.12); border: 2px solid var(--cyan); color: var(--cyan); }
.n-cyan::after { border-color: var(--cyan); }
.n-purple { background: rgba(124,58,237,0.18); border: 2px solid var(--purple-light); color: var(--purple-light); }
.n-purple::after { border-color: var(--purple-light); }
.n-green { background: rgba(52,211,153,0.12); border: 2px solid var(--green); color: var(--green); }
.n-green::after { border-color: var(--green); }
.tl-card {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: var(--r-md); padding: 32px; margin: 0 20px;
    transition: all 0.35s var(--ease-out);
    position: relative; overflow: hidden;
}
.tl-card::after {
    content: '';
    position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(124,58,237,0.08), transparent 50%
    );
    z-index: -1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.tl-card:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-5px); }
.tl-card:hover::after { opacity: 1; }
.tl-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.tl-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.tl-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.78; }
.tl-card p strong { font-weight: 500; }
.tl-deliverables { margin-top: 20px; }
.tl-deliverables h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted2); margin-bottom: 10px; }
.tl-del-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tl-item.left .tl-del-list { justify-content: flex-end; }
.del {
    font-size: 0.72rem; padding: 4px 11px;
    border-radius: 99px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--border); color: rgba(255,255,255,0.45);
}
.tl-week {
    display: inline-block; margin-top: 16px;
    font-size: 0.7rem; font-weight: 700; padding: 3px 12px; border-radius: 99px;
}

/* ── MOMENTUM ────────────────────────────────────────────────────────────── */
.momentum { padding: 100px 0; background: var(--bg2); }
.momentum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
.cycle-diagram {
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 40px; text-align: center;
}
.cycle-diagram h3 { font-family: 'Montserrat', sans-serif; font-weight: 800; margin-bottom: 30px; font-size: 1.1rem; }
.cycle-ring {
    width: 240px; height: 240px; border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.08);
    margin: 0 auto; position: relative;
    display: flex; align-items: center; justify-content: center;
    animation: spinSlow 20s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.cycle-ring::before {
    content: ''; position: absolute; inset: 20px;
    border-radius: 50%; border: 2px solid rgba(255,106,61,0.25);
}
.cycle-center { text-align: center; z-index: 1; animation: spinSlow 20s linear infinite reverse; }
.cycle-center .val {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem; font-weight: 800; color: var(--orange);
}
.cycle-center .lbl { font-size: 0.78rem; color: var(--muted); }
.cycle-points { display: flex; justify-content: space-around; margin-top: 30px; }
.cyp { text-align: center; }
.cyp-dot { width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 8px; }
.cyp-lbl { font-size: 0.72rem; color: var(--muted); }
.momentum-text h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.9rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.momentum-text h2 span { color: var(--green); }
.momentum-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; }
.momentum-list { margin-top: 24px; list-style: none; padding: 0; }
.momentum-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.momentum-list li:last-child { border-bottom: none; }
.ml-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── CTA SECTION ─────────────────────────────────────────────────────────── */
.cta-section {
    padding: 100px 0; text-align: center;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124,58,237,0.14) 0%, transparent 70%);
    position: relative;
}
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), transparent);
}
.cta-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800; margin-bottom: 18px;
}
.cta-section p { color: var(--muted); margin-bottom: 38px; font-size: 1.05rem; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer {
    background: #030208;
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
    position: relative;
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(255,106,61,0.2), transparent);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 60px; margin-bottom: 52px;
}
.footer-brand .logo-img { height: 38px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted2); font-size: 0.88rem; line-height: 1.85; margin-top: 14px; max-width: 300px; }
.footer-pills { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.highlight-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.25);
    color: var(--purple-light); padding: 5px 14px;
    border-radius: 99px; font-size: 0.73rem; font-weight: 600;
    transition: all 0.3s ease;
}
.highlight-pill:hover { background: rgba(124,58,237,0.2); border-color: rgba(124,58,237,0.4); }
.highlight-pill.pill-orange {
    border-color: rgba(255,106,61,0.25); color: var(--orange-mid);
    background: rgba(255,106,61,0.08);
}
.highlight-pill.pill-orange:hover { background: rgba(255,106,61,0.15); }
.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--orange); margin-bottom: 22px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 13px; }
.footer-links a {
    color: var(--muted2); font-size: 0.88rem;
    transition: all 0.25s ease;
    display: inline-flex; align-items: center; gap: 6px;
}
.footer-links a::before {
    content: '→';
    font-size: 0.7rem; opacity: 0;
    transform: translateX(-6px);
    transition: all 0.25s ease;
}
.footer-links a:hover { color: white; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom {
    border-top: 1px solid var(--border); padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { color: var(--muted2); font-size: 0.78rem; }
.footer-bottom .footer-services { color: rgba(255,255,255,0.15); font-size: 0.75rem; letter-spacing: 0.08em; }

/* ── PORTFOLIO PAGE ──────────────────────────────────────────────────────── */
.portfolio-hero {
    padding: 170px 0 80px; text-align: center;
    position: relative; overflow: hidden; background: #0a0a0c;
}
.portfolio-hero-orb {
    position: absolute; bottom: -20%; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 60vw; max-height: 600px; border-radius: 50%;
    background: radial-gradient(ellipse at 50% 100%, rgba(124,58,237,0.14) 0%, rgba(62,4,170,0.07) 40%, transparent 70%);
    border: 1px solid rgba(124,58,237,0.08); pointer-events: none;
}
.portfolio-hero .page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900; line-height: 1.08; margin-bottom: 18px;
    letter-spacing: -0.04em;
}
.portfolio-hero .page-hero-sub { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Email gate */
.portfolio-gate-section { padding: 60px 0 100px; }
.gate-card {
    max-width: 560px; margin: 0 auto 60px;
    background: var(--bg3); border: 1px solid var(--border);
    border-radius: var(--r-xl); padding: 50px 40px; text-align: center;
    position: relative;
}
.gate-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: var(--r-xl);
    background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(255,106,61,0.14), transparent 60%);
    z-index: -1;
}
.gate-card::after {
    content: '';
    position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,106,61,0.1), transparent 50%
    );
    z-index: -1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.gate-card:hover::after { opacity: 1; }
.gate-icon { font-size: 2.4rem; margin-bottom: 18px; }
.gate-card h2 { font-family: 'Montserrat', sans-serif; font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; }
.gate-card p { color: var(--muted); margin-bottom: 28px; line-height: 1.65; }
.gate-form-wrap { display: flex; gap: 12px; }
.gate-form-wrap input[type=email] {
    flex: 1; padding: 14px 18px;
    background: rgba(0,0,0,0.3); border: 1px solid var(--border);
    border-radius: var(--r-sm); color: white;
    font-size: 0.93rem; font-family: 'Inter', sans-serif;
    outline: none; transition: all 0.3s ease;
}
.gate-form-wrap input[type=email]:focus {
    border-color: rgba(124,58,237,0.5);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.gate-note { font-size: 0.78rem; color: var(--muted2); margin-top: 16px; margin-bottom: 0; }
.gate-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 0.9rem; }
.gate-msg.gate-success { background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.28); color: var(--green); }
.gate-msg.gate-error   { background: rgba(255,106,61,0.08); border: 1px solid rgba(255,106,61,0.28); color: var(--orange); }

/* Blur preview */
.gate-blur-preview {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
    filter: blur(8px); opacity: 0.3; pointer-events: none; user-select: none;
}
.blur-card { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.blur-card-img { height: 180px; background: #1a1a2e; }
.blur-card-body { padding: 18px; }
.blur-line { height: 10px; border-radius: 6px; background: #222; margin-bottom: 10px; }
.blur-line.long { width: 80%; } .blur-line.medium { width: 60%; } .blur-line.short { width: 40%; }

/* Filter bar */
.portfolio-filter-bar {
    padding: 32px 0 0; position: sticky; top: 80px; z-index: 100;
    background: rgba(4,2,12,0.88); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 18px; }
.filter-pill {
    padding: 8px 20px;
    background: transparent; border: 1px solid var(--border);
    border-radius: 99px; color: var(--muted);
    font-size: 0.83rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s ease;
}
.filter-pill:hover { border-color: var(--purple-light); color: white; background: rgba(124,58,237,0.08); }
.filter-pill.active { background: var(--purple); border-color: var(--purple); color: white; }

/* Portfolio masonry */
.portfolio-grid-section { padding-top: 60px; }
.portfolio-masonry { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pcard {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-md); overflow: hidden;
    backdrop-filter: blur(12px); box-shadow: var(--glass-shadow);
    transition: all 0.45s var(--ease-out); position: relative;
}
.pcard:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.12);
    border-color: rgba(255,106,61,0.22);
}
.pcard::after {
    content: '';
    position: absolute; inset: -1px; border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,106,61,0.12),
        rgba(34,211,238,0.06) 25%, transparent 50%
    );
    z-index: -1; opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.pcard:hover::after { opacity: 1; }
.pcard--featured {
    border-color: rgba(255,106,61,0.3); grid-column: span 2;
    display: grid; grid-template-columns: 1.4fr 1fr;
}
.pcard--featured:hover { border-color: rgba(255,106,61,0.55); }
.pcard-badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: rgba(255,106,61,0.12); border: 1px solid rgba(255,106,61,0.38);
    color: var(--orange); font-size: 0.7rem; font-weight: 800;
    letter-spacing: 0.06em; padding: 4px 11px; border-radius: 99px;
}
.pcard-img-wrap { position: relative; overflow: hidden; background: #0a0a10; }
.pcard .pcard-img-wrap { height: 220px; }
.pcard--featured .pcard-img-wrap { height: 100%; min-height: 290px; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease-out); display: block; }
.pcard:hover .pcard-img { transform: scale(1.05); }
.pcard-img-placeholder {
    width: 100%; height: 220px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--bg3) 0%, var(--bg) 100%);
}
.pcard-live-badge {
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(124,58,237,0.88); color: white;
    font-size: 0.7rem; font-weight: 700; padding: 4px 11px;
    border-radius: 99px; text-decoration: none; transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}
.pcard-live-badge:hover { background: var(--purple-mid); box-shadow: 0 0 20px var(--purple-glow); }
.pcard-mockup-dots { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 6px; }
.mdot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.28); border: 1px solid rgba(255,255,255,0.45);
    cursor: pointer; transition: all 0.2s ease;
}
.mdot.active,.mdot:hover { background: white; }
.pcard-body { padding: 22px 24px 26px; }
.pcard--featured .pcard-body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.pcard-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pcard-client { font-size: 0.76rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; }
.pcard-year { font-size: 0.72rem; color: var(--muted2); }
.pcard-title { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; line-height: 1.25; }
.pcard--featured .pcard-title { font-size: 1.5rem; }
.pcard-desc { color: var(--muted); font-size: 0.87rem; line-height: 1.65; margin-bottom: 16px; }
.pcard-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pcard-cat {
    font-size: 0.7rem; font-weight: 700;
    background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.28);
    color: var(--purple-light); padding: 3px 11px; border-radius: 99px;
}
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard-tag { font-size: 0.68rem; color: var(--muted2); }

/* ── CARD HOVER GLOW SYSTEM ─────────────────────────────────────────────── */
.service-card, .pcard, .contact-form, .gate-card,
.step, .principle-card, .tl-card, .portfolio-card {
    position: relative; z-index: 1;
}

/* ── SCROLL REVEAL ───────────────────────────────────────────────────────── */
.reveal-up {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1),.stat:nth-child(2) { border-bottom: 1px solid var(--border); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .site-nav {
        display: none; flex-direction: column;
        position: absolute; top: 80px; left: 0; right: 0;
        background: rgba(4,2,12,0.97); backdrop-filter: blur(24px);
        border-bottom: 1px solid var(--border);
        padding: 20px; gap: 4px;
    }
    .site-nav.open { display: flex; }
    .primary-menu { flex-direction: column; width: 100%; gap: 2px; }
    .primary-menu li { width: 100%; }
    .primary-menu a { padding: 14px 16px; display: block; width: 100%; }
    .primary-menu a::after { display: none; }
    .btn-consult { display: none; }
    .menu-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .case,.case.reverse { grid-template-columns: 1fr; direction: ltr; gap: 44px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
    .phil-grid { grid-template-columns: 1fr; gap: 50px; }
    .principles-grid { grid-template-columns: 1fr; }
    .phases-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::before { left: 28px; }
    .tl-item { grid-template-columns: 60px 1fr; }
    .tl-item.left .tl-content,
    .tl-item.right .tl-content { grid-column: 2; grid-row: 1; text-align: left; }
    .tl-item.left .tl-del-list { justify-content: flex-start; }
    .tl-item.left .tl-empty,
    .tl-item.right .tl-empty { display: none; }
    .tl-node { grid-column: 1; }
    .tl-card { margin: 0; }
    .momentum-grid { grid-template-columns: 1fr; }
    .step { grid-template-columns: 60px 1fr; gap: 18px; padding: 24px; }
    .step-num { font-size: 2rem; }
    .contact-form { padding: 36px 28px; }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .phases-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 18px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-primary, .btn-outline { width: 100%; justify-content: center; }
}

/* Portfolio responsive */
@media (max-width: 1024px) {
    .portfolio-masonry { grid-template-columns: repeat(2,1fr); }
    .pcard--featured { grid-column: span 2; }
}
@media (max-width: 768px) {
    .portfolio-masonry { grid-template-columns: 1fr; }
    .pcard--featured { grid-column: span 1; grid-template-columns: 1fr; }
    .pcard--featured .pcard-img-wrap { height: 220px; }
    .gate-blur-preview { grid-template-columns: 1fr; }
    .gate-form-wrap { flex-direction: column; }
}

/* ==========================================================================
   SOLVETRICS v2.1 — MAJOR ADDITIONS
   Services page, blog, single post, portfolio v2, button enhancements,
   hero dashboard graphic, logo fix, header line fix
   ========================================================================== */

/* ── FIX: Remove the unwanted line under header ─────────────────────────── */
.site-header { border-bottom: none !important; }
.site-header::after { display: none !important; }
/* Replace with subtle inner shadow only */
.site-header.scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 40px rgba(0,0,0,0.5) !important;
}

/* ── LOGO: Bigger + transparent background ───────────────────────────────── */
.logo-img {
    height: 52px !important;
    width: auto;
    mix-blend-mode: normal;
    filter: brightness(1.05) drop-shadow(0 0 12px rgba(124,58,237,0.25));
    background: transparent !important;
}
.site-header.scrolled .logo-img { height: 44px !important; }
.footer-brand .logo-img { height: 52px !important; margin-bottom: 20px; }

/* ── BUTTON v2: WOW-level attention grabbers ─────────────────────────────── */
/* Pulsing ring around primary button */
.btn-primary {
    box-shadow:
        0 4px 22px var(--orange-glow),
        0 0 0 0 rgba(255,106,61,0.4) !important;
    animation: btnPulseRing 3s ease-in-out infinite !important;
}
@keyframes btnPulseRing {
    0%,100% { box-shadow: 0 4px 22px var(--orange-glow), 0 0 0 0 rgba(255,106,61,0); }
    50%      { box-shadow: 0 4px 22px var(--orange-glow), 0 0 0 8px rgba(255,106,61,0); }
}
.btn-primary:hover {
    animation: none !important;
    box-shadow: 0 12px 40px rgba(255,106,61,0.55), 0 0 0 3px rgba(255,106,61,0.15) !important;
}
/* Particle burst canvas (added via JS) */
.btn-primary-wrap { position: relative; display: inline-block; }

/* Submit button — same ring */
.submit-btn {
    animation: btnPulseRing 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
.submit-btn:hover { animation: none; }

/* btn-outline: animated gradient border on hover */
.btn-outline {
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.12) !important;
    position: relative; overflow: visible !important;
}
.btn-outline::after {
    content: '';
    position: absolute; inset: -2px;
    border-radius: calc(var(--r-sm) + 2px);
    background: linear-gradient(135deg, var(--purple), var(--cyan), var(--orange), var(--purple));
    background-size: 300% 300%;
    animation: borderFlow 4s ease infinite;
    z-index: -1; opacity: 0;
    transition: opacity 0.35s ease;
}
.btn-outline:hover::after { opacity: 1; }
.btn-outline:hover { border-color: transparent !important; }

/* ── HERO: Replace mockup with live animated dashboard ───────────────────── */
.hero-dashboard {
    margin-top: 80px;
    max-width: 1000px;
    margin-left: auto; margin-right: auto;
    position: relative;
}
.hero-dashboard::before {
    content: '';
    position: absolute; bottom: -50px; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 120px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.3) 0%, transparent 70%);
    filter: blur(25px); pointer-events: none;
}
.dashboard-card {
    background: rgba(8,5,22,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    box-shadow:
        0 4px 6px rgba(0,0,0,0.3),
        0 24px 80px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.06);
}
/* Title bar */
.dash-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 20px;
    background: rgba(16,10,40,0.7);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dash-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dash-title {
    flex: 1; text-align: center;
    font-size: 0.65rem; color: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif; letter-spacing: 0.08em;
}
.dash-body { padding: 28px; }

/* Dashboard layout: 2-col grid */
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* KPI tiles */
.dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-kpi {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; padding: 16px;
    position: relative; overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.dash-kpi:hover { border-color: rgba(255,255,255,0.12); transform: translateY(-2px); }
.dash-kpi::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    border-radius: 2px 2px 0 0;
}
.dash-kpi.kpi-green::before { background: var(--green); }
.dash-kpi.kpi-orange::before { background: var(--orange); }
.dash-kpi.kpi-purple::before { background: var(--purple-mid); }
.dash-kpi.kpi-cyan::before { background: var(--cyan); }
.dash-kpi-label {
    font-size: 0.68rem; color: var(--muted2);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 8px; font-family: 'Inter', sans-serif;
}
.dash-kpi-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem; font-weight: 800; line-height: 1;
    margin-bottom: 6px;
}
.dash-kpi.kpi-green .dash-kpi-val  { color: var(--green); }
.dash-kpi.kpi-orange .dash-kpi-val { color: var(--orange); }
.dash-kpi.kpi-purple .dash-kpi-val { color: var(--purple-mid); }
.dash-kpi.kpi-cyan .dash-kpi-val   { color: var(--cyan); }
.dash-kpi-delta {
    font-size: 0.7rem; font-weight: 700;
    display: inline-flex; align-items: center; gap: 3px;
    padding: 2px 8px; border-radius: 99px;
}
.dash-kpi-delta.up   { background: rgba(52,211,153,0.1); color: var(--green); }
.dash-kpi-delta.down { background: rgba(255,106,61,0.1); color: var(--orange); }
.dash-kpi-delta.neu  { background: rgba(255,255,255,0.05); color: var(--muted); }

/* Animated bar chart */
.dash-chart-wrap {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 18px;
    display: flex; flex-direction: column; gap: 12px;
}
.dash-chart-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 4px;
}
.dash-chart-title { font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.dash-chart-legend { display: flex; gap: 12px; }
.dash-legend-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dash-legend-label { font-size: 0.62rem; color: var(--muted2); display: flex; align-items: center; gap: 5px; }

/* SVG chart */
.dash-svg-chart { width: 100%; overflow: visible; }

/* Horizontal bar rows */
.dash-bars { display: flex; flex-direction: column; gap: 10px; }
.dash-bar-row { display: flex; align-items: center; gap: 12px; }
.dash-bar-label { font-size: 0.67rem; color: var(--muted2); min-width: 56px; text-align: right; white-space: nowrap; }
.dash-bar-track {
    flex: 1; height: 8px;
    background: rgba(255,255,255,0.04);
    border-radius: 99px; overflow: hidden;
}
.dash-bar-fill {
    height: 100%; border-radius: 99px;
    transform: scaleX(0); transform-origin: left;
    animation: barGrow 1.8s var(--ease-out) forwards;
}
.dash-bar-fill.bar-green   { background: linear-gradient(90deg, rgba(52,211,153,0.6), var(--green)); }
.dash-bar-fill.bar-orange  { background: linear-gradient(90deg, rgba(255,106,61,0.6), var(--orange)); }
.dash-bar-fill.bar-purple  { background: linear-gradient(90deg, rgba(124,58,237,0.6), var(--purple-mid)); }
.dash-bar-fill.bar-cyan    { background: linear-gradient(90deg, rgba(34,211,238,0.5), var(--cyan)); }
.dash-bar-val { font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 700; min-width: 36px; }
@keyframes barGrow { to { transform: scaleX(1); } }

/* Activity feed */
.dash-feed {
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 16px;
    display: flex; flex-direction: column; gap: 12px;
}
.dash-feed-title { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.dash-feed-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.dash-feed-item:last-child { border-bottom: none; padding-bottom: 0; }
.dash-feed-icon {
    width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
}
.dash-feed-icon.ic-green  { background: rgba(52,211,153,0.12); }
.dash-feed-icon.ic-orange { background: rgba(255,106,61,0.12); }
.dash-feed-icon.ic-purple { background: rgba(124,58,237,0.12); }
.dash-feed-text { flex: 1; }
.dash-feed-main { font-size: 0.75rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.dash-feed-main strong { color: white; font-weight: 600; }
.dash-feed-time { font-size: 0.62rem; color: var(--muted2); margin-top: 2px; }

/* Pipeline mini row */
.dash-pipeline {
    grid-column: 1 / -1;
    background: rgba(255,255,255,0.015);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px; padding: 16px 20px;
    display: flex; align-items: center; gap: 0;
}
.dash-pipe-stage {
    flex: 1; text-align: center; position: relative;
}
.dash-pipe-stage::after {
    content: '→';
    position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    font-size: 0.7rem; color: rgba(255,255,255,0.2);
}
.dash-pipe-stage:last-child::after { display: none; }
.dash-pipe-count {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; font-weight: 800; display: block; margin-bottom: 2px;
}
.dash-pipe-lbl { font-size: 0.6rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.08em; }

/* Pulsing live dot on dashboard */
.dash-live {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.6rem; color: var(--green); font-weight: 700;
    letter-spacing: 0.06em;
}
.dash-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 6px var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-pipeline { flex-wrap: wrap; gap: 16px; }
    .dash-pipe-stage::after { display: none; }
}

/* ── SERVICES PAGE — Luxury redesign ─────────────────────────────────────── */
.services-page-hero {
    padding: 180px 0 80px; text-align: center; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.18) 0%, transparent 65%);
}
.services-page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 36px 36px;
}
.services-page-hero .container { position: relative; z-index: 1; }

/* Marquee trust bar */
.trust-bar {
    background: rgba(7,4,26,0.6); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 18px 0; overflow: hidden; position: relative;
}
.trust-bar::before,.trust-bar::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.trust-track {
    display: flex; gap: 60px; align-items: center;
    animation: marqueeScroll 28s linear infinite;
    width: max-content;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem; font-weight: 600; color: var(--muted2);
    white-space: nowrap; letter-spacing: 0.04em;
    transition: color 0.3s ease;
}
.trust-item:hover { color: white; }
.trust-item-icon { font-size: 1.2rem; }

/* Service showcase grid */
.services-showcase { padding: 100px 0; }
.svc-showcase-grid { display: flex; flex-direction: column; gap: 120px; margin-top: 80px; }

.svc-block {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.svc-block.svc-block--reverse { direction: rtl; }
.svc-block.svc-block--reverse > * { direction: ltr; }

/* Visual side */
.svc-visual {
    position: relative; border-radius: 24px; overflow: hidden;
    background: var(--bg3);
    border: 1px solid rgba(255,255,255,0.06);
    min-height: 380px; display: flex; flex-direction: column;
    transition: all 0.5s var(--ease-out);
}
.svc-visual:hover {
    border-color: rgba(255,106,61,0.25);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,106,61,0.08);
    transform: translateY(-6px);
}
.svc-visual-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    display: flex; align-items: center; justify-content: space-between;
}
.svc-visual-title { font-size: 0.72rem; font-weight: 700; color: var(--muted2); letter-spacing: 0.08em; text-transform: uppercase; }
.svc-visual-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; }

/* Service icon big */
.svc-icon-big {
    width: 72px; height: 72px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.svc-icon-big svg { width: 38px; height: 38px; }

/* Service metric chips inside visual */
.svc-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-metric {
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 14px 16px;
}
.svc-metric-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem; font-weight: 800; display: block; line-height: 1;
    margin-bottom: 4px;
}
.svc-metric-lbl { font-size: 0.68rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 0.06em; }

/* Progress bars in visual */
.svc-bar-list { display: flex; flex-direction: column; gap: 10px; }
.svc-bar-item { display: flex; flex-direction: column; gap: 5px; }
.svc-bar-info { display: flex; justify-content: space-between; }
.svc-bar-name { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.svc-bar-pct  { font-size: 0.72rem; font-weight: 700; }
.svc-bar-track { height: 6px; background: rgba(255,255,255,0.04); border-radius: 99px; overflow: hidden; }
.svc-bar-fill {
    height: 100%; border-radius: 99px;
    transform: scaleX(0); transform-origin: left;
    animation: barGrow 2s var(--ease-out) forwards;
}

/* Content side */
.svc-content { }
.svc-content .section-tag { margin-bottom: 16px; }
.svc-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(160deg, #ffffff 30%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-content p { color: var(--muted); font-size: 1rem; line-height: 1.85; margin-bottom: 28px; }
.svc-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.svc-feature {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.svc-feature:hover { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.2); }
.svc-feature-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.svc-feature-text { }
.svc-feature-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 2px; }
.svc-feature-sub { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

/* Client testimonial inline */
.svc-testimonial {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px; padding: 20px 22px;
    position: relative; margin-bottom: 28px;
}
.svc-testimonial::before {
    content: '"'; position: absolute; top: -8px; left: 20px;
    font-family: 'Montserrat', sans-serif; font-size: 3rem; font-weight: 900;
    color: var(--orange); line-height: 1; opacity: 0.5;
}
.svc-testimonial-text {
    font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7;
    font-style: italic; margin-bottom: 14px;
}
.svc-testimonial-author {
    display: flex; align-items: center; gap: 12px;
}
.svc-testimonial-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--orange));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 800; color: white; flex-shrink: 0;
}
.svc-testimonial-name { font-size: 0.8rem; font-weight: 700; }
.svc-testimonial-role { font-size: 0.72rem; color: var(--muted2); }

/* Client highlights row */
.client-highlights { padding: 80px 0; background: var(--bg2); overflow: hidden; }
.client-highlights-inner { margin-top: 60px; }
.client-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.client-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); padding: 32px;
    backdrop-filter: blur(12px);
    transition: all 0.4s var(--ease-out); position: relative; overflow: hidden;
}
.client-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.client-card:hover { transform: translateY(-8px); border-color: rgba(255,106,61,0.2); }
.client-card:hover::before { opacity: 1; }
.client-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.client-avatar {
    width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.client-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 3px; }
.client-type { font-size: 0.72rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.client-quote {
    font-size: 0.88rem; color: var(--muted); line-height: 1.75;
    font-style: italic; margin-bottom: 20px;
}
.client-result {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 700; color: var(--green);
    background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2);
    padding: 7px 14px; border-radius: 8px;
}

/* Services CTA strip */
.services-cta-strip {
    padding: 80px 0; text-align: center;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,58,237,0.15) 0%, transparent 70%);
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .svc-block,.svc-block.svc-block--reverse { grid-template-columns: 1fr; direction: ltr; gap: 48px; }
    .client-grid { grid-template-columns: 1fr; }
}

/* ── BLOG PAGE ───────────────────────────────────────────────────────────── */
.blog-hero {
    padding: 180px 0 80px; text-align: center; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(34,211,238,0.1) 0%, transparent 65%);
}
.blog-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.blog-hero .container { position: relative; z-index: 1; }

.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
    margin-top: 64px;
}
.blog-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: var(--r-lg); overflow: hidden;
    backdrop-filter: blur(12px); box-shadow: var(--glass-shadow);
    transition: all 0.45s var(--ease-out);
    display: flex; flex-direction: column;
    position: relative;
}
.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(34,211,238,0.25);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,211,238,0.08);
}
.blog-card-img {
    height: 200px; overflow: hidden; position: relative;
    background: var(--bg3);
}
.blog-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.08); }
.blog-card-img-placeholder {
    height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #0d0a24 0%, #07041a 100%);
}
.blog-card-category {
    position: absolute; top: 14px; left: 14px;
    background: rgba(34,211,238,0.12); border: 1px solid rgba(34,211,238,0.3);
    color: var(--cyan); font-size: 0.68rem; font-weight: 700;
    padding: 4px 11px; border-radius: 99px; letter-spacing: 0.06em;
    text-transform: uppercase; backdrop-filter: blur(8px);
}
.blog-card-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.blog-card-date { font-size: 0.72rem; color: var(--muted2); }
.blog-card-read { font-size: 0.72rem; color: var(--muted2); }
.blog-card-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted2); }
.blog-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.18rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px;
    transition: color 0.3s ease;
}
.blog-card:hover h3 { color: var(--cyan); }
.blog-card p { color: var(--muted); font-size: 0.87rem; line-height: 1.7; flex: 1; margin-bottom: 20px; }
.blog-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700; color: var(--cyan);
    transition: gap 0.3s ease;
}
.blog-card:hover .blog-card-link { gap: 10px; }

/* Featured blog post */
.blog-card--featured {
    grid-column: span 3;
    display: grid; grid-template-columns: 1.4fr 1fr;
}
.blog-card--featured .blog-card-img { height: 100%; min-height: 300px; }
.blog-card--featured .blog-card-body { padding: 40px; justify-content: center; }
.blog-card--featured h3 { font-size: 1.6rem; }

/* Pagination */
.blog-pagination {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 64px; padding-bottom: 120px;
}
.blog-page-btn {
    width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--border); background: transparent;
    color: var(--muted); font-family: 'Inter', sans-serif; font-size: 0.88rem;
    cursor: pointer; transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center;
}
.blog-page-btn:hover,.blog-page-btn.active {
    background: var(--purple); border-color: var(--purple); color: white;
}
.blog-page-btn.prev,.blog-page-btn.next { width: auto; padding: 0 16px; }

@media (max-width: 900px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
    .blog-card--featured .blog-card-img { height: 220px; }
}
@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* ── SINGLE POST — Styled reading experience ─────────────────────────────── */
.single-post-hero {
    padding: 160px 0 60px; position: relative; overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124,58,237,0.12) 0%, transparent 70%);
}
.single-post-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.single-post-hero .container { position: relative; z-index: 1; max-width: 900px; }

.post-meta-bar {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.post-cat-badge {
    background: rgba(34,211,238,0.1); border: 1px solid rgba(34,211,238,0.28);
    color: var(--cyan); font-size: 0.7rem; font-weight: 700;
    padding: 5px 14px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.08em;
    text-decoration: none; transition: all 0.3s ease;
}
.post-cat-badge:hover { background: rgba(34,211,238,0.2); }
.post-date,.post-read-time { font-size: 0.78rem; color: var(--muted2); }
.post-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted2); }

.single-post-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900; line-height: 1.08; letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(160deg, #ffffff 20%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.post-excerpt {
    font-size: 1.15rem; color: var(--muted); line-height: 1.75; max-width: 700px;
    font-weight: 300; margin-bottom: 36px;
}
.post-author-bar {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; width: fit-content;
}
.post-author-avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--purple), var(--orange));
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: white;
}
.post-author-name { font-weight: 700; font-size: 0.9rem; }
.post-author-role { font-size: 0.72rem; color: var(--muted2); margin-top: 1px; }

/* Featured image */
.single-post-featured-img {
    max-width: 900px; margin: 0 auto 0;
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
}
.single-post-featured-img::after {
    content: ''; position: absolute; inset: 0; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06); pointer-events: none;
}
.single-post-featured-img img { width: 100%; display: block; }

/* Article body */
.single-post-body { padding: 80px 0 120px; }
.single-post-body .container { max-width: 760px; }

.entry-content {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem; line-height: 1.9;
}
.entry-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem; font-weight: 800; margin: 52px 0 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, white 40%, var(--purple-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.entry-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem; font-weight: 700; margin: 40px 0 16px; color: white;
}
.entry-content p { margin-bottom: 24px; }
.entry-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(34,211,238,0.4); }
.entry-content a:hover { color: white; text-decoration-color: white; }
.entry-content strong { color: white; font-weight: 700; }
.entry-content em { color: var(--purple-light); font-style: italic; }
.entry-content ul,.entry-content ol {
    padding-left: 0; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px;
}
.entry-content ul li,.entry-content ol li {
    padding-left: 24px; position: relative; color: rgba(255,255,255,0.78); line-height: 1.75;
}
.entry-content ul li::before {
    content: '→'; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}
.entry-content ol { counter-reset: ol-counter; }
.entry-content ol li::before {
    content: counter(ol-counter) '.'; counter-increment: ol-counter;
    position: absolute; left: 0; color: var(--orange); font-weight: 700; font-family: 'Montserrat', sans-serif;
}
.entry-content blockquote {
    border-left: 3px solid var(--orange); padding: 20px 28px; margin: 36px 0;
    background: rgba(255,106,61,0.04); border-radius: 0 12px 12px 0;
    font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.7;
}
.entry-content pre,.entry-content code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.88rem;
}
.entry-content pre {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 24px; overflow-x: auto; margin: 28px 0;
    line-height: 1.6; color: var(--green);
}
.entry-content code {
    background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
    padding: 2px 7px; border-radius: 5px; color: var(--purple-light);
}
.entry-content img { border-radius: 14px; margin: 32px 0; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.entry-content hr {
    border: none; border-top: 1px solid var(--border); margin: 48px 0;
}

/* Post footer */
.single-post-footer {
    border-top: 1px solid var(--border); padding-top: 40px; margin-top: 60px;
    display: flex; flex-direction: column; gap: 32px;
}
.post-tags-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-tags-label { font-size: 0.75rem; color: var(--muted2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.post-tag-chip {
    font-size: 0.75rem; padding: 5px 14px;
    background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2);
    border-radius: 99px; color: var(--purple-light);
    text-decoration: none; transition: all 0.25s ease;
}
.post-tag-chip:hover { background: rgba(124,58,237,0.18); color: white; }
.post-share-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-share-label { font-size: 0.78rem; color: var(--muted2); font-weight: 600; }
.post-share-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 99px; font-size: 0.8rem; font-weight: 600;
    cursor: pointer; border: 1px solid; transition: all 0.3s ease; text-decoration: none;
}
.post-share-btn.twitter  { border-color: rgba(29,161,242,0.3); color: #1da1f2; background: rgba(29,161,242,0.06); }
.post-share-btn.linkedin { border-color: rgba(0,119,181,0.3); color: #0077b5; background: rgba(0,119,181,0.06); }
.post-share-btn.copy     { border-color: var(--border); color: var(--muted); background: rgba(255,255,255,0.02); }
.post-share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }

/* Related posts */
.related-posts { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.related-posts h3 {
    font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800;
    margin-bottom: 40px; text-align: center;
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* Progress bar while reading */
.reading-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999;
    background: rgba(255,255,255,0.04);
}
.reading-progress-fill {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--orange));
    transition: width 0.1s linear;
}

/* ── PORTFOLIO v2: Shareable filter links + luxury cards ─────────────────── */
.portfolio-filter-bar { position: sticky; top: 80px; z-index: 100; }
.filter-pills { gap: 10px; }
.filter-pill {
    position: relative; overflow: hidden;
    transition: all 0.3s var(--ease-out) !important;
}
.filter-pill::before {
    content: '';
    position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    opacity: 0; transition: opacity 0.3s ease;
    z-index: -1;
}
.filter-pill.active::before { opacity: 1; }
.filter-pill.active { border-color: transparent !important; }

/* Share button per-category */
.filter-share-btn {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 99px; font-size: 0.78rem; font-weight: 600;
    border: 1px solid var(--border); color: var(--muted); background: transparent;
    cursor: pointer; transition: all 0.3s ease; font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.filter-share-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(255,106,61,0.06); }
.filter-share-btn.copied { border-color: var(--green); color: var(--green); background: rgba(52,211,153,0.06); }

/* pcard luxury upgrade */
.pcard {
    cursor: pointer;
}
.pcard-result {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 700; color: var(--green);
    background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2);
    padding: 5px 13px; border-radius: 6px; margin-top: 10px;
}
.pcard-view-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px; font-size: 0.82rem; font-weight: 700;
    color: var(--orange); transition: gap 0.3s ease;
}
.pcard:hover .pcard-view-link { gap: 10px; }

/* Footer blog link */
.footer-links .blog-link a { color: var(--cyan-glow); }

/* ── NAVBAR: Add services link ───────────────────────────────────────────── */
/* (handled in PHP — CSS only ensures active state) */
