:root {
    --primary: #5e2ca5;
    --primary-light: #8e5bd3;
    --primary-dark: #3a1c6a;
    --secondary: #00d2ff;
    --accent: #ff007a;
    --bg-dark: #050508;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-light: #f8f9fa;
    --text-muted: #94a3b8;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* --- Background Animation --- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 10% 10%, #1a103d 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, #0c2049 0%, transparent 40%),
        var(--bg-dark);
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: glowMove 20s infinite alternate;
}

@keyframes glowMove {
    0% {
        transform: translate(-10%, -10%);
    }

    100% {
        transform: translate(50%, 50%);
    }
}

/* App Logo Styles */
.app-logo {
    position: relative;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(94, 44, 165, 0.4);
    overflow: hidden;
    flex-shrink: 0;
}

.app-logo::before,
.app-logo::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 6px;
    background: rgba(255, 255, 255, 1);
    border-radius: 3px;
}

.app-logo::before {
    transform: rotate(-45deg) translate(-2px, -8px);
    width: 14px;
}

.app-logo::after {
    transform: rotate(-45deg) translate(2px, 8px);
    width: 14px;
}

.app-logo-inner {
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 5px;
    transform: rotate(45deg);
    position: relative;
}

.app-logo-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navbar --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 8%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.8rem 8%;
    background: rgba(5, 5, 8, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(94, 44, 165, 0.5));
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(94, 44, 165, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 8px 25px rgba(94, 44, 165, 0.5);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 8% 60px;
}

.badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
    display: inline-block;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    max-width: 1100px;
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
}

/* --- Features Section --- */
.features {
    padding: 100px 8%;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 3rem 2.5rem;
    border-radius: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(94, 44, 165, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* --- Pricing Section --- */
.pricing {
    padding: 100px 8%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 2.5rem 1.5rem;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.pricing-card.premium {
    background: linear-gradient(180deg, rgba(94, 44, 165, 0.1) 0%, rgba(5, 5, 8, 0) 100%);
    border-color: rgba(94, 44, 165, 0.3);
    position: relative;
}

.pricing-card.premium::after {
    content: 'Best Value';
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: #000;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.price {
    margin: 2rem 0;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-white);
}

.price .unit {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
}

.pricing-features li i {
    color: var(--secondary);
}

.btn-outline {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--text-white);
    color: #000;
}

/* --- Download Section --- */
.download {
    padding: 100px 8%;
}

.download-box {
    background: linear-gradient(135deg, rgba(94, 44, 165, 0.2) 0%, rgba(0, 210, 255, 0.05) 100%);
    border: 1px solid var(--border-glass);
    padding: 5rem 3rem;
    border-radius: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
}

.store-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.store-link {
    background: #000;
    border: 1px solid #333;
    padding: 12px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
}

.store-link:hover {
    border-color: var(--secondary);
    background: #111;
    transform: translateY(-3px);
}

.store-link i {
    font-size: 1.8rem;
}

.store-link .label {
    text-align: left;
    line-height: 1.2;
}

.store-link .label span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
}

.store-link .label strong {
    display: block;
    font-size: 1.1rem;
}

/* --- Footer --- */
footer {
    padding: 100px 8% 40px;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    nav {
        padding: 1rem 5%;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-grid {
        gap: 2rem;
    }
}