/* MyProGenie Brand CSS - Genie-chic Design System */

:root {
    /* Lumara Brand Color Palette */
    --lumara-navy: #2b3377;
    --lumara-deep-navy: #1e2459;
    --lumara-yellow: #f4d03f;
    --lumara-bright-yellow: #ffd700;
    --lumara-purple: #7b68ee;
    --lumara-pink: #e8b4e3;
    --lumara-teal: #40e0d0;
    --pure-white: #ffffff;
    --soft-gray: #f8f9fa;
    --light-lavender: #e6e6fa;
    
    /* Typography */
    --font-heading: 'Poppins', 'Arial', sans-serif;
    --font-body: 'Inter', 'Helvetica', sans-serif;
    
    /* Spacing & Layout */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --shadow-soft: 0 4px 20px rgba(26, 31, 58, 0.08);
    --shadow-medium: 0 8px 40px rgba(26, 31, 58, 0.12);
    --shadow-large: 0 16px 60px rgba(26, 31, 58, 0.16);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* Global Styles */
body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--lumara-navy);
    background-color: var(--pure-white);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--lumara-navy);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

/* Brand Logo */
.brand-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--lumara-navy);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.brand-logo:hover {
    color: var(--lumara-yellow);
    text-decoration: none;
}

.lumara-logo {
    height: 32px;
    width: auto;
    margin-right: 8px;
}

.genie-icon {
    color: var(--lumara-yellow);
    margin-right: 8px;
    font-size: 1.2em;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--lumara-navy) 0%, var(--lumara-deep-navy) 100%);
    color: var(--pure-white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lumara-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="%23f4d03f" opacity="0.3"><animate attributeName="opacity" values="0.1;0.6;0.1" dur="3s" repeatCount="indefinite"/></circle></pattern></defs><rect width="100" height="100" fill="url(%23lumara-pattern)"/></svg>');
    opacity: 0.4;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Button Styles */
.cta-button {
    background: linear-gradient(135deg, var(--lumara-yellow) 0%, var(--lumara-bright-yellow) 100%);
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-medium);
    color: var(--lumara-navy);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
    color: var(--lumara-deep-navy);
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-small);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--pure-white);
}

.form-control:focus {
    border-color: var(--lumara-yellow);
    box-shadow: 0 0 0 0.2rem rgba(244, 208, 63, 0.25);
    outline: none;
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: var(--radius-small);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--pure-white);
}

.form-select:focus {
    border-color: var(--lumara-yellow);
    box-shadow: 0 0 0 0.2rem rgba(244, 208, 63, 0.25);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--lumara-navy);
    margin-bottom: 8px;
}

/* Card Styles */
.card {
    border-radius: var(--radius-large);
    border: none;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

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

.card-body {
    padding: 2rem;
}

/* Enhanced sections */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

/* Feature cards enhancement */
.feature-card {
    background: var(--pure-white);
    border-radius: var(--radius-large);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(43, 51, 119, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--lumara-yellow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Navigation Enhancement */
.navbar {
    box-shadow: 0 2px 20px rgba(43, 51, 119, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-small);
    margin: 0 0.25rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--lumara-yellow);
    background: rgba(244, 208, 63, 0.1);
    transform: translateY(-1px);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--lumara-yellow);
    font-weight: 600;
    background: rgba(244, 208, 63, 0.15);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

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

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

/* Partner Integration Styles */
.partner-badge {
    background: linear-gradient(45deg, var(--lumara-purple), var(--lumara-pink));
    padding: 6px 12px;
    border-radius: var(--radius-small);
    color: var(--pure-white);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
}

.partner-badge:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    color: var(--pure-white);
    text-decoration: none;
}

.platform-nav-dropdown {
    background: var(--pure-white);
    border: none;
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-large);
    padding: 0.5rem 0;
}

.platform-nav-dropdown .dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 0;
}

.platform-nav-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, var(--lumara-navy), var(--lumara-purple));
    color: var(--pure-white);
}

/* Utility Classes */
.text-lumara-yellow {
    color: var(--lumara-yellow);
}

.bg-lumara-yellow {
    background-color: var(--lumara-yellow);
}

.text-lumara-navy {
    color: var(--lumara-navy);
}

.bg-lumara-navy {
    background-color: var(--lumara-navy);
}

.text-lumara-purple {
    color: var(--lumara-purple);
}

.bg-lumara-purple {
    background-color: var(--lumara-purple);
}

.text-lumara-pink {
    color: var(--lumara-pink);
}

.bg-lumara-pink {
    background-color: var(--lumara-pink);
}

.text-lumara-teal {
    color: var(--lumara-teal);
}

.bg-lumara-teal {
    background-color: var(--lumara-teal);
}

/* Smooth Scrolling and Animations */
html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page transitions */
.page-transition {
    animation: fadeInPage 0.6s ease-out;
}

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

/* Advanced Animations */
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); box-shadow: 0 0 20px rgba(244, 208, 63, 0.3); }
    25% { box-shadow: 0 0 30px rgba(123, 104, 238, 0.4); }
    50% { transform: rotate(180deg); box-shadow: 0 0 25px rgba(232, 180, 227, 0.4); }
    75% { box-shadow: 0 0 35px rgba(64, 224, 208, 0.4); }
    100% { transform: rotate(360deg); box-shadow: 0 0 20px rgba(244, 208, 63, 0.3); }
}

@keyframes dataFlow {
    0% { transform: translateX(-100%) scale(0.8); opacity: 0; }
    50% { transform: translateX(0%) scale(1); opacity: 1; }
    100% { transform: translateX(100%) scale(0.8); opacity: 0; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: var(--lumara-yellow); }
}

.floating-element {
    animation: floatAnimation 6s ease-in-out infinite;
}

.rotating-glow {
    animation: rotateGlow 8s linear infinite;
}

.data-stream {
    animation: dataFlow 3s ease-in-out infinite;
}

.typewriter-text {
    overflow: hidden;
    border-right: 3px solid var(--lumara-yellow);
    white-space: nowrap;
    animation: typewriter 4s steps(40) 1s forwards, blink 1s infinite;
}

/* Staggered animations */
.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }

/* Hover animations */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(43, 51, 119, 0.15);
}

.pulse-on-hover {
    transition: all 0.3s ease;
}

.pulse-on-hover:hover {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced text styles */
.text-gradient {
    background: linear-gradient(135deg, var(--lumara-purple), var(--lumara-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Stats animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.stat-number {
    animation: countUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: 60vh;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-padding-sm {
        padding: 40px 0;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .brand-logo {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}