/* =====================================================
   ROLLEN INVESTMENTS - PREMIUM CORPORATE STYLESHEET
   International Investment Firm Grade Design
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Brand Colors - Exact Palette */
    --color-deep-purple: #272147;
    --color-rich-purple: #3a316a;
    --color-strong-blue: #4d6db8;
    --color-soft-blue: #728bc7;
    --color-light-blue: #96a9d5;
    --color-white: #ffffff;
    --color-off-white: #f8f9fa;
    --color-text-dark: #1a1a1a;
    --color-text-light: #f8f9fa;
    --color-gold: #d4af37;
    --color-gold-light: #f5e6c3;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.20);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.7;
    font-size: 16px;
    background: var(--color-white);
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY HIERARCHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-deep-purple);
}

h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.75rem; font-weight: 700; }
h3 { font-size: 2rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

strong {
    font-weight: 700;
}

/* ===== CONTAINER SYSTEM ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== PREMIUM NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 55px;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-deep-purple);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-strong-blue);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-strong-blue);
}

.btn-nav {
    background: linear-gradient(135deg, var(--color-rich-purple) 0%, var(--color-strong-blue) 100%);
    color: var(--color-white) !important;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-white) !important;
}

/* ===== PREMIUM HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-deep-purple) 0%, var(--color-rich-purple) 50%, var(--color-strong-blue) 100%);
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(77, 109, 184, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(150, 169, 213, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeIn 1.2s ease;
}

.hero-logo img {
    height: 80px;
    filter: brightness(0) invert(1);
}

.hero-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s ease 0.2s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    animation: fadeInUp 1.2s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease 0.6s both;
}

.hero-value-prop {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1.2s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease 1s both;
}

/* ===== PREMIUM BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c9a745 100%);
    color: var(--color-deep-purple);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-deep-purple);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.05rem;
}

/* ===== SECTION SYSTEM ===== */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-xl {
    padding: 8rem 0;
}

.section-light {
    background: var(--color-white);
}

.section-off-white {
    background: var(--color-off-white);
}

.section-dark {
    background: linear-gradient(135deg, var(--color-deep-purple) 0%, var(--color-rich-purple) 100%);
    color: var(--color-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, 
.section-dark h4, .section-dark h5, .section-dark h6 {
    color: var(--color-white);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--color-strong-blue);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== PREMIUM GRID SYSTEMS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ===== PREMIUM CARDS ===== */
.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-rich-purple) 0%, var(--color-strong-blue) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-rich-purple) 0%, var(--color-strong-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-deep-purple);
}

.card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-up {
    animation: fadeInUp 1s ease;
}

.fade-in-down {
    animation: fadeInDown 1s ease;
}

/* Scroll animations - will be triggered by JavaScript */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    .hero-title { font-size: 3rem; }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem;
    }
    .nav-menu {
        display: none;
    }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    .hero-title { font-size: 2.25rem; }
    .section-title { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    .section { padding: 4rem 0; }
}