:root {
    --primary: #00D1FF;
    --background: #0A0E1A;
    --surface: #161B2B;
    --text-primary: #FFFFFF;
    --text-secondary: #8B949E;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(0, 209, 255, 0.1);
}

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

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

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

/* Navbar */
.navbar {
    height: 120px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: -1px;
}

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

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

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

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

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

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 209, 255, 0.3);
}

.btn-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 209, 255, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

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

.hero-glow {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary);
}

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

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
    /* For tilt effect */
}

.app-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    /* Slightly less aggressive */
    border: 6px solid #222;
    /* Slimmer bezel */
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.1s ease-out;
    will-change: transform;
    display: flex;
    flex-direction: column;
}

.app-mockup img {
    width: 100%;
    height: 100%;
}

/* Features */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 40px;
    border-radius: 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: background 0.3s, transform 0.1s ease-out;
    perspective: 1000px;
    will-change: transform;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 209, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

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

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

/* Showcase */
.showcase {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background) 0%, #111827 50%, var(--background) 100%);
    overflow: hidden;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.slider-viewport {
    overflow: hidden;
    width: 100%;
    margin: 0 40px;
    /* Space for arrows */
}

.showcase-slider {
    display: flex;
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 40px;
    /* Original gap */
    padding: 40px 0;
}

.screenshot-item {
    flex: 0 0 calc(33.333% - 27px);
    /* Show 3 items */
    text-align: center;
    perspective: 1000px;
}

.screenshot-wrapper {
    max-width: 320px;
    /* Reverted to 320px for 3-item view */
    margin: 0 auto 20px;
    will-change: transform;
    transition: transform 0.1s ease-out;
    background: #000;
    border-radius: 32px;
    border: 4px solid #222;
    /* Very slim bezel */
    overflow: hidden;
    /* This correctly clips the image edges */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    /* More subtle */
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-btn svg {
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--background);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 209, 255, 0.4);
}

.slider-btn:hover svg {
    opacity: 1;
}

.slider-btn.prev {
    left: -64px;
}

.slider-btn.next {
    right: -64px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .screenshot-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .screenshot-item {
        flex: 0 0 100%;
    }

    .slider-btn {
        display: none;
    }
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in {
    opacity: 0;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

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

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

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

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .features, .showcase {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}