/* =========================
   ROOT VARIABLES
========================= */
:root{
    --dark:#0a2f2f;
    --dark2:#083b3b;
    --primary:#22f3a3;
    --light:#e9fff6;
    --white:#ffffff;
    --gray:#8fa7a7;
}

/* =========================
   GLOBAL RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter', Arial, sans-serif;
    background:var(--light);
    color:#102a2a;
    line-height:1.6;
}

/* =========================
   HEADER (DESKTOP + MOBILE)
========================= */
.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 80px;
    background:var(--dark);
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 6px 18px rgba(0,0,0,0.25);
}

.header-left,
.header-right{
    display:flex;
    align-items:center;
}

.header-right{
    gap:15px;
}

/* LOGO */
.logo{
    font-size:22px;
    font-weight:700;
    letter-spacing:1px;
    color:white;
}

.logo span{ color:var(--primary); }

/* DESKTOP NAV */
nav a{
    margin:0 18px;
    color:#e5fefe;
    font-size:14px;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover{ color:var(--primary); }

/* BUTTON */
.btn,
.login-btn{
    background:var(--primary);
    color:#003b2a;
    padding:10px 20px;
    border:none;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:0.3s;
}

.btn:hover,
.login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(34,243,163,0.4);
}

/* =========================
   USER PROFILE DROPDOWN
========================= */
.user-profile{
    position:relative;
    display:none;
}

.user-profile img{
    width:34px;
    height:34px;
    border-radius:50%;
    cursor:pointer;
}

.profile-dropdown{
    display:none;
    position:absolute;
    top:45px;
    right:0;
    background:white;
    min-width:160px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.profile-dropdown a{
    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:#102a2a;
    font-size:14px;
}

.profile-dropdown a:hover{
    background:var(--light);
}

.user-profile:hover .profile-dropdown{
    display:block;
}

/* =========================
   HAMBURGER ICON
========================= */
.menu-icon{
    display:flex;
    flex-direction:column;
    cursor:pointer;
}

.menu-icon span{
    width:24px;
    height:3px;
    background:white;
    margin:4px 0;
    border-radius:3px;
    transition:0.4s;
}

/* HAMBURGER → X */
.menu-icon.active span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
}

.menu-icon.active span:nth-child(2){
    opacity:0;
}

.menu-icon.active span:nth-child(3){
    transform:rotate(-45deg) translate(6px,-6px);
}

/* =========================
   SLIDE-IN SIDEBAR MENU
========================= */
.side-menu{
    position:fixed;
    top:0;
    right:-260px;
    width:260px;
    height:100%;
    background:var(--dark2);
    padding:90px 25px;
    display:flex;
    flex-direction:column;
    gap:18px;
    transition:0.4s ease;
    z-index:999;
}

.side-menu a{
    color:white;
    text-decoration:none;
    font-size:16px;
}

.side-menu a:hover{
    color:var(--primary);
}

.side-menu.active{
    right:0;
}

/* OVERLAY */
.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    display:none;
    z-index:998;
}

.overlay.active{
    display:block;
}

/* =========================
   HERO SECTION
========================= */
.hero{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    align-items:center;
    padding:100px 80px;
    background:linear-gradient(135deg,#083b3b,#0a4f4f);
    color:white;
}

.hero h1{
    font-size:46px;
    line-height:1.2;
}

.hero h1 span{ color:var(--primary); }

.hero p{
    margin:25px 0;
    font-size:16px;
    color:#d8fdf1;
}

.hero-img img{
    width:100%;
    max-width:380px;
}

/* =========================
   FEATURES
========================= */
.features{
    padding:90px 80px;
    text-align:center;
}

.features h2{ font-size:32px; }

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:30px;
    margin-top:50px;
}

.card{
    background:white;
    padding:35px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

/* =========================
   COURSES
========================= */
.courses{
    padding:90px 80px;
    background:var(--dark);
    color:white;
    text-align:center;
}

.course-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    margin-top:50px;
}

.course{
    background:var(--dark2);
    padding:35px;
    border-radius:16px;
    transition:0.3s;
}

.course:hover{
    transform:scale(1.05);
    border:1px solid var(--primary);
}

.course span{
    display:block;
    margin-top:15px;
    font-size:22px;
    color:var(--primary);
}

/* =========================
   TESTIMONIALS
========================= */
.testimonials{
    padding:90px 80px;
    text-align:center;
}

