@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500&display=swap');

:root {
    --bg-main: #0B0B11;
    --bg-secondary: #13131A;
    --primary-neon: #00ffd1;
    --primary-neon-dim: rgba(0, 255, 209, 0.2);
    --accent-pink: #d100ff;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

h1, h2, h3, h4, .logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Background effects */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-neon-dim) 0%, transparent 60%);
    z-index: -1;
    filter: blur(80px);
    opacity: 0.5;
    animation: pulse 8s infinite alternate ease-in-out;
}

.bg-glow.right {
    top: 30%;
    left: 50%;
    background: radial-gradient(circle, rgba(209, 0, 255, 0.15) 0%, transparent 60%);
    animation-delay: -4s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.3; }
    100% { transform: scale(1.1) translate(20px, 30px); opacity: 0.6; }
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

.brand img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    margin-left: 32px;
}

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

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    gap: 60px;
    padding: 80px 0 40px;
}

.hero-content {
    flex: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    color: var(--primary-neon);
    background: none;
    -webkit-text-fill-color: var(--primary-neon);
    text-shadow: 0 0 20px var(--primary-neon-dim);
}

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

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    cursor: pointer;
}

.btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.btn-primary {
    background-color: var(--primary-neon);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 209, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 255, 209, 0.5);
    background-color: #33ffdb;
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.hero-phone {
    max-width: 320px;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-phone:hover {
    transform: rotateY(0) rotateX(0);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary-neon), var(--accent-pink));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-neon), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

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

.screenshot-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.screenshot-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-item:hover {
    transform: scale(1.05) translateY(-10px);
}

.phone-frame {
    border: 10px solid #1a1a1a;
    border-radius: 40px;
    background: #000;
    padding: 3px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 20px rgba(108, 92, 231, 0.2);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 25px;
    background: #1a1a1a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 2;
}

.phone-frame img {
    width: 100%;
    border-radius: 30px;
    display: block;
}

.screenshot-caption {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    padding: 20px 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 70%, transparent 100%);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    z-index: 3;
}

/* Footer & Support */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.support-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
}

.support-box h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.support-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 24px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .download-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-phone {
        transform: rotateY(0) rotateX(0);
        margin-top: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .support-box {
        margin: 0 auto;
    }
    
    nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-links a {
        margin-left: 0;
        margin: 5px 10px;
        font-size: 0.95rem;
    }
}
