/* ==========================================================================
   NEXUSWEALTH - PREMIUM GOLDEN THEME & FULLY RESPONSIVE CSS
   ========================================================================== */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- ROOT VARIABLES --- */
:root {
    --bg-color: #0a0a0f;
    --surface-color: #15151e;
    --primary-color: #7b2cbf;
    --secondary-color: #00f5d4;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    
    /* Binance / Crypto Theme Colors */
    --binance-dark: #0b0e11;
    --binance-panel: #1e2329;
    --binance-border: #2b3139;
    --binance-yellow: #FCD535;
    --binance-yellow-hover: #e0bb2d;
    
    /* Status Colors */
    --red: #f6465d;
    --green: #0ecb81;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- GLOBAL RESET --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Outfit', sans-serif; 
    scroll-behavior: smooth; 
}
body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    overflow-x: hidden; 
    line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- TYPOGRAPHY UTILITIES --- */
.gold-text { 
    background: linear-gradient(90deg, var(--binance-yellow), var(--binance-yellow-hover)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text;
}
.text-red { color: var(--red); }
.text-green { color: var(--green); }

/* ==========================================================================
   ATTRACTIVE NAVIGATION BAR
   ========================================================================== */
header {
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 15px 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: rgba(11, 14, 17, 0.85); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(252, 213, 53, 0.1); 
    z-index: 1000;
    transition: var(--transition);
}

/* Logo */
.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-container img { height: 90px; width: auto; border-radius: 8px; }
.logo-text { font-size: 1.6rem; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; }
.logo-text span { color: var(--binance-yellow); }

/* Desktop Nav Links */
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links > a { 
    font-weight: 500; 
    color: #cfd3dc; 
    transition: var(--transition); 
    font-size: 1rem;
    position: relative;
}
/* Golden Underline Hover Effect */
.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--binance-yellow);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-links > a:hover { color: var(--binance-yellow); }
.nav-links > a:hover::after { width: 100%; }

.mobile-auth { display: none; }

/* Auth Buttons */
.auth-buttons { display: flex; gap: 15px; align-items: center; }
.btn { 
    padding: 10px 24px; 
    border-radius: 50px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition); 
    border: none; 
    outline: none; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-login { 
    background: transparent; 
    color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
}
.btn-login:hover { 
    background: rgba(255, 255, 255, 0.08); 
    border-color: #ffffff; 
}
.btn-signup { 
    background: var(--binance-yellow); 
    color: var(--binance-panel); 
    box-shadow: 0 4px 15px rgba(252, 213, 53, 0.2); 
}
.btn-signup:hover { 
    box-shadow: 0 6px 20px rgba(252, 213, 53, 0.4); 
    transform: translateY(-2px); 
}

/* Hamburger Menu */
.mobile-menu-btn { 
    display: none; 
    font-size: 1.8rem; 
    color: var(--binance-yellow); 
    cursor: pointer; 
    transition: var(--transition); 
    z-index: 1001; 
}
.mobile-menu-btn:hover { color: #ffffff; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 150px 5% 50px; 
    background-color: var(--binance-dark); 
    position: relative; 
    gap: 40px; 
    overflow: hidden;
}
.hero-content { flex: 1.2; max-width: 650px; z-index: 2; }
.hero-trust {
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    color: var(--binance-yellow); 
    font-size: 0.9rem; 
    font-weight: 600;
    margin-bottom: 25px; 
    background: rgba(252, 213, 53, 0.1); 
    padding: 8px 16px; 
    border-radius: 50px; 
    border: 1px solid rgba(252, 213, 53, 0.2);
}
.hero-title { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    line-height: 1.1; 
    font-weight: 800; 
    color: #ffffff; 
    margin-bottom: 30px; 
    letter-spacing: -1px; 
}
.hero-cta {
    background-color: var(--binance-yellow); 
    color: var(--binance-panel); 
    border: none; 
    padding: 16px 36px; 
    border-radius: 12px;
    font-size: 1.1rem; 
    font-weight: 700; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 15px;
    transition: var(--transition); 
    margin-bottom: 40px; 
    box-shadow: 0 10px 30px rgba(252, 213, 53, 0.3);
}
.hero-cta:hover { background-color: var(--binance-yellow-hover); transform: translateY(-3px); box-shadow: 0 15px 40px rgba(252, 213, 53, 0.5); }
.hero-compliance { display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 30px; flex-wrap: wrap; }
.compliance-item { display: flex; align-items: center; gap: 8px; color: #848e9c; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.compliance-item i { color: var(--binance-yellow); font-size: 1.1rem; }

.hero-image-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; height: 600px; z-index: 1; }
.hero-main-img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    position: relative; 
    z-index: 2;
    animation: float-image 6s ease-in-out infinite; 
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); 
    transform: rotate(-5deg);
}
@keyframes float-image { 
    0%, 100% { transform: rotate(-5deg) translateY(0px); } 
    50% { transform: rotate(-5deg) translateY(-20px); } 
}

