:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #ff0050;
    /* TikTok Pinkish */
    --primary-glow: rgba(255, 0, 80, 0.3);
    --secondary: #00f2ea;
    /* TikTok Cyan */
    --text-main: #ffffff;
    --text-dim: #a1a1a6;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.02);
    --glass-heavy: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 80, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 242, 234, 0.05) 0%, transparent 40%);
    min-height: 100vh;
}

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

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

.glass-heavy {
    background: var(--glass-heavy);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Header & Nav */
header {
    padding: 30px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero p {
    color: var(--text-dim);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Download Form & Search Area */
.download-form {
    max-width: 750px;
    margin: 0 auto 30px;
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: blur(25px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.download-form:focus-within {
    border-color: rgba(255, 0, 80, 0.4);
    box-shadow: 0 15px 35px rgba(255, 0, 80, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.input-group i {
    color: var(--primary);
    font-size: 18px;
    opacity: 0.7;
}

.download-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 16px;
    font-size: 16px;
    color: white;
    outline: none;
    width: 100%;
}

.download-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary), #cc0040);
    color: white;
    border: none;
    padding: 0 35px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 54px;
    display: flex;
    align-items: center;
}

.btn-download:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .download-form {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
        height: 50px;
    }
}

/* Platform Tiles */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, min-max(150px, 1fr));
    gap: 20px;
    margin-top: 60px;
}

.platform-card {
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.platform-card i {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 100px 0;
}

.feature-card {
    padding: 40px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 15px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Recent Tags */
.recent-tag {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-dim);
    border: 1px solid var(--border);
    font-size: 13px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: inline-block;
}

.recent-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.animate-fade {
    animation: fadeInUp 0.8s ease forwards;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-dim);
    font-size: 14px;
}