:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #a855f7;
    --bg-dark: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Effects */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 100;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Typography */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary:hover, .btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--border);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary-large:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-login {
    background: transparent;
    color: var(--text-main);
    border: none;
    margin-right: 1.5rem;
    font-weight: 500;
    cursor: pointer;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

/* Dashboard Mockup */
.hero-preview {
    perspective: 1000px;
}

.dashboard-mockup {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-out;
}

.mockup-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-content {
    display: flex;
    height: calc(100% - 40px);
}

.mockup-sidebar {
    width: 200px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border);
}

.mockup-main {
    flex: 1;
    padding: 2rem;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.mockup-card {
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* Logos Section */
.logos {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.logo-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-track {
    display: flex;
    gap: 4rem;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.3s, border 0.3s;
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bento-content p {
    color: var(--text-muted);
}

/* Performance Section */
.performance {
    padding: 100px 0;
}

.perf-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 32px;
    padding: 5rem;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-card.featured {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid var(--primary);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.pricing-features i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.pricing-card .btn-primary-large,
.pricing-card .btn-secondary-large {
    width: 100%;
}

/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--primary);
    border-radius: 32px;
    padding: 5rem;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-box .btn-primary-large {
    background: white;
    color: var(--primary);
    box-shadow: none;
}

/* Footer */
footer {
    padding: 100px 0 50px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: absolute;
    right: -100%;
    top: 0;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-dark);
    border-left: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.mobile-menu-footer {
    margin-top: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats {
        gap: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        grid-column: span 2;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .cursor-glow {
        display: none;
    }

    .container {
        padding: 0 1.25rem;
    }

    .navbar {
        width: 95%;
        top: 12px;
        padding: 0.75rem 0;
    }

    .navbar .container {
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-actions {
        display: flex;
        margin-left: auto;
    }

    .nav-actions .btn-login,
    .nav-actions .btn-primary {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 72px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
    }

    .dashboard-mockup {
        height: 360px;
    }

    .mockup-sidebar {
        width: 88px;
    }

    .mockup-main {
        padding: 1rem;
    }

    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mockup-card {
        height: 92px;
    }

    .logo-track {
        gap: 2rem;
    }

    .logo-item {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-num {
        font-size: 2.75rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        grid-column: auto;
    }

    .pricing-badge {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .bento-item.large, .bento-item.wide {
        grid-column: span 1;
    }

    .bento-item,
    .pricing-card,
    .perf-card,
    .cta-box {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-desc {
        font-size: 1rem;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }

    .mobile-menu {
        width: min(100%, 360px);
        padding: 1.5rem;
    }

    .mobile-nav-links a {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar {
        width: calc(100% - 1rem);
        border-radius: 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-badge {
        padding: 0.45rem 0.9rem;
    }

    .dashboard-mockup {
        height: 300px;
    }

    .mockup-header {
        height: 36px;
    }

    .mockup-content {
        height: calc(100% - 36px);
    }

    .mockup-sidebar {
        display: none;
    }

    .mockup-card {
        height: 72px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-box h2 {
        font-size: 2.1rem;
    }

    .mobile-menu {
        width: 100%;
        max-width: none;
    }
}
