/* ============================================================
   Royal Baltica — Home Page Styles
   ============================================================ */

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-black);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.55) 50%,
        rgba(0,0,0,0.30) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero__content .label {
    color: var(--color-gold);
    margin-bottom: var(--space-5);
    display: block;
}

.hero__content h1 {
    color: var(--color-white);
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: var(--weight-bold);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: -0.025em;
}

.hero__content > p {
    color: rgba(255,255,255,0.78);
    font-size: var(--text-lg);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: var(--space-8);
}

.hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    opacity: 0.6;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ------------------------------------------------------------
   Trust Bar
   ------------------------------------------------------------ */
.trust-bar {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-8) 0;
}

.trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.trust-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-6) var(--space-4);
    border-right: 1px solid var(--color-border);
}

.trust-bar__item:last-child {
    border-right: none;
}

.trust-bar__label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: var(--space-2);
}

/* ------------------------------------------------------------
   About Intro
   ------------------------------------------------------------ */
.about-intro {
    display: block;
    max-width: 720px;
}

.about-intro__text h2 {
    margin-bottom: var(--space-5);
}

.about-intro__text p {
    margin-bottom: var(--space-4);
}

.about-intro__img-placeholder {
    aspect-ratio: 4/3;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
}

.about-intro__img-placeholder svg {
    width: 80px;
    height: 80px;
}

/* ------------------------------------------------------------
   How It Works
   ------------------------------------------------------------ */
.how-it-works {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-16);
    align-items: start;
}

.how-it-works__header h2 {
    margin-bottom: var(--space-4);
}

.how-it-works__steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.how-it-works__steps .process-step {
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-border);
}

.how-it-works__steps .process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ------------------------------------------------------------
   Categories Grid
   ------------------------------------------------------------ */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.category-item {
    padding: var(--space-3) var(--space-5);
    border: 1.5px solid var(--color-border);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
    cursor: default;
}

.category-item:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 900px) {
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-bar__item:nth-child(2) {
        border-right: none;
    }
    .trust-bar__item:nth-child(3) {
        border-right: 1px solid var(--color-border);
    }
    .trust-bar__item:nth-child(3),
    .trust-bar__item:nth-child(4) {
        border-top: 1px solid var(--color-border);
    }

    .about-intro,
    .how-it-works {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .about-intro__img-placeholder {
        max-width: 480px;
    }
}

@media (max-width: 600px) {
    .trust-bar__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
