/* ==========================================================================
   ADT-APP.FR - Modern Liquid Glass Hub Stylesheet
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #080914;
    --bg-card: rgba(19, 23, 43, 0.7);
    --bg-card-hover: rgba(25, 30, 56, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Vibrant Accents */
    --cyan: #08d9d6;
    --pink: #ff2e63;
    --purple: #8b5cf6;
    --gold: #f9d423;
    --green: #2ecc71;

    /* Text Colors */
    --text-white: #ffffff;
    --text-muted: #9aa1b9;
    --text-dim: #5d6582;

    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Glassmorphism */
    --glass-blur: blur(16px);
    --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    --glow-shadow-cyan: 0 10px 40px rgba(8, 217, 214, 0.25);
    --glow-shadow-pink: 0 10px 40px rgba(255, 46, 99, 0.25);
    --glow-shadow-purple: 0 10px 40px rgba(139, 92, 246, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Reset & Normalization */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Selection & Focus */
::selection {
    background-color: var(--pink);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Ambient Liquid Background Glows
   ========================================================================== */
.liquid-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.liquid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
}

.blob-2 {
    bottom: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    animation-delay: -7s;
}

.blob-3 {
    top: 40%;
    left: 35%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    animation-delay: -14s;
}

.liquid-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(60px, 40px) scale(1.1);
    }
    100% {
        transform: translate(-40px, 80px) scale(0.95);
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}

.main-header.scrolled {
    background: rgba(8, 9, 20, 0.85);
    backdrop-filter: var(--glass-blur);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(8, 217, 214, 0.45));
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
}

.brand-text .highlight {
    color: var(--cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mini-cta {
    background: linear-gradient(135deg, rgba(8, 217, 214, 0.15), rgba(255, 46, 99, 0.15));
    border: 1px solid var(--border-hover);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
}

.mini-cta:hover {
    background: linear-gradient(135deg, var(--cyan), var(--pink));
    color: #fff;
    border-color: transparent;
    box-shadow: var(--glow-shadow-cyan);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 160px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
    animation: pulseGlow 2s infinite;
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, #fff 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    max-width: 720px;
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.primary-btn {
    background: linear-gradient(135deg, var(--cyan), #00b4d8);
    color: #080914;
    box-shadow: 0 8px 24px rgba(8, 217, 214, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(8, 217, 214, 0.45);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

/* Stats / Features highlight cards */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: var(--glass-blur);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.stat-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
}

.tech-glow { box-shadow: 0 0 15px rgba(8, 217, 214, 0.2); }
.party-glow { box-shadow: 0 0 15px rgba(255, 46, 99, 0.2); }
.web-glow { box-shadow: 0 0 15px rgba(139, 92, 246, 0.2); }

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Projects Section & Filters
   ========================================================================== */
.projects-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 40px;
}

.section-header.text-center {
    text-align: center;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.category-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--text-white);
    color: var(--text-white);
}

.filter-btn.active {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* Projects Cards Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.project-card {
    position: relative;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: var(--glass-blur);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card.hidden {
    display: none;
}

.card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 2;
    position: relative;
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.glow-cyan {
    background: radial-gradient(circle at 80% 20%, rgba(8, 217, 214, 0.15) 0%, transparent 60%);
}

.glow-pink {
    background: radial-gradient(circle at 80% 20%, rgba(255, 46, 99, 0.15) 0%, transparent 60%);
}

.glow-purple {
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
}

.project-card:hover .card-glow {
    opacity: 1;
}

.project-card[data-category="tech"]:hover {
    box-shadow: var(--glow-shadow-cyan);
    border-color: rgba(8, 217, 214, 0.4);
}

.project-card[data-category="gaming"]:hover {
    box-shadow: var(--glow-shadow-pink);
    border-color: rgba(255, 46, 99, 0.4);
}

.project-card[data-category="upcoming"]:hover {
    box-shadow: var(--glow-shadow-purple);
    border-color: rgba(139, 92, 246, 0.4);
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.project-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.project-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.icon-cyan { color: var(--cyan); border-color: rgba(8, 217, 214, 0.3); }
.icon-pink { color: var(--pink); border-color: rgba(255, 46, 99, 0.3); }
.icon-purple { color: var(--purple); border-color: rgba(139, 92, 246, 0.3); }

.project-category {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-white);
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 1px;
}

.badge-cyan { background: rgba(8, 217, 214, 0.15); color: var(--cyan); border: 1px solid rgba(8, 217, 214, 0.3); }
.badge-pink { background: rgba(255, 46, 99, 0.15); color: var(--pink); border: 1px solid rgba(255, 46, 99, 0.3); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.3); }

.project-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #c0c6dc;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition-fast);
}

.btn-cyan {
    background: var(--cyan);
    color: #080914;
}

.btn-cyan:hover {
    background: #00f0ec;
    box-shadow: 0 6px 20px rgba(8, 217, 214, 0.4);
}

.btn-pink {
    background: var(--pink);
    color: #fff;
}

.btn-pink:hover {
    background: #ff4775;
    box-shadow: 0 6px 20px rgba(255, 46, 99, 0.4);
}

.domain-pill {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-dim);
    font-family: monospace;
}

.upcoming-card {
    border-style: dashed;
}

.upcoming-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    color: var(--purple);
    font-weight: 700;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--purple);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    color: var(--text-muted);
}

.about-list li strong {
    color: var(--text-white);
}

.list-icon {
    width: 24px;
    height: 24px;
    background: rgba(8, 217, 214, 0.15);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px;
    backdrop-filter: var(--glass-blur);
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.about-preview-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(8, 217, 214, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 15px rgba(8, 217, 214, 0.3));
}

.preview-inner h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.preview-inner p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(4, 5, 12, 0.9);
    backdrop-filter: var(--glass-blur);
    padding: 60px 24px 30px;
}

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

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--cyan);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.back-to-top:hover {
    color: var(--cyan);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(8, 9, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding-top: 120px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links-group {
        flex-direction: column;
        gap: 30px;
    }
}
