/* Global Variables */
:root {
    --bg-color: #050507;
    --bg-secondary: #0f1014;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #3b82f6;
    /* Blueish futuristic */
    --accent-glow: rgba(59, 130, 246, 0.4);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

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

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

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: white;
}

.nav-cta {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 6rem;
    letter-spacing: -2px;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-family: var(--font-body);
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #888;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

/* Meaning Section */
.meaning-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.meaning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.meaning-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.meaning-card h3 span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.definition {
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.meaning-text {
    font-size: 1.2rem;
    color: #ccc;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Cards */
.card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.card .icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* What Is Mannat */
.flex-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.lead-text {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
}

.visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.feature-list {
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #ddd;
}

.feature-list span {
    color: var(--accent-color);
}

/* Orbit Visual Animation */
.orbit-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-weight: 800;
    box-shadow: 0 0 50px var(--accent-glow);
    z-index: 2;
}

.center-core .material-symbols-outlined {
    font-size: 40px;
    color: black;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 180px;
    height: 180px;
    animation: spin 10s linear infinite;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation: spin-rev 15s linear infinite;
}

.satellite {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
}

/* Positioning satellites on orbits approximate */
.sat-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 10s linear infinite;
    offset-path: path('M 0 0 m -90, 0 a 90,90 0 1,0 180,0 a 90,90 0 1,0 -180,0');
}

/* Simplified implementation for pure CSS without offset-path complexity support widespread just yet or complex keyframes */
/* Using simple rotation wrapper for orbits would be cleaner but let's stick to simple visual representation */
.orbit-1::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.orbit-2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-rev {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}


/* Differentiation */
.diff-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.diff-item {
    flex: 1 1 300px;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 12px;
}

.diff-item h3 {
    margin-bottom: 10px;
    color: white;
}

/* Vision */
.vision-section {
    padding: 150px 0;
    background: radial-gradient(circle at center, #111 0%, var(--bg-color) 70%);
}

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

.vision-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* CTA */
.cta-section {
    text-align: center;
    padding-bottom: 100px;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 20px;
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    margin-left: 20px;
}

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

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* Animation Utilities */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .flex-row {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        color: white;
    }

    .nav-cta {
        display: none;
    }

    /* Hide cta in header for mobile to simplify */

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        z-index: 2000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu a {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
    }

    .mobile-menu-close {
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
        color: white;
    }
}