/* Header/Hero styles from index2 – for use in index.html */
@property --ring-angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes aiHeroLeadIn {
    from {
        opacity: 0;
        transform: translateY(0.65rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes aiHeroLeadUnderline {
    from {
        opacity: 0;
        transform: scaleX(0.35);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.hero-wrapper {
    background:
        linear-gradient(180deg, #080c12 0%, #0c121c 38%, #0a1018 100%);
    min-height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.07), transparent 58%),
        radial-gradient(ellipse 50% 45% at 85% 15%, rgba(100, 116, 139, 0.06), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
    pointer-events: none;
    z-index: 0;
}

.hero-top {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    /* Above .hero-clients (5), .hero-mac-stage (4), sibling .hero (5) — nav + fixed drawer stay on top */
    z-index: 200;
}
/* Index: σειρά — κείμενο/CTA → dashboard → λογότυπα · flex ώστε να μην τεντώνει το hero-top */
.hero-wrapper.hero-index-mac .hero-top,
.hero-wrapper:has(.hero-mac-stage) .hero-top {
    order: 1;
    flex: 0 0 auto;
}
.hero-wrapper.hero-index-mac .hero-mac-stage,
.hero-wrapper:has(.hero-mac-stage) .hero-mac-stage {
    order: 2;
}
.hero-wrapper.hero-index-mac .hero-clients,
.hero-wrapper:has(.hero-mac-stage) .hero-clients {
    order: 3;
}
/* Index landing: πιο παχιά μαύρη μπάρα, κείμενο κολλητά από κάτω της */
.hero-wrapper:has(.hero-mac-stage) .navbar,
.hero-wrapper.hero-index-mac .navbar {
    padding: 0.85rem 0;
    background: rgba(3, 5, 8, 0.94);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.045) inset,
        0 6px 20px rgba(0, 0, 0, 0.35);
}
.hero-wrapper:has(.hero-mac-stage) .nav-inner,
.hero-wrapper.hero-index-mac .nav-inner {
    min-height: 48px;
    align-items: center;
}
.hero-wrapper:has(.hero-mac-stage) .logo-image,
.hero-wrapper.hero-index-mac .logo-image {
    width: 32px;
    height: 32px;
}
.hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate,
.hero-wrapper.hero-index-mac .hero.hero-corporate {
    padding: clamp(4.75rem, 10.5vw, 8.75rem) 0 0;
}
/* Index: το .hero έχει flex:1 + align-items:center — «ανεβάζει» το κείμενο στη μέση και αφήνει τεράστιο κενό πριν το Mac */
.hero-wrapper:has(.hero-mac-stage) .hero,
.hero-wrapper.hero-index-mac .hero {
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    min-height: 0;
}
.hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate .hero-inner,
.hero-wrapper.hero-index-mac .hero.hero-corporate .hero-inner {
    align-items: start;
}

.hero-wrapper .hero .hero-graphic {
    position: absolute;
    top: 50%;
    left: auto;
    bottom: auto;
    right: 15%;
    transform: translateY(-50%);
    width: min(48vw, 420px);
    height: min(48vw, 420px);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.7s ease-out;
}

/* Title + circle/square graphic inline next to RoadCube */
.hero-title-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}
.hero-graphic-inline {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: clamp(48px, 8vw, 72px) !important;
    height: clamp(48px, 8vw, 72px) !important;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
}
/* Hard-lock inline hero logo graphic (prevents oversized absolute fallback from cache/override) */
.hero-wrapper .hero-title-block #heroGraphic {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: clamp(48px, 8vw, 72px) !important;
    height: clamp(48px, 8vw, 72px) !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
}
.hero-graphic-inline .hero-graphic-ring {
    filter: none;
    opacity: 1;
}
.hero-graphic-inline.hero-graphic.shape-square .hero-graphic-ring {
    filter: none;
}
/* Μικρότερες τελείες (halftone) – μόνο στο δακτύλιο, κενό στο κέντρο (donut) */
.hero-graphic-inline .hero-graphic-halftone {
    background-image: radial-gradient(circle, rgba(255,255,255,0.88) 1.2px, transparent 1.2px);
    background-size: 3px 3px;
    mix-blend-mode: normal;
    opacity: 1;
    mask-image: radial-gradient(circle, transparent 28%, black 32%);
    mask-mode: luminance;
    -webkit-mask-image: radial-gradient(circle, transparent 28%, black 32%);
    -webkit-mask-mode: luminance;
}

/* Corporate hero: compact vertical rhythm, centered (index με Mac: βλ. :has(.hero-mac-stage) πιο πάνω) */
.hero-wrapper .hero.hero-corporate {
    flex: 0 0 auto;
    text-align: center;
    padding: clamp(1.25rem, 3vw, 2rem) 0 0;
}
.hero-wrapper .hero.hero-corporate .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    text-align: center;
}
.hero-wrapper .hero.hero-corporate .hero-content {
    grid-column: 1;
    justify-self: center;
    max-width: min(640px, 92vw);
    text-align: center;
}
.hero-wrapper .hero.hero-corporate .hero-title-block {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.85rem, 2.5vw, 1.5rem);
    column-gap: clamp(0.85rem, 2.5vw, 1.5rem);
    flex-wrap: nowrap;
    margin-bottom: 0.15rem;
}
.hero-wrapper .hero.hero-corporate .hero-title-block #heroGraphic {
    margin-right: 0;
    align-self: center;
}
.hero-wrapper .hero.hero-corporate .hero-cta {
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 0;
}
.hero-wrapper.hero-index-mac .hero.hero-corporate .hero-cta,
.hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate .hero-cta {
    margin-bottom: clamp(3.5rem, 7.5vw, 5.25rem) !important;
}
.hero-wrapper .hero.hero-corporate .hero-tagline {
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
    font-weight: 400;
    margin: clamp(1.5rem, 3.2vw, 2rem) 0 1.2rem;
    font-size: clamp(1.2rem, 2.35vw, 1.55rem);
}
.hero-wrapper .hero.hero-corporate .hero-title {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0 0 0 -0.08em;
    padding: 0;
    font-size: clamp(2.65rem, 7vw, 4.75rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.035em;
    background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    align-self: center;
}
@supports not (background-clip: text) {
    .hero-wrapper .hero.hero-corporate .hero-title {
        color: #fff;
        background: none;
    }
}
body.page-ai-marketing .hero-wrapper .navbar {
    padding: 0.85rem 0;
    background: rgba(3, 5, 8, 0.94);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.045) inset,
        0 6px 20px rgba(0, 0, 0, 0.35);
}
body.page-ai-marketing .hero-wrapper .nav-inner {
    min-height: 48px;
    align-items: center;
}
body.page-ai-marketing .hero-wrapper .logo-image {
    width: 32px;
    height: 32px;
}
body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(0.85rem, 2.5vw, 1.4rem);
    white-space: normal;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
