/* ==========================================================================
   VOID CORPORATE WEBSITE - PROFESSIONAL FUTURISTIC DESIGN SYSTEM
   ========================================================================== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;900&display=swap');

:root {
    --bg-color: #050505;
    --primary-purple: #8B5CF6;
    --neon-blue: #00D4FF;
    --white: #FFFFFF;
    --gray: #A1A1AA;
    --glass-bg: rgba(10, 10, 10, 0.6);
    --glass-border: rgba(139, 92, 246, 0.15);
    --font-title: 'Orbitron', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
    --font-english: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--white);
    font-family: var(--font-arabic), var(--font-english), sans-serif;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cosmic Canvas Background */
#cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.nebula-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
    animation: pulseNebula 15s ease-in-out infinite alternate;
}

@keyframes pulseNebula {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #1f1f23;
    border-radius: 4px;
    border: 2px solid #050505;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple);
}

/* Typography Helpers */
.en-title {
    font-family: var(--font-title);
    letter-spacing: 2px;
}

/* Fixed Glassmorphism Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 8%;
    background: rgba(5, 5, 5, 0.85);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 4px;
    position: relative;
    background: linear-gradient(90deg, #fff, var(--gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: var(--transition-smooth);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    opacity: 0.7;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover, .nav-links li.active a {
    color: var(--white);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--neon-blue));
    transition: var(--transition-smooth);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition-smooth);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-arabic), sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), #6d28d9);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.6), 0 0 15px var(--neon-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--neon-blue);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Hero Template */
.page-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
}

.page-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 0%, var(--gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Home Hero Style & Black Hole Architecture */
.hero-home {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.black-hole-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.black-hole-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #000000;
    border-radius: 50%;
    box-shadow: 0 0 40px #000, 0 0 80px #000;
    z-index: 5;
}

.accretion-disk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(65deg);
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 20%, rgba(139, 92, 246, 0.4) 40%, rgba(0, 212, 255, 0.3) 60%, transparent 70%);
    filter: blur(10px);
    animation: rotateDisk 20s linear infinite, breathingDisk 4s ease-in-out infinite alternate;
    z-index: 3;
}

.glow-purple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    filter: blur(25px);
    z-index: 2;
    animation: breathingGlow 6s ease-in-out infinite alternate;
}

.glow-blue {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    filter: blur(35px);
    z-index: 2;
    animation: breathingGlow 8s ease-in-out infinite alternate-reverse;
}

.energy-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateX(75deg) rotateY(15deg);
    width: 550px;
    height: 550px;
    border: 2px dashed rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: rotateDisk 35s linear infinite;
    z-index: 4;
    filter: drop-shadow(0 0 8px var(--neon-blue));
}

@keyframes rotateDisk {
    0% { transform: translate(-50%, -50%) rotateX(65deg) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotateX(65deg) rotate(360deg); }
}

@keyframes breathingDisk {
    0% { opacity: 0.8; transform: translate(-50%, -50%) rotateX(65deg) scale(0.98); }
    100% { opacity: 1; transform: translate(-50%, -50%) rotateX(65deg) scale(1.04); }
}

@keyframes breathingGlow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.2);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    font-family: var(--font-arabic);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-desc {
    color: var(--gray);
    font-size: clamp(14px, 2vw, 18px);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections Global Layout */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 60px;
    position: relative;
}

.section-title span {
    display: block;
    font-size: 14px;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-family: var(--font-title);
}

/* Glassmorphism Cards System */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.glass-card:hover::before {
    transform: translateX(100%);
}

.glass-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
    transform: translateY(-5px);
}

/* Home Section: Who We Are */
.about-brief {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-brief p {
    font-size: 18px;
    color: var(--gray);
    line-height: 2;
}

/* Home Section: Project Spotlight */
.spotlight-container {
    margin-top: 40px;
}

.premium-project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.project-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    background: radial-gradient(circle at center, #181030 0%, #050505 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-visual::after {
    content: 'SETVOID';
    font-family: var(--font-title);
    font-size: 70px;
    font-weight: 900;
    color: rgba(139, 92, 246, 0.06);
    letter-spacing: 8px;
    position: absolute;
}

.visual-element {
    width: 120px;
    height: 120px;
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    position: relative;
    animation: floatElement 4s ease-in-out infinite alternate;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.visual-element::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    border: 2px dashed var(--neon-blue);
    border-radius: 50%;
    animation: rotateDisk 10s linear infinite;
}

@keyframes floatElement {
    0% { transform: translateY(-10px) rotate(0deg); }
    100% { transform: translateY(10px) rotate(15deg); }
}

.project-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.project-info p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

/* Home Section: Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

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

.stat-number {
    font-family: var(--font-title);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--white), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
    font-weight: 600;
}

/* About Page Specific Layout */
.story-grid, .mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

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

/* Timeline System */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-purple), var(--neon-blue), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.right {
    left: 0;
    text-align: left;
}

.timeline-item.left {
    left: 50%;
    text-align: right;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    top: 25px;
    background-color: var(--bg-color);
    border: 3px solid var(--neon-blue);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--neon-blue);
}

.timeline-item.left::after {
    left: -8px;
    right: auto;
}

.timeline-year {
    font-family: var(--font-title);
    font-size: 24px;
    color: var(--neon-blue);
    font-weight: 700;
    margin-bottom: 5px;
}

/* Founder Structure */
.founder-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.founder-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--neon-blue));
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.founder-avatar::after {
    content: 'W';
    font-family: var(--font-title);
    font-size: 42px;
    color: var(--white);
    font-weight: 900;
}

.founder-card h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.founder-title {
    color: var(--neon-blue);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-title);
    margin-bottom: 20px;
}

/* Projects Page Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-status {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-dev {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.project-card-large {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-card-large .project-visual {
    margin-bottom: 25px;
}

/* Partners Page Layout */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Premium Form Configuration */
.partner-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray);
}

.form-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 14px;
    color: var(--white);
    font-family: var(--font-arabic), sans-serif;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-blue);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Footer Section */
.footer {
    background: #020202;
    border-top: 1px solid var(--glass-border);
    padding: 50px 0;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 3px;
}

.social-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.social-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    color: var(--neon-blue);
    transform: translateY(-2px);
}

.copyright {
    color: #52525b;
    font-size: 13px;
}

/* Loading Animation System */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.loader-pulse {
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-top-color: var(--primary-purple);
    border-bottom-color: var(--neon-blue);
    border-radius: 50%;
    animation: spinLoader 1.5s linear infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Infrastructure (Media Queries) */
@media (max-width: 1024px) {
    .navbar { padding: 20px 4%; }
    .premium-project-card { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { direction: rtl; text-align: right; }
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }
    .nav-links.active { right: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid, .mv-grid, .benefits-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .timeline-container::after { left: 100%; }
    .timeline-item { width: 100%; text-align: right !important; padding-left: 0; }
    .timeline-item::after { left: auto; right: -8px !important; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}
