/* Variables - GridClash Palette */
:root {
    --pink: #FF00FF;           /* Bright magenta */
    --cyan: #00F0FF;           /* Bright cyan */
    --blue: #0066FF;           /* Bright blue */
    --dark-blue: #0A0E27;      /* Very dark blue */
    --very-dark-blue: #050614; /* Almost black with blue tint */
    --purple: #8B3FFF;         /* Bright purple */
    --neon-green: #39FF14;     /* Neon green */
    --neon-orange: #FF6B35;    /* Neon orange */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: linear-gradient(135deg, #1E1346 0%, #0D0B2E 30%, var(--very-dark-blue) 70%, #001C3D 100%);
    background-attachment: fixed;
    color: white;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Animated background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 63, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(139, 63, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 40px var(--pink)) drop-shadow(0 0 20px var(--cyan));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px var(--pink)) drop-shadow(0 0 20px var(--cyan));
    }
    50% {
        filter: drop-shadow(0 0 60px var(--purple)) drop-shadow(0 0 30px var(--neon-green));
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    text-shadow: 0 0 80px rgba(255, 0, 255, 0.5);
    animation: titleShimmer 3s ease-in-out infinite;
}

@keyframes titleShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.ios-btn {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 32px rgba(139, 63, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.3);
}

.ios-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 0, 255, 0.6), 0 0 30px rgba(139, 63, 255, 0.5);
}

.android-btn {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.4), 0 0 20px rgba(0, 240, 255, 0.3);
}

.android-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.6), 0 0 30px rgba(0, 102, 255, 0.5);
}

.store-icon {
    width: 32px;
    height: 32px;
}

.download-text {
    font-size: 0.75rem;
    opacity: 0.9;
}

.download-store {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(139, 63, 255, 0.4)) 
            drop-shadow(0 0 40px rgba(0, 240, 255, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.features .container {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--cyan), var(--pink), var(--purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 0.05em;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

.feature-card {
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(74, 95, 255, 0.4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 63, 255, 0.1), rgba(0, 240, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--cyan);
    box-shadow: 
        0 20px 60px rgba(0, 240, 255, 0.3),
        0 0 40px rgba(139, 63, 255, 0.2),
        inset 0 0 60px rgba(0, 240, 255, 0.1);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--pink));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.screenshots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at left, rgba(255, 0, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at right, rgba(0, 102, 255, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.screenshots .container {
    position: relative;
    z-index: 1;
}

.screenshots-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) rgba(255, 255, 255, 0.1);
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 10px;
}

.screenshot {
    min-width: 300px;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(139, 63, 255, 0.5);
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(139, 63, 255, 0.3);
}

.screenshot:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--cyan);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.3);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 50%, var(--blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--very-dark-blue);
    text-align: center;
    border-top: 1px solid rgba(139, 63, 255, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--pink);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

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

