﻿/* ==========================================
   Cyber Prosperity
   Sprint 1 - Landing Page
   Base Styles
========================================== */

:root {
    --cp-bg:  #08111F;;
    --cp-bg-soft: #101722;
    --cp-card: #171f2d;
    --cp-card-hover: #1d2839;

    --cp-gold: #d4a64a;
    --cp-gold-light: #e7c15b;

    --cp-white: #ffffff;
    --cp-text: #e8edf5;
    --cp-muted: #94a3b8;

    --cp-border: rgba(255,255,255,.08);

    --cp-max-width: 1280px;
}

/* =========================================================
   GLOBAL HOMEPAGE
========================================================= */

body {
    margin: 0;
    padding: 0;
    background: var(--cp-bg);
    color: var(--cp-text);
    font-family: "Sora", sans-serif;
    overflow-x: hidden;
}

body,
body * {
    box-sizing: border-box;
}

a {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================================
   NAVBAR
========================================================= */

.cp-nav {
    position: relative;
    width: 100%;
    height: 82px;
    background: rgba(11, 15, 24, .96);
    border-bottom: 1px solid rgba(255,255,255,.06);
    z-index: 1000;
}

.cp-nav-inner {
    width: 100%;
    height: 100%;
    padding: 0 80px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: nowrap;
}

/* =========================================================
   BRAND
========================================================= */

.cp-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cp-white);
    text-decoration: none;
    flex-shrink: 0;
}

.cp-brand-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--cp-gold-light),
    );
    color: #111827;
    font-family: "Sora", sans-serif;
    font-size: 16px;
    font-weight: 800;
    box-shadow:
        0 8px 22px rgba(212,166,74,.18);
    overflow: hidden;
}

.cp-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.cp-brand span {
    color: var(--cp-white);

    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* =========================================================
   NAVIGATION
========================================================= */
.cp-links {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.cp-links a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color .3s;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}

.cp-links a:hover,
.cp-links a.active {
    color: #F2C94C;
}

/* =========================================================
   NAV RIGHT
========================================================= */

.cp-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.cp-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 17px;
    color: #dbe3ef;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: .25s ease;
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-signin:hover {
    color: var(--cp-white);
    background: rgba(255,255,255,.06);
}

.cp-join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--cp-gold);
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow:0 8px 22px rgba(212,166,74,.18);
    white-space: nowrap;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.cp-join:hover {
    background: var(--cp-gold-light);
    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(212,166,74,.28);
}

/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    background: #080c14;
}

/* =========================================================
   SLIDE
========================================================= */

.home-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 650px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .7s ease,
        visibility .7s ease;
}

.home-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

/* =========================================================
   HERO BACKGROUND
========================================================= */

.home-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-hero-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;

    transform: none;

    filter: brightness(.58) saturate(.82);
}

/* =========================================================
   HERO OVERLAY
========================================================= */

.home-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5,9,16,.94) 0%,
            rgba(5,9,16,.82) 32%,
            rgba(5,9,16,.48) 62%,
            rgba(5,9,16,.20) 100%
        );

    z-index: 1;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.home-hero-copy {
    position: relative;
    z-index: 5;
    width: min(100% - 60px, var(--cp-max-width));
    min-height: 650px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 0 110px;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 20px;
    padding: 6px 13px;
    border: 1px solid rgba(212,166,74,.35);
    border-radius: 999px;
    background: rgba(212,166,74,.08);
    color: var(--cp-gold-light);
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-title {
    max-width: 780px;
    margin: 0 0 24px;
    color: var(--cp-white);
    font-family: "Sora", sans-serif;
    font-size: clamp(42px, 5.2vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.home-accent {
    color: var(--cp-gold-light);
}

.home-hero-copy > p {
    max-width: 650px;
    margin: 0 0 34px;
    color: #c1cad8;
    font-family: "Sora", sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.home-hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}

.home-hero-buttons a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.home-hero-buttons .btn-primary {
    background: var(--cp-gold);

    color: #111827;

    box-shadow:
        0 10px 25px rgba(212,166,74,.22);
}

.home-hero-buttons .btn-primary:hover {
    background: var(--cp-gold-light);

    transform: translateY(-3px);

    box-shadow:
        0 16px 32px rgba(212,166,74,.30);
}

.home-hero-buttons .btn-secondary {
    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.18);

    color: var(--cp-white);
}

.home-hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,.09);

    border-color: rgba(255,255,255,.30);

    transform: translateY(-3px);
}


/* =========================================================
   HERO DOTS
========================================================= */

.home-dots {
    position: absolute;

    left: 50%;

    bottom: 30px;

    z-index: 20;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 8px;
}

.home-dots button {
    width: 8px;
    height: 8px;

    padding: 0;

    border: none;

    border-radius: 999px;

    background: rgba(255,255,255,.35);

    cursor: pointer;

    transition:
        width .25s ease,
        background .25s ease;
}

.home-dots button.active {
    width: 28px;

    background: var(--cp-gold);
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.cp-section {
    position: relative;

    width: 100%;

    padding: 110px 30px;

    background: var(--cp-bg);
}

.cp-section:nth-of-type(even) {
    background: #0e141f;
}

.cp-section-heading {
    width: min(100%, 760px);

    margin: 0 auto 55px;

    text-align: center;
}

.cp-section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--cp-gold);

    font-family: "JetBrains Mono", monospace;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.cp-section-heading h2 {
    margin: 0 0 18px;

    color: var(--cp-white);

    font-family: "Sora", sans-serif;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -.035em;
}

.cp-section-heading h2 span {
    color: var(--cp-gold-light);
}

