@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --secondary-gradient: linear-gradient(135deg, #80ED99 0%, #57CC99 100%);
    --dark-gradient: linear-gradient(135deg, #2D3436 0%, #000000 100%);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    
    --text-main: #2D3436;
    --text-dim: #636E72;
    --white: #FFFFFF;
    --bg-light: #F9FAFB;
    
    --card-shadow: 0 20px 40px rgba(0,0,0,0.05);
    --inner-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}

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

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

h1, h2, h3, .logo {
    font-family: 'Fredoka', cursive;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

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

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-links a:hover {
    color: #FFA500;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #5C4B00;
    box-shadow: 0 10px 20px rgba(255, 165, 0, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(255, 165, 0, 0.3);
}

.btn-outline {
    border: 2px solid #EEE;
    color: var(--text-main);
    background: white;
}

.btn-outline:hover {
    background: #F9FAFB;
    border-color: #DDD;
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.1));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.badge-new {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #FFF9DB;
    color: #F59E0B;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border: 1px solid #FFE066;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Feature Grid */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.f-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 32px;
    text-align: center;
    transition: 0.4s;
    border: 1px solid #F0F0F0;
}

.f-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border-color: #FFA500;
}

.f-icon {
    width: 80px;
    height: 80px;
    background: #FFF9DB;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
}

/* Leaderboard Preview */
.leaderboard-preview {
    background: #FFF;
    border-radius: 40px;
    padding: 4rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 6rem;
}

.l-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #F5F5F5;
}

.l-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.l-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #EEE;
}

.l-amount {
    font-family: 'Fredoka', cursive;
    color: #22C55E;
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid #EEE;
    text-align: center;
}

.f-logo {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sidebar Dashboard Styles */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: white;
    padding: 2rem;
    border-right: 1px solid #EEE;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 4rem;
    background: #FDFBF7;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: 0.3s;
}

.menu-item:hover, .menu-item.active {
    background: #FFF9DB;
    color: #FFA500;
}

/* Agent & Market UI */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.s-card {
    background: white;
    padding: 2.5rem;
    border-radius: 32px;
    box-shadow: var(--card-shadow);
}

.s-value {
    font-family: 'Fredoka', cursive;
    font-size: 2.5rem;
    color: #1A1A1A;
}
