/* ============================================
   ARGIUS STUDIO - STYLE SYSTEM
   ============================================ */

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

:root {
    --bg-primary: #06060e;
    --bg-secondary: #0c0c18;
    --bg-card: #111122;
    --bg-card-hover: #1a1a30;
    --card-gradient: linear-gradient(180deg, rgba(20, 20, 40, 0.6) 0%, rgba(15, 15, 30, 0.95) 100%);
    --text-primary: #eeeef5;
    --text-secondary: #8888aa;
    --accent: #7c5cff;
    --accent-hover: #9370ff;
    --accent-glow: rgba(124, 92, 255, 0.3);
    --border: #1e1e35;
    --nav-bg: rgba(6, 6, 14, 0.8);
    --success: #44dd88;
    --faq-icon-bg: rgba(124, 92, 255, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f8f8fc;
    --bg-secondary: #efeff5;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f8;
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 250, 0.95) 100%);
    --text-primary: #1a1a2e;
    --text-secondary: #6a6a8a;
    --accent: #6244e0;
    --accent-hover: #7c5cff;
    --accent-glow: rgba(98, 68, 224, 0.2);
    --border: #dddde8;
    --nav-bg: rgba(248, 248, 252, 0.85);
    --success: #22aa55;
    --faq-icon-bg: rgba(98, 68, 224, 0.1);
}

html { scroll-behavior: smooth; }

body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

input, textarea, select, code, pre {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.accent { color: var(--accent); }

#spaceBg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   CURSOR GLOW
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

body:hover .cursor-glow { opacity: 1; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: none;
    transition: background 0.3s;
}

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

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

.logo-icon {
    color: var(--accent);
    font-size: 1rem;
    animation: logoSpin 6s linear infinite;
}

@keyframes logoSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
    background: var(--bg-card);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    transform: rotate(20deg);
}

.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: inline; }
[data-theme="dark"] .icon-sun { display: inline; }
[data-theme="dark"] .icon-moon { display: none; }

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

.mobile-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
    transform-origin: center;
}

.mobile-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu.active span:nth-child(2) { opacity: 0; }
.mobile-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    border: none;
    z-index: 99;
    flex-direction: column;
    padding: 16px 24px;
    gap: 8px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--text-primary); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero h1 .line {
    display: block;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), #f5576c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: wheel 1.5s infinite;
}

@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(8px); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-small { padding: 8px 18px; font-size: 0.82rem; }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-arrow {
    transition: transform 0.3s;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.72rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
    background: var(--bg-secondary);
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-card {
    background: var(--card-gradient);
    border-radius: 18px;
    padding: 44px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 92, 255, 0.08);
}

.about-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--faq-icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    transition: transform 0.4s;
}

.about-card:hover .about-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.about-icon { font-size: 1.9rem; }

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-preview,
.projects-section {
    padding: 100px 0;
    position: relative;
}

.projects-preview::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.projects-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

.project-card {
    background: var(--card-gradient);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 92, 255, 0.1);
}

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

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    z-index: 1;
}

.project-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-shine {
    transform: rotate(45deg) translateX(30%);
}

.project-type {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255,255,255,0.1);
}

.project-info {
    padding: 24px;
}

.project-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.6;
}

.project-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.project-link:hover {
    gap: 8px;
    color: var(--accent-hover);
}

