/* ============================================
   VIBRANT COLOR PALETTE & BASE STYLES
   ============================================ */

:root {
    /* Funky Color Palette */
    --electric-purple: #A855F7;
    --hot-pink: #EC4899;
    --cyber-blue: #06B6D4;
    --lime-green: #84CC16;
    --orange-blast: #F97316;
    --yellow-pop: #FBBF24;

    /* Backgrounds */
    --dark-bg: #0F172A;
    --card-bg: #1E293B;
    --gradient-1: linear-gradient(135deg, var(--electric-purple), var(--hot-pink));
    --gradient-2: linear-gradient(135deg, var(--cyber-blue), var(--electric-purple));
    --gradient-3: linear-gradient(135deg, var(--lime-green), var(--cyber-blue));
    --gradient-4: linear-gradient(135deg, var(--orange-blast), var(--yellow-pop));

    /* Typography */
    --font-display: 'Righteous', cursive;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    animation: glitch-1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch:hover::after {
    animation: glitch-2 0.3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-5px, 2px); }
    66% { transform: translate(5px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(5px, -2px); }
    66% { transform: translate(-5px, 2px); }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--cyber-blue);
    font-family: var(--font-heading);
    margin-bottom: 3rem;
}

.scroll-indicator {
    margin-top: 4rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.arrow-bounce {
    font-size: 2rem;
    animation: bounce 2s infinite;
    display: inline-block;
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--electric-purple);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--cyber-blue);
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--hot-pink);
    bottom: 10%;
    left: 30%;
    animation-delay: 6s;
}

.shape-4 {
    width: 180px;
    height: 180px;
    background: var(--lime-green);
    top: 30%;
    right: 25%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* ============================================
   APPS SECTION
   ============================================ */

.apps-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1a1f35 100%);
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.app-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
}

.app-card:nth-child(2):hover {
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.4);
}

.app-card:nth-child(3):hover {
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.4);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
}

.app-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.app-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.app-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-1);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   COMING SOON SECTION
   ============================================ */

.coming-soon-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #1a1f35 0%, var(--dark-bg) 100%);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.coming-soon-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px dashed rgba(132, 204, 22, 0.3);
    transition: all 0.3s ease;
}

.coming-soon-card:hover {
    border-color: var(--lime-green);
    background: rgba(30, 41, 59, 0.8);
    transform: scale(1.05);
}

.mystery-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--lime-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.coming-soon-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 700px;
}

.about-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.location-badge {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid var(--cyber-blue);
    min-width: 200px;
}

.pin-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.location-badge div:last-child {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cyber-blue);
}

/* ============================================
   FOOTER SECTION
   ============================================ */

.footer-section {
    padding: 6rem 0 3rem;
    background: var(--dark-bg);
    text-align: center;
}

.footer-tagline {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.social-links {
    margin-bottom: 3rem;
}

.contact-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--gradient-4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.footer-credits {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.small {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .coming-soon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-text {
        max-width: 100%;
    }

    .location-badge {
        margin: 0 auto;
    }

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

@media (max-width: 480px) {
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SMOOTH ANIMATIONS
   ============================================ */

section {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Fade-in animation for cards */
.app-card,
.coming-soon-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }

.coming-soon-card:nth-child(1) { animation-delay: 0.1s; }
.coming-soon-card:nth-child(2) { animation-delay: 0.2s; }
.coming-soon-card:nth-child(3) { animation-delay: 0.3s; }
.coming-soon-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
