:root {
    --bg-main: #060913;
    --bg-secondary: #0c1222;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-primary: #10B981;
    --accent-primary-hover: #059669;
    --accent-vibrant: #34D399;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h1 span {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-vibrant));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(6, 9, 19, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    color: var(--accent-primary);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-vibrant));
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 9, 19, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-text p {
    margin-bottom: 40px;
    font-size: 1.25rem;
}

.cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.stat-separator {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Glass Mockup */
.glass-mockup {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.mockup-header {
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-body {
    padding: 32px;
}

.mockup-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 150px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.bar.main {
    background: linear-gradient(to top, var(--accent-primary), var(--accent-vibrant));
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.m-stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-stat span {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 8px;
}

.m-stat h4 {
    font-size: 1.5rem;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

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

.section-header h2 span {
    color: var(--accent-primary);
}

.section-header p {
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-main);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.icon-wrapper.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-wrapper.purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.icon-wrapper.green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.icon-wrapper.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.icon-wrapper.red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-wrapper.cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin: 0 auto 40px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.store-btn {
    display: inline-block;
    height: 50px;
    transition: transform 0.3s ease;
}

.store-btn img {
    height: 100%;
}

.store-btn:hover {
    transform: translateY(-3px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 24px;
    font-size: 1rem;
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

div.legal-content {
    margin: 100px auto;
    max-width: 800px;
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

div.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

div.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

div.legal-content p, div.legal-content li {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

div.legal-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px) perspective(1000px) rotateY(-15deg) rotateX(5deg); }
    50% { transform: translateY(-20px) perspective(1000px) rotateY(-15deg) rotateX(5deg); }
    100% { transform: translateY(0px) perspective(1000px) rotateY(-15deg) rotateX(5deg); }
}

.float-animation .glass-mockup {
    animation: float 6s ease-in-out infinite;
}

.glass-mockup:hover {
    animation-play-state: paused;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards ease;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Media Queries */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .nav-links {
        display: none; 
    }

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .app-buttons {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    div.legal-content {
        padding: 30px;
        margin-top: 120px;
    }
}