.scp-card {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a, #1a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.03);
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   FILTER
   ============================================ */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-preview {
    padding: 100px 0;
}

.partner-big {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 48px;
    max-width: 640px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.partner-big:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(124, 92, 255, 0.08);
}

.partner-big-logo {
    font-size: 4rem;
    flex-shrink: 0;
}

.partner-big-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.partner-big-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* PARTNER PAGE */
.partners-section { padding: 80px 0; }

.partner-showcase-card {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
}

.partner-showcase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.partner-showcase-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.partner-status {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(68, 221, 136, 0.15);
    color: var(--success);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.pulse {
    animation: pulse 2s infinite;
}

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

.partner-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.partner-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.partner-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-feature h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.partner-feature p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.partner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.become-partner {
    text-align: center;
    margin-top: 48px;
    padding: 48px;
    background: var(--card-gradient);
    border-radius: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.become-partner h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.become-partner p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ============================================
   CTA
   ============================================ */
.cta { padding: 80px 0; }

.cta-card {
    background: linear-gradient(135deg, var(--accent), #f5576c);
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    letter-spacing: -1px;
}

.cta-card p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
}

.cta-card .btn {
    position: relative;
    background: #fff;
    color: var(--accent);
    font-weight: 700;
}

.cta-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section { padding: 80px 0; }

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

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-method a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.contact-method a:hover { color: var(--accent); }

.contact-form-wrap {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 36px;
    position: relative;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: background 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea { resize: vertical; }

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888aa' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    background: rgba(68, 221, 136, 0.15);
    color: var(--success);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

@keyframes fadeIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 48px 0 24px;
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    border: none;
    padding-top: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    animation: loadPulse 1.5s ease infinite;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #f5576c);
    border-radius: 3px;
    animation: loadBar 1.5s ease forwards;
}

@keyframes loadPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes loadBar { 0% { width: 0; } 100% { width: 100%; } }

/* ============================================
   SCROLL PROGRESS
   ============================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #f5576c, var(--accent));
    background-size: 200% 100%;
    animation: progressGlow 2s linear infinite;
    z-index: 101;
    transition: width 0.1s;
}

@keyframes progressGlow { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

/* ============================================
   TYPING EFFECT
   ============================================ */
.typing-text {
    display: inline;
    border-right: 3px solid var(--accent);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink { 0%, 100% { border-color: var(--accent); } 50% { border-color: transparent; } }

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-gradient);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
    font-size: 1.4rem;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   TEAM
   ============================================ */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #f5576c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.team-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    padding: 80px 0;
}

.newsletter-card {
    background: var(--card-gradient);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.newsletter-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    background: var(--bg-primary);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* ============================================
   STATUS BADGE
   ============================================ */
.status-badge {
    position: fixed;
    bottom: 32px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    z-index: 90;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================
   FEATURED BADGE
   ============================================ */
.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f5576c, #ff6b6b);
    color: #fff;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.featured-badge.wip {
    background: linear-gradient(135deg, #ffa726, #ff7043);
}

/* ============================================
   GLITCH EFFECT
   ============================================ */
.glitch {
    position: relative;
}

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

.glitch::before {
    animation: glitch1 3s infinite;
    color: #f5576c;
    z-index: -1;
}

.glitch::after {
    animation: glitch2 3s infinite;
    color: #4facfe;
    z-index: -2;
}

@keyframes glitch1 {
    0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    92% { clip-path: inset(20% 0 40% 0); transform: translate(-3px, 2px); }
    94% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -1px); }
    96% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 1px); }
}

@keyframes glitch2 {
    0%, 90%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
    91% { clip-path: inset(50% 0 20% 0); transform: translate(3px, -2px); }
    93% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, 1px); }
    95% { clip-path: inset(30% 0 40% 0); transform: translate(2px, -1px); }
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-content {
    padding: 32px;
}

/* Discord Message Style */
.discord-msg {
    display: flex;
    gap: 16px;
    padding: 4px 0;
}

.discord-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865f2, #eb459e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.discord-body {
    flex: 1;
    min-width: 0;
}

.discord-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.discord-username {
    font-weight: 700;
    color: #5865f2;
    font-size: 1rem;
}

.discord-bot-tag {
    background: #5865f2;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.discord-timestamp {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.discord-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.65;
    word-wrap: break-word;
}

.discord-text em {
    color: var(--accent);
    font-style: italic;
}

.discord-text strong {
    color: #faa61a;
    font-weight: 700;
}

.discord-text .spoiler {
    background: var(--text-secondary);
    color: transparent;
    padding: 0 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.discord-text .spoiler:hover,
.discord-text .spoiler.revealed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.discord-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.discord-divider::before,
.discord-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.discord-mention {
    background: rgba(88, 101, 242, 0.2);
    color: #dee0fc;
    padding: 0 4px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}

.discord-mention:hover {
    background: rgba(88, 101, 242, 0.4);
}

/* Project Detail */
.project-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.project-detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.project-detail-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.project-detail-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
}

.project-detail-status.active {
    background: rgba(68, 221, 136, 0.15);
    color: var(--success);
}

.project-detail-status.closed {
    background: rgba(245, 87, 108, 0.15);
    color: #f5576c;
}

.project-detail-status.dev {
    background: rgba(255, 167, 38, 0.15);
    color: #ffa726;
}

.project-detail-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.project-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links, .nav-right .theme-toggle { display: none; }
    .mobile-menu { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.5rem; }
    .about-grid, .projects-grid, .projects-grid-full { grid-template-columns: 1fr; }
    .partner-big { flex-direction: column; text-align: center; padding: 32px; }
    .partner-showcase-card { padding: 28px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .cta-card { padding: 40px 24px; }
    .page-hero h1 { font-size: 2.2rem; }
    .modal { margin: 10px; max-height: 90vh; }
    .modal-content { padding: 20px; }
    .discord-msg { flex-direction: column; gap: 10px; }
    .discord-avatar { width: 40px; height: 40px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
}