body.page-ai-marketing .hero-brand-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.85rem, 2.5vw, 1.5rem);
    flex-wrap: nowrap;
}
body.page-ai-marketing .hero.hero-corporate .hero-title-brand {
    margin: 0;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    white-space: nowrap;
}
body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead {
    position: relative;
    font-size: clamp(1.38rem, 3.9vw, 2.42rem);
    line-height: 1.28;
    letter-spacing: -0.032em;
    font-weight: 600;
    margin: 0 auto;
    max-width: min(24em, 100%);
    width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    flex: 1 1 auto;
    min-width: 0;
    text-wrap: balance;
    padding: 0 0.35rem;
    box-sizing: border-box;
    font-feature-settings: "kern" 1, "liga" 1;
    background: linear-gradient(
        118deg,
        #ffffff 0%,
        #f0f9ff 14%,
        #e8f4fc 32%,
        #f5f3ff 52%,
        #e0f2fe 68%,
        #ede9fe 84%,
        #f1f5f9 100%
    );
    background-size: 140% 140%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter:
        drop-shadow(0 1px 0 rgba(15, 23, 42, 0.35))
        drop-shadow(0 8px 28px rgba(34, 211, 238, 0.1))
        drop-shadow(0 2px 12px rgba(167, 139, 250, 0.08));
    opacity: 0;
    animation: aiHeroLeadIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}
body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead::after {
    content: "";
    display: block;
    width: min(6rem, 48%);
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 9999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(34, 211, 238, 0.5) 22%,
        rgba(167, 139, 250, 0.65) 50%,
        rgba(34, 211, 238, 0.45) 78%,
        transparent 100%
    );
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
    opacity: 0;
    transform-origin: center;
    animation: aiHeroLeadUnderline 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}
