:root {
    --bg-base: #050B14;
    --bg-surface: #0F172A;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --accent-blue: #3B82F6;
    --accent-violet: #8B5CF6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.gradient-text {
    background: linear-gradient(135deg, #60A5FA, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 11, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(48px, 6vw, 84px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.cta-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    color: white;
    padding: 18px 40px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover::after {
    opacity: 1;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: blur(50px);
    animation: pulse 4s infinite alternate;
}

.isometric-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    width: 400px;
    height: 400px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 32px;
    box-shadow: 
        -20px 40px 60px rgba(0,0,0,0.6), 
        inset 0 0 0 2px rgba(255,255,255,0.1),
        0 0 80px rgba(59, 130, 246, 0.2);
    transform: perspective(1000px) rotateX(55deg) rotateZ(-45deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 2;
}

.hero-visual:hover .isometric-board {
    transform: perspective(1000px) rotateX(50deg) rotateZ(-40deg) translateY(-20px);
    box-shadow: 
        -30px 60px 80px rgba(0,0,0,0.7), 
        inset 0 0 0 2px rgba(255,255,255,0.2),
        0 0 100px rgba(59, 130, 246, 0.3);
}

.board-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: auto;
}

.arrow-path {
    position: relative;
    border-radius: 12px;
    margin: auto;
    z-index: 2;
    animation: floatBoard 3s infinite ease-in-out alternate;
}

.arrow-path.horizontal {
    height: 24px;
    width: 100%;
}

.arrow-path.vertical {
    width: 24px;
    height: 100%;
}

.arrow-path.blue {
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.arrow-path.violet {
    background: linear-gradient(180deg, #7C3AED, #A78BFA);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.arrow-path.green {
    background: linear-gradient(90deg, #059669, #34D399);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.arrow-head-right {
    position: absolute;
    right: -8px;
    top: -8px;
    width: 0; height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 28px solid #60A5FA;
}

.arrow-head-left {
    position: absolute;
    left: -8px;
    top: -8px;
    width: 0; height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 28px solid #34D399;
}

.arrow-head-up {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 28px solid #A78BFA;
}

@keyframes floatBoard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-3px); }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 48px 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255, 0.15);
    background: rgba(255,255,255,0.04);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Legal Pages */
.legal-main {
    padding: 150px 0 100px;
    background: var(--bg-surface);
    min-height: 100vh;
}

.legal-content {
    background: var(--bg-base);
    padding: 64px;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--bg-base);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-links {
    display: flex;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a, .footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 48px; }
    .legal-content { padding: 32px; }
    .footer-top, .footer-bottom { flex-direction: column; gap: 24px; text-align: center; }
}
