/* ========================================
   ROLLEN INVESTMENTS - COMPLETE CORPORATE REDESIGN
   Executive-Level Homepage Styling
   International Corporate Standard
   ======================================== */

/* ====================
   HERO SECTION - PERFECTED
   ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0814 0%, #1a1730 50%, #272147 100%);
    padding: 0;
}

/* Premium background layers */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.genspark.ai/api/files/s/GMm5HhTJ');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(39, 33, 71, 0.98) 0%,
        rgba(58, 49, 106, 0.96) 40%,
        rgba(77, 109, 184, 0.94) 70%,
        rgba(114, 139, 199, 0.92) 100%
    );
    z-index: 1;
}

/* Floating premium shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    animation: floatShape 25s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 500px;
    height: 500px;
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 350px;
    height: 350px;
    top: 50%;
    right: 5%;
    animation-delay: 8s;
}

.hero-shape:nth-child(3) {
    width: 600px;
    height: 600px;
    bottom: -15%;
    left: 35%;
    animation-delay: 15s;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.4; }
    25% { transform: translate(40px, -40px) rotate(90deg); opacity: 0.6; }
    50% { transform: translate(0, -80px) rotate(180deg); opacity: 0.8; }
    75% { transform: translate(-40px, -40px) rotate(270deg); opacity: 0.6; }
}

/* Hero Content - Strategic Layout */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

/* ROLLEN Logo - Prominently Featured */
.hero-logo {
    margin-bottom: 3.5rem;
    position: relative;
    animation: logoReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero-logo img {
    height: 180px;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
    position: relative;
    z-index: 2;
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: translateY(-60px) scale(0.7);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium glow backdrop */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 40%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Brand Slogan - Executive Positioning */
.hero-slogan {
    font-size: 1.3rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    padding: 0 4rem;
    animation: fadeSlideUp 1s ease 0.4s both;
}

.hero-slogan::before,
.hero-slogan::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 70px;
    height: 2px;
    background: linear-gradient(to right, transparent, #d4af37 50%, transparent);
}

.hero-slogan::before {
    right: 100%;
    margin-right: 1.5rem;
}

.hero-slogan::after {
    left: 100%;
    margin-left: 1.5rem;
}

/* Hero Title - Strategic Hierarchy */
.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    animation: fadeSlideUp 1s ease 0.7s both;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #f4e4a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Hero Subtitle - Refined Positioning */
.hero-subtitle {
    font-size: 1.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 4rem;
    line-height: 1.7;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeSlideUp 1s ease 1s both;
}

/* CTA Buttons - Executive Placement */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeSlideUp 1s ease 1.3s both;
    margin-top: 4rem;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium Button Styling */
.btn-large {
    padding: 1.4rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary.btn-large {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    background-size: 200% 100%;
    color: #272147;
}

.btn-primary.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary.btn-large:hover::before {
    width: 500px;
    height: 500px;
}

.btn-primary.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.5);
    background-position: 100% 0;
}

.btn-secondary.btn-large {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
}

.btn-secondary.btn-large:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2.5s infinite;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 45px;
    background: linear-gradient(to bottom, transparent, #d4af37 50%, transparent);
    margin: 0 auto 0.8rem;
}

.scroll-indicator p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ====================
   STATS SECTION - REFINED
   ==================== */

.stats-section {
    background: linear-gradient(180deg, #0f0d1a 0%, #1a1730 50%, #272147 100%);
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #d4af37 50%, transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.stat-item:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.25);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 4.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.stat-label {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.5;
}

/* ====================
   BRAND SHOWCASE BAND
   ==================== */

.brand-showcase-band {
    background: linear-gradient(135deg, #272147 0%, #3a316a 40%, #4d6db8 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.brand-showcase-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(255, 255, 255, 0.015) 60px,
            rgba(255, 255, 255, 0.015) 120px
        );
}

.brand-showcase-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.brand-showcase-logo {
    flex: 0 0 auto;
}

.brand-showcase-logo img {
    height: 130px;
    filter: brightness(0) invert(1) drop-shadow(0 12px 35px rgba(0, 0, 0, 0.4));
}

.brand-showcase-text {
    flex: 1;
    color: white;
}

.brand-showcase-text h3 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ffffff;
    line-height: 1.3;
}

.brand-showcase-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
}

.brand-showcase-cta {
    flex: 0 0 auto;
}

/* ====================
   SECTION DIVIDERS
   ==================== */

.section-divider {
    height: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, #272147, #f8f9fa);
}

.section-divider-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-divider-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,60 C360,110 720,10 1080,60 C1440,110 1440,120 1440,120 L0,120 Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ====================
   GOLD SHOWCASE - PERFECTED LAYOUT
   ==================== */

.gold-showcase {
    background: linear-gradient(135deg, #1a1730 0%, #272147 50%, #3a316a 100%);
    padding: 9rem 0;
    position: relative;
    overflow: hidden;
}

.gold-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.genspark.ai/api/files/s/Pyxr3zON');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
}

.gold-showcase::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: goldPulse 18s ease-in-out infinite;
}

@keyframes goldPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.25); opacity: 0.7; }
}

.gold-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Gold Badge - Premium Positioning */
.gold-badge {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(212, 175, 55, 0.12);
    color: #d4af37;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 2px solid rgba(212, 175, 55, 0.35);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Gold Section Title - Strategic Hierarchy */
.gold-showcase .section-title {
    color: #ffffff;
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.gold-showcase .section-intro {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
    line-height: 1.9;
    max-width: 950px;
    margin: 0 auto 5rem;
}

/* Gold Cards - Executive Layout */
.gold-showcase .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.gold-showcase .card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 25px;
    padding: 3.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gold-showcase .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, transparent, #d4af37, transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.gold-showcase .card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-15px);
    box-shadow: 0 35px 80px rgba(212, 175, 55, 0.3);
}

.gold-showcase .card:hover::before {
    opacity: 1;
}

.gold-showcase .card-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    filter: grayscale(1) brightness(2.2);
    display: block;
}

.gold-showcase .card h3 {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.gold-showcase .card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Gold CTA - Strategic Placement */
.gold-showcase .btn-primary.btn-large {
    margin-top: 4rem;
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */

@media (max-width: 1400px) {
    .hero-title {
        font-size: 4.2rem;
    }
    
    .gold-showcase .section-title {
        font-size: 4rem;
    }
}

@media (max-width: 1200px) {
    .brand-showcase-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .hero-logo img {
        height: 140px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .gold-showcase .section-title {
        font-size: 3.5rem;
    }
    
    .gold-showcase .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 4rem 2rem;
    }
    
    .hero-logo img {
        height: 110px;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-slogan {
        font-size: 1rem;
        padding: 0 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 1.2rem 2.5rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .gold-showcase .section-title {
        font-size: 2.8rem;
    }
    
    .gold-showcase .card {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        height: 90px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .stat-item {
        padding: 2rem 1.5rem;
    }
    
    .gold-showcase .card {
        padding: 2rem;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.scroll-animate.visible {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
