/* ============================================
   RENABEL CONCEPT — Front Page (Homepage)
   All colors via var(--rnb-*) from global-styles.css
   ============================================ */

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.rnb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rnb-dark) 0%, #0F172A 50%, #0C1222 100%);
}

.rnb-hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Ambient Glows */
.rnb-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.rnb-hero__glow--amber {
    top: 15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(var(--rnb-accent-rgb), 0.05);
}

.rnb-hero__glow--blue {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(var(--rnb-blue-rgb), 0.05);
}

/* Hero Content */
.rnb-hero__content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Reveal animation (initial state) */
.reveal-content {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Badge */
.rnb-hero__badge {
    margin-bottom: 32px;
}

/* Hero Title */
.rnb-hero__title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: clamp(3rem, 8vw, 5.125rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.rnb-hero__title--gradient {
    margin-bottom: 24px;
}

/* Hero CTA Buttons */
.rnb-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .rnb-hero__cta {
        flex-direction: row;
    }
}

/* Hero Info Pills */
.rnb-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 64px;
    color: var(--rnb-text-dim);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
}

.rnb-hero__pill {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rnb-hero__pill svg {
    color: var(--rnb-text-dim);
}

/* Scroll Indicator */
.rnb-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.rnb-hero__scroll-track {
    width: 24px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid var(--rnb-text-dim);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.rnb-hero__scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--rnb-accent);
    border-radius: 9999px;
    animation: rnb-bounce 1.5s infinite;
}

@keyframes rnb-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}


/* ==========================================================================
   2. SERVICES CAROUSEL
   ========================================================================== */
.rnb-services__header {
    margin-bottom: 64px;
}

/* Carousel wrapper */
.rnb-carousel {
    position: relative;
    overflow: hidden;
}

.rnb-carousel__track {
    display: flex;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.rnb-carousel__slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .rnb-carousel__slide {
        width: 33.3333%;
    }
}

/* Service Card */
.rnb-service-card {
    background: var(--rnb-card);
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--rnb-border);
    height: 100%;
    cursor: default;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.rnb-service-card:hover {
    border-color: var(--rnb-accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.rnb-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--rnb-accent-rgb), 0.1), rgba(var(--rnb-blue-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rnb-accent);
    margin-bottom: 24px;
    transition: transform 0.3s;
}

.rnb-service-card:hover .rnb-service-card__icon {
    transform: scale(1.1);
}

.rnb-service-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
}

.rnb-service-card__desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--rnb-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Carousel Controls */
.rnb-carousel__controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    align-items: center;
}

.rnb-carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--rnb-border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

.rnb-carousel__btn:hover {
    background: var(--rnb-card);
}

.rnb-carousel__dots {
    display: flex;
    gap: 8px;
}

.rnb-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--rnb-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.rnb-carousel__dot--active {
    width: 24px;
    background: var(--rnb-accent);
}


/* ==========================================================================
   3. COMPETENCIES (Stats Grid)
   ========================================================================== */
.rnb-competencies__header {
    margin-bottom: 64px;
}

.rnb-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .rnb-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rnb-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.rnb-stat-card {
    background: var(--rnb-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--rnb-border);
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.rnb-stat-card:hover {
    border-color: rgba(var(--rnb-accent-rgb), 0.3);
    transform: translateY(-4px);
}

.rnb-stat-card__value {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.rnb-stat-card__label {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.rnb-stat-card__sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--rnb-text-muted);
}

/* Tech Banner */
.rnb-tech-banner {
    margin-top: 48px;
    background: var(--rnb-card);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--rnb-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

@media (min-width: 768px) {
    .rnb-tech-banner {
        flex-direction: row;
    }
}

.rnb-tech-banner__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--rnb-blue-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rnb-blue);
    flex-shrink: 0;
}

.rnb-tech-banner__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.rnb-tech-banner__desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--rnb-text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================================
   4. ADVANTAGES
   ========================================================================== */
.rnb-advantages__header {
    margin-bottom: 64px;
}

.rnb-advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .rnb-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .rnb-advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rnb-advantage-card {
    display: flex;
    gap: 20px;
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--rnb-border);
    transition: background 0.3s, border-color 0.3s;
}

.rnb-advantage-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(var(--rnb-accent-rgb), 0.3);
}

.rnb-advantage-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(var(--rnb-accent-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rnb-accent);
    flex-shrink: 0;
}

.rnb-advantage-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.rnb-advantage-card__desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--rnb-text-muted);
    line-height: 1.7;
    margin: 0;
}


/* ==========================================================================
   5. FEATURED SERVICE
   ========================================================================== */
