:root {
    --app-bg: rgb(23, 23, 23);
    --brand-color: rgb(0, 202, 133);
    --brand-glow: rgba(0, 202, 133, 0.3);
    --gradient-1: linear-gradient(135deg, var(--brand-color) 0%, rgb(0, 150, 100) 100%);
    --gradient-2: linear-gradient(135deg, rgba(0, 202, 133, 0.1) 0%, rgba(0, 202, 133, 0) 100%);
    --text-primary: #ffffff;
    --text-secondary: rgb(189, 189, 189);
}

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

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

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.bg-animated {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-animated::before,
.bg-animated::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    animation: float 25s ease-in-out infinite;
}

.bg-animated::before {
    width: 600px;
    height: 600px;
    background: var(--brand-color);
    top: -300px;
    left: -300px;
    animation-delay: -5s;
}

.bg-animated::after {
    width: 700px;
    height: 700px;
    background: var(--brand-color);
    bottom: -350px;
    right: -350px;
    animation-delay: -12s;
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(23, 23, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 202, 133, 0.1);
}

nav .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero .container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-color);
    font-family: 'Space Mono', monospace;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

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

section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--brand-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.app-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

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

.app-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-color);
    box-shadow: 0 25px 50px rgba(0, 202, 133, 0.15);
}

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

.app-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.app-info {
    flex: 1;
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.app-category {
    font-size: 0.85rem;
    color: var(--brand-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.app-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.app-platforms {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.platform-badge.available {
    background: rgba(0, 202, 133, 0.1);
    border-color: rgba(0, 202, 133, 0.3);
    color: var(--brand-color);
}

.platform-badge img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.app-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    flex: 1;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 8px 20px var(--brand-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--brand-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-color);
}

.about-section {
    background: rgba(0, 0, 0, 0.2);
    padding: 4rem 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 2;
}

.contact-section {
    background: var(--gradient-2);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    min-width: 200px;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--brand-color);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--brand-color);
}

.contact-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--brand-color);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-color);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-bottom p {
    margin: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 968px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .stats-row {
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .hero .tagline {
        font-size: 1.25rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
