:root {
    --bg-color: #000000;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent: #2997ff;
    --accent-hover: #0071e3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --nav-height: 44px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.nav-content {
    width: 100%;
    max-width: 980px;
    padding: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.92;
    transition: all 0.3s ease;
}

.logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.logo-img {
    height: 22px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 12px;
}

.nav-links a {
    color: #d6d6d6;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120vw;
    height: 120vh;
    background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.2), rgba(147, 51, 234, 0.15), transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(-5%) scale(1.05);
        opacity: 0.8;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(41, 151, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(147, 51, 234, 0.3), transparent);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particleFloat 20s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes particleFloat {
    from {
        background-position: 0 0, 40px 60px, 130px 270px;
    }

    to {
        background-position: 200px 200px, 240px 260px, 330px 470px;
    }
}

h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 20%, #86868b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

p.subtitle {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 400;
    letter-spacing: 0.009em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.version-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
    opacity: 0.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 400;
    letter-spacing: -0.022em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #0071e3 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(41, 151, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(41, 151, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* App Preview */
.app-preview-container {
    width: 100%;
    max-width: 1100px;
    padding: 0 20px;
    perspective: 2000px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.app-preview {
    width: 100%;
    border-radius: 16px;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 80px rgba(41, 151, 255, 0.2);
    overflow: hidden;
    background: #1d1d1f;
    transform: rotateX(2deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatPreview 6s ease-in-out infinite;
}

@keyframes floatPreview {

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

    50% {
        transform: rotateX(2deg) translateY(-10px);
    }
}

.app-preview:hover {
    transform: rotateX(0deg) scale(1.02);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 120px rgba(41, 151, 255, 0.4);
    animation-play-state: paused;
}

.app-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.app-preview:hover img {
    transform: scale(1.02);
}

/* Features Section */
.features {
    background: #101010;
    padding: 120px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.grid-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: left;
    padding: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(41, 151, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(41, 151, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: 0.009em;
    margin-bottom: 12px;
    color: #fff;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--accent);
}

.feature-card p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
}

/* Showcase Section */
.showcase {
    padding: 120px 0;
    text-align: center;
    background: #000;
    position: relative;
}

.showcase h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 60px;
    color: #f5f5f7;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientText {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.showcase-grid {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    text-align: left;
}

.showcase-item {
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.03) 0%, rgba(147, 51, 234, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.showcase-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(41, 151, 255, 0.1), transparent 30%);
    animation: rotateBorder 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.showcase-item:hover::before {
    opacity: 1;
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(41, 151, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 80px rgba(41, 151, 255, 0.1);
}

.showcase-item h4 {
    font-size: 21px;
    line-height: 1.19048;
    font-weight: 600;
    letter-spacing: 0.011em;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.showcase-item p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: #1d1d1f;
    padding: 40px 0;
    font-size: 12px;
    color: #86868b;
    text-align: center;
    border-top: 1px solid #424245;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(0.5);
}

.footer-content p {
    margin: 0;
}

/* Responsive */
@media (max-width: 734px) {
    h1 {
        font-size: 40px;
    }

    p.subtitle {
        font-size: 20px;
    }

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

    .hero {
        padding-top: 100px;
    }

    .feature-card {
        padding: 20px;
    }

    .showcase-item {
        padding: 24px;
    }
}