:root {
    --bg-color: #050511;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --primary-gradient: linear-gradient(135deg, #FF0080, #7928CA, #FF0080);
    --secondary-gradient: linear-gradient(45deg, #00DFD8, #007CF0);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--primary-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 5s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 17, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00DFD8;
}

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    background-size: 200% auto;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(121, 40, 202, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: #00DFD8;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.2) 0%, rgba(5, 5, 17, 0) 70%);
    top: -20%;
    left: -10%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 223, 216, 0.15) 0%, rgba(5, 5, 17, 0) 70%);
    bottom: -10%;
    right: -5%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    min-height: 400px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 20px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1s;
    margin-left: 100px;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Sections */
.section {
    padding: 100px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: #0f0f1a;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.app-card:hover {
    transform: translateY(-10px);
    border-color: #7928CA;
}

.app-image-placeholder {
    height: 200px;
    width: 100%;
}

.gradient-1 {
    background: linear-gradient(135deg, #FF0080, #7928CA);
}

.gradient-2 {
    background: linear-gradient(135deg, #007CF0, #00DFD8);
}

.app-info {
    padding: 30px;
}

.app-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.app-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 50px;
}

.btn-store {
    display: inline-block;
    color: #00DFD8;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #00DFD8;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-store:hover {
    background: #00DFD8;
    color: black;
}

.coming-soon {
    display: inline-block;
    background: var(--glass-bg);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* About & Contact */
.alt-bg {
    background: #0a0a16;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.glass-panel {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.email-link {
    display: block;
    margin: 20px 0;
    font-size: 1.5rem;
    color: #00DFD8;
    text-decoration: none;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.small-text {
    font-size: 0.8rem;
    color: #555;
}

/* Footer */
footer {
    padding: 50px 5%;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.footer-logo {
    height: 30px;
    opacity: 0.7;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
        height: auto;
        min-height: unset;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        width: 100%;
        margin-bottom: 40px;
    }

    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        width: 100%;
        min-height: auto;
        margin-top: 20px;
    }

    /* Fix card positioning on mobile */
    .glass-card {
        width: 90%;
        max-width: 300px;
    }

    .delay-1 {
        margin-left: 0;
        margin-top: 20px;
    }

    .nav-links {
        display: none;
    }

    /* Simplified mobile menu for now */

    .glass-panel {
        width: 100%;
        padding: 30px 20px;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .email-link {
        font-size: 1.1rem;
    }
}

/* Animations & States */
.fade-in-init {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure float animation overrides static transform when visible */
.glass-card.visible {
    animation-play-state: running;
    /* Ensure it runs */
    /* We don't forcefully set transform here so keyframes work, 
       but inline style removal in JS handles the reset. */
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 223, 216, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}