/* 
    InnoStart - Premium Startup Platform
    Design System & Styles
*/

:root {
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 20, 0.6);
    --surface-border: rgba(255, 255, 255, 0.1);
    --accent-cyan: #00f2fe;
    --accent-purple: #8000ff;
    --primary-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-blur: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    line-height: 1.6;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Layout Utils --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

.centered {
    text-align: center;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3a3a;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(128, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(128, 0, 255, 0.5), 0 0 15px rgba(0, 242, 254, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    border-color: var(--accent-cyan);
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 242, 254, 0.5);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-border);
}

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

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

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

.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    overflow: hidden;
    background: url('assets/hero.png') no-repeat center center/cover;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(128, 0, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(5, 5, 5, 0.4) 0%, rgba(5, 5, 5, 0.9) 100%);
}

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

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 600;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(128, 0, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

/* --- How it Works --- */
.steps-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

.step-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 5rem;
    position: relative;
}

.step-number {
    background: var(--primary-gradient);
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 2;
}

.step-item::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    width: 2px;
    height: calc(100% + 5rem);
    background: linear-gradient(to bottom, var(--accent-purple), transparent);
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--surface-border);
}

.team-role {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* --- Showcase Section --- */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.project-content {
    padding: 2.5rem;
}

.status-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-live { background: rgba(34, 197, 94, 0.2); color: #2ecc71; }
.status-active { background: rgba(59, 130, 246, 0.2); color: #3498db; }
.status-mvp { background: rgba(234, 179, 8, 0.2); color: #f1c40f; }

/* --- CTA Section --- */
.cta-box {
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

/* --- Footer --- */
footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--surface-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo { margin-bottom: 1.5rem; }

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--surface-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Modal Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

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

.modal-content {
    max-width: 500px;
    width: 90%;
    position: relative;
    padding: 4rem 2rem 3rem;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .features-grid, .showcase-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1001;
        transition: var(--transition-smooth);
        display: flex; /* Always display flex but hide off-screen */
        border-left: 1px solid var(--surface-border);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-toggle { 
        display: block; 
        z-index: 1002;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 1.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .cta-box h2 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .footer-grid { flex-direction: column; text-align: center; }
}

