/* =========================================================
   INVESTMENT PLATFORM
   GLOBAL DESIGN SYSTEM
   ========================================================= */

/* -------------------------
   Google Fonts
------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');


/* -------------------------
   CSS Variables
------------------------- */

:root {
    --primary: #1677ff;
    --primary-dark: #0b5ed7;
    --secondary: #20c7d9;

    --navy: #07111f;
    --navy-light: #0b172a;
    --navy-soft: #10213a;

    --white: #ffffff;
    --black: #050a12;

    --text: #162033;
    --text-light: #667085;
    --text-white: #e9f0f8;

    --background: #f5f8fc;
    --background-light: #ffffff;
    --background-dark: #07111f;

    --border: #e5eaf1;
    --border-dark: rgba(255, 255, 255, 0.10);

    --success: #12b76a;
    --danger: #f04438;
    --warning: #f79009;

    --shadow-sm: 0 4px 15px rgba(7, 17, 31, 0.06);
    --shadow-md: 0 12px 35px rgba(7, 17, 31, 0.10);
    --shadow-lg: 0 25px 70px rgba(7, 17, 31, 0.14);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --container: 1240px;

    --transition: all 0.3s ease;
}


/* -------------------------
   Reset
------------------------- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
}


body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}


body.menu-open {
    overflow: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: none;
    cursor: pointer;
}


ul,
ol {
    list-style: none;
}


/* -------------------------
   Global Container
------------------------- */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}


/* -------------------------
   Section
------------------------- */

.section {
    padding: 100px 0;
}


.section-sm {
    padding: 70px 0;
}


.section-dark {
    background: var(--navy);
    color: var(--white);
}


.section-light {
    background: var(--white);
}


/* -------------------------
   Section Header
------------------------- */

.section-header {
    max-width: 760px;
    margin-bottom: 55px;
}


.section-header.center {
    margin-inline: auto;
    text-align: center;
}


.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 15px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--primary);
}


.section-label::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--primary);
}


.section-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}


.section-description {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 680px;
}


.section-dark .section-description {
    color: #aebbc9;
}


/* -------------------------
   Buttons
------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 50px;
    padding: 0 24px;

    border-radius: 8px;

    font-size: 0.92rem;
    font-weight: 700;

    transition: var(--transition);
}


.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(22, 119, 255, 0.22);
}


.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(22, 119, 255, 0.30);
}


.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}


.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}


.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
}


/* -------------------------
   Cards
------------------------- */

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}


.card-hover {
    transition: var(--transition);
}


.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}


/* -------------------------
   Badge
------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 11px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 700;
}


.badge-success {
    background: rgba(18, 183, 106, 0.10);
    color: var(--success);
}


.badge-danger {
    background: rgba(240, 68, 56, 0.10);
    color: var(--danger);
}


.badge-warning {
    background: rgba(247, 144, 9, 0.10);
    color: var(--warning);
}


/* -------------------------
   Market Dot
------------------------- */

.market-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.10);
}


/* -------------------------
   Utility
------------------------- */

.text-primary {
    color: var(--primary);
}


.text-success {
    color: var(--success);
}


.text-danger {
    color: var(--danger);
}


.text-muted {
    color: var(--text-light);
}


.text-center {
    text-align: center;
}


.hidden {
    display: none !important;
}


/* -------------------------
   Accessibility
------------------------- */

:focus-visible {
    outline: 3px solid rgba(22, 119, 255, 0.35);
    outline-offset: 3px;
}


/* -------------------------
   Scrollbar
------------------------- */

::-webkit-scrollbar {
    width: 9px;
}


::-webkit-scrollbar-track {
    background: #edf1f6;
}


::-webkit-scrollbar-thumb {
    background: #aeb8c6;
    border-radius: 999px;
}


::-webkit-scrollbar-thumb:hover {
    background: #7e8b9c;
}

/* =========================================================
   FIXED HEADER PAGE OFFSET
   ========================================================= */

body {
    padding-top: 78px;
}

@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
}