@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --navy: #041E42;
    --navy-light: #0A2B5E;
    --orange: #D6681C;
    --charcoal: #2C3539;
    --grey-light: #F8F9FA;
    --grey-mid: #E0E4E8;
    --white: #FFFFFF;
    --trans: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: var(--white); color: var(--charcoal); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1, h2, h3, h4, .serif { font-family: 'Playfair Display', serif; color: var(--navy); }
a { text-decoration: none; color: inherit; transition: var(--trans); }
ul { list-style: none; }
.bg-light { background-color: var(--grey-light); }
.bg-white { background-color: var(--white) !important; }
.mx-auto { margin-left: auto; margin-right: auto; }
.center-align { text-align: center; }

/* Buttons */
.btn { padding: 16px 36px; font-weight: 600; cursor: pointer; transition: var(--trans); display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; border: 2px solid transparent; border-radius: 4px; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--orange); color: var(--white); border-color: var(--orange); box-shadow: 0 4px 15px rgba(214, 104, 28, 0.3); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* Header Elements */
header { display: flex; justify-content: space-between; align-items: center; padding: 0 5%; background: var(--white); border-bottom: 1px solid var(--grey-mid); position: sticky; top: 0; z-index: 1000; height: 90px; }
.logo-container { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .rmi { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.logo-text .global { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 3px; margin-top: 4px; }

.desktop-nav { display: flex; align-items: center; gap: 40px; height: 100%; }
.desktop-nav ul { display: flex; gap: 30px; height: 100%; }
.desktop-nav li { height: 100%; display: flex; align-items: center; }
.desktop-nav a { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--charcoal); position: relative; height: 100%; display: flex; align-items: center; }
.desktop-nav a::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--orange); transition: var(--trans); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--navy); }

.login-btn { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--white) !important; background: var(--orange); padding: 12px 28px !important; border-radius: 4px; transition: var(--trans); display: flex; align-items: center; gap: 8px; height: auto !important; }
.login-btn:hover { background: var(--navy); color: var(--white) !important; }
.login-btn::after { display: none; }

/* Mobile Menu */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 2001; }
.hamburger span { width: 30px; height: 3px; background: var(--navy); transition: var(--trans); border-radius: 2px; }
.mobile-nav { position: fixed; top: 0; right: -100%; width: 400px; max-width: 100%; height: 100vh; background: var(--white); z-index: 2000; padding: 100px 5% 40px; transition: right 0.4s ease; border-left: 1px solid var(--grey-mid); overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,0.05); }
.mobile-nav.open { right: 0; }
.close-mobile { position: absolute; top: 25px; right: 25px; width: 45px; height: 45px; background: var(--grey-light); border: 1px solid var(--grey-mid); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--navy); cursor: pointer; transition: var(--trans); z-index: 2001; }
.close-mobile:hover { background: var(--orange); color: var(--white); border-color: var(--orange); transform: rotate(90deg); }
.mobile-nav a.menu-link { display: block; font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--grey-mid); }
.mobile-nav a.mobile-login-btn { display: flex; justify-content: center; align-items: center; width: 100%; margin-top: 30px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white) !important; background: var(--orange); padding: 18px; border-radius: 4px; transition: var(--trans); }

/* Layout Grids & Spacing */
.section-pad { padding: 100px 5%; }
.container { max-width: 1400px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.section-header { margin-bottom: 60px; max-width: 800px; }
.section-header h2 { font-size: 46px; margin-bottom: 20px; line-height: 1.2; }
.section-header p { font-size: 18px; color: var(--charcoal); line-height: 1.8; }
.gold-line { width: 50px; height: 3px; background: var(--orange); margin-bottom: 25px; }

/* Hero Section */
.hero-section { padding: 80px 5%; background: var(--grey-light); position: relative; overflow: hidden; border-bottom: 1px solid var(--grey-mid); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(40px, 4vw, 60px); color: var(--navy); line-height: 1.15; margin-bottom: 25px; }
.hero-content p { font-size: 20px; font-weight: 300; margin-bottom: 40px; line-height: 1.8; color: var(--charcoal); }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }

/* Dashboard Mockup Visual */
.dashboard-mockup { background: var(--white); border-radius: 8px; border: 1px solid var(--grey-mid); box-shadow: 0 25px 50px rgba(4,30,66,0.08); overflow: hidden; height: 400px; display: flex; flex-direction: column; }
.mockup-header { background: var(--navy); height: 30px; display: flex; align-items: center; padding: 0 15px; gap: 6px; }
.mockup-header .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.mockup-body { flex-grow: 1; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=800&q=20') center/cover; position: relative; }
.mockup-body::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,0.9); }
.mockup-body > * { position: relative; z-index: 2; }
.mockup-icon { font-size: 60px; color: var(--navy); margin-bottom: 20px; }

/* Features & Modules Grid */
.module-card { padding: 50px 40px; background: var(--white); border: 1px solid var(--grey-mid); transition: var(--trans); border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.module-card:hover { border-color: var(--navy); box-shadow: 0 20px 40px rgba(4,30,66,0.08); transform: translateY(-5px); }
.module-icon { width: 70px; height: 70px; background: var(--grey-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--orange); margin-bottom: 30px; border: 1px solid var(--grey-mid); }
.module-card h3 { font-size: 22px; margin-bottom: 15px; }
.module-card p { color: var(--charcoal); font-size: 15px; line-height: 1.7; }

/* AI Section Elements */
.visual-wrapper { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--grey-mid); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.feature-image { width: 100%; height: auto; display: block; }
.floating-badge { position: absolute; bottom: -20px; right: 30px; background: var(--white); padding: 20px 30px; border-radius: 4px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; border: 1px solid var(--grey-mid); transform: translateY(-50%); font-weight: 600; color: var(--navy); font-size: 18px; }
.feature-list { margin-top: 30px; }
.feature-list li { margin-bottom: 20px; display: flex; align-items: flex-start; gap: 15px; font-size: 16px; color: var(--charcoal); }
.feature-list i { color: var(--navy); font-size: 20px; margin-top: 4px; }

/* CTA Section */
.cta-section { background: var(--navy); padding: 100px 5%; text-align: center; color: var(--white); border-top: 4px solid var(--orange); }
.cta-content h2 { color: var(--white); font-size: 42px; margin-bottom: 25px; }
.cta-content p { font-size: 18px; max-width: 700px; margin: 0 auto; color: var(--grey-mid); line-height: 1.8; }

/* Footer */
footer { background: var(--white); border-top: 1px solid var(--grey-mid); padding: 80px 5% 40px; color: var(--charcoal); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-grid h4 { color: var(--navy); font-family: 'Inter', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 25px; font-weight: 700; }
.footer-grid ul li { margin-bottom: 15px; }
.footer-grid a { color: var(--charcoal); font-size: 15px; transition: var(--trans); }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--grey-mid); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #666; }

/* Responsive Styling */
@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 42px; }
    .hero-actions { justify-content: center; }
    .gold-line { margin: 0 auto 25px auto; }
    .content-wrapper .gold-line { margin-left: 0; }
    .dashboard-mockup { display: none; } /* Hide on smaller screens to save space */
    .grid-2 { grid-template-columns: 1fr; gap: 50px; }
    .floating-badge { right: auto; left: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .hero-content p { font-size: 16px; }
    .section-header h2 { font-size: 32px; }
}