/* ==========================================================================
   RashlaReport - Corporate Landing Page Styles
   Premium design for financial/institutional audience
   ========================================================================== */

/* CSS Variables - Corporate Color Palette */
:root {
    /* Primary Colors */
    --color-navy: #0f172a;
    --color-navy-light: #1e293b;
    --color-navy-dark: #020617;

    /* Accent Colors */
    --color-gold: #c9a227;
    --color-gold-light: #d4b44a;
    --color-gold-dark: #a68520;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;

    /* Typography */
    --font-primary: 'Heebo', sans-serif;
    --font-display: 'Frank Ruhl Libre', serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-navy);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: var(--transition-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 8px 16px !important;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-gold) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, var(--color-navy) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-title .text-accent {
    display: block;
    color: var(--color-gold);
    font-size: 0.85em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    border-radius: 12px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-medium);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Buttons */
.btn-primary {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(201, 162, 39, 0.5);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 24px auto 0;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    background: var(--color-gray-50);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-200), transparent);
}

.feature-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: 16px;
    height: 100%;
    transition: var(--transition-medium);
    border: 1px solid var(--color-gray-100);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-medium);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 28px;
    color: var(--color-gold);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--color-gray-500);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    background: var(--color-white);
}

.about-content {
    margin-top: 24px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-gray-100);
    font-size: 1.05rem;
}

.target-list li:last-child {
    border-bottom: none;
}

.target-list i {
    color: var(--color-gold);
    font-size: 1.25rem;
}

.about-image {
    padding: 20px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-200);
}

/* ==========================================================================
   Screenshots Section
   ========================================================================== */

.screenshots-section {
    background: var(--color-gray-50);
}

.screenshot-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-medium);
    border: 1px solid var(--color-gray-200);
}

.screenshot-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.screenshot-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    transition: var(--transition-medium);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-medium);
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
}

.contact-section .section-title {
    color: var(--color-white);
}

.contact-section .section-title::after {
    right: 50%;
    transform: translateX(50%);
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px 40px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-icon i {
    font-size: 36px;
    color: var(--color-navy);
}

.contact-card h3 {
    color: var(--color-white);
    font-family: var(--font-primary);
    margin-bottom: 16px;
}

.contact-email {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-email:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.contact-note {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--color-navy-dark);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.modal-content {
    background: var(--color-white);
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: var(--color-gray-50);
    border-bottom: 1px solid var(--color-gray-200);
    padding: 20px 24px;
}

.modal-title {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-navy);
}

.modal-body {
    padding: 24px;
}

.modal-body img {
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 991.98px) {
    :root {
        --section-padding: 80px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-image {
        margin-top: 40px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .feature-card {
        padding: 30px 24px;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .contact-email {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-gold {
    color: var(--color-gold);
}

.bg-navy {
    background-color: var(--color-navy);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