.rnb-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .rnb-featured {
        grid-template-columns: 1fr 1fr;
    }
}

.rnb-featured__title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 16px 0 24px;
    line-height: 1.2;
}

.rnb-featured__desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: var(--rnb-text-muted);
    line-height: 1.7;
    margin: 0 0 32px;
}

.rnb-featured__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rnb-featured__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--rnb-text-muted);
    font-family: 'DM Sans', sans-serif;
}

.rnb-featured__check {
    color: var(--rnb-success);
    flex-shrink: 0;
}

/* Featured Visual Panel */
.rnb-featured__visual {
    position: relative;
    background: linear-gradient(135deg, var(--rnb-card), rgba(var(--rnb-blue-rgb), 0.1));
    border-radius: 24px;
    padding: 48px;
    border: 1px solid var(--rnb-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 340px;
}

.rnb-featured__visual-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--rnb-accent-rgb), 0.2), rgba(var(--rnb-blue-rgb), 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rnb-accent);
    margin-bottom: 24px;
}

.rnb-featured__visual-svg {
    width: 48px;
    height: 48px;
}

.rnb-featured__visual-value {
    font-family: 'Sora', sans-serif;
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.rnb-featured__visual-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.rnb-featured__visual-sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--rnb-text-muted);
}


/* ==========================================================================
   6. TESTIMONIALS
   ========================================================================== */
.rnb-testimonials__header {
    margin-bottom: 64px;
}

.rnb-testimonials__card {
    max-width: 768px;
    margin: 0 auto;
    position: relative;
    background: var(--rnb-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--rnb-border);
}

@media (min-width: 768px) {
    .rnb-testimonials__card {
        padding: 56px;
    }
}

.rnb-testimonials__quote-icon {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 40px;
    height: 40px;
    color: rgba(var(--rnb-accent-rgb), 0.2);
}

/* Testimonial Slide */
.rnb-testimonial {
    transition: opacity 0.5s;
}

.hidden {
    display: none;
}

.rnb-testimonial__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: var(--rnb-text);
    font-style: italic;
    margin: 0 0 32px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .rnb-testimonial__text {
        font-size: 1.25rem;
    }
}

.rnb-testimonial__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--rnb-border);
    padding-top: 24px;
}

.rnb-testimonial__author {
    text-align: left;
}

.rnb-testimonial__name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #fff;
}

.rnb-testimonial__car {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--rnb-text-dim);
}

.rnb-testimonial__stars {
    display: flex;
    gap: 4px;
    color: var(--rnb-accent);
}

/* Testimonial Dots */
.rnb-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.rnb-testimonials__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: var(--rnb-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.rnb-testimonials__dot--active,
.testi-dot.rnb-testimonials__dot--active {
    width: 32px;
    background: var(--rnb-accent);
}


/* ==========================================================================
   7. FAQ
   ========================================================================== */
.rnb-faq__header {
    margin-bottom: 64px;
}

.rnb-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rnb-faq-item {
    border-radius: 16px;
    border: 1px solid var(--rnb-border);
    background: var(--rnb-card);
    overflow: hidden;
    transition: border-color 0.3s;
}

.rnb-faq-item:hover {
    border-color: rgba(var(--rnb-accent-rgb), 0.3);
}

.rnb-faq-item__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.rnb-faq-item__trigger:focus {
    outline: none;
}

.rnb-faq-item__question {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: 1.125rem;
    padding-right: 16px;
}

.rnb-faq-item__chevron {
    color: var(--rnb-text-dim);
    transform: rotate(0deg);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.rnb-faq-item.is-open .rnb-faq-item__chevron {
    transform: rotate(180deg);
}

.rnb-faq-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background: rgba(var(--rnb-accent-rgb), 0.02);
}

.rnb-faq-item__answer {
    font-family: 'DM Sans', sans-serif;
    color: var(--rnb-text-muted);
    padding: 0 24px 24px;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid transparent;
}


/* ==========================================================================
   8. RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 767px) {
    .rnb-hero__glow--amber {
        width: 300px;
        height: 300px;
    }

    .rnb-hero__glow--blue {
        width: 250px;
        height: 250px;
    }

    .rnb-testimonials__card {
        padding: 24px;
    }

    .rnb-testimonials__quote-icon {
        top: 16px;
        left: 16px;
        width: 28px;
        height: 28px;
    }

    .rnb-featured__visual {
        padding: 32px;
        min-height: 280px;
    }

    .rnb-stat-card {
        padding: 24px;
    }

    .rnb-tech-banner {
        padding: 24px;
    }
}
