/* Clean responsive styles for EUBIQ microsite */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --accent: #EA4630;
    --accent-dark: #c73a26;
    --dark: #0f1720;
    --muted: #6b7280;
    --bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.82);
    --max-width: 1100px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    font-family: Inter, system-ui, Arial, sans-serif;
    margin: 0;
    color: var(--dark);
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

/* header */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 40
}

.site-header .inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo {
    font-weight: 700;
    letter-spacing: 1px
}

.nav a {
    margin-left: 18px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500
}

/* hero/banner */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

.hero-banner-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-banner-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    /* removed blur and scale so background appears crisp */
    filter: none;
    transform: none;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.28));
    z-index: 1
}

.hero-inner {
    position: relative;
    z-index: 999;
    max-width: 100%;
    width: 100%;
    min-height: 500px;
    margin: 0 auto;
    padding: 84px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-content {
    width: 100%;
    text-align: center;
}

/* Make sure hero content is interactive and text is selectable */
.hero-inner,
.hero-content,
.hero-card,
.hero-card h2,
.hero-card p,
.cta {
    pointer-events: auto;
}

.hero-card h2,
.hero-card p {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.cta {
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}


.hero-card h2 {
    margin: 0 0 10px;
    font-size: 3.2rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.02;
    text-shadow: none;
}

.hero-card p {
    margin: 0 0 16px;
    color: #ffffff;
    text-shadow: none;
}

.hero-visual {
    width: 100%;
    max-width: 820px
}

.rail-svg {
    width: 100%;
    height: 140px;
    display: block
}

.rail {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.06))
}

.socket-group {
    transform-origin: 40px 80px;
    --dist: 520px
}

.socket {
    transition: transform .3s ease
}

.cta {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(234, 70, 48, 0.12);
    border: 1px solid rgba(234, 70, 48, 0.06);
    transition: transform .18s ease, box-shadow .18s ease
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(234, 70, 48, 0.18)
}

/* content sections centered */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box
}

.section h3 {
    font-size: 1.25rem;
    margin-bottom: 12px
}

.section p {
    color: var(--muted);
    margin: 0 0 12px
}

.section ul {
    margin: 0 0 12px;
    padding-left: 20px;
    color: var(--muted)
}

.dark {
    background: #f9fafb
}

.cta-section {
    text-align: center
}

.site-footer {
    border-top: 1px solid #eee;
    padding: 18px 0;
    color: var(--muted);
    font-size: 0.9rem
}

/* animations */
@keyframes slideSocket {
    0% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(var(--dist))
    }

    100% {
        transform: translateX(0)
    }
}

.socket-group.animated {
    animation: slideSocket 6s ease-in-out infinite
}

@keyframes floaty {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-6px)
    }

    100% {
        transform: translateY(0)
    }
}

.socket-group .socket {
    animation: floaty 4s ease-in-out infinite
}

/* responsive */
@media(min-width:720px) {
    .hero-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 72px 20px
    }

    .hero-card {
        max-width: none;
        width: 100%;
    }
}

@media(max-width:520px) {
    .hero-inner {
        padding: 36px 16px
    }

    .hero-card {
        padding: 16px;
        border-radius: 10px;
        text-align: center;
    }

    .hero-card h2 {
        font-size: 1.8rem
    }

    .rail-svg {
        height: 120px
    }
}