/* ==========================================================================
   MARKETS SECTION
   ========================================================================== */
.markets-section { padding: 100px 5%; background-color: var(--binance-dark); color: #eaecef; font-family: 'Inter', sans-serif; }
.markets-container { max-width: 1400px; margin: 0 auto; }
.markets-header { text-align: center; margin-bottom: 50px; max-width: 800px; margin-left: auto; margin-right: auto; }
.markets-badge {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(252, 213, 53, 0.1);
    color: var(--binance-yellow); padding: 8px 18px; border-radius: 50px; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 1px; border: 1px solid rgba(252, 213, 53, 0.25); margin-bottom: 20px;
}
.live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green); animation: pulse-dot 1.5s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }
.markets-header h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: #ffffff; line-height: 1.15; margin-bottom: 15px; }
.markets-header h2 span { background: linear-gradient(90deg, var(--binance-yellow), var(--binance-yellow-hover)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.markets-header p { color: #848e9c; font-size: 1.05rem; line-height: 1.7; }

.market-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 60px; }
.stat-card { background: linear-gradient(145deg, rgba(30, 35, 41, 0.9), rgba(11, 14, 17, 0.9)); border-radius: 16px; padding: 22px; border: 1px solid rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; transition: var(--transition); }
.stat-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--binance-yellow), transparent); opacity: 0; transition: opacity 0.4s ease; }
.stat-card:hover { transform: translateY(-6px); border-color: rgba(252, 213, 53, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(252, 213, 53, 0.08); }
.stat-card:hover::before { opacity: 1; }
.stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; color: #848e9c; font-size: 0.9rem; font-weight: 600; }
.stat-header span { display: flex; align-items: center; gap: 8px; color: #eaecef; }
.stat-header a { color: #848e9c; font-size: 0.8rem; transition: color 0.3s; display: flex; align-items: center; gap: 4px; }
.stat-header a:hover { color: var(--binance-yellow); }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.2s; }
.stat-row:last-child { border-bottom: none; }
.stat-row:hover { background: rgba(255, 255, 255, 0.02); border-radius: 6px; padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.coin-info { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #eaecef; }
.coin-data { text-align: right; font-weight: 600; font-size: 0.9rem; color: #eaecef; }
.coin-data span { display: block; font-size: 0.78rem; font-weight: 500; margin-top: 2px; }

.market-table-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.section-header { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: #ffffff; margin-bottom: 6px; }
.section-header span { color: var(--binance-yellow); }
.market-table-sub { color: #848e9c; font-size: 0.9rem; }
.market-table-actions .btn-view-all { display: inline-flex; align-items: center; gap: 8px; color: var(--binance-yellow); font-weight: 600; font-size: 0.95rem; padding: 10px 20px; border-radius: 50px; border: 1px solid rgba(252, 213, 53, 0.3); background: rgba(252, 213, 53, 0.05); transition: var(--transition); }
.market-table-actions .btn-view-all:hover { background: var(--binance-yellow); color: var(--binance-panel); transform: translateX(5px); }

.market-table { display: flex; flex-direction: column; width: 100%; overflow-x: auto; background: linear-gradient(145deg, rgba(30, 35, 41, 0.5), rgba(11, 14, 17, 0.5)); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); padding: 8px; }
.market-table::-webkit-scrollbar { height: 6px; }
.market-table::-webkit-scrollbar-thumb { background: var(--binance-border); border-radius: 4px; }
.table-row { display: grid; grid-template-columns: 2.2fr 1.2fr 1fr 1fr 1fr 1.2fr; align-items: center; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: var(--transition); min-width: 850px; border-radius: 8px; }
.table-row:last-child { border-bottom: none; }
.table-row:not(.table-head):hover { background: rgba(252, 213, 53, 0.04); border-bottom-color: transparent; transform: translateX(5px); }
.table-head { color: #848e9c; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--binance-border); padding-bottom: 14px; margin-bottom: 4px; }
.col-name { display: flex; align-items: center; gap: 12px; }
.rank { color: #848e9c; font-size: 0.85rem; font-weight: 600; min-width: 18px; }
.col-name strong { color: #ffffff; font-size: 0.95rem; display: block; }
.col-name span { color: #848e9c; font-size: 0.8rem; display: block; margin-top: 1px; }
.col-price, .col-volume, .col-cap { font-weight: 600; color: #eaecef; font-size: 0.95rem; }
.col-price { line-height: 1.2; }
.sub-price { font-size: 0.75rem; color: #848e9c; font-weight: 400; margin-top: 2px; }
.col-change { font-weight: 700; font-size: 0.95rem; }
.col-action { display: flex; align-items: center; gap: 12px; color: #848e9c; font-size: 1rem; }
.col-action .fa-star:hover { color: var(--binance-yellow); cursor: pointer; transform: scale(1.2); transition: var(--transition); }
.btn-trade { background: rgba(252, 213, 53, 0.1); color: var(--binance-yellow); padding: 8px 18px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; border: 1px solid rgba(252, 213, 53, 0.25); transition: var(--transition); }
.btn-trade:hover { background: var(--binance-yellow); color: var(--binance-panel); box-shadow: 0 4px 15px rgba(252, 213, 53, 0.4); transform: translateY(-2px); }

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.calculator-section { padding: 80px 5% 100px; background-color: #0b0e11; color: #eaecef; font-family: 'Inter', sans-serif; }
.calc-nav { display: flex; gap: 20px; margin-bottom: 40px; overflow-x: auto; padding-bottom: 10px; }
.calc-nav::-webkit-scrollbar { display: none; }
.calc-nav a { color: #848e9c; font-weight: 600; white-space: nowrap; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.calc-nav a.active { color: var(--binance-yellow); border-bottom-color: var(--binance-yellow); }

.calc-layout { display: flex; gap: 60px; margin-bottom: 60px; }
.calc-left { flex: 1.5; display: flex; flex-direction: column; justify-content: center; }
.pair-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.pair-price { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 5px; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.pair-change { font-size: 1rem; font-weight: 500; }

.mini-chart-container { position: relative; height: 220px; margin-top: 40px; }
.chart-timeframes { position: absolute; top: -30px; right: 0; display: flex; gap: 15px; font-size: 0.85rem; font-weight: 600; color: #848e9c; }
.chart-timeframes span.active { color: var(--binance-yellow); }
.mini-chart-svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 8px rgba(252, 213, 53, 0.3)); }
.chart-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: #848e9c; margin-top: 10px; }

.calc-right { flex: 1; }
.calc-widget { background: var(--binance-panel); border-radius: 20px; padding: 30px; border: 1px solid var(--binance-border); position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.widget-top { display: flex; justify-content: space-between; margin-bottom: 20px; }
.settings-link { color: #848e9c; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }
.input-box { background: var(--binance-border); border-radius: 12px; padding: 15px 20px; margin-bottom: 15px; border: 1px solid transparent; }
.input-box label { display: block; font-size: 0.8rem; color: #848e9c; margin-bottom: 5px; }
.input-row { display: flex; justify-content: space-between; align-items: center; }
.currency-select { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; }
.input-row input { background: transparent; border: none; color: #eaecef; font-size: 1.3rem; font-weight: 600; text-align: right; outline: none; width: 60%; }
.swap-icon { position: absolute; left: 50%; transform: translateX(-50%); top: 155px; width: 40px; height: 40px; background: var(--binance-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #eaecef; border: 4px solid var(--binance-panel); cursor: pointer; z-index: 99; transition: var(--transition); }
.swap-icon:hover { background: var(--binance-yellow); color: var(--binance-panel); transform: translateX(-50%) rotate(180deg) scale(1.1); }
.calc-btn { width: 100%; padding: 18px; background-color: var(--binance-yellow); color: var(--binance-panel); border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 700; cursor: pointer; margin-top: 15px; transition: var(--transition); }
.calc-btn:hover { background-color: var(--binance-yellow-hover); }


.features-section { padding: 100px 5%; position: relative; background-color: #0b0e11; overflow: hidden; }
.features-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.features-section .section-header { text-align: center; margin-bottom: 60px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: linear-gradient(145deg, rgba(30, 35, 41, 0.9), rgba(11, 14, 17, 0.9)); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 40px 30px; transition: var(--transition); display: flex; flex-direction: column; }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(252, 213, 53, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8); }
.feature-icon { width: 65px; height: 65px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 25px; background: rgba(252, 213, 53, 0.05); border: 1px solid rgba(252, 213, 53, 0.2); color: var(--binance-yellow); }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #ffffff; }
.feature-card p { color: var(--text-muted); line-height: 1.6; font-size: 1rem; }
.feature-stat { font-size: 3rem; font-weight: 800; margin-bottom: 5px; color: #ffffff; }


.about-section { padding: 100px 5%; position: relative; background-color: #0b0e11; overflow: hidden; }
.about-container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.about-images { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; height: 500px; min-width: 300px; }
.img-card { border-radius: 20px; overflow: hidden; position: relative; border: 1px solid rgba(255, 255, 255, 0.05); }
.img-card img { width: 100%; height: 100%; object-fit: cover; }
.img-main { grid-column: 1 / 2; grid-row: 1 / 3; }
.about-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.about-content h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: #ffffff; }
.about-content h2 span { color: var(--binance-yellow); }
.about-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; margin-bottom: 40px; }
.check-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 25px; }
.check-icon { width: 35px; height: 35px; background: rgba(252, 213, 53, 0.1); border: 1px solid rgba(252, 213, 53, 0.3); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--binance-yellow); flex-shrink: 0; }
.check-text h3 { font-size: 1.3rem; color: #ffffff; margin-bottom: 8px; }
.check-text p { color: var(--text-muted); font-size: 0.95rem; }


.testimonials-section { padding: 120px 5%; background: linear-gradient(180deg, #0b0e11 0%, #15151e 50%, #0b0e11 100%); position: relative; overflow: hidden; }
.testimonials-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(252, 213, 53, 0.08) 0%, transparent 60%); filter: blur(100px); pointer-events: none; z-index: 0; }
.testimonials-container { position: relative; z-index: 1; max-width: 1300px; margin: 0 auto; }
.testimonial-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(252, 213, 53, 0.1); color: var(--binance-yellow); padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; border: 1px solid rgba(252, 213, 53, 0.25); margin-bottom: 25px; }
.testimonial-badge i { font-size: 0.85rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; margin-bottom: 70px; }
.testimonial-card { background: linear-gradient(145deg, rgba(30, 35, 41, 0.95), rgba(11, 14, 17, 0.95)); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 24px; padding: 35px 30px; position: relative; transition: var(--transition); backdrop-filter: blur(10px); display: flex; flex-direction: column; overflow: hidden; }
.testimonial-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, var(--binance-yellow), transparent); opacity: 0; transition: opacity 0.4s ease; }
.testimonial-card:hover { transform: translateY(-10px); border-color: rgba(252, 213, 53, 0.3); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(252, 213, 53, 0.08); }
.testimonial-card:hover::before { opacity: 1; }
.quote-icon { position: absolute; top: 25px; right: 25px; font-size: 2.5rem; color: rgba(252, 213, 53, 0.15); transition: var(--transition); }
.testimonial-card:hover .quote-icon { color: rgba(252, 213, 53, 0.4); transform: rotate(-10deg) scale(1.1); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 20px; color: var(--binance-yellow); font-size: 0.95rem; }
.testimonial-text { color: #cfd3dc; font-size: 1.05rem; line-height: 1.7; margin-bottom: 30px; flex: 1; font-style: italic; }
.testimonial-user { display: flex; align-items: center; gap: 15px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); position: relative; }
.user-avatar { width: 55px; height: 55px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(252, 213, 53, 0.4); flex-shrink: 0; transition: var(--transition); }
.testimonial-card:hover .user-avatar { border-color: var(--binance-yellow); box-shadow: 0 0 15px rgba(252, 213, 53, 0.4); }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-info h4 { font-size: 1.05rem; font-weight: 700; color: #ffffff; margin-bottom: 3px; }
.user-info span { font-size: 0.82rem; color: var(--text-muted); display: block; }
.verified-badge { margin-left: auto; color: var(--binance-yellow); font-size: 1.2rem; transition: var(--transition); }
.testimonial-card:hover .verified-badge { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(252, 213, 53, 0.6)); }
.testimonial-bottom-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: linear-gradient(145deg, rgba(30, 35, 41, 0.9), rgba(11, 14, 17, 0.9)); border: 1px solid rgba(252, 213, 53, 0.15); border-radius: 24px; padding: 40px 30px; position: relative; overflow: hidden; }
.testimonial-bottom-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(252, 213, 53, 0.05), transparent 70%); pointer-events: none; }
.trust-item { display: flex; align-items: center; gap: 15px; position: relative; padding: 0 20px; border-right: 1px solid rgba(255, 255, 255, 0.06); }
.trust-item:last-child { border-right: none; }
.trust-item i { font-size: 2.2rem; color: var(--binance-yellow); background: rgba(252, 213, 53, 0.08); padding: 15px; border-radius: 14px; border: 1px solid rgba(252, 213, 53, 0.2); transition: var(--transition); }
.trust-item:hover i { transform: scale(1.1) rotate(-5deg); box-shadow: 0 0 20px rgba(252, 213, 53, 0.3); }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.6rem; font-weight: 800; color: #ffffff; line-height: 1.1; }
.trust-item span { font-size: 0.85rem; color: var(--text-muted); }


.site-footer { 
    background: #0b0e11; 
    padding: 80px 5% 30px; 
    border-top: 1px solid var(--binance-border); 
    position: relative; 
    overflow: hidden; 
}

.footer-glow { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60%; 
    height: 1px; 
    background: linear-gradient(90deg, transparent, var(--binance-yellow), transparent); 
    opacity: 0.3; 
}

.footer-container { 
    max-width: 1400px; 
    margin: 0 auto; 
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; 
    gap: 40px; 
    margin-bottom: 60px; 
}

.footer-brand-col { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.footer-logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.footer-logo-img { 
    height: 100px; 
    width: auto; 
    border-radius: 8px; 
}

.footer-logo-text { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: #ffffff; 
}

.footer-logo-text span { 
    color: var(--binance-yellow); 
}

.footer-tagline { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    line-height: 1.6; 
}

.footer-socials { 
    display: flex; 
    gap: 15px; 
    margin-top: 10px; 
    flex-wrap: wrap;
}

.footer-socials a { 
    width: 40px; 
    height: 40px; 
    background: var(--binance-panel); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #ffffff; 
    transition: var(--transition); 
    border: 1px solid var(--binance-border); 
    flex-shrink: 0;
}

.footer-socials a:hover { 
    background: var(--binance-yellow); 
    color: var(--binance-panel); 
    border-color: var(--binance-yellow); 
    transform: translateY(-3px); 
}

.footer-link-col h4 { 
    color: #ffffff; 
    font-size: 1.1rem; 
    margin-bottom: 20px; 
    font-weight: 600; 
}

.footer-link-col a { 
    display: block; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    transition: var(--transition); 
    font-size: 0.95rem; 
    word-break: break-word;
}

.footer-link-col a:hover { 
    color: var(--binance-yellow); 
    padding-left: 5px; 
}

.footer-newsletter-col h4 { 
    color: #ffffff; 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
    font-weight: 600; 
}

.footer-newsletter-col p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
    line-height: 1.5;
}

.footer-newsletter { 
    display: flex; 
    background: var(--binance-panel); 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid var(--binance-border); 
    margin-bottom: 20px; 
    width: 100%;
}

.footer-newsletter input { 
    flex: 1; 
    min-width: 0; /* Prevents flex input from overflowing small screens */
    padding: 12px 15px; 
    background: transparent; 
    border: none; 
    color: #ffffff; 
    outline: none; 
    font-size: 0.95rem;
}

.footer-newsletter button { 
    background: var(--binance-yellow); 
    color: var(--binance-panel); 
    border: none; 
    padding: 0 20px; 
    cursor: pointer; 
    transition: var(--transition); 
    font-weight: 600;
    white-space: nowrap;
}

.footer-newsletter button:hover { 
    background: var(--binance-yellow-hover); 
}

.footer-trust-badges { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap; 
    font-size: 0.85rem; 
    color: #848e9c; 
}

.footer-trust-badges span { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

.footer-trust-badges i { 
    color: var(--binance-yellow); 
}

.footer-bottom-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-top: 30px; 
    border-top: 1px solid var(--binance-border); 
    flex-wrap: wrap; 
    gap: 15px; 
}

.copyright, .disclaimer { 
    color: #848e9c; 
    font-size: 0.85rem; 
    line-height: 1.5;
}


@media (max-width: 1199px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .footer-brand-col {
        grid-column: 1 / -1; 
        max-width: 600px;
    }

    .footer-newsletter-col {
        grid-column: 1 / -1; 
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 60px 20px 25px;
    }

    .footer-glow {
        width: 85%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-column layout for links */
        gap: 30px 20px;
        margin-bottom: 40px;
    }

    .footer-brand-col,
    .footer-newsletter-col {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 25px;
    }
}

/* Small Mobile Phones (max-width: 479px) */
@media (max-width: 479px) {
    .site-footer {
        padding: 45px 16px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Single-column stack */
        gap: 28px;
        margin-bottom: 35px;
    }

    .footer-logo-img {
        height: 70px;
    }

    .footer-logo-text {
        font-size: 1.3rem;
    }

    .footer-link-col h4,
    .footer-newsletter-col h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }

    .footer-link-col a {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .footer-socials {
        gap: 10px;
    }

    .footer-socials a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-bottom-bar {
        text-align: center;
        align-items: center;
    }
}

/* Extra-Small / Ultra-Narrow Devices (max-width: 359px - e.g. Galaxy Fold, iPhone SE 1st Gen) */
@media (max-width: 359px) {
    .site-footer {
        padding: 35px 12px 20px;
    }

    .footer-logo {
        gap: 8px;
    }

    .footer-logo-img {
        height: 34px;
    }

    .footer-logo-text {
        font-size: 1.15rem;
    }

    /* Stack input and button vertically so neither gets squished */
    .footer-newsletter {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 8px;
        border-radius: 0;
    }

    .footer-newsletter input {
        width: 100%;
        background: var(--binance-panel);
        border: 1px solid var(--binance-border);
        border-radius: 6px;
        padding: 12px;
        font-size: 0.9rem;
    }

    .footer-newsletter button {
        width: 100%;
        padding: 12px;
        border-radius: 6px;
        text-align: center;
    }

    .footer-trust-badges {
        flex-direction: column;
        gap: 8px;
    }

    .copyright, .disclaimer {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   ABOUT SECTION IMAGES - MOBILE VIEW ONLY
   ========================================================================== */
@media (max-width: 767px) {
    .about-section .about-container {
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }

    .about-section .about-images {
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        grid-template-rows: 135px 135px;
        grid-template-areas:
            "main top"
            "main bottom";
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .about-section .img-card {
        position: relative;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        border-radius: 14px;
        overflow: hidden;
    }

    .about-section .img-main {
        grid-area: main;
    }

    .about-section .img-top {
        grid-area: top;
    }

    .about-section .img-bottom {
        grid-area: bottom;
    }

    .about-section .img-card img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .about-section .img-label {
        font-size: 0.78rem;
        padding: 5px 10px;
        border-radius: 8px;
    }
}

/* Extra-Small Mobile Screens (max-width: 375px) */
@media (max-width: 375px) {
    .about-section .about-images {
        grid-template-columns: 1fr;
        grid-template-rows: 170px 125px 125px;
        grid-template-areas:
            "main"
            "top"
            "bottom";
        gap: 10px;
    }

    .about-section .img-card {
        border-radius: 12px;
    }

    .about-section .img-label {
        font-size: 0.72rem;
    }
}
/* Tablets & Small Laptops (Max 1024px) */
@media (max-width: 1024px) {
    header { padding: 15px 5%; }
    .logo-container img { height: 80px; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 130px; gap: 40px; }
    .hero-content { max-width: 100%; }
    .hero-trust, .hero-compliance { justify-content: center; }
    .hero-compliance { flex-wrap: wrap; }
    .hero-image-wrapper { height: 450px; width: 100%; margin-top: 20px; }
    .hero-main-img { transform: rotate(0deg); animation: none; }
    
    .calc-layout { flex-direction: column; gap: 40px; }
    .swap-icon { top: 240px; }
    
    .about-container { flex-direction: column; gap: 50px; }
    .about-images { width: 100%; max-width: 600px; height: 400px; margin: 0 auto; }
    .about-content { text-align: center; align-items: center; }
    .check-item { text-align: left; max-width: 500px; margin: 0 auto 25px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand-col, .footer-newsletter-col { grid-column: span 2; }
    .footer-newsletter { max-width: 400px; }
    .footer-logo-img {height: 80px; width: auto;}
}

/* Mobile Landscape & Small Tablets (Max 900px) */
@media (max-width: 900px) {
    /* Mobile Navigation */
    .mobile-menu-btn { display: block; }
    .auth-buttons { display: none; }
    
    .nav-links {
        position: fixed; 
        top: 70px; 
        left: -100%; 
        width: 100%; 
        height: calc(100vh - 70px);
        background: var(--binance-dark); 
        flex-direction: column; 
        justify-content: flex-start;
        padding-top: 40px; 
        gap: 25px; 
        transition: left 0.4s ease; 
        border-top: 1px solid var(--binance-border);
        z-index: 999;
    }
    .nav-links.active { left: 0; }
    .nav-links a { font-size: 1.2rem; font-weight: 600; }
    
    .mobile-auth { display: flex; flex-direction: column; gap: 15px; width: 80%; margin-top: 20px; }
    .mobile-auth .btn { width: 100%; text-align: center; padding: 15px; }
    
    /* Market Table Scroll Indicator */
    .market-table { padding-bottom: 10px; }
    .market-table::-webkit-scrollbar { height: 6px; }
    .market-table::-webkit-scrollbar-thumb { background: var(--binance-border); border-radius: 4px; }
    
    .footer-bottom-bar { flex-direction: column; text-align: center; }
}

/* Mobile Portrait (Max 600px) */
@media (max-width: 600px) {
    .hero { padding: 120px 5% 40px; }
    .hero-image-wrapper { height: 350px; }
    .hero-cta { width: 100%; justify-content: center; }
    .hero-compliance { flex-direction: column; gap: 15px; align-items: center; }
    
    .market-stats-grid { grid-template-columns: 1fr; }
    
    .calc-widget { padding: 20px; }
    .pair-title { justify-content: center; }
    .pair-price { text-align: center; }
    .pair-change { text-align: center; }
    .mini-chart-container { height: 150px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 30px 20px; text-align: center; align-items: center; }
    
    .about-images { height: 300px; }
    .check-item { flex-direction: column; align-items: center; text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand-col, .footer-newsletter-col { grid-column: span 1; }
    .footer-logo { justify-content: center; }
    .footer-socials { justify-content: center; }
    .footer-trust-badges { justify-content: center; }
    .footer-newsletter { margin: 0 auto 20px; }
}

/* Extra Small Devices (Max 380px) */
@media (max-width: 380px) {
    .hero-title { font-size: 2rem; }
    .btn { padding: 8px 16px; font-size: 0.9rem; }
    .logo-text { font-size: 1.2rem; }
    .footer-logo-text { font-size: 1.2rem; }
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 120px 5%;
    background: linear-gradient(180deg, #0b0e11 0%, #15151e 50%, #0b0e11 100%);
    position: relative;
    overflow: hidden;
}
.testimonials-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(252, 213, 53, 0.08) 0%, transparent 60%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.testimonials-container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
}

/* Badge */
.testimonial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(252, 213, 53, 0.1);
    color: var(--binance-yellow);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(252, 213, 53, 0.25);
    margin-bottom: 25px;
}
.testimonial-badge i { font-size: 0.85rem; }

/* Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

/* Card */
.testimonial-card {
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.95), rgba(11, 14, 17, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--binance-yellow), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(252, 213, 53, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(252, 213, 53, 0.08);
}
.testimonial-card:hover::before { opacity: 1; }

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.5rem;
    color: rgba(252, 213, 53, 0.15);
    transition: all 0.4s ease;
}
.testimonial-card:hover .quote-icon {
    color: rgba(252, 213, 53, 0.4);
    transform: rotate(-10deg) scale(1.1);
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: var(--binance-yellow);
    font-size: 0.95rem;
}

/* Text */
.testimonial-text {
    color: #cfd3dc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex: 1;
    font-style: italic;
}

/* User */
.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.user-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(252, 213, 53, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.testimonial-card:hover .user-avatar {
    border-color: var(--binance-yellow);
    box-shadow: 0 0 15px rgba(252, 213, 53, 0.4);
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
}
.user-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
}
.verified-badge {
    margin-left: auto;
    color: var(--binance-yellow);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.testimonial-card:hover .verified-badge {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px rgba(252, 213, 53, 0.6));
}

/* Bottom Trust Bar */
.testimonial-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: linear-gradient(145deg, rgba(30, 35, 41, 0.9), rgba(11, 14, 17, 0.9));
    border: 1px solid rgba(252, 213, 53, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}
.testimonial-bottom-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(252, 213, 53, 0.05), transparent 70%);
    pointer-events: none;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-item:last-child { border-right: none; }
.trust-item i {
    font-size: 2.2rem;
    color: var(--binance-yellow);
    background: rgba(252, 213, 53, 0.08);
    padding: 15px;
    border-radius: 14px;
    border: 1px solid rgba(252, 213, 53, 0.2);
    transition: all 0.3s ease;
}
.trust-item:hover i {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 20px rgba(252, 213, 53, 0.3);
}
.trust-item div {
    display: flex;
    flex-direction: column;
}
.trust-item strong {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}
.trust-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .testimonial-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .trust-item {
        border-right: none;
        padding: 0;
    }
    .trust-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-section { padding: 80px 5%; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
    .testimonial-card { padding: 30px 25px; }
    .testimonial-bottom-bar { padding: 30px 20px; gap: 20px; }
    .trust-item strong { font-size: 1.4rem; }
    .trust-item i { font-size: 1.8rem; padding: 12px; }
}

@media (max-width: 500px) {
    .testimonial-bottom-bar { grid-template-columns: 1fr; gap: 20px; }
    .trust-item:nth-child(odd) { border-right: none; padding-right: 0; }
    .trust-item { border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 15px; }
    .trust-item:last-child { border-bottom: none; padding-bottom: 0; }
    .testimonial-text { font-size: 1rem; }
    .user-info h4 { font-size: 1rem; }
    .quote-icon { font-size: 2rem; top: 20px; right: 20px; }
}