.review{
    background:white;
    margin:20px auto;
    max-width:600px;
    padding:25px;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
}

/* =========================
   FAQ
========================= */
.faq{
    padding:90px 80px;
    background:#f4fffb;
}

details{
    background:white;
    margin-bottom:15px;
    padding:18px 22px;
    border-radius:10px;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
}
.dashboard{
    padding:3px 10px;
    background:var(--light);
}

.dashboard h2{
    font-size:32px;
    margin-bottom:20px;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
}

.dash-card{
    background:white;
    padding:30px;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.dash-card h4{
    color:var(--gray);
    font-size:14px;
    margin-bottom:10px;
}

.amount{
    font-size:28px;
    font-weight:700;
}

.positive{
    color:#16c784;
    font-weight:600;
}

.neutral{
    color:#f0b90b;
}

.performance{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
    padding:20px 10px;
}

.perf-card{
    padding:35px;
    border-radius:16px;
    color:white;
    font-size:20px;
    font-weight:700;
}

.profit{ background:#16c784; }
.loss{ background:#ea3943; }
.stable{ background:#f0b90b; color:#102a2a; }

.risk{
    background:#fff3f3;
    padding:10px 10px;
    border-left:6px solid #ea3943;
}

.risk h3{
    color:#ea3943;
    margin-bottom:15px;
}

.chart-box{
    background:white;
    padding:25px;
    border-radius:16px;
    box-shadow:0 12px 35px rgba(0,0,0,0.1);
    margin-top:40px;
}
/* NOTIFICATION BELL */
.notification{
    position:relative;
    font-size:20px;
    cursor:pointer;
}

.notification .badge{
    position:absolute;
    top:-6px;
    right:-8px;
    background:#ea3943;
    color:#fff;
    font-size:10px;
    padding:2px 6px;
    border-radius:50%;
}

.disclaimer{
    background:#071f24;
    color:#9fbec3;
    font-size:13px;
    padding:25px 40px;
    text-align:center;
}

.login-panel{
    max-width:420px;
    margin:80px auto;
    background:white;
    padding:40px;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,0.12);
    text-align:center;
}

.login-form input{
    width:100%;
    padding:14px;
    margin:12px 0;
    border-radius:8px;
    border:1px solid #ccc;
}

.login-form button{
    width:100%;
    padding:14px;
    background:var(--primary);
    border:none;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}

/* =========================
   FOOTER
========================= */
.footer{
    background:var(--dark);
    color:#c7eae1;
    text-align:center;
    padding:30px;
    font-size:14px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1024px){
.hero{
    grid-template-columns:1fr;
    text-align:center;
}
.hero-img{ margin-top:40px; }

.features,
.courses,
.testimonials,
.faq{
    padding:70px 40px;
}
}

@media (max-width:768px){

.header{
    padding:15px 20px;
}

nav{ display:none; }


.hero{
    padding:70px 25px;
}

.hero h1{ font-size:34px; }
}

@media (max-width:480px){

.logo{ font-size:18px; }

.hero{
    padding:60px 20px;
}

.hero h1{ font-size:28px; }

.hero-img img{ max-width:260px; }

.card,
.course{
    padding:22px;
}
}
/* ===== BOTTOM MOBILE NAV ===== */
.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:#071f24;
    display:flex;
    justify-content:space-around;
    padding:8px 0;
    z-index:1000;
    border-top:1px solid rgba(255,255,255,0.08);
}

.bottom-nav a{
    color:#9ddfd3;
    text-decoration:none;
    font-size:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
}

.bottom-nav a span{
    font-size:11px;
}

/* Active tab */
.bottom-nav a.active{
    color:#1fe4a8;
}

.bottom-nav a.active span{
    font-weight:600;
}

/* Desktop hide */
@media(min-width:768px){
    .bottom-nav{
        display:none;
    }
}
.user-avatar{
    width:30px;
    height:30px;
    border-radius:50%;
}

.username{
    font-size:13px;
    color:#9ddfd3;
}

.user-profile{
    display:flex;
    align-items:center;
    gap:6px;
    position:relative;
}

.profile-dropdown{
    position:absolute;
    top:40px;
    right:0;
    background:#fff;
    border-radius:10px;
    min-width:150px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
    display:none;
}

.user-profile:hover .profile-dropdown{
    display:block;
}

