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

.hero-wrapper {
    background: #0a0a0a;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-top {
    position: relative;
    overflow: hidden;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.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;
}
.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,
        #00ff88,
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #10b981,
        #3b82f6,
        #34d399,
        #00ff88
    );
    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),
        #00ff88,
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #10b981,
        #3b82f6,
        #34d399,
        #00ff88
    );
    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),
        #00ff88,
        #06b6d4,
        #8b5cf6,
        #ec4899,
        #f59e0b,
        #10b981,
        #3b82f6,
        #34d399,
        #00ff88
    );
    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: 1.25rem 0;
    background: #0a0a0a;
}
/* 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: #0a0a0a;
    border-color: rgba(255,255,255,0.15);
    border-radius: 12px;
}
.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: auto auto 1fr;
    align-items: center;
    gap: 1.5rem;
}
.hero-wrapper .nav-inner .logo { justify-self: start; }
.hero-wrapper .nav-inner .nav-center { justify-self: start; display: flex; align-items: center; justify-content: flex-start; position: relative; margin-left: 3rem; }
.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.5rem 0; }
    .hero-wrapper .nav-inner {
        grid-template-columns: 1fr auto;
        justify-items: stretch;
        align-items: center;
        min-height: 44px;
    }
    .hero-wrapper .nav-inner .logo {
        align-self: center;
        display: flex;
        align-items: center;
        height: 44px;
    }
    .hero-wrapper .nav-inner .nav-right {
        justify-self: end;
        align-self: center;
        display: flex;
        align-items: center;
    }
    .hero-wrapper .nav-inner .nav-center { width: 0; overflow: hidden; visibility: hidden; padding: 0; min-width: 0; }
    .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: #fff;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.4);
    }
    .nav-menu-cta .nav-signup {
        background: #fff;
        color: #1a1a2e;
        border: none;
    }
    .nav-burger {
        display: flex !important;
        visibility: visible;
        opacity: 1;
    }
    .hero-wrapper .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: min(320px, 85vw);
        padding: 4.5rem 1rem 1.5rem 24px;
        flex-direction: column;
        background: #0a0a0a;
        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: 9999;
        max-height: calc(100vh - 5rem);
        overflow-y: auto;
    }
    .hero-wrapper .navbar.nav-open .nav-links {
        display: flex !important;
        visibility: visible !important;
    }
    .nav-close {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        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-links {
        flex-direction: column;
        align-items: stretch;
    }
    .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.75rem 0; }
    .hero-wrapper .logo .logo-image { width: 32px; height: 32px; }
    .hero-wrapper .nav-cta a { padding: 0.35rem 0.75rem; font-size: 0.8125rem; }
}
.hero-wrapper .logo {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: #fff;
    font-weight: 200;
    font-size: 0.75rem;
}
.hero-wrapper .logo .logo-image {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.hero-wrapper .nav-links {
    align-items: center;
    gap: clamp(1rem, 1.5vw, 2rem);
    flex-wrap: nowrap;
}
@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: nowrap;
}
.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: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.4);
}
.hero-wrapper .nav-login:hover { background: rgba(255,255,255,0.2); }
.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%;
}
.hero-wrapper .hero-content {
    grid-column: 1;
    justify-self: start;
    max-width: 58%;
    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; }
    .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-tagline { font-size: clamp(1rem, 3.5vw, 1.2rem); margin: 1rem 0 1.5rem; }
    .hero-wrapper .hero-cta { gap: 0.75rem; }
    .hero-wrapper .hero-cta .btn { padding: 0.5rem 1rem; font-size: 0.875rem; }
}
@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 .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-cta { flex-direction: column; align-items: flex-start; }
    .hero-wrapper .hero-cta .btn { width: 100%; justify-content: center; }
}
.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: nowrap;
}
.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.85rem 2rem;
    font-size: 1.125rem;
}
.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-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; }

.hero-wrapper .hero-clients {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    width: 100%;
    overflow: hidden;
    background: #0a0a0a;
}
.hero-wrapper .hero-clients-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}
.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); }
}
