/** 
 * Expedite & Expedite Finvest - Core Design System
 * Theme: Platinum Slate (Architectural Serenity)
 */

:root {
    --primary: #373F51;
    --secondary: #58A4B0;
    --background-start: #D8DBE2;
    --background-end: #A9BCD0;
    --body-text: #1B1B1E;
    --white: #ffffff;
    --glass: rgba(216, 219, 226, 0.4);
    --glass-border: rgba(216, 219, 226, 0.5);
    --shadow: 0 10px 40px rgba(33, 41, 58, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--body-text);
    background: var(--background-start);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
}

.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-block;
    text-align: center;
}

.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { opacity: 0.8; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(55, 63, 81, 0.2);
    color: var(--primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: rgba(88, 164, 176, 0.1);
    filter: blur(100px);
    border-radius: 50%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 3rem; }
}

/* Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.3s;
}

.glass-card:hover { transform: translateY(-5px); }

.grid {
    display: grid;
    gap: 2rem;
}

.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* Sections */
section { padding: 6rem 0; }
.bg-light { background: rgba(255, 255, 255, 0.3); }
.bg-dark { background: var(--primary); color: var(--white); }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head span { text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; color: var(--secondary); font-size: 0.75rem; }

/* Forms */
form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: rgba(55, 63, 81, 0.6); margin-bottom: 0.5rem; display: block; }
input, textarea, select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(55, 63, 81, 0.1);
    padding: 0.75rem 0;
    color: var(--primary);
    outline: none;
}

input:focus, textarea:focus { border-color: var(--secondary); }

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal-content {
    background: var(--white);
    max-width: 600px;
    margin: 5% auto;
    padding: 3rem;
    border-radius: 2rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1500;
}

.float-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 2rem 0 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--secondary);
    color: var(--white);
    box-shadow: -5px 5px 20px rgba(0,0,0,0.2);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.float-btn:hover { padding-right: 2rem; transform: translateX(-5px); }
.float-btn.whatsapp { background: #25D366; }

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
}

footer h3 {
    color: var(--white);
    font-weight: 800;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.footer-links { list-style: none; margin-top: 1rem; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--secondary); }

/* Responsive Adjustments for Tablets and Mobile */
@media (max-width: 1024px) {
    .floating-actions {
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        gap: 0;
        background: var(--white);
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }

    .float-btn {
        flex: 1;
        border-radius: 0;
        justify-content: center;
        padding: 1.25rem;
        box-shadow: none;
    }

    .float-btn:hover {
        padding-right: 1.25rem;
        transform: none;
    }

    /* Add space at the bottom of the page to prevent content overlap */
    body { padding-bottom: 60px; }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr !important; text-align: center; }
    .hero-image { display: none !important; }
    .nav-links { display: none; }
}
