/* Biznes360 home — Beboss-inspired structure, modern */
.home-hubs {
    padding: 3.5rem 0 1rem;
    background: var(--bg);
}
.hubs-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
}
@media (max-width: 1100px) { .hubs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hubs-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; } }

.hub {
    display: flex; flex-direction: column;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none; color: var(--text);
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 1px 0 rgba(20,20,18,0.03);
    transition:
        transform 0.45s var(--ease),
        border-color 0.3s ease,
        box-shadow 0.45s var(--ease);
}
.hub:hover,
.hub:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(206,254,36,0.55);
    box-shadow:
        0 18px 44px rgba(20,20,18,0.12),
        0 0 0 1px rgba(206,254,36,0.2);
    outline: none;
}
.hub:active { transform: translateY(-2px) scale(0.985); transition-duration: 0.15s; }

.hub-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #141412;
}
.hub-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 0.7s var(--ease), filter 0.45s ease;
    filter: saturate(0.92) brightness(0.96);
}
.hub:hover .hub-media img,
.hub:focus-visible .hub-media img {
    transform: scale(1.12);
    filter: saturate(1.05) brightness(1.02);
}
.hub-media-shade {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, transparent 35%, rgba(14,15,18,0.45) 100%),
        linear-gradient(90deg, rgba(14,15,18,0.15), transparent 50%);
    opacity: 0.85;
    transition: opacity 0.4s ease, background 0.4s ease;
    pointer-events: none;
}
.hub:hover .hub-media-shade,
.hub:focus-visible .hub-media-shade {
    opacity: 1;
    background:
        linear-gradient(180deg, transparent 20%, rgba(14,15,18,0.55) 100%),
        linear-gradient(135deg, rgba(206,254,36,0.18), transparent 55%);
}

.hub-ico {
    position: absolute;
    left: 0.75rem; bottom: 0.75rem;
    width: 40px; height: 40px; border-radius: 12px;
    display: grid; place-items: center;
    background: #141412;
    color: #cefe24;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
}
.hub:hover .hub-ico,
.hub:focus-visible .hub-ico {
    transform: scale(1.08) rotate(-3deg);
    background: #cefe24;
    color: #141412;
}
.hub-ico svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none;
    stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

.hub-body {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 0.95rem 0.95rem 1.05rem;
    flex: 1;
}
.hub strong {
    font-size: 0.92rem; font-weight: 800;
    letter-spacing: -0.02em; line-height: 1.25;
    transition: color 0.25s ease;
}
.hub span { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }
.hub-go {
    margin-top: auto;
    padding-top: 0.55rem;
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-style: normal;
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.01em;
    color: #141412;
    opacity: 0.55;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.4s var(--ease), color 0.25s ease;
}
.hub-go svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
    transition: transform 0.4s var(--ease);
}
.hub:hover .hub-go,
.hub:focus-visible .hub-go {
    opacity: 1;
    color: #5a7a00;
    transform: translateX(2px);
}
.hub:hover .hub-go svg,
.hub:focus-visible .hub-go svg {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .hub, .hub-media img, .hub-ico, .hub-go, .hub-go svg, .hub-media-shade {
        transition: none !important;
    }
    .hub:hover, .hub:focus-visible { transform: none; }
    .hub:hover .hub-media img, .hub:focus-visible .hub-media img { transform: none; }
}

/* Compact hero (Beboss entry, modern) */
.hero-home {
    position: relative;
    min-height: min(78vh, 720px);
    display: flex; align-items: center;
    padding: 7.5rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
}
.hero-home-bg { position: absolute; inset: 0; z-index: 0; }
.hero-home-photo {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1800&q=80') center/cover;
    transform: scale(1.04);
    animation: heroHomeKen 20s ease-in-out infinite alternate;
}
@keyframes heroHomeKen { to { transform: scale(1.1); } }
.hero-home-grad {
    position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(14,15,18,0.94) 0%, rgba(14,15,18,0.78) 38%, rgba(14,15,18,0.42) 68%, rgba(14,15,18,0.55) 100%),
        linear-gradient(180deg, rgba(14,15,18,0.28) 0%, rgba(14,15,18,0.72) 100%);
}
.hero-home-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 2rem 3rem;
}
.hero-home-content {
    max-width: 560px;
    justify-self: start;
    text-align: left;
    animation: heroHomeIn 0.7s var(--ease) both;
}
@keyframes heroHomeIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
.hero-home h1 {
    font-size: clamp(2.15rem, 4.6vw, 3.35rem);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.06;
    margin: 0 0 0.95rem;
}
.hero-home h1 em {
    font-style: normal; color: #cefe24;
}
.hero-home-lead {
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    color: rgba(255,255,255,0.72); line-height: 1.55;
    max-width: 40ch; margin: 0 0 1.55rem;
}
.hero-home-ctas { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.hero-cta {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.85rem 1.35rem; border-radius: 999px;
    font-weight: 800; font-size: 0.92rem; text-decoration: none;
    transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.hero-cta-primary {
    background: #cefe24; color: #141412;
    box-shadow: 0 10px 28px rgba(206,254,36,0.22);
}
.hero-cta-primary:hover {
    background: #b8e820; transform: translateY(-3px);
    color: #141412; box-shadow: 0 14px 34px rgba(206,254,36,0.32);
}
.hero-cta-ghost {
    border: 1px solid rgba(255,255,255,0.28); color: #fff;
}
.hero-cta-ghost:hover {
    background: rgba(255,255,255,0.08); color: #fff;
    border-color: rgba(206,254,36,0.45); transform: translateY(-2px);
}

/* Hero right visual — soft levitating cards only */
.hero-home-visual {
    position: relative;
    height: min(420px, 52vw);
    min-height: 300px;
    animation: heroVisIn 0.9s var(--ease) 0.15s both;
}
@keyframes heroVisIn {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: none; }
}

.hero-float {
    position: absolute;
    display: flex; align-items: center; gap: 0.55rem;
    padding: 0.85rem 1.1rem;
    border-radius: 18px;
    background: rgba(14,15,18,0.62);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.32),
        0 0 0 1px rgba(206,254,36,0.06);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    will-change: transform, box-shadow;
}
.hero-float span { font-weight: 600; }
.hero-float b {
    font-weight: 800;
    color: #cefe24;
    margin-left: 0.1rem;
}
.hero-float-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #cefe24;
    box-shadow: 0 0 12px rgba(206,254,36,0.75);
    flex-shrink: 0;
    animation: heroDotPulse 2.8s ease-in-out infinite;
}
@keyframes heroDotPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.hero-float--1 {
    top: 14%; left: 4%;
    animation: heroLev1 5.8s ease-in-out infinite;
}
.hero-float--2 {
    top: 38%; right: 0;
    animation: heroLev2 6.6s ease-in-out 0.4s infinite;
}
.hero-float--3 {
    bottom: 28%; left: 10%;
    animation: heroLev3 7.2s ease-in-out 0.9s infinite;
}
.hero-float--4 {
    bottom: 8%; right: 8%;
    animation: heroLev4 6.2s ease-in-out 1.3s infinite;
}