@media (prefers-reduced-motion: reduce) {
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead {
        animation: none;
        opacity: 1;
    }
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead::after {
        animation: none;
        opacity: 0.92;
        transform: scaleX(1);
    }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead {
        color: rgba(248, 250, 252, 0.97);
        background: none;
        filter: none;
        opacity: 1;
        animation: none;
    }
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead::after {
        opacity: 0.9;
        animation: none;
        transform: scaleX(1);
    }
}
.hero-wrapper .hero.hero-corporate .hero-cta .btn-primary {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.hero-wrapper .hero.hero-corporate .hero-cta .btn-primary:hover {
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.hero-wrapper .hero.hero-corporate .hero-cta .btn-hero-login {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #f1f5f9;
}
.hero-wrapper .hero.hero-corporate .hero-cta .btn-hero-login:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(203, 213, 225, 0.55);
    color: #fff;
}
.hero-wrapper .hero .hero-graphic.shape-rhombus {
    transform: translateY(-50%) scale(1.2);
}
.hero-graphic-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #3b82f6,
        #34d399,
        #06b6d4
    );
    animation: ringRotate 2.5s linear infinite;
    filter: blur(12px);
    opacity: 0.95;
    transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-graphic-ring::after {
    content: '';
    position: absolute;
    inset: 26%;
    border-radius: 50%;
    background: #0a0a0a;
    transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-graphic.shape-square .hero-graphic-ring {
    border-radius: 14px;
    background: conic-gradient(
        from var(--ring-angle),
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #3b82f6,
        #34d399,
        #06b6d4
    );
    animation: ringAngleTravel 2.5s linear infinite;
}
@keyframes ringAngleTravel {
    to { --ring-angle: 360deg; }
}
.hero-graphic.shape-square .hero-graphic-ring::after {
    border-radius: 14px;
}
.hero-graphic.shape-rhombus .hero-graphic-ring {
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: conic-gradient(
        from var(--ring-angle),
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #3b82f6,
        #34d399,
        #06b6d4
    );
    animation: ringAngleTravel 2.5s linear infinite;
    filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(10,10,10,0.4);
}
.hero-graphic.shape-rhombus .hero-graphic-ring::after {
    inset: 32%;
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
.hero-graphic-halftone {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.5) 2px, transparent 2px);
    background-size: 10px 10px;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
    transition: border-radius 0.8s cubic-bezier(0.4, 0, 0.2, 1), clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-graphic.shape-square .hero-graphic-halftone {
    border-radius: 14px;
}
.hero-graphic.shape-rhombus .hero-graphic-halftone {
    border-radius: 0;
    clip-path: polygon(50% 2%, 98% 50%, 50% 98%, 2% 50%);
    opacity: 0.85;
}
@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.hero-wrapper .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.55rem 0;
    background: rgba(6, 10, 16, 0.78);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 6px 24px rgba(0, 0, 0, 0.2);
}
/* Remove green outline from styles.css navbar ::before/::after */
.hero-wrapper .navbar::before,
.hero-wrapper .navbar::after {
    display: none !important;
}

