:root {
    --background: #020617;
    --foreground: #f8fafc;
    --primary: #38bdf8;
    --primary-hover: #0ea5e9;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --card: #0f172a;
    --border: #1e293b;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-muted: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
}

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

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.logo-img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

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

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

.btn-lang {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-lang:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--foreground);
}

.btn-primary {
    background: var(--primary);
    color: #000 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

/* Hero */
.hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background: radial-gradient(circle at top center, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}



.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.btn-large {
    background: var(--primary);
    color: #000;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--foreground);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-image {
    max-width: 450px;
    margin: 0 auto;
}

.mac-mockup {
    padding: 0.5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
    width: fit-content;
}

.app-screenshot {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 1rem;
    object-fit: contain;
}

/* Features */
.features {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p strong {
    color: var(--primary);
    font-weight: 600;
}

/* Screenshots Carousel-ish */
.screenshots {
    padding: 5rem 0;
    background: rgba(56, 189, 248, 0.02);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin: -2rem 0 3rem;
    font-size: 1.1rem;
}

.screenshot-carousel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .screenshot-carousel {
        grid-template-columns: 1fr;
    }
}

.screenshot-item {
    position: relative;
    padding: 0.5rem;
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    border-radius: 0.75rem;
    display: block;
}

.screenshot-item::after {
    content: attr(data-label);
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Download */
.download {
    padding: 8rem 0;
}

.download-card {
    padding: 4rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.download-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.store-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.store-badge img {
    height: 48px;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s;
}

.store-badge.disabled {
    cursor: default;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in { animation: fadeIn 1s ease forwards; }
.fade-in-delay { animation: fadeIn 1s ease 0.3s forwards; opacity: 0; }
.fade-in-delay-more { animation: fadeIn 1s ease 0.6s forwards; opacity: 0; }
.fade-in-up { animation: fadeInUp 1s ease 0.8s forwards; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .hero-btns { flex-direction: column; }
    .download-card { padding: 2rem; }
}