.cp-section-heading p {
    max-width: 680px;

    margin: 0 auto;

    color: var(--cp-muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   FEATURE GRID
========================================================= */

.cp-feature-grid {
    width: min(100%, var(--cp-max-width));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.cp-feature-card {
    position: relative;

    min-height: 250px;

    padding: 30px;

    background: linear-gradient(
        145deg,
        #182131,
        #121a27
    );

    border: 1px solid var(--cp-border);

    border-radius: 20px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.cp-feature-card:hover {
    transform: translateY(-7px);

    border-color: rgba(212,166,74,.45);

    background: var(--cp-card-hover);

    box-shadow:
        0 20px 45px rgba(0,0,0,.28);
}

.cp-feature-icon {
    width: 52px;
    height: 52px;

    margin-bottom: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: rgba(212,166,74,.12);

    border: 1px solid rgba(212,166,74,.22);

    color: var(--cp-gold-light);

    font-size: 19px;
}

.cp-feature-card h3 {
    margin: 0 0 12px;

    color: var(--cp-white);

    font-size: 19px;

    font-weight: 700;
}

.cp-feature-card p {
    margin: 0;

    color: var(--cp-muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   STATISTICS
========================================================= */

#statistics {
    background: #0e141f;
}

.cp-stats-grid {
    width: min(100%, var(--cp-max-width));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    text-align: center;
}

.cp-stat-card {
    padding: 34px 20px;

    background: linear-gradient(
        145deg,
        #182131,
        #121a27
    );

    border: 1px solid var(--cp-border);

    border-radius: 18px;

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.cp-stat-card:hover {
    transform: translateY(-6px);

    background: var(--cp-card-hover);

    border-color: rgba(212,166,74,.4);
}

.cp-stat-card h3 {
    margin: 0 0 8px;

    color: var(--cp-gold-light);

    font-family: "Sora", sans-serif;

    font-size: 36px;

    font-weight: 800;

    line-height: 1.1;
}

.cp-stat-card p {
    margin: 0;

    color: var(--cp-muted);

    font-size: 13px;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.cp-cta {
    position: relative;

    padding: 110px 30px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(212,166,74,.12),
            transparent 45%
        ),
        #0a0f18;

    border-top: 1px solid rgba(255,255,255,.05);

    border-bottom: 1px solid rgba(255,255,255,.05);

    text-align: center;
}

.cp-cta-content {
    position: relative;

    z-index: 2;

    width: min(100%, 760px);

    margin: 0 auto;
}

.cp-cta h2 {
    margin: 0 0 18px;

    color: var(--cp-white);

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -.035em;
}

.cp-cta h2 span {
    color: var(--cp-gold-light);
}

.cp-cta p {
    max-width: 650px;

    margin: 0 auto 32px;

    color: var(--cp-muted);

    font-size: 15px;

    line-height: 1.8;
}

.cp-btn-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 26px;

    background: var(--cp-gold);

    color: #111827;

    border-radius: 11px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 10px 28px rgba(212,166,74,.22);

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.cp-btn-primary:hover {
    background: var(--cp-gold-light);

    transform: translateY(-3px);

    box-shadow:
        0 16px 34px rgba(212,166,74,.30);
}

/* ==========================================
   FOOTER
========================================== */

.cp-footer {
    width: 100%;
    background: #080c13;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cp-footer-inner {
    width: min(100% - 60px, 1280px);
    min-height: auto;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cp-footer-brand .cp-brand {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cp-footer-brand p {
    max-width: 300px;
    margin: 0;
    color: #69778c;
    font-size: 12px;
    line-height: 1.7;
}

.cp-footer-copy {
    color: #64748b;
    font-size: 12px;
    text-align: right;
}


/* ==========================================
   LOGIN PAGE
========================================== */

.login-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:
        radial-gradient(circle at 80% 20%, rgba(212,166,74,.08), transparent 40%),
        #08111F;
    padding:30px;
}

.login{
    width:100%;
}

.login-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-box{
    width:100%;
    max-width:420px;
    background:#121C2F;
    border:1px solid rgba(255,255,255,.08);
    padding:45px;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.login-box h1{
    font-family:"Sora", sans-serif;
    font-size:32px;
    font-weight:800;
    color:#F8FAFC;
    margin-bottom:12px;
}

.login-box p{
    color:#94A3B8;
    margin-bottom:30px;
}

.login-box form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.login-box input{
    width:100%;
    padding:16px;
    background:#0e1424;
    border:1px solid rgba(255,255,255,.10);
    border-radius:10px;
    color:#F8FAFC;
    font-size:15px;
    font-family:"Inter", sans-serif;
    transition:.2s;
}

.login-box input::placeholder{
    color:#5f6784;
}

.login-box input:focus{
    outline:none;
    border-color:#D4A64A;
    box-shadow:0 0 0 3px rgba(212,166,74,.15);
}

.login-box button{
    border:none;
    cursor:pointer;
}

.login-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    margin:25px 0;
    color:#5f6784;
    font-size:14px;
    font-weight:600;
}

.login-divider::before,
.login-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:rgba(255,255,255,.08);
}

.login-divider span{
    margin:0 15px;
}

.btn-google{
    width:100%;
    height:52px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    background:#0e1424;
    color:#F8FAFC;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:all .3s ease;
}

.btn-google:hover{
    background:#161d33;
    border-color:rgba(212,166,74,.3);
    transform:translateY(-2px);
}

.btn-google img{
    width:22px;
    height:22px;
    border-radius: 50%;
}

.login-link{
    margin-top:25px;
    text-align:center;
    color:#94A3B8;
}

.login-link a{
    color:#F2C94C;
    font-weight:700;
    text-decoration:none;
}

.login-link a:hover{
    color:#e7c15b;
}

.btn-primary{
    display:block;
    width:100%;
    background:linear-gradient(135deg, #F2C94C, #D4A64A);
    color:#111827;
    padding:16px;
    border:none;
    border-radius:12px;
    font-weight:700;
    font-size:15px;
    text-align:center;
    cursor:pointer;
    text-decoration:none;
    transition:.25s ease;
}

.btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(212,166,74,.3);
}

/* ==========================================
   FEATURES CENTER
========================================== */

.app-layout{
    display:flex;
    min-height:100vh;
    background:#0B0E14;
    overflow:hidden;
}

.feature-card{
    background:#1B2434;
    border:1px solid rgba(255,255,255,.06);
    border-radius:22px;
    padding:28px;
    display:flex;
    align-items:flex-start;
    gap:22px;
    transition:.35s ease;
    cursor:pointer;
    box-shadow:0 15px 35px rgba(0,0,0,.30);
}

.feature-card:hover{
    transform:translateY(-8px);
    border-color:#D4A64A;
    box-shadow:0 25px 45px rgba(0,0,0,.40);
}

.feature-icon{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:20px;
    background:#D4A64A;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#111827;
    font-size:15px;
}

.feature-info h2{
    font-size:16px;
    color:#ffffff;
    margin-bottom:12px;
    font-weight:700;
}

.feature-info p{
    color:#94a3b8;
    line-height:1.6;
    font-size:12px;
    margin-bottom:15px;
}

.feature-info a{
    display:inline-flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#D4A64A;
    font-weight:700;
    transition:.3s;
}

.feature-info a:hover{
    gap: 12px;
}

.feature-grid{
    display:grid;
    grid-template-columns: repeat(2, 260px);
    gap:30px;
    justify-content:flex-start;
}

/* ==========================
   SIDEBAR
========================== */

.sidebar{
    width:260px;
    background:#0f172a;
    color:#ffffff;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:25px 20px;
    position:fixed;
    left:0;
    top:0;
    bottom:0;

    border-right:1px solid #2d281e;
}

.sidebar-logo{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    margin-bottom:40px;
}

.sidebar-logo-img{
    width:80px;
    height:80px;
    object-fit:contain;
    margin-bottom:15px;
}

.sidebar-logo h2{
    font-size:18px;
    line-height:1.3;
    margin-bottom:6px;
}

.sidebar-logo span{
    font-size:13px;
    color:#94a3b8;
    line-height:1.5;
}

.logo-icon{
    width:52px;
    height:52px;
    border-radius:14px;
    background:#D4A64A;
    color:#0f172a;
    display:flex;
    justify-content:center;
    align-items:justify;
    font-weight:800;
    font-size:20px;
}

.logo-text{
    font-size:25px;
    font-weight:700;
}

.sidebar-title{
    color:#94a3b8;
    font-size:20px;
    letter-spacing:2px;
    margin-bottom:15px;
    text-transform:uppercase;
}

.sidebar-menu,
.sidebar-bottom{
    display:flex;
    flex: 1;
    flex-direction:column;
    gap:10px;
}

.sidebar-menu a,
.sidebar-bottom a{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#cbd5e1;
    padding:14px 18px;
    border-radius:10px;
    transition:.3s;
    font-weight:500;
}

.sidebar-menu a:hover,
.sidebar-bottom a:hover{
    background:transparent;
    color:#ffffff;
    border:1px solid #D4A64A;
    border-radius:5px;
    padding:20px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    transition:.35s ease;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(0,0,0,.20);
}

.sidebar-menu a.active,
.sidebar-bottom a.active{
    transform:translateY(-8px);
    border-color:#D4A64A;
    box-shadow:0 25px 45px rgba(0,0,0,.40);
    color:#D4A64A;

}

.sidebar-menu i,
.sidebar-bottom i{
    width:20px;
    text-align:center;
}

.sidebar-divider{
    width:100%;
    height:1px;
    background:rgba(255,255,255,.08);
    margin:25px 0;
}

.sidebar-footer{

    padding:0 20px 25px;

}
.notification-btn{
    width:48px;
    height:48px;

    display:flex;
    justify-content:center;
    align-items:center;

    border:none;
    border-radius:14px;

    background:#1B2434;
    color:#94A3B8;

    cursor:pointer;
    transition:all .3s ease;
}
.notification-btn:hover{
    background:#D4A64A;
    color:#111827;
    transform:translateY(-2px);
}

.market-ticker{
    width:100%;
    height:42px;

    margin:0 0 20px 0;

    overflow:hidden;

    border:none;
    border-radius:0;

    background:#10151F;
    
}

.market-ticker .tradingview-widget-container{
    width:100%;
    height:42px;
}

.market-ticker .tradingview-widget-container__widget{
    width:100%;
    height:42px;
}

/* ==========================
   MAIN CONTENT
========================== */

.main-content{
    margin-left:260px;
    min-height:100vh;
    background:#10151F;
    color:#ffffff;
    padding:40px;
    box-sizing:border-box;
    flex:1;
    
}

/* ==========================
   TOPBAR
========================== */

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.topbar-left h1{
    color:#ffffff;
    font-size:32px;
    font-weight:700;
    margin-bottom:6px;
}

.topbar-left p{
    color:#94A3B8;
    font-size:15px;
    line-height:1.6;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:18px;
}
.search-box{
    display:flex;
    align-items:center;
    gap:12px;
    width:320px;
    height:50px;
    background:#1B2434;
    border:1px solid rgba(255,255,255,.06);
    border-radius:14px;
    padding:0 18px;
}

.search-box i{
    color:#94A3B8;
    font-size:15px;
}

.search-box input{
    flex:1;
    background:transparent;
    border:none;
    outline:none;
    color:#ffffff;
    font-size:15px;
}

.search-box input::placeholder{
    color:#64748B;
}
/* ==========================================
   PROFILE PAGE
========================================== */
.profile-header{
    background:#1B2434;
    border-radius:24px;
    overflow:hidden;
    margin-bottom:30px;
    border:1px solid rgba(255,255,255,.06);
}

.profile-cover{
    height:450px;
    background:linear-gradient(
        135deg,
        #D4A64A 0%,
        #B88A32 100%
    );
}

.profile-profile{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 20px;
    margin-top:-70px;
}

.profile-avatar-wrapper{
    position:relative;
    display:inline-block;
    flex-shrink:0;
}

.profile-avatar{
    width:140px;
    height:140px;
    border-radius:50%;
    border:6px solid #1B2434;
    object-fit:cover;
    background:#ffffff;
}

.avatar-upload-btn{
    position:absolute;
    bottom:6px;
    right:6px;
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#D4A64A;
    color:#111827;
    border-radius:50%;
    border:3px solid #1B2434;
    cursor:pointer;
    font-size:13px;
    transition:.25s;
}

.avatar-upload-btn:hover{
    background:#E0B45B;
    transform:translateY(-2px);
}

.profile-info{
    flex:1;
    margin-left:25px;
    padding-top:60px;
}

.profile-name{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:2px;
}

.profile-name h1{
    margin:0;
    font-size:34px;
    color:#ffffff;
    font-weight:700;
}

.profile-name span{
    color:#94A3B8;
    font-size:16px;
}

.profile-username{
    color:#94A3B8;
    font-size:15px;
    margin:0;
}

.profile-username span{
    color:#64748B;
    margin-left:8px;
}

.profile-action{
    display:flex;
    align-items:center;
    gap:12px;
    padding-top:60px;
}

.profile-details{
    padding:20px;
}

.profile-badge{
    margin-bottom:14px;
}

.badge{
    display:inline-block;
    background:#D4A64A;
    color:#111827;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:700;
}

.profile-bio{
    color:#CBD5E1;
    line-height:1.7;
    margin:0 0 20px;
    max-width:700px;
}

.btn-edit-profile{
    display:flex;
    align-items:center;
    gap:8px;
    padding:12px 22px;
    background:#202B3C;
    color:#FFFFFF;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    cursor:pointer;
    transition:.3s;
}

.btn-edit-profile:hover{
    background:#29364A;
}

.btn-setting-profile{
    display:flex;
    align-items:center;
    gap:8px;
    padding:12px 22px;
    background:#D4A64A;
    color:#111827;
    border:none;
    border-radius:10px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.btn-setting-profile:hover{
    background:#E0B45B;
}

/* ==========================================
   PROFILE PHOTO PANEL (dipakai di settings.html)
========================================== */
.profile-photo-wrapper{
    display:flex;
    justify-content:center;
    margin:35px 0;
    margin-bottom:28px;
}

.profile-photo-preview{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #2D3B57;
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.settings-action{
    display:flex;
    gap:15px;
    margin-top:30px;
}

/* ==========================================
   PROFILE STATS
========================================== */
.profile-stats{
    display:flex;
    gap:50px;
    margin-top:20px;
}

.stat{
    display:flex;
    flex-direction:column;
}

.stat strong{
    color:#FFFFFF;
    font-size:26px;
    font-weight:700;
}

.stat span{
    color:#94A3B8;
    font-size:14px;
    margin-top:4px;
}

/* ==========================================
   PROFILE META
========================================== */
.profile-meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:8px;
}

.profile-meta span{
    display:flex;
    align-items:center;
    gap:8px;
    color:#CBD5E1;
    font-size:14px;
}

.profile-meta i{
    color:#D4A64A;
}

/* ==========================================
   PROFILE CONTENT
========================================== */
.profile-content{
    display:flex;
    flex-direction:column;
    gap:35px;
    margin-top:40px;
}

.profile-card{
    background:#1B2434;
    border:1px solid rgba(255,255,255,.06);
    border-radius:20px;
    padding:24px;
}

/* ==========================================
   PROFILE STATUS
========================================== */
.profile-status,
.profile-feed{
    width:100%;
}

.profile-feed{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.section-title{
    color:#94A3B8;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    margin-bottom:15px;
}

.status-input{
    display:flex;
    gap:18px;
    align-items:flex-start;
}

.status-avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #D4A64A;
    flex-shrink:0;
}

.status-box{
    flex:1;
    min-height:110px;
    background:#10151F;
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    padding:18px;
    resize:none;
    color:#ffffff;
    font-size:15px;
    outline:none;
}

.status-box::placeholder{
    color:#64748B;
}

.status-toolbar{
    margin-top:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.status-tools{
    display:flex;
    gap:15px;
}

.status-tools button{
    background:none;
    border:none;
    color:#94A3B8;
    cursor:pointer;
}

.status-tools button:hover{
    color:#D4A64A;
}

.btn-status{
    background:#D4A64A;
    color:#111827;
    border:none;
    padding:12px 22px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}

/* ==========================================
   FEED
========================================== */

.feed-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:18px;

}

.feed-avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #D4A64A;

}

.feed-header strong{
    color:#ffffff;
    display:block;

}

.feed-header small{
    color:#94A3B8;

}

.feed-text{
    color:#CBD5E1;
    line-height:1.8;
    margin-bottom:20px;

}

.feed-footer{
    display:flex;
    gap:25px;
    color:#94A3B8;

}

.feed-post-image{
    display:block;
    max-width:480px;
    max-height:420px;
    width:auto;
    height:auto;
    margin:10px auto;
    border-radius:10px;
    object-fit:contain;
    background:#0e1420;
    cursor:pointer;
    transition:.2s;
}

.feed-post-image:hover{
    opacity:0.92;
}

/* =========================
   Contact
========================= */

.contact{
    padding:100px 20px;
    background:#ffffff;
    text-align:center;
}

.contact h2{
    font-size:2.7rem;
    color:#0f172a;
    margin-bottom:20px;
    font-weight:800;
}

.contact .section-description{
    max-width:760px;
    margin:0 auto 60px;
    color:#64748b;
    font-size:1.1rem;
    line-height:1.8;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:60px;
}

.contact-card{
    background:#ffffff;
    padding:40px 30px;
    border-radius:20px;
    border:1px solid #edf2f7;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:all .35s ease;
    text-align:center;
}

.contact-card:hover{
    transform:translateY(-8px);
    border-color:#D4A64A;
    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.contact-card i{
    font-size:50px;
    color:#D4A64A;
    margin-bottom:20px;
}

.contact-card h3{
    margin-bottom:15px;
    color:#0f172a;
    font-size:1.35rem;
}

.contact-card p{
    color:#64748b;
    line-height:1.8;
    text-align:center;
}

.contact-card a{
    display:block;
    color:#64748b;
    text-decoration:none;
    line-height:1.8;
    text-align:center;
    transition:.3s;
}

.contact-card a:hover{
    color:#D4A64A;
}

/* Khusus alamat */

.contact-address{
    color:#64748b;
    line-height:1.8;
    text-align:justify;
}

/* ==========================================
   FORUM HEADER
========================================== */

.forum-header{

    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:25px;

}

.forum-header-top{

    flex:1;

}

.forum-subtitle{

    display:inline-block;
    color:#D4A64A;
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:12px;

}

.forum-header h1{

    color:#FFFFFF;
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;

}

.forum-header p{

    color:#94A3B8;
    font-size:17px;
    line-height:1;
    max-width:700px;

}

/* ==========================================
   CREATE THREAD BUTTON
========================================== */

.forum-create-btn{
    display:flex;
    align-items:center;
    gap:10px;
    background:#D4A64A;
    color:#111827;
    border:none;
    border-radius:15px;
    padding:14px 24px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;

}

.forum-create-btn:hover{
    background:#E8BC5D;
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(212,166,74,.35);

}

.forum-create-btn i{
    font-size:14px;

}

/* ==========================================
   FORUM TOOLBAR
========================================== */

.forum-toolbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:25px;
    flex-wrap:wrap;

}/* ==========================================
   CATEGORY FILTER
========================================== */

.forum-categories{

    display:flex;
    flex-wrap:wrap;
    gap:12px;

}

.forum-categories button{

    border:none;
    background:#1B2434;
    color:#94A3B8;
    padding:12px 20px;
    border-radius:999px;
    cursor:pointer;
    font-size:14px;
    font-weight:600;
    transition:.3s;

}

.forum-categories button:hover{

    background:#26324A;
    color:#FFFFFF;

}

.forum-categories button.active{

    background:#D4A64A;
    color:#111827;

}

/* ==========================================
   SEARCH
========================================== */

.forum-search{

    width:320px;
    display:flex;
    align-items:center;
    gap:12px;
    background:#1B2434;
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    padding:0 16px;

}

.forum-search i{

    color:#64748B;

}

.forum-search input{

    flex:1;
    height:52px;
    border:none;
    background:none;
    outline:none;
    color:#FFFFFF;
    font-size:15px;

}

.forum-search input::placeholder{

    color:#64748B;

}

/* ==========================================
   THREAD CARD
========================================== */

.thread-card{

    display:flex;
    gap:20px;
    background:#1B2434;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:22px;
    transition:.3s;

}

.thread-card:hover{

    border-color:#D4A64A;
    transform:translateY(-3px);

}

.thread-avatar{

    width:70px;
    height:70px;
    flex-shrink:0;
    border-radius:50%;
    overflow:hidden;

}

.thread-avatar img{

    width:100%;
    height:100%;
    object-fit:cover;
    display:block;

}

.thread-content{

    flex:1;

}
.forum-feed{

    display:flex;
    flex-direction:column;
    gap:22px;

}

/* ==========================================
   THREAD TAG
========================================== */

.thread-tag{

    display:inline-flex;
    align-items:center;
    padding:5px 12px;
    margin-bottom:10px;
    border:1px solid rgba(212,166,74,.35);
    border-radius:999px;
    background:rgba(212,166,74,.08);
    color:#D4A64A;
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;

}

/* ==========================================
   THREAD ACTIONS (Hapus)
========================================== */

.thread-meta{
    display:flex;
    align-items:center;
    gap:10px;
}

.thread-delete-btn{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-left:auto;
    background:none;
    border:none;
    color:#EF4444;
    font-size:13px;
    cursor:pointer;
    transition:.2s;
}

.thread-delete-btn:hover{
    color:#ff6b6b;
    text-decoration:underline;
}

/* ==========================================
   THREAD COMMENTS
========================================== */

.thread-comment-toggle{
    cursor:pointer;
    transition:.2s;
}

.thread-comment-toggle:hover{
    color:#D4A64A;
}

.thread-comments{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.08);
}

.comment-list{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:14px;
}

.comment-item{
    display:flex;
    gap:12px;
}

.comment-avatar{
    width:36px;
    height:36px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.comment-body{
    flex:1;
    background:#10151F;
    border-radius:12px;
    padding:10px 14px;
}

.comment-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:4px;
}

.comment-author{
    color:#FFFFFF;
    font-size:13px;
    font-weight:700;
}

.comment-time{
    color:#64748B;
    font-size:11px;
}

.comment-delete-btn{
    margin-left:auto;
    background:none;
    border:none;
    color:#EF4444;
    cursor:pointer;
    font-size:12px;
}

.comment-text{
    margin:0;
    color:#CBD5E1;
    font-size:13px;
    line-height:1.6;
}

.comment-form{
    display:flex;
    gap:10px;
}

.comment-input{
    flex:1;
    background:#10151F;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    padding:10px 14px;
    color:#FFFFFF;
    font-size:13px;
    outline:none;
}

.comment-input::placeholder{
    color:#64748B;
}

.comment-submit-btn{
    background:#D4A64A;
    color:#111827;
    border:none;
    padding:10px 18px;
    border-radius:10px;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
}

/* ==========================================
   EDIT THREAD & KOMENTAR
========================================== */

.thread-edit-btn{
    background:none;
    border:none;
    color:#94A3B8;
    font-size:13px;
    cursor:pointer;
    transition:.2s;
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.thread-edit-btn:hover{
    color:#D4A64A;
}

.thread-edit-form{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-bottom:14px;
}

.thread-edit-title,
.thread-edit-content{
    background:#10151F;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    padding:12px 14px;
    color:#FFFFFF;
    font-size:14px;
    font-family:inherit;
    outline:none;
    resize:none;
}

.thread-edit-actions,
.comment-edit-actions{
    display:flex;
    gap:10px;
}

.thread-edit-save,
.comment-edit-save{
    background:#D4A64A;
    color:#111827;
    border:none;
    padding:8px 16px;
    border-radius:8px;
    font-weight:700;
    font-size:13px;
    cursor:pointer;
}

.thread-edit-cancel,
.comment-edit-cancel{
    background:transparent;
    border:1px solid rgba(255,255,255,.15);
    color:#FFFFFF;
    padding:8px 16px;
    border-radius:8px;
    font-size:13px;
    cursor:pointer;
}

.comment-edit-btn{
    background:none;
    border:none;
    color:#94A3B8;
    cursor:pointer;
    font-size:12px;
}

.comment-edit-btn:hover{
    color:#D4A64A;
}

.comment-edit-form{
    margin-top:8px;
    display:flex;
    flex-direction:column;
    gap:8px;
}

.comment-edit-input{
    background:#0e1420;
    border:1px solid rgba(255,255,255,.08);
    border-radius:8px;
    padding:8px 12px;
    color:#FFFFFF;
    font-size:13px;
    outline:none;
}

/* ==========================================
   LINK OTOMATIS DI THREAD & KOMENTAR
========================================== */

.thread-preview a,
.comment-text a{
    color:#D4A64A;
    text-decoration:none;
    word-break:break-all;
}

.thread-preview a:hover,
.comment-text a:hover{
    text-decoration:underline;
    color:#E7C15B;
}

/* ==========================================
   LIKE, VIEWS, SHARE
========================================== */

.thread-like-btn,
.thread-share-fb,
.thread-share-wa{
    cursor:pointer;
    transition:.2s;
}

.thread-like-btn:hover{
    color:#FFD700;
}

.thread-share-fb:hover,
.thread-share-wa:hover{
    transform:translateY(-2px);
}


/* ==========================================
   SETTINGS LAYOUT
========================================== */

.settings-layout{

    display:grid;
    grid-template-columns:280px 760px;
    gap:40px;
    justify-content:start;
    align-items:start;
    margin-top:35px;

}

/* ==========================================
   SETTINGS MENU
========================================== */

.settings-menu{

    width:260px;
    background:#20293B;
    border:1px solid rgba(255,255,255,.06);
    border-radius:18px;
    padding:20px;
    box-sizing:border-box;
    flex-shrink:0;

}

/* Title */

.settings-menu-title{
    color:#D4A64A;
    font-size:15px;
    font-weight:800;
    letter-spacing:3px;
    text-transform:uppercase;
    margin:0 0 18px;

}

/* Item */

.settings-menu-item{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 14px;
    margin-bottom:6px;
    background:transparent;
    border:1px solid transparent;
    border-radius:10px;
    color:#94A3B8;
    cursor:pointer;
    transition:all .25s ease;
    font-size:13px;
    font-weight:300;

}

/* Left */

.settings-menu-left{
    display:flex;
    align-items:center;
    gap:12px;

}

.settings-menu-left i{
    width:18px;
    font-size:15px;
    text-align:center;
    color:#7F8EA3;
    transition:.25s;

}

.settings-menu-left span{
    white-space:nowrap;

}

/* Arrow */

.settings-arrow{
    font-size:11px;
    color:#6B7280;
    transition:.25s;

}

/* Hover */

.settings-menu-item:hover{
    background:#2A3448;
    border-color:#38445C;
    color:#FFFFFF;

}

.settings-menu-item:hover .settings-menu-left i,
.settings-menu-item:hover .settings-arrow{
    color:#FFFFFF;

}

/* Active */

.settings-menu-item.active{
    background:#34415D;
    border:1px solid #445372;
    color:#FFFFFF;
    font-weight:600;

}

.settings-menu-item.active .settings-menu-left i,
.settings-menu-item.active .settings-arrow{
    color:#D4A64A;

}

/* Divider */

.settings-divider{
    border:none;
    height:1px;
    background:#2F3A50;
    margin:18px 0;

}

/* Delete */

.settings-menu-delete{
    width:100%;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 14px;
    background:transparent;
    border:1px solid transparent;
    border-radius:10px;
    color:#EF4444;
    cursor:pointer;
    transition:.25s;
    font-size:15px;
    font-weight:500;

}

.settings-menu-delete:hover{
    background:rgba(239,68,68,.08);
    border-color:#EF4444;

}

/* ==========================================
   SETTINGS PANEL
========================================== */

.settings-panel{

    flex:1;
    background:#1B2436;
    border:1px solid #2A3448;
    border-radius:14px;
    padding:32px;
    min-height:520px;
    box-sizing:border-box;

}

/* subtitle */

.settings-subtitle{

    display:block;
    margin-bottom:10px;
    font-size:15px;
    font-family:"JetBrains Mono", monospace;
    letter-spacing:.15em;
    text-transform:uppercase;
    color:#D4A24C;
    font-weight:500;

}

/* title */

.settings-panel h2{

    margin:0 0 10px;
    font-size:25px;
    font-weight:700;
    color:#F2F4F8;
    font-family:"Sora", sans-serif;

}

/* description */

.settings-panel p{

    margin:0 0 28px;
    font-size:15px;
    line-height:1.7;
    color:#9AA3B5;
    max-width:520px;

}

/* divider */

.settings-panel hr{

    border:none;
    height:1px;
    background:#2A3448;
    margin:28px 0;

}

/* ==========================================
   SETTINGS PHOTO BUTTON
========================================== */
.settings-action{
    display:flex;
    gap:14px;
    margin-top:35px;
}

.settings-save-btn{

    display: flex;
    align-items: center;
    justify-content: center;
    padding:14px 28px;
    background:#D4A64A;
    color:#111827;
    border:none;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.settings-save-btn i{

    margin-right:8px;
    font-size:14px;
}

.settings-save-btn:hover{

    transform:translateY(-2px);
    background:#E6B75C;
}

.settings-cancel-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    background:transparent;
    border:1px solid #3B465C;
    border-radius:12px;
    font-size: 14px;
    color:#F8FAFC;
    cursor:pointer;
    transition:.25s;
}

.settings-cancel-btn:hover{
    border-color:#D4A64A;
    color:#D4A64A;
}

/* ==========================================
   SETTINGS FORM
========================================== */

.settings-form{
    width:100%;

}

.settings-form-group{
    margin-bottom:22px;

}

.settings-form-group label{
    display:flex;
    align-items:center;
    gap:8px;
    color:#F1F5F9;
    font-size:14px;
    font-weight:600;
    margin-bottom:8px;

}
 
.settings-form-group input[type="checkbox"]{
    width:16px;
    height:16px;
    accent-color:#D4A64A;
    margin:0;
 
}
 
.settings-form-group input:not([type="checkbox"]),
.settings-form-group textarea,
.settings-form-group select{
    width:100%;
    padding:15px 18px;
    background:#101827;
    border:1px solid #2A3448;
    border-radius:12px;
    color:#FFFFFF;
    font-size:15px;
    font-family:inherit;
    transition:.3s;
    box-sizing:border-box;
 
}
 
.settings-form-group input:not([type="checkbox"]):focus,
.settings-form-group textarea:focus,
.settings-form-group select:focus{
    outline:none;
    border-color:#D4A64A;
    box-shadow:0 0 0 3px rgba(212,166,74,.15);
 
}
 
.settings-form-group textarea{
    resize:none;
    min-height:150px;
 
}
 
/* ==========================================
   COVER PHOTO PREVIEW
========================================== */
 
.cover-photo-wrapper{
    margin-bottom:28px;
    border-radius:14px;
    overflow:hidden;
    border:1px solid #2A3448;
}
 
.cover-photo-preview{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    background:#101827;
}

/* ==========================================
   SETTINGS - CHANGE PHOTO LAYOUT
========================================== */

.photo-layout{
    display:flex;
    flex-wrap:wrap;
    gap:24px;
    align-items:flex-start;
    margin-top:10px;
}

.photo-left{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.photo-right{
    flex:1;
    min-width:220px;
}

.upload-box{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:140px;
    border:2px dashed #2A3448;
    border-radius:14px;
    background:#101827;
    color:#94A3B8;
    font-size:14px;
    text-align:center;
    padding:20px;
    cursor:pointer;
    transition:.25s;
}

.upload-box:hover{
    border-color:#D4A64A;
    color:#D4A64A;
}

.upload-box i{
    font-size:24px;
}

/* =========================
   Why Cyber Prosperity
========================= */

.about {
    padding: 100px 20px;
    background: #f8f9fc;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.section-description {
    max-width: 750px;
    margin: 0 auto 60px;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.card h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

.card p {
    color: #666;
    line-height: 1.6;
}

/* =========================
   Community Statistics
========================= */

.statistics {
    padding: 100px 20px;
    background: #f8fafc;
    text-align: center;
}

.statistics h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 20px;
}

.statistics .section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #64748b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: #ffffff;
    padding: 40px 25px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    transition: all .3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #D4A64A;
    margin-bottom: 15px;
}

.stat-card p {
    color: #64748b;
    font-size: 1rem;
}

/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .cp-nav-inner {
        width: min(100% - 40px, var(--cp-max-width));
        gap: 18px;
    }

    .cp-links {
        gap: 20px;
    }

    .cp-links a {
        font-size: 13px;
    }

    .cp-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-title {
        max-width: 680px;
    }
}


/* =========================================================
   RESPONSIVE MOBILE (768px) 
========================================================= */

@media (max-width: 768px) {

    /* ==========================
       NAVBAR — versi .cp-nav (Home, dll)
    ========================== */

    .cp-nav {
        height: auto;
        min-height: 72px;
    }

    .cp-nav-inner {
    width: calc(100% - 40px);
    min-height: 72px;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 12px 0;
    }

    .cp-brand span {
        font-size: 15px;
    }

    .cp-brand-logo {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .cp-links {
        order: 3;
        width: 100%;
        margin: 0;
        padding: 5px 0 2px;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .cp-links::-webkit-scrollbar {
        display: none;
    }

    .cp-links a {
        flex-shrink: 0;
        padding: 8px 0;
        font-size: 12px;
    }

    .cp-links a::after {
        bottom: 1px;
    }

    .cp-nav-right {
        gap: 5px;
    }

    .cp-signin {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .cp-join {
        min-height: 38px;
        padding: 0 13px;
        font-size: 12px;
    }

    /* ==========================
       NAVBAR — versi generic
    ========================== */

    .navbar{
        padding:10px 0;
    }

    .navbar .container,
    .dashboard-header .container{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .logo{
        font-size:18px;
    }

    .nav-menu{
        display:none;
    }

    .nav-buttons{
        display:flex;
        align-items:center;
        gap:8px;
    }

    .btn-login,
    .btn-join{
        display:block;
        font-size:15px;
        font-weight:700;
        color:#ffffff;
        text-decoration:none;
    }

    .nav-divider{
        color:#ffffff;
        font-size:15px;
        font-weight:700;
    }

    /* ==========================
       HERO
    ========================== */

    .home-hero {
        min-height: 650px;
    }

    .home-slide {
        min-height: 650px;
    }

    .home-hero-copy {
    width: calc(100% - 40px);
    min-height: 650px;
    margin: 0 12px 0 28px;
    padding: 60px 0 90px;
    }

    .home-hero-bg img {
        object-position: 75% center;
    }

    .home-hero-bg::after {
        background:
            linear-gradient(
                90deg,
                rgba(5,9,16,.94),
                rgba(5,9,16,.70)
            );
    }

    .home-eyebrow {
        font-size: 9px;
        letter-spacing: .06em;
        margin-bottom: 16px;
    }

    .home-title {
        max-width: 100%;
        font-size: 39px;
        line-height: 1.1;
    }

    .home-hero-copy > p {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.75;
    }

    .home-hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-buttons a {
        width: 100%;
    }

    .home-dots {
        bottom: 22px;
    }

    /* ==========================
       SECTIONS (umum)
    ========================== */

    .cp-section {
        padding: 75px 20px;
    }

    .cp-section-heading {
        margin-bottom: 38px;
    }

    .cp-section-heading h2 {
        font-size: 32px;
    }

    .cp-section-heading p {
        font-size: 14px;
    }

    .cp-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cp-feature-card {
        min-height: auto;
        padding: 25px;
    }

    .about h2,
    .forum h2,
    .contact h2,
    .statistics h2{
        font-size:30px;
    }

    .about-grid,
    .forum-grid,
    .contact-grid,
    .stats-grid,
    .broker-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .card,
    .forum-card,
    .contact-card,
    .stat-card,
    .broker-card{
        padding:22px;
    }

    /* ==========================
       STATISTICS
    ========================== */

    .cp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cp-stat-card {
        padding: 26px 12px;
    }

    .cp-stat-card h3 {
        font-size: 28px;
    }

    .cp-stat-card p {
        font-size: 11px;
    }

    /* ==========================
       CTA
    ========================== */

    .cp-cta {
        padding: 75px 20px;
    }

    .cp-cta h2 {
        font-size: 32px;
    }

    .cp-cta p {
        font-size: 14px;
    }

    /* ==========================
       FOOTER
    ========================== */

    .cp-footer-inner {
        width: calc(100% - 40px);
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 0;
    }

    .cp-footer-copy {
        text-align: left;
    }

    /* ==========================
       FEED / BROKER ACTIONS
    ========================== */

    .feed-actions{
        flex-wrap:wrap;
    }

    .feed-actions button,
    .feed-actions a{
        flex:1;
        text-align:center;
    }

    .broker-buttons{
        flex-direction:column;
        gap: 12px;
    }

    /* ==========================
       SIDEBAR / DASHBOARD
    ========================== */

    .app-layout{
        flex-direction:column;
    }
        .sidebar{
        position:fixed;
        top:0;
        left:0;
        bottom:0;
        width:260px;
        height:100vh;
        flex-direction:column;
        flex-wrap:nowrap;
        justify-content:space-between;
        align-items:stretch;
        padding:25px 20px;
        border-right:1px solid rgba(255,255,255,.08);
        border-bottom:none;
        transform:translateX(-100%);
        transition:transform .3s ease;
        z-index:2000;
        overflow-y:auto;
    }

    .sidebar.sidebar-open{
        transform:translateX(0);
        box-shadow:0 0 50px rgba(0,0,0,.55);
    }

    .sidebar-logo{
        flex-direction:column;
        align-items:center;
        margin-bottom:40px;
        text-align:center;
    }

    .sidebar-logo-img{
        width:80px;
        height:80px;
        margin-bottom:15px;
        margin-right:0;
    }

    .sidebar-logo h2{
        font-size:18px;
        margin-bottom:6px;
    }

    .sidebar-logo span{
        font-size:13px;
    }

    .sidebar-menu,
    .sidebar-divider,
    .sidebar-bottom{
        display:flex;
    }

    .main-content{
        margin-left:0;
        padding:20px;
    }

    .sidebar-overlay{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.55);
        z-index:1999;
        opacity:0;
        visibility:hidden;
        transition:opacity .3s ease, visibility .3s ease;
    }

    .sidebar-overlay.active{
        opacity:1;
        visibility:visible;
    }

    .sidebar-edge-hint{
        display:flex;
        align-items:center;
        justify-content:center;
        position:fixed;
        top:50%;
        left:0;
        transform:translateY(-50%);
        width:16px;
        height:60px;
        background:#D4A64A;
        color:#111827;
        border-radius:0 10px 10px 0;
        z-index:1500;
        font-size:11px;
        box-shadow:2px 0 12px rgba(0,0,0,.35);
    }

        .feature-grid{
        grid-template-columns: 1fr;
        gap:18px;
    }

    .feature-card{
        padding:22px;
        gap:16px;
        width:100%;
        box-sizing:border-box;
    }

    .feature-icon{
        flex-shrink:0;
    }

    .feature-info h2{
        word-break:break-word;
    }

    .forum-header{
        flex-direction:column;
        align-items:flex-start;
        gap:18px;
    }

    .forum-header h1{
        font-size:28px;
    }

    .forum-header p{
        font-size:14px;
        line-height:1.6;
    }

    .forum-create-btn{
        width:100%;
        justify-content:center;
    }

    .forum-toolbar{
        flex-direction:column;
        align-items:stretch;
    }

    .forum-categories{
        flex-wrap:nowrap;
        overflow-x:auto;
        padding-bottom:6px;
        scrollbar-width:none;
    }

    .forum-categories::-webkit-scrollbar{
        display:none;
    }

    .forum-categories button{
        flex-shrink:0;
        padding:10px 16px;
        font-size:13px;
    }

    .forum-search{
        width:100%;
    }

    .thread-card{
        gap:14px;
        padding:18px;
    }

    .thread-avatar{
        width:50px;
        height:50px;
    }

    .thread-title{
        font-size:16px;
    }

    .thread-preview{
        font-size:13px;
    }

    .thread-footer{
        flex-wrap:wrap;
        gap:10px;
        font-size:12px;
    }

    .topbar{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
    }

    .search-box{
        width:100%;
    }

    /* ==========================
       PROFILE PAGE
    ========================== */

        .profile-cover{
        height:160px;
    }

    .profile-profile{
        flex-wrap:wrap;
        gap:16px;
        margin-top:-45px;
        padding:0 16px;
    }

    .profile-avatar{
        width:90px;
        height:90px;
        border-width:4px;
    }

    .profile-info{
        margin-left:14px;
        padding-top:30px;
    }

    .profile-name h1{
        font-size:15px;
    }

    .profile-username{
        font-size:12px;
    }

    .profile-action{
        padding-top:30px;
        width:auto;
        gap:8px;
    }

    .btn-edit-profile,
    .btn-setting-profile{
        padding:10px;
        width:42px;
        height:42px;
        justify-content:center;
    }

    .btn-label{
        display:none;
    }

    .profile-stats{
        gap:28px;
    }

    /* ==========================
       SETTINGS LAYOUT
    ========================== */

    .settings-layout{
        grid-template-columns:1fr;
    }

    .settings-menu{
        width:100%;
    }
}


/* =========================================================
   VERY SMALL MOBILE (430px)
========================================================= */

@media (max-width: 430px) {

    .cp-brand span {
        font-size: 14px;
    }

    .cp-nav-right {
        gap: 2px;
    }

    .cp-signin {
        padding: 0 7px;
    }

    .cp-join {
        padding: 0 10px;
    }

    .home-title {
        font-size: 34px;
    }

    .cp-stats-grid {
        grid-template-columns: 1fr;
    }

    .cp-stat-card h3 {
        font-size: 32px;
    }
}