@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0d0d1e; 
    --secondary-bg: #1a1a33; 
    --accent-color: #6a40f1; 
    --text-color: #e0e0e0; 
    --heading-color: #ffffff; 
    --button-gradient-start: #6A40F1;
    --button-gradient-end: #3B208C;
    --border-color: #333355;
    --new-tag-bg: #7f52ff; 
    --new-tag-text: #ffffff; 
    --heading-gradient: linear-gradient(45deg, #7f52ff, #21a5ed);
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--primary-bg);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Background Effects --- */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(rgba(51, 51, 85, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 51, 85, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.2;
}

.star {
    position: absolute;
    background: var(--heading-color);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    animation: twinkle infinite alternate;
    opacity: 0;
}

@keyframes twinkle {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* --- Navigation Bar --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

#navbar.scrolled {
    background-color: rgba(13, 13, 30, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 30px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--heading-color);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-mark-nav {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-out;
}

.nav-link:hover {
    color: var(--heading-color);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--heading-color);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 40px;
    position: relative;
}

.glow-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color), inset 0 0 15px var(--accent-color);
    border-radius: 5px;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.central-graphic {
    width: 100%;
    max-width: 400px;
    margin-bottom: -20px;
    position: relative;
}

.globe-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px var(--accent-color));
}

.orbit-container {
    animation: rotate 20s linear infinite;
    transform-origin: 250px 250px;
}
.orbit-2 { animation-duration: 25s; animation-direction: reverse; }
.orbit-3 { animation-duration: 30s; }
.orbit-4 { animation-duration: 35s; animation-direction: reverse; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shard {
    stroke: rgba(255,255,255,0.3);
    stroke-width: 0.5px;
    filter: drop-shadow(0 0 5px currentColor);
}

.logo-sphere {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-mark-sphere {
    width: 60px;
    height: auto;
    object-fit: contain;
    filter: var(--text-color);
}

/* --- Typography --- */
.headline {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 20px 0;
    color: var(--heading-color);
}

.text-gradient {
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--accent-color));
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 500px;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* --- Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--button-gradient-start), var(--button-gradient-end));
    color: var(--heading-color);
    box-shadow: 0 0 20px rgba(106, 64, 241, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 25px rgba(106, 64, 241, 0.8);
}

.btn-secondary {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(106, 64, 241, 0.15);
    color: var(--heading-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 25px rgba(106, 64, 241, 0.4);
}

/* --- Scroll Down Indicator --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
}
.mouse span {
    width: 4px;
    height: 4px;
    background: var(--text-color);
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite ease-out;
}

@keyframes scroll-wheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* --- AI Tools Section --- */
.tools-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--heading-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tool-card {
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tool-card-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.tool-card h3 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    margin-bottom: 10px;
}

.new-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--new-tag-bg);
    color: var(--new-tag-text);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- Footer --- */
footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column p {
    color: var(--text-color);
    margin-top: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(106, 64, 241, 0.1);
    color: var(--text-color);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    text-decoration: none; /* This removes the underline */
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--heading-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 64, 241, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-color);
}
/* --- Scrollbar --- */
html, body {
    scrollbar-width: thin; 
    scrollbar-color: var(--accent-color) var(--secondary-bg); 
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
    border: 2px solid var(--secondary-bg);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #8a5cff; 
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-container { padding: 0 20px; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .nav-links.active {
        transform: translateX(0);
    }
    .nav-link { font-size: 1.5rem; }
    .menu-toggle { display: block; }

    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .glow-frame {
        top: 10px; left: 10px; right: 10px; bottom: 10px;
    }
    .central-graphic { max-width: 300px; }
    .logo-mark-sphere { width: 48px; }
    .headline { margin: 15px 0; font-size: clamp(2rem, 10vw, 2.5rem); }
    .subtitle { margin-bottom: 25px; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    .btn { width: 80%; max-width: 300px; }
    
    #hideAllToolsBtn {
        display: none !important;
    }
}



/* Profile Dropdown Styles */
.profile-dropdown {
    position: relative;
}

.profile-toggle {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.profile-toggle i {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.profile-toggle:hover i {
    color: var(--heading-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}



.user-info {
    flex: 1;
}

.user-email {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.dropdown-links {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.dropdown-links li {
    margin: 0;
}

.dropdown-links a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-links a:hover {
    background-color: rgba(106, 64, 241, 0.1);
    color: var(--accent-color);
}

.dropdown-links i {
    width: 20px;
    margin-right: 12px;
    color: var(--accent-color);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4757;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}







/* --- Responsive Profile Dropdown --- */
@media (max-width: 768px) {
    .profile-dropdown .dropdown-menu {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        border-radius: 12px;
    }

    .profile-dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* --- New Username Style --- */
.user-name {
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}
