/* Language selector in header – match nav dark style, rounded corners */
.hero-wrapper .language-selector-btn {
    color: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
    border-radius: 9999px;
}
.hero-wrapper .language-selector-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
}
.hero-wrapper .language-dropdown {
    background: rgba(14, 20, 34, 0.98);
    border-color: rgba(255,255,255,0.12);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.hero-wrapper .language-option {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.1);
}
.hero-wrapper .language-option:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.hero-wrapper .nav-inner {
    display: grid;
    grid-template-columns: minmax(48px, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
}
.hero-wrapper .nav-inner .logo {
    justify-self: start;
    flex-shrink: 0;
    min-width: 48px;
}
.hero-wrapper .nav-inner .nav-center { justify-self: start; display: flex; align-items: center; justify-content: flex-start; position: relative; margin-left: 1.5rem; min-width: 0; }
.hero-wrapper .nav-inner .nav-links { justify-self: start; }
.hero-wrapper .nav-inner .nav-right { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }
.hero-wrapper .nav-inner .nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-close { display: none; }
.nav-menu-cta { display: none; }
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    transition: background 0.2s, border-color 0.2s;
}
.nav-burger:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}
.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-burger.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
@media (max-width: 1024px) {
    .hero-wrapper .navbar { padding: 0.45rem 0; }
    .hero-wrapper:has(.hero-mac-stage) .navbar,
    .hero-wrapper.hero-index-mac .navbar {
        padding: 0.7rem 0;
    }
    .hero-wrapper .nav-inner {
        position: relative;
        grid-template-columns: 1fr auto;
        justify-items: stretch;
        align-items: center;
        min-height: 44px;
    }
    .hero-wrapper:has(.hero-mac-stage) .nav-inner,
    .hero-wrapper.hero-index-mac .nav-inner {
        min-height: 46px;
    }
    .hero-wrapper .nav-inner .logo {
        align-self: center;
        display: flex;
        align-items: center;
        height: 44px;
        min-width: 40px;
        flex-shrink: 0;
    }
    .hero-wrapper:has(.hero-mac-stage) .nav-inner .logo,
    .hero-wrapper.hero-index-mac .nav-inner .logo {
        height: 44px;
    }
    .hero-wrapper .nav-inner .nav-right {
        justify-self: end;
        align-self: center;
        display: flex;
        align-items: center;
    }
    /* Keep .nav-center out of the 2-column grid so .logo and .nav-right stay on one row */
    .hero-wrapper .nav-inner .nav-center {
        position: absolute;
        inset: 0;
        margin-left: 0;
        width: auto;
        min-width: 0;
        padding: 0;
        overflow: visible;
        visibility: hidden;
        pointer-events: none;
        z-index: 1;
        justify-content: flex-start;
    }
    .hero-wrapper .navbar.nav-open .nav-inner .nav-center {
        pointer-events: auto;
        visibility: visible;
    }
    .hero-wrapper .nav-right .nav-cta { display: none; }
    .nav-menu-cta {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1.25rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    .nav-menu-cta .nav-login,
    .nav-menu-cta .nav-signup {
        display: block;
        text-align: center;
        padding: 0.65rem 1rem;
        border-radius: 9999px;
        font-size: 0.9375rem;
        text-decoration: none;
        font-weight: 600;
    }
    .nav-menu-cta .nav-login {
        color: rgba(255,255,255,0.95);
        background: rgba(80, 86, 100, 0.5);
        border: 1px solid rgba(148, 163, 184, 0.4);
    }
    .nav-menu-cta .nav-signup {
        background: #fff;
        color: #1a1a2e;
        border: none;
    }
    /* .hero-wrapper .nav-links a sets white — beats .nav-menu-cta .nav-signup (white-on-white) */
    .hero-wrapper .nav-links .nav-menu-cta .nav-signup {
        color: #0f172a;
    }
    .hero-wrapper .nav-links .nav-menu-cta .nav-signup:hover {
        color: #020617;
        background: #f1f5f9;
    }
    .nav-burger {
        display: flex !important;
        visibility: visible;
        opacity: 1;
        border-radius: 50%;
    }
    /* Match burger circle height to language pill (same row) */
    .hero-wrapper .language-selector-btn {
        box-sizing: border-box;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        min-height: 40px;
        padding: 0 0.7rem;
    }
    .hero-wrapper .nav-burger {
        box-sizing: border-box;
        width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0.45rem;
        gap: 4px;
    }
    .hero-wrapper .nav-inner {
        align-items: center;
    }
    .hero-wrapper .nav-inner .logo,
    .hero-wrapper .nav-inner .nav-right {
        align-self: center;
    }
    /* backdrop-filter makes fixed descendants use the navbar as containing block (short strip);
       drawer background + links misalign — looks like menu is "cut off". */
    .hero-wrapper .navbar.nav-open {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        filter: none;
    }
    /* Avoid clipping fixed drawer inside hero stacking contexts */
    .hero-wrapper:has(.navbar.nav-open),
    .hero-wrapper:has(.navbar.nav-open) .hero-top {
        overflow: visible;
    }
    /* Bottom sticky CTA can cover the last menu buttons on mobile */
    body:has(.hero-wrapper .navbar.nav-open) .mobile-sticky-cta,
    body.nav-menu-open .mobile-sticky-cta {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    /* Only body — overflow:hidden on html can block inner scrolling of fixed drawers on iOS */
    body.nav-menu-open {
        overflow: hidden;
        touch-action: none;
    }
    .hero-wrapper .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(320px, 85vw);
        box-sizing: border-box;
        max-height: none;
        padding: max(4.5rem, calc(1.25rem + env(safe-area-inset-top, 0px))) 1rem
            max(8.5rem, calc(5.75rem + env(safe-area-inset-bottom, 0px))) 24px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: rgba(12, 18, 30, 0.98);
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        z-index: 10000;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        scroll-padding-bottom: 3rem;
        touch-action: pan-y;
    }
    /* Extra scroll extent so “Εγγραφή” clears iOS home indicator / toolbars without feeling clipped */
    .hero-wrapper .navbar.nav-open .nav-links::after {
        content: '';
        display: block;
        flex-shrink: 0;
        height: 48px;
        width: 100%;
        pointer-events: none;
    }
    .hero-wrapper .navbar.nav-open .nav-links {
        display: flex !important;
        visibility: visible !important;
    }
    .nav-close {
        display: flex;
        position: absolute;
        top: max(1rem, env(safe-area-inset-top, 0px));
        right: max(1rem, env(safe-area-inset-right, 0px));
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 8px;
        color: #fff;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s, border-color 0.2s;
    }
    .nav-close:hover {
        background: rgba(255,255,255,0.15);
        border-color: rgba(255,255,255,0.4);
    }
    .hero-wrapper .nav-menu-cta {
        flex-shrink: 0;
    }
    .hero-wrapper .nav-links a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    .hero-wrapper .nav-links a:hover {
        background: rgba(255,255,255,0.08);
    }
}
@media (max-width: 480px) {
    .hero-wrapper .navbar { padding: 0.4rem 0; }
    .hero-wrapper .logo .logo-image { width: 28px; height: 28px; min-width: 28px; min-height: 28px; }
    .hero-wrapper .nav-cta a { padding: 0.5rem 0.875rem; font-size: 0.875rem; min-height: 44px; }
    .hero-wrapper .nav-inner { padding-left: 12px; padding-right: 12px; }
    .language-selector-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 0.5rem;
    }
    .nav-burger {
        min-width: 44px;
        min-height: 44px;
        padding: 0.5rem;
    }
    .hero-wrapper .language-selector-btn {
        height: 44px;
        min-height: 44px;
        padding: 0 0.55rem;
    }
    .hero-wrapper .nav-burger {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0.5rem;
        gap: 5px;
    }
    .hero-wrapper .hero { padding: 1.5rem 0 2.5rem; }
    .hero-wrapper .hero.hero-corporate { padding: 1.1rem 0 0; }
    .hero-wrapper .hero-title, .hero-wrapper .hero h1 {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
    .hero-wrapper .hero-tagline {
        font-size: 0.9375rem;
        padding: 0 0.5rem;
    }
}
.hero-wrapper .logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #fff;
    font-weight: 200;
    font-size: 0.75rem;
    flex-shrink: 0;
    min-width: 40px;
}
.hero-wrapper .logo .logo-image {
    display: block;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    object-fit: contain;
}
.hero-wrapper .nav-links {
    align-items: center;
    gap: clamp(0.5rem, 1.5vw, 1.5rem);
    flex-wrap: wrap;
    min-width: 0;
}
@media (min-width: 1025px) {
    .hero-wrapper .nav-links { display: flex; }
}
.hero-wrapper .nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: normal;
}
.hero-wrapper .nav-links a:hover { color: #fff; }
.hero-wrapper .nav-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-wrapper .nav-cta a {
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}
.hero-wrapper .nav-login {
    color: rgba(255,255,255,0.95);
    background: rgba(80, 86, 100, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.4);
}
.hero-wrapper .nav-login:hover { background: rgba(100, 116, 139, 0.6); }
.hero-wrapper .nav-signup {
    background: #fff;
    color: #1a1a2e;
}
.hero-wrapper .nav-signup:hover { background: rgba(255,255,255,0.95); }

.hero-wrapper .hero {
    position: relative;
    z-index: 5;
    text-align: left;
    padding: 3rem 0 5rem;
    flex: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-wrapper .hero-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: start;
    width: 100%;
    position: relative;
    z-index: 2;
}
.hero-wrapper .hero-content {
    grid-column: 1;
    justify-self: start;
    max-width: min(520px, 48vw);
    text-align: left;
}
@media (max-width: 900px) {
    .hero-wrapper .hero-inner { grid-template-columns: 1fr; }
    .hero-wrapper .hero-content { max-width: 100%; }
}
@media (max-width: 768px) {
    .hero-wrapper .hero { padding: 2rem 0 3rem; flex-direction: column; align-items: stretch; }
    .hero-wrapper:has(.hero-mac-stage) .hero,
    .hero-wrapper.hero-index-mac .hero {
        padding: 0.3rem 0 0;
        flex: 0 0 auto;
        align-items: flex-start;
    }
    .hero-wrapper .hero.hero-corporate {
        padding: 1.25rem 0 0;
    }
    .hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate,
    .hero-wrapper.hero-index-mac .hero.hero-corporate {
        padding: clamp(3rem, 8vw, 5.75rem) 0 0;
    }
    .hero-wrapper .hero-content {
        justify-self: center;
        text-align: center;
    }
    .hero-wrapper .hero-title-block {
        justify-content: center;
        align-items: center;
    }
    .hero-wrapper .hero-cta {
        justify-content: center;
    }
    .hero-wrapper .hero .hero-graphic {
        width: min(42vw, 200px);
        height: min(42vw, 200px);
        right: 8%;
        opacity: 0.85;
    }
    .hero-wrapper .hero-title { font-size: clamp(2rem, 8vw, 3rem); white-space: normal; }
    .hero-wrapper .hero.hero-corporate .hero-title {
        font-size: clamp(2.35rem, 8.5vw, 3.5rem);
        white-space: normal;
    }
    .hero-wrapper .hero-tagline { font-size: clamp(1rem, 3.5vw, 1.2rem); margin: 1rem 0 1.5rem; }
    .hero-wrapper .hero.hero-corporate .hero-tagline {
        font-size: clamp(1.08rem, 3.6vw, 1.35rem);
        margin: clamp(1.25rem, 3.5vw, 1.65rem) 0 1rem;
    }
    .hero-wrapper .hero-cta { gap: 0.75rem; }
    .hero-wrapper .hero-cta .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
    .hero-wrapper.hero-index-mac .hero.hero-corporate .hero-cta,
    .hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate .hero-cta {
        margin-bottom: clamp(2.5rem, 6vw, 3.5rem) !important;
    }
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead {
        font-size: clamp(1.15rem, 5vw, 1.85rem);
    }
}
@media (max-width: 600px) {
    .hero-wrapper .hero-tagline { white-space: normal; }
    .hero-wrapper .hero-cta { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .hero-wrapper .hero { padding: 1.5rem 0 2.5rem; }
    .hero-wrapper:has(.hero-mac-stage) .hero,
    .hero-wrapper.hero-index-mac .hero {
        padding: 0.25rem 0 0;
        flex: 0 0 auto;
        align-items: flex-start;
    }
    .hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate,
    .hero-wrapper.hero-index-mac .hero.hero-corporate {
        padding: clamp(2.75rem, 7vw, 5.25rem) 0 0;
    }
    .hero-wrapper:has(.hero-mac-stage) .navbar,
    .hero-wrapper.hero-index-mac .navbar {
        padding: 0.65rem 0;
    }
    .hero-wrapper .hero .hero-graphic {
        width: min(38vw, 160px);
        height: min(38vw, 160px);
        right: 5%;
    }
    .hero-wrapper .hero-eyebrow { font-size: 1.25rem; }
    .hero-wrapper .hero-title { font-size: clamp(1.75rem, 9vw, 2.5rem); }
    .hero-wrapper .hero.hero-corporate .hero-title {
        font-size: clamp(2rem, 9.5vw, 3rem);
    }
    .hero-wrapper .hero.hero-corporate .hero-tagline {
        font-size: clamp(1.05rem, 4.2vw, 1.28rem);
        margin: clamp(1.15rem, 3.8vw, 1.5rem) 0 0.95rem;
    }
    .hero-wrapper .hero-cta { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
    .hero-wrapper .hero-cta .btn { width: auto; max-width: 280px; justify-content: center; }
    .hero-wrapper.hero-index-mac .hero.hero-corporate .hero-cta,
    .hero-wrapper:has(.hero-mac-stage) .hero.hero-corporate .hero-cta {
        margin-bottom: clamp(2.25rem, 5.5vw, 3rem) !important;
    }
    body.page-ai-marketing .hero.hero-corporate .hero-title-block--ai-marketing .hero-title-lead {
        font-size: clamp(1.05rem, 4.8vw, 1.65rem);
    }
}
.hero-wrapper .hero-eyebrow {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    color: rgba(255,255,255,0.95);
}
.hero-wrapper .hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.9;
    color: #fff;
    white-space: nowrap;
}
.hero-wrapper .hero-tagline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    margin: 1.5rem 0 2rem;
    line-height: 1.5;
    white-space: normal;
    max-width: 100%;
}
.hero-wrapper .hero-cta { display: flex; gap: 1rem; flex-wrap: nowrap; justify-content: flex-start; align-items: center; text-align: left; }
.hero-wrapper .hero-cta-single .btn { white-space: nowrap; }
.hero-wrapper .hero-cta .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: none;
}
.hero-wrapper .hero-cta-single .btn {
    padding: 0.6rem 1.35rem;
    font-size: 0.9375rem;
}
.hero-wrapper .hero-cta .btn-primary { background: rgba(255,255,255,0.95); color: #1a1a2e; box-shadow: none; }
.hero-wrapper .hero-cta .btn-primary:hover { background: #fff; box-shadow: none; }
.hero-wrapper .hero-cta .btn-hero-login {
    background: rgba(80, 86, 100, 0.5);
    color: rgba(255,255,255,0.95);
    border: 1px solid rgba(148, 163, 184, 0.4);
}
.hero-wrapper .hero-cta .btn-hero-login:hover {
    background: rgba(100, 116, 139, 0.6);
    color: #fff;
    border-color: rgba(148, 163, 184, 0.5);
}
.hero-wrapper .hero-cta .btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.hero-wrapper .hero-cta .btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* Mac-style dashboard window (dark / minimal): clipped above client logos strip */
.hero-mac-stage {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    max-height: clamp(480px, 62vw, 780px);
    padding: 0 1rem 0;
    margin: 0 auto 0;
    pointer-events: none;
    /* Transparent so .hero-wrapper::before (full-bleed grid + glow) shows through — a second ::before
       recomputed radials for this shorter box caused a visible horizontal “seam” vs the hero */
    background: transparent;
}
.hero-mac-container {
    position: relative;
    max-width: min(920px, 94vw);
    margin: 0 auto;
    z-index: 1;
}
/* Soft glow behind the Mac window (brand-tinted) */
.hero-mac-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    width: min(118%, 980px);
    height: min(85%, 520px);
    border-radius: 50%;
    background: radial-gradient(
        ellipse 50% 45% at 50% 45%,
        rgba(56, 189, 248, 0.22) 0%,
        rgba(139, 92, 246, 0.14) 38%,
        rgba(14, 165, 233, 0.06) 55%,
        transparent 72%
    );
    filter: blur(48px);
    z-index: 0;
    pointer-events: none;
}
/* Glow bleaches the page grid behind the stage — keep hero + dashboard one surface */
.hero-wrapper:has(.hero-mac-stage) .hero-mac-container::before {
    display: none;
}
.hero-mac-window {
    position: relative;
    z-index: 1;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: left;
    border-radius: 10px 10px 0 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(56, 189, 248, 0.12),
        0 0 100px rgba(139, 92, 246, 0.08),
        0 0 140px rgba(14, 165, 233, 0.05);
    background: #0c0d10;
    overflow: hidden;
}
.hero-mac-titlebar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 38px;
    padding: 0 0.75rem 0 0.65rem;
    background: linear-gradient(180deg, #1a1b22 0%, #12131a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-mac-dots {
    display: inline-flex;
    gap: 6px;
    flex-shrink: 0;
}
.hero-mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: 0.85;
}
.hero-mac-dot-close { background: #5c5c5c; }
.hero-mac-dot-min { background: #6b6b6b; }
.hero-mac-dot-max { background: #7a7a7a; }
.hero-mac-titlebar-title {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.75);
    letter-spacing: 0.02em;
    margin-right: 52px;
}
.hero-mac-body {
    padding: 0.75rem 0.85rem 1.35rem;
    background: linear-gradient(180deg, #0f1117 0%, #0a0b0e 100%);
}
.hero-mac-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}
.hero-mac-kpi {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.065);
    box-shadow: none;
}
.hero-mac-kpi-label {
    display: block;
    font-size: 0.55rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-mac-kpi-val {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.95);
    line-height: 1.15;
    margin-top: 0.1rem;
}
.hero-mac-kpi-delta {
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.95);
}
.hero-mac-kpi-delta-up {
    color: rgba(148, 163, 184, 0.95);
}
.hero-mac-kpi-delta-down {
    color: rgba(248, 113, 113, 0.85);
}
.hero-mac-charts-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hero-mac-charts {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.85fr;
    gap: 0.5rem;
    align-items: stretch;
}
.hero-mac-charts--row3 {
    grid-template-columns: 1fr 1fr;
}
.hero-mac-chart {
    background: rgba(255, 255, 255, 0.025);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 0.5rem 0.5rem;
    box-shadow: none;
    min-height: 0;
}
.hero-mac-chart-h {
    display: block;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.9);
    margin-bottom: 0.35rem;
}
.hero-mac-svg-line {
    display: block;
    width: 100%;
    height: 64px;
    opacity: 0.95;
}
.hero-mac-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.25rem;
    height: 64px;
    padding-bottom: 1rem;
    position: relative;
}
.hero-mac-bar {
    flex: 1;
    min-width: 0;
    height: var(--h);
    border-radius: 3px 3px 2px 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-mac-bar:nth-child(2) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
}
.hero-mac-bar:nth-child(3) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.035) 100%);
}
.hero-mac-bar:nth-child(4) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}
.hero-mac-bar-lbl {
    position: absolute;
    left: 50%;
    bottom: -0.95rem;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.75);
    white-space: nowrap;
}
.hero-mac-donut-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-mac-donut-ring {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: conic-gradient(
        rgba(255, 255, 255, 0.22) 0 40%,
        rgba(255, 255, 255, 0.12) 40% 72%,
        rgba(255, 255, 255, 0.06) 72% 100%
    );
    -webkit-mask: radial-gradient(farthest-side, transparent 56%, #000 56.5%, #000 100%);
    mask: radial-gradient(farthest-side, transparent 56%, #000 56.5%, #000 100%);
}
.hero-mac-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.5rem;
    color: rgba(148, 163, 184, 0.85);
    line-height: 1.35;
}
.hero-mac-legend li {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.hero-mac-legend .lg {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    flex-shrink: 0;
}
.hero-mac-legend .lg.c1 { background: rgba(255, 255, 255, 0.35); }
.hero-mac-legend .lg.c2 { background: rgba(255, 255, 255, 0.2); }
.hero-mac-legend .lg.c3 { background: rgba(255, 255, 255, 0.1); }
.hero-mac-hbars {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.15rem 0 0.1rem;
}
.hero-mac-hbar-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.52rem;
}
.hero-mac-hbar-label {
    width: 3.2rem;
    flex-shrink: 0;
    color: rgba(148, 163, 184, 0.9);
    font-weight: 600;
}
.hero-mac-hbar-track {
    flex: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}
.hero-mac-hbar-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    border-radius: 4px;
}
.hero-mac-funnel {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    padding: 0.2rem 0 0.15rem;
}
.hero-mac-funnel-step {
    height: 15px;
    width: var(--w);
    max-width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.35rem;
    font-size: 0.48rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.88);
}
.hero-mac-funnel-pct {
    font-size: 0.42rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.85);
}
.hero-mac-week-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.22rem;
    height: 72px;
    padding: 0.2rem 0 0;
}
.hero-mac-wcol {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    font-size: 0.45rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.88);
}
.hero-mac-wbar-wrap {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: flex-end;
}
.hero-mac-wbar {
    width: 100%;
    height: var(--h);
    min-height: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    border-radius: 2px 2px 1px 1px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-mac-areas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.15rem 0 0.35rem;
}
.hero-mac-area-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.52rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.92);
}
.hero-mac-area-row span:first-child {
    width: 3.5rem;
    flex-shrink: 0;
}
.hero-mac-area-track {
    flex: 1;
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}
.hero-mac-area-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.07));
    border-radius: 4px;
}
.hero-mac-spark-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0.1rem;
}
.hero-mac-spark {
    flex: 1;
    height: 22px;
    min-width: 0;
}
@media (max-width: 768px) {
    .hero-mac-stage {
        max-height: clamp(420px, 95vw, 620px);
        padding: 0 0.65rem 0;
        margin-top: 0;
    }
    .hero-mac-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-mac-charts,
    .hero-mac-charts--row3 {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    .hero-mac-chart-line .hero-mac-svg-line {
        height: 52px;
    }
    .hero-mac-titlebar-title {
        font-size: 0.62rem;
        margin-right: 40px;
    }
    .hero-mac-body {
        padding: 0.5rem 0.55rem 1.1rem;
    }
}
@media (max-width: 480px) {
    .hero-mac-stage {
        max-height: clamp(380px, 120vw, 540px);
        margin-top: 0;
    }
    .hero-mac-kpi-val {
        font-size: 0.75rem;
    }
}

.hero-wrapper .hero-clients {
    position: relative;
    z-index: 5;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    padding: 2rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: stretch;
    box-sizing: border-box;
    overflow: hidden;
    /* Ίδιο flat φόντο με το επόμενο section (.features) — χωρίς μπλε/navy λωρίδα στο κάτω */
    background: var(--bg-darker, #050508);
}
.hero-wrapper .hero-clients-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin: 0 auto 2rem;
    max-width: min(100%, 22rem);
    padding: 0 1.25rem;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.35;
}
.hero-wrapper .hero-clients-logos {
    overflow: hidden;
    padding: 1rem 0;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.hero-wrapper .hero-clients-logos-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: max-content;
    animation: hero-logos-marquee 40s linear infinite;
}
.hero-wrapper .hero-clients-logos-track:hover {
    animation-play-state: paused;
}
.hero-wrapper .hero-clients-logos-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
    align-items: center;
    gap: 2.5rem;
    padding: 0 2rem;
}
.hero-wrapper .hero-clients-logos-row .hero-client-logo {
    display: flex !important;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}
.hero-wrapper .hero-client-logo {
    height: 56px;
    opacity: 1;
    transition: transform 0.3s ease;
}
.hero-wrapper .hero-clients-logos .hero-client-logo:hover {
    transform: scale(1.1);
}
.hero-wrapper .hero-clients .client-logo-img {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: invert(1) brightness(2) contrast(1.5);
    opacity: 1;
    transition: filter 0.3s ease;
}
.hero-wrapper .hero-clients .client-logo-img:hover {
    filter: invert(1) brightness(2.2) contrast(1.7);
}
@media (max-width: 768px) {
    .hero-wrapper .hero-clients { padding: 2rem 0; }
    .hero-wrapper .hero-clients-title { font-size: 1rem; margin-bottom: 1rem; }
    .hero-wrapper .hero-clients-logos-row { gap: 1.5rem; padding: 0 1rem; }
    .hero-wrapper .hero-client-logo { height: 44px; }
    .hero-wrapper .hero-clients .client-logo-img { max-height: 44px; max-width: 130px; }
}
@media (max-width: 480px) {
    .hero-wrapper .hero-clients .client-logo-img { max-height: 36px; max-width: 100px; }
}
@keyframes hero-logos-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
