:root {
    /* Light Mode Variables */
    --bg-color: #f4f6fa;
    --surface: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #6d28d9;
    --gradient-1: #6d28d9;
    --gradient-2: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.dark-mode {
    /* Dark Mode Variables */
    --bg-color: #0f172a;
    --surface: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #a78bfa;
    --gradient-1: #c084fc;
    --gradient-2: #818cf8;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
}

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

/* Gradient Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}
.btn-secondary:hover {
    border-color: var(--gradient-1);
    transform: translateY(-3px);
}
.btn-icon {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.btn-icon:hover { transform: scale(1.1) rotate(15deg); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

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

.hamburger { display: none; }

/* Ticker */
.ticker-wrap {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.ticker {
    display: flex;
    white-space: nowrap;
    animation: ticker-anim 20s linear infinite;
    gap: 3rem;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}
.ticker-price { font-family: monospace; }
.ticker-up { color: #10b981; }
.ticker-down { color: #ef4444; }

@keyframes ticker-anim {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Header/Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: radial-gradient(circle at 10% 20%, rgba(109, 40, 217, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.hero-text h2 {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.hero-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
}

.glass-orb {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.4), rgba(59, 130, 246, 0.4));
    border-radius: 50%;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(109, 40, 217, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Sections */
section { padding: 6rem 0; }
.section-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}
.services-grid { grid-template-columns: repeat(3, 1fr); }

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(109, 40, 217, 0.2);
}
.glass-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.glass-card h3 { margin-bottom: 0.5rem; }
.glass-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* Why Choose Us */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Dashboard Preview styling */
.dashboard-preview { padding: 0; overflow: hidden; }
.dashboard-header {
    background: rgba(0,0,0,0.2);
    padding: 1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
}
.dashboard-body { padding: 1.5rem; }
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
}
.stat-row:last-child { border: none; }
.up { color: #10b981; }
.down { color: #ef4444; }

/* Newsletter Form */
.newsletter-card { max-width: 800px; margin: 0 auto; padding: 4rem 2rem; }
.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}
.newsletter-form input {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    background: var(--surface);
    color: var(--text-primary);
    width: 100%;
    max-width: 350px;
    outline: none;
    font-family: inherit;
    transition: box-shadow 0.3s ease;
}
.newsletter-form input:focus { box-shadow: 0 0 0 2px var(--accent); }

/* Footer */
footer {
    background: var(--surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}
.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.socials { display: flex; gap: 1rem; margin-top: 1rem; }
.socials a {
    width: 35px; height: 35px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: var(--text-primary);
    transition: 0.3s;
}
.socials a:hover { background: var(--accent); color: white; transform: scale(1.1); }

.footer-links ul { list-style: none; margin-top: 1rem; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { text-align: center; color: var(--text-secondary); border-top: 1px solid var(--glass-border); padding-top: 2rem; }

/* Responsive Grid */
@media (max-width: 900px) {
    .nav-links, .nav-actions .btn { display: none; }
    .hamburger {
        display: flex; flex-direction: column; gap: 5px; cursor: pointer;
    }
    .hamburger span { width: 25px; height: 2px; background: var(--text-primary); }
    .hero-content, .why-choose-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .glass-orb { width: 300px; height: 300px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .feature-list li { text-align: left; }
    .newsletter-form { flex-direction: column; align-items: center; }
}
