:root {
    --slate-950: #020617;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --white: #ffffff;
    --emerald-500: #10b981;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--slate-950);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--slate-800);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.highlight {
    color: var(--indigo-400);
}

.nav-button {
    background-color: var(--emerald-500);
    color: var(--white);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.2s, background-color 0.2s;
}

.nav-button:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: radial-gradient(circle at center, var(--slate-900) 0%, var(--slate-950) 100%);
}

.app-icon-container {
    margin-bottom: 30px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.2);
}

h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 20px;
    color: var(--slate-400);
    max-width: 600px;
    margin: 0 auto 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-button {
    transition: transform 0.2s;
}

.store-button:hover {
    transform: scale(1.05);
}

.store-button.apple img {
    height: 60px;
}

.store-button.google img {
    height: 88px; /* Google badge has built-in padding */
    margin-top: -14px;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background-color: var(--slate-900);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    margin: -20px 0;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    user-select: none;
}

.carousel-track.grabbing {
    cursor: grabbing;
    transition: none;
}

.screenshot-card {
    flex: 0 0 calc((100% - 80px) / 3);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshot-card:hover {
    transform: translateY(-10px);
}

.screenshot-card img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-control {
    background-color: var(--slate-800);
    border: 1px solid var(--slate-700);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--indigo-500);
    border-color: var(--indigo-500);
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .screenshot-card {
        flex: 0 0 calc((100% - 40px) / 2);
    }
}

@media (max-width: 600px) {
    .screenshot-card {
        flex: 0 0 100%;
    }
    .carousel-control {
        width: 40px;
        height: 40px;
    }
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--slate-800);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--slate-400);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 40px;
    }
    .tagline {
        font-size: 18px;
    }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
