:root {
    --primary-glow: #9d50bb;
    --secondary-glow: #6e48aa;
    --bg-dark: #0f0c29;
    --text-light: #f0f0f0;
    --accent: #ffcc33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Cosmic Effects */
.stars, .twinkling, .nebula {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.nebula {
    background:
        radial-gradient(circle at 20% 30%, rgba(157, 80, 187, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(110, 72, 170, 0.15) 0%, transparent 40%);
    z-index: -1;
    filter: blur(50px);
    animation: nebulaMove 20s ease-in-out infinite alternate;
}

@keyframes nebulaMove {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.2) translate(2%, 2%); }
}

.stars {
  background: #000 url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/stars.png') repeat top center;
  z-index: -2;
}

.twinkling {
  background: transparent url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/twinkling.png') repeat top center;
  z-index: -1;
  animation: move-twink-back 200s linear infinite;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

/* Header & Nav */
header {
    padding: 2rem;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
    border-radius: 8px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(110, 69, 226, 0.5);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 40px;
    box-shadow: 0 0 50px rgba(157, 80, 187, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff 40%, var(--secondary-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(110, 69, 226, 0.5));
    animation: fadeInDown 1s ease-out;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--secondary-glow);
}

.download-btn img {
    height: 60px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.download-btn img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--accent);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-glow);
    box-shadow: 0 10px 40px rgba(110, 69, 226, 0.2);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Screenshots */
.screenshots {
    padding: 5rem 2rem;
    text-align: center;
}

.screenshots h2 {
    margin-bottom: 3rem;
}

.screenshot-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.app-screenshot {
    width: 280px;
    height: auto;
    border-radius: 30px;
    border: 8px solid #1a1a1a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(110, 69, 226, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.app-screenshot:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 30px rgba(110, 69, 226, 0.4);
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(157, 80, 187, 0.1), rgba(110, 72, 170, 0.1));
    padding: 4rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    max-width: 700px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.deletion-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    padding: 3rem 2rem;
}

.secondary-btn {
    background: transparent !important;
    border: 1px solid var(--primary-glow);
    box-shadow: none !important;
}

.secondary-btn:hover {
    background: rgba(157, 80, 187, 0.1) !important;
}

.deletion-note {
    margin-top: 1.5rem !important;
    font-size: 0.85rem !important;
    opacity: 0.6 !important;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-card p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(157, 80, 187, 0.3);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(157, 80, 187, 0.5);
    filter: brightness(1.1);
}

/* Footer */
footer {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-glow);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 1rem;
    }
}
