/* ============================================================
   HERO — Modern Creative
   Plik: moderncreative/assets/css/hero.css
   ============================================================ */

.hero {
    position: relative;
    min-height: calc(100dvh - var(--header-height));
    background: var(--color-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    width: 100%;
}


/* ============================================================
   TŁO
   ============================================================ */
.hero-bg-shape {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 60% 70% at 70% 50%, rgba(72, 32, 159, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(224, 49, 0, 0.07) 0%, transparent 60%);
    pointer-events: none;
}


/* ============================================================
   LEWA KOLUMNA — treść
   ============================================================ */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0;
}

.hero-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-orange);
    flex-shrink: 0;
}

.hero-heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-heading em {
    font-style: italic;
    color: var(--color-orange);
    font-weight: 700;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.btn-cta--large {
    padding: 14px 32px;
    font-size: 1rem;
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color var(--transition-base), gap var(--transition-base);
}

.hero-link:hover {
    color: var(--color-white);
    gap: 12px;
}


/* ============================================================
   HERO PRICING — subtle pricing info under CTA
   ============================================================ */
.hero-pricing {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: 18px 0 0;
    padding: 14px 0 4px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 560px;
}

.hero-pricing-item {
    white-space: nowrap;
}

.hero-pricing strong {
    font-weight: 700;
    color: var(--color-white);
}

.hero-pricing-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    line-height: 1;
}

@media (max-width: 600px) {
    .hero-pricing {
        gap: 4px 12px;
        font-size: 0.8125rem;
        padding: 12px 0 4px;
        margin-top: 16px;
    }

    .hero-pricing-sep {
        display: none;
    }

    .hero-pricing-item {
        display: block;
        width: 100%;
    }
}


/* ============================================================
   SOCIAL PROOF
   ============================================================ */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 8px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 3px;
}

.stat-number span {
    color: var(--color-orange);
}

.stat-number svg {
    margin-left: 2px;
    flex-shrink: 0;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}


/* ============================================================
   PRAWA KOLUMNA — mockup
   ============================================================ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-mockup-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
}

.hero-mockup {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    animation: float 5s ease-in-out infinite;
    filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.5));
}

.hero-mockup-glow {
    position: absolute;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 40%;
    background: radial-gradient(ellipse, rgba(72, 32, 159, 0.35) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(20px);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}

/* Pulsujący glow pod mockupem */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.65;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
}


/* ============================================================
   HERO ORBS — 2 smugi (pomarańcz lewa + fiolet prawa)
   Z wersji 1.0.6 (performance balance, blur 25px, max-width caps)
   ============================================================ */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-orbs::before,
.hero-orbs::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    filter: blur(25px);
}

/* Smuga 1 (::before) — POMARAŃCZ (brand), lewy górny */
.hero-orbs::before {
    width: 65vw;
    height: 65vw;
    max-width: 900px;
    max-height: 900px;
    left: -20vw;
    top: -25vw;
    background: radial-gradient(ellipse at center,
        rgba(224, 49, 0, 0.55) 0%,
        rgba(224, 49, 0, 0.2) 30%,
        rgba(224, 49, 0, 0) 60%);
    animation: orbDrift1 14s ease-in-out infinite;
}

/* Smuga 2 (::after) — FIOLET, prawy dolny */
.hero-orbs::after {
    width: 70vw;
    height: 70vw;
    max-width: 950px;
    max-height: 950px;
    right: -22vw;
    bottom: -25vw;
    background: radial-gradient(ellipse at center,
        rgba(120, 70, 200, 0.6) 0%,
        rgba(120, 70, 200, 0.22) 30%,
        rgba(120, 70, 200, 0) 60%);
    animation: orbDrift2 17s ease-in-out infinite;
}

@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(20vw, 10vw) scale(1.15); }
    66%      { transform: translate(10vw, 25vw) scale(0.95); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(-25vw, -15vw) scale(1.2); }
}

/* Animacje — DUŻE translates + scale (mieszanie orbs daje blend effect) */
@keyframes orbDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(28vw, 12vw) scale(1.25); }
    50%      { transform: translate(35vw, 22vw) scale(.95); }
    75%      { transform: translate(15vw, 35vw) scale(1.15); }
}

@keyframes orbDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-30vw, -22vw) scale(1.3); }
    66%      { transform: translate(-15vw, -35vw) scale(.85); }
}

@keyframes orbDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20%      { transform: translate(20vw, -15vw) scale(1.2); }
    50%      { transform: translate(-20vw, -8vw) scale(.85); }
    80%      { transform: translate(15vw, 25vw) scale(1.15); }
}

@keyframes orbDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30%      { transform: translate(-30vw, -18vw) scale(1.3); }
    60%      { transform: translate(-12vw, 12vw) scale(.9); }
}

@keyframes orbDrift5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40%      { transform: translate(35vw, -22vw) scale(1.4); }
    70%      { transform: translate(-15vw, -8vw) scale(.85); }
}


/* ============================================================
   ANIMACJA WEJŚCIA
   ============================================================ */
.hero-eyebrow,
.hero-heading,
.hero-sub,
.hero-actions,
.hero-stats,
.hero-visual {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s ease forwards;
}

.hero-eyebrow  { animation-delay: 0.1s; }
.hero-heading  { animation-delay: 0.2s; }
.hero-sub      { animation-delay: 0.32s; }
.hero-actions  { animation-delay: 0.44s; }
.hero-stats    { animation-delay: 0.56s; }
.hero-visual   {
    animation-delay: 0.2s;
    transform: translateY(16px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mockup { animation: none; }
    .hero-mockup-glow { animation: none; }
    .hero-orb { animation: none; }
    .hero-eyebrow,
    .hero-heading,
    .hero-sub,
    .hero-actions,
    .hero-stats,
    .hero-visual {
        animation: none;
        opacity: 1;
        transform: none;
    }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 36px;
        padding: 60px 24px;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 20px 56px;
        gap: 40px;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-sub {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-actions {
        justify-content: center;
        gap: 20px;
    }

    .hero-stats {
        justify-content: center;
        gap: 20px;
    }

    .hero-stat {
        align-items: center;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-mockup-wrap {
        max-width: 380px;
        margin: 0 auto;
    }
}

@media (max-width: 374px) {
    .hero-heading {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }
}