/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --color-bg: #050505;
    --color-bg-alt: #0a0a0a;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-accent: #3b82f6;
    --color-accent-2: #8b5cf6;
    --color-accent-hover: #60a5fa;
    --color-border: #1a1a1a;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1100px;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-text);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--color-text);
    opacity: 0.8;
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .location {
    font-size: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Sections */
.section {
    padding: 7rem 0;
    position: relative;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

.section-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

/* About */
.about-content {
    max-width: 700px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Ventures */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.venture-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.venture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.venture-card:hover {
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.venture-card:hover::before {
    opacity: 1;
}

.venture-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.venture-type {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venture-card > p:not(.venture-type) {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

.venture-highlights {
    list-style: none;
}

.venture-highlights li {
    color: var(--color-text-muted);
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.venture-highlights li::before {
    content: '→';
    color: var(--color-accent);
    font-weight: 600;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover {
    border-color: transparent;
    transform: translateY(-3px);
}

.project-card:hover::after {
    opacity: 0.1;
}

.project-card h4,
.project-card p {
    position: relative;
    z-index: 1;
}

.project-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.project-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Contact */
#contact {
    text-align: center;
}

#contact .container {
    max-width: 600px;
}

#contact h2 {
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.contact-btn {
    display: inline-block;
    background: var(--gradient);
    color: var(--color-text);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.contact-btn:hover {
    color: var(--color-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* Footer */
footer {
    padding: 2.5rem;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: var(--color-bg);
}

/* Glow effect */
.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .glow {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .section {
        padding: 5rem 0;
    }

    .section h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .ventures-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .venture-card,
    .project-card {
        padding: 1.75rem;
    }
}

/* Subtle noise texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1000;
}
