/* style.css - Refined for Minimalist Header & Global Responsiveness */

:root {
    --primary: #C8232C; /* Tweaklogic Red */
    --primary-glow: rgba(200, 35, 44, 0.4);
    --bg-dark: #060608;
    --text-main: #ffffff;
    --text-muted: #86868b;
    --text-highlight: #ffffff;
    --glass-bg: rgba(6, 6, 8, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(18, 18, 22, 0.7);
    --section-padding: 100px 5%;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, .btn-primary, .btn-secondary {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo img {
    height: 45px;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#nav-toggle {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

#nav-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Nav Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 300px;
    height: 100vh;
    background: #0d0d11;
    z-index: 1100;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

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

.drawer-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

#drawer-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drawer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s ease;
}

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

.drawer-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1090;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1rem 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: white !important;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--primary-glow);
    background: #e31b26;
}

.btn-secondary {
    background: transparent;
    color: white !important;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(200, 35, 44, 0.1);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(200, 35, 44, 0.05) 0%, rgba(6,6,8,0.95) 75%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    max-width: 650px;
    opacity: 0.85;
}

/* Video Showcase */
#showcase, #space, #ecosystem, #services, #os-solutions, #about {
    padding: var(--section-padding);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary);
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Space Section */
.space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.space-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    border-top: 2px solid var(--primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.space-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40px; height: 40px;
    background: linear-gradient(135deg, transparent 50%, rgba(200, 35, 44, 0.2) 50%);
}

.space-card h3 { color: var(--text-highlight); margin-bottom: 0.5rem; }
.space-card .tagline { display: block; color: var(--primary); margin-bottom: 1.5rem; font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; }

/* Ecosystem & Partners */
.accelerators-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.accelerator-tag {
    padding: 0.8rem 1.5rem;
    background: rgba(200, 35, 44, 0.05);
    border: 1px solid var(--primary);
    color: var(--text-highlight);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.partner-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
}

.partner-card h4 { color: var(--primary); margin-bottom: 0.5rem; }

/* OS Cards */
.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.os-card {
    padding: 3rem;
    border: 1px solid var(--glass-border);
    background: rgba(18, 18, 22, 0.4);
}

.os-card h3 { font-size: 2rem; color: var(--text-highlight); }
.os-card .tagline { display: block; color: var(--primary); margin-bottom: 1.5rem; }

/* Services (Expertise) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: #0d0d11;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.service-card i { color: var(--primary); margin-bottom: 1.5rem; width: 40px; height: 40px; }

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-card {
    background: var(--card-bg);
    padding: 3rem;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.img-container {
    width: 140px; height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 2rem;
    border: 2px solid var(--primary);
}

.img-container img { width: 100%; height: 100%; object-fit: cover; }

.role {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.founder-linkedin {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.founder-linkedin:hover { color: var(--primary); }

/* Contact */
.contact {
    text-align: center;
    background: linear-gradient(180deg, #060608 0%, #121216 100%);
    border-top: 1px solid var(--glass-border);
}

.contact p { color: var(--text-muted); margin-bottom: 3rem; font-size: 1.25rem; }

.contact-btn {
    padding: 1.5rem 4rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
}

/* Footer */
footer {
    padding: 60px 5%;
    background: #040405;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.social-links { display: flex; gap: 1.5rem; }
.social-links a { color: var(--text-muted); transition: all 0.3s ease; }
.social-links a:hover { color: var(--primary); transform: translateY(-3px); }

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px; height: 50px;
    background: rgba(200, 35, 44, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; pointer-events: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

#back-to-top.visible { opacity: 1; pointer-events: auto; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 { font-size: 4rem; }
    #desktop-cta .btn-primary { padding: 0.8rem 1.5rem; font-size: 0.75rem; }
}

@media (max-width: 768px) {
    :root { --section-padding: 60px 7%; }
    .hero { text-align: center; justify-content: center; }
    .hero h1 { font-size: 3rem; }
    .hero::after { background: radial-gradient(circle, rgba(200, 35, 44, 0.1) 0%, rgba(6,6,8,0.98) 100%); }
    
    #navbar { padding: 1rem 7%; }
    #desktop-cta { display: none; } /* Hide on small mobile to avoid clutter */
    
    .drawer-links a { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-actions { gap: 0.8rem; }
}
