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

:root {
    --deep-tech-blue: #0A2540;
    --evolution-purple: #6B46C1;
    --intelligence-teal: #06B6D4;
    --light-gray: #F3F4F6;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--deep-tech-blue) 0%, var(--evolution-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(107, 70, 193, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8rem 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    width: 500px;
    height: 500px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(6, 182, 212, 0.8), 0 0 30px rgba(6, 182, 212, 0.6);
    }
}

.tagline {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 1s both;
}

/* Three Pillars */
.pillars {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1.5s both;
}

.pillar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pillar:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
    border-color: var(--intelligence-teal);
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--intelligence-teal);
    cursor: pointer;
    transition: color 0.3s;
}

.pillar:hover .pillar-title {
    color: #FFFFFF;
}

.pillar-description {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 18, 32, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pillar-description::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(5, 18, 32, 0.95);
}

.pillar:hover .pillar-description {
    display: block;
    opacity: 1;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    margin: 0;
    background: var(--deep-tech-blue);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
    border-color: var(--intelligence-teal);
}

.about-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--evolution-purple), var(--intelligence-teal));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.about-card h3 {
    color: var(--intelligence-teal);
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.about-card:hover h3 {
    color: #FFFFFF;
}

.about-card p {
    display: none;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.about-card.expanded p {
    display: block;
}

/* Coming Soon */
.coming-soon {
    padding: 5rem 2rem;
    text-align: center;
    background: var(--deep-tech-blue);
    color: white;
}

.coming-soon h1 {
    color: white;
    margin-bottom: 2rem;
}

.coming-soon img {
    max-width: 300px;
    margin-top: 2rem;
}

/* Project Preview */
.project-preview {
    background: var(--deep-tech-blue);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.project-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--intelligence-teal);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.project-badge {
    display: inline-block;
    background: var(--intelligence-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: var(--deep-tech-blue);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--intelligence-teal);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.section-divider {
    width: 40%;
    border: 0;
    border-top: 2px solid var(--intelligence-teal);
    margin: 2rem auto;
}

.contact a {
    color: var(--intelligence-teal);
    text-decoration: none;
    font-weight: 600;
}

.contact a:hover {
    text-decoration: underline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 37, 64, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 1rem 1rem 1rem;
    margin: 0 1rem 0 1rem;
}

.navbar-container {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.home-btn {
    color: var(--intelligence-teal);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.dropdown, .profile-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 37, 64, 0.9);
    backdrop-filter: blur(10px);
    min-width: 200px;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
}

.profile-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.dropdown:hover .dropdown-menu, .profile-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a, .dropdown-menu button {
    display: block;
    padding: 0.5rem 1rem;
    color: white;
    text-decoration: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu a:hover, .dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-btn {
    background: transparent;
    color: var(--intelligence-teal);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}

.system-rebellion-logo {
    width: 150px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 10px;
    /* To blend background, if needed: mix-blend-mode: multiply; */
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .logo { font-size: 2rem; }
    .tagline { font-size: 1.2rem; }
    .hero-description { font-size: 1rem; }
    .pillars { flex-direction: column; align-items: center; }
    .navbar-container { padding: 0 1rem; }
    nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .home-btn { font-size: 1.2rem; }
    .profile-btn { font-size: 0.9rem; padding: 0.4rem 0.8rem; }
}
