/* ===== RESET & GLOBAL (matches home.css) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #030712;
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

/* ===== ANIMATED BACKGROUND GLOW (same as home) ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.08), transparent 60%);
    z-index: -2;
    pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF, #94a3f8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.divider {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(105deg, #3b82f6, #9333ea);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

/* ===== NAVBAR (same as home) ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #94a3f8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Logo image styling */
.logo-img {
    height: 32px;
    /* Adjust to match your desired size */
    width: auto;
    /* Maintains aspect ratio */
    vertical-align: middle;
    margin-right: 8px;
    /* Space between logo and text */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #eef2ff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #60a5fa;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #eef2ff;
    transition: color 0.3s;
}

.hamburger:hover {
    color: #60a5fa;
}

/* Offset for anchor links (prevents navbar overlap) */
section[id] {
    scroll-margin-top: 80px;
}

/* ===== APPS HERO SECTION ===== */
.apps-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.15), transparent 70%);
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-tagline {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin: 20px 0 32px;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
    color: #94a3b8;
    font-size: 1.2rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ===== APPS GRID (custom cards) ===== */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.app-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    padding: 32px 24px;
    border-radius: 28px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.3);
}

.app-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #eef2ff;
}

.app-card p {
    color: #94a3b8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.app-features span {
    background: #1e293b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3f8;
}

/* ===== FOOTER (matches home) ===== */
footer {
    background: #020617;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fff, #94a3f8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 12px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.copyright {
    font-size: 0.8rem;
    color: #475569;
    text-align: center;
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 20px;
    }

    section {
        padding: 60px 0;
    }

    .apps-hero {
        min-height: 50vh;
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(3, 7, 18, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s ease-in-out;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-container {
        padding: 0.8rem 20px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}