:root {
    --bg-color: #ffffff;
    --bg-alt: #fafafa;
    --text-heading: #111111;
    --text-primary: #333333;
    --text-body: #555555;
    --text-secondary: #888888;
    --accent-color: #111111;
    --card-bg: #ffffff;
    --card-border: #eaeaea;
    --hover-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2 {
    letter-spacing: -0.04em;
    font-weight: 700;
    color: var(--text-heading);
}

h3, h4 {
    letter-spacing: -0.04em;
    font-weight: 700;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, rgb(77, 121, 237) 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: rgb(77, 121, 237);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a,
.login-link {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.login-link:hover {
    color: var(--text-heading);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background: var(--hover-bg);
}

.btn-primary {
    background: rgb(77, 121, 237);
    color: #ffffff;
    border: 1px solid rgb(77, 121, 237);
}

.btn-primary:hover {
    background: rgb(65, 105, 215);
    border-color: rgb(65, 105, 215);
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    padding: 7.5rem 5% 4rem 5%;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 9999px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #1e293b;
}

.hero p {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.sub-text {
    font-size: 0.875rem !important;
    color: var(--text-secondary) !important;
    margin-bottom: 0 !important;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 0;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    padding: 0 1.5rem;
    border-right: 1px solid var(--card-border);
}

.stat-item:first-child {
    padding-left: 0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.stat-item h3::before {
    display: none;
}

.stat-item span {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Minimal Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.hero-visual {
    position: relative;
    height: 100%;
    width: 100%;
}

#particle-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.main-card {
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    position: absolute;
    left: 0;
    bottom: 10%;
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}
.dots span { width: 10px; height: 10px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.card-header .title {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Earnings UI */
.earnings-display {
    margin-bottom: 0.5rem;
}
.earnings-display .currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    vertical-align: top;
}
.earnings-display .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.05em;
}

.trend {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
}

/* Action Steps inside Card */
.action-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border-radius: 6px;
    border: 1px solid var(--card-border);
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-alt);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
}

.step-text {
    flex-grow: 1;
    font-size: 0.875rem;
    font-weight: 500;
}
.step-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.step-val {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

/* Features Section */
.features {
    padding: 6rem 5%;
}

.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
    font-weight: 700;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: rgb(77, 121, 237);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: left;
        padding-top: 8rem;
        min-height: auto;
        align-items: start;
        padding-bottom: 4rem;
    }
    
    .hero h1 { font-size: 2.5rem; }
    
    .hero-content {
        margin: 0;
    }
    
    .stats-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
        scrollbar-width: none;
        justify-content: flex-start;
        gap: 0;
    }
    .stats-row::-webkit-scrollbar {
        display: none;
    }
    .stat-item {
        flex: 0 0 auto;
        padding: 0 1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hidden-mobile {
        display: none;
    }
    
    .nav-links { display: none; }
}