@keyframes heroLev1 {
    0%, 100% { transform: translate3d(0, 0, 0); box-shadow: 0 18px 40px rgba(0,0,0,0.32), 0 0 0 1px rgba(206,254,36,0.06); }
    50% { transform: translate3d(6px, -16px, 0); box-shadow: 0 28px 48px rgba(0,0,0,0.38), 0 0 0 1px rgba(206,254,36,0.1); }
}
@keyframes heroLev2 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-8px, -14px, 0); }
}
@keyframes heroLev3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(4px, -18px, 0); }
}
@keyframes heroLev4 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-5px, -12px, 0); }
}

@media (max-width: 960px) {
    .hero-home-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero-home-visual {
        height: 240px; min-height: 220px;
        max-width: 420px;
        margin-inline: auto;
        width: 100%;
    }
    .hero-float { font-size: 0.72rem; padding: 0.65rem 0.85rem; }
    .hero-float--4 { display: none; }
}
@media (max-width: 560px) {
    .hero-home { align-items: flex-end; padding-bottom: 2.5rem; }
    .hero-home-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-home-photo,
    .hero-float, .hero-float-dot,
    .hero-home-content, .hero-home-visual {
        animation: none !important;
    }
}

/* Section chrome */
.sec-row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.sec-link {
    font-size: 0.88rem; font-weight: 700; color: var(--text);
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem;
}
.sec-link:hover { color: #141412; }
.sec-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.35rem; }
.chip-a {
    padding: 0.4rem 0.85rem; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface);
    font-size: 0.8rem; font-weight: 600; color: var(--text-2);
    text-decoration: none; transition: all 0.2s;
}
.chip-a:hover, .chip-a.on {
    background: #141412; color: #cefe24; border-color: #141412;
}

/* Invest statuses */
.invest-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
}
@media (max-width: 900px) { .invest-grid { grid-template-columns: repeat(2, 1fr); } }
.invest-card {
    padding: 1.25rem 1.15rem; border-radius: 18px;
    background: var(--surface); border: 1px solid var(--border);
    text-decoration: none; color: var(--text);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.invest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(20,20,18,0.08);
}
.invest-card b { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.invest-card span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }

/* Ideas */
.ideas-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem;
}
@media (max-width: 900px) { .ideas-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ideas-grid { grid-template-columns: 1fr; } }
.idea-card {
    display: block; padding: 1.25rem;
    border-radius: 18px; background: #141412; color: #fff;
    text-decoration: none; min-height: 140px;
    transition: transform 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.idea-card::after {
    content: ''; position: absolute; right: -20%; top: -30%;
    width: 140px; height: 140px; border-radius: 50%;
    background: rgba(206,254,36,0.12);
}
.idea-card:nth-child(2) { background: #1c1c19; }
.idea-card:nth-child(3) { background: #272824; }
.idea-card:hover { transform: translateY(-3px); color: #fff; }
.idea-card strong { display: block; font-size: 1.05rem; font-weight: 800; margin-bottom: 0.4rem; position: relative; z-index: 1; }
.idea-card span { font-size: 0.82rem; color: rgba(255,255,255,0.55); position: relative; z-index: 1; }

.section-dark {
    background: #0e0f12; color: #fff;
    padding: 4rem 0;
}
.section-dark .sec-label { color: #cefe24; }
.section-dark .sec-title { color: #fff; }
.section-dark .sec-sub { color: rgba(255,255,255,0.5); }
.section-dark .sec-link { color: #cefe24; }

[data-reveal] {
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].visible { opacity: 1; transform: none; }
