:root {
    --bg-color: #050505;
    --bg-surface: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-hover-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.08), transparent 25%);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease;
}

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

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

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

.flex-column {
    flex-direction: column;
}

.gap-20 {
    gap: 20px;
}

.mb-50 {
    margin-bottom: 50px;
}

.d-none {
    display: none !important;
}

.d-md-inline-flex {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-inline-flex {
        display: inline-flex !important;
    }
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: #fff;
    color: #000;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 24px auto 48px;
    line-height: 1.7;
}

.hero-image-wrapper {
    margin-top: 60px;
    position: relative;
    perspective: 1200px;
}

.hero-image {
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--card-border);
    transform: rotateX(3deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: float 6s ease-in-out infinite;
}

.hero-image:hover {
    transform: rotateX(0deg) scale(1.01);
}

@keyframes float {

    0%,
    100% {
        transform: rotateX(3deg) translateY(0);
    }

    50% {
        transform: rotateX(3deg) translateY(-15px);
    }
}

/* Features Grid (Bento) */
.features-section {
    padding: 120px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon img {
    width: 28px;
    height: 28px;
    filter: invert(1);
}

/* Feature Highlight Sections */
.feature-highlight {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 160px;
}

.feature-highlight:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-visual {
    flex: 1;
    position: relative;
}

.feature-visual img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.feature-visual:hover img {
    transform: scale(1.02);
}

/* Download Section */
.download-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    border-top: 1px solid var(--card-border);
    padding: 120px 0;
    text-align: center;
}

.download-card {
    background: #0f0f0f;
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 480px;
    margin: 0 auto 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: #050505;
}

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

.footer h6 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
}

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

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-list {
    display: flex;
    gap: 20px;
    margin-top: 24px;
}

.social-list a {
    color: var(--text-secondary);
    font-size: 1.4rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-list a:hover {
    color: #fff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.mobile-nav-links a:hover {
    color: var(--accent-color);
}

/* Scroll Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }

    .feature-highlight {
        gap: 40px;
        margin-bottom: 100px;
    }

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

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar-content {
        padding: 0 10px;
    }

    .nav-links {
        display: none;
    }

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

    .feature-highlight {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 140px;
    }

    .btn {
        width: 100%;
    }
}