/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #fafaf9;
    --color-bg-dark: #1a1a2e;
    --color-text: #1a1a1a;
    --color-text-muted: #6b6b6b;
    --color-text-light: #f0f0f0;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-border: #e5e5e5;
    --color-card: #fff;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --max-width: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) 0;
    transition: var(--transition);
    background: transparent;
}

.nav.scrolled {
    background: rgba(250, 250, 249, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

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

.nav-cta {
    background: var(--color-text);
    color: var(--color-bg) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    transition: background var(--transition) !important;
}

.nav-cta:hover {
    background: var(--color-accent) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    position: relative;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition);
    position: absolute;
    left: 0;
}

.nav-toggle span:first-child { top: 9px; }
.nav-toggle span:last-child { top: 19px; }

.nav-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 14px;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg);
    top: 14px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-2xl) var(--space-md) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero-content {
    min-width: 0;
}

.hero-image {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 1s forwards;
}

.hero-image img {
    width: 340px;
    height: 440px;
    border-radius: 20px;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    padding: 0.4rem 1rem;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-accent {
    color: var(--color-accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    grid-column: 1 / -1;
    opacity: 0;
    animation: fadeIn 1s 1.2s forwards;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.25);
}

.btn-outline {
    border: 1.5px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-text);
    transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: 3.5rem;
}

.about-text p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.about-text em {
    color: var(--color-text);
    font-style: italic;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.about-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.stat-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: var(--space-md);
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===== VENTURES ===== */
.ventures-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.venture-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}

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

.venture-card-featured {
    grid-column: 1 / -1;
}

.venture-header {
    margin-bottom: var(--space-sm);
}

.venture-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.venture-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.venture-desc {
    color: rgba(255, 255, 255, 0.75);
    flex: 1;
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.venture-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.venture-highlights span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
}

.venture-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition);
}

.venture-link:hover {
    letter-spacing: 0.02em;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
    transform: translateX(-4px);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    padding-top: 0.15rem;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ===== PRESS ===== */
.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.press-logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    transition: color var(--transition);
}

.press-logo:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== NEWSLETTER ===== */
.newsletter-container {
    text-align: center;
    max-width: 640px;
}

.newsletter-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: #0A66C2;
    border-radius: 100px;
    transition: all var(--transition);
}

.newsletter-btn:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.3);
    color: #fff;
}

.newsletter-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== BOOK ===== */
.book-grid {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.book-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.book-desc {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.book-chapters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.book-chapters span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
}

.book-btn {
    background: var(--color-accent);
    color: #fff;
}

.book-btn:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

/* ===== PERSONAL ===== */
.personal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.personal-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.personal-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-container {
    text-align: center;
    max-width: 640px;
}

.contact-desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* ===== FOOTER ===== */
.footer {
    padding: var(--space-md) 0;
    border-top: 1px solid var(--color-border);
}

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

.footer-left {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-right {
    display: flex;
    gap: var(--space-md);
}

.footer-right a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer-right a:hover {
    color: var(--color-text);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hero {
        gap: var(--space-lg);
    }

    .hero-image img {
        width: 280px;
        height: 360px;
    }

    .about-grid {
        gap: var(--space-lg);
    }

    .press-logos {
        gap: var(--space-lg);
    }
}

/* Tablet portrait and mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }
    .mobile-menu { display: flex; }

    .section {
        padding: var(--space-lg) 0;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 7rem var(--space-md) var(--space-lg);
        min-height: auto;
        gap: var(--space-md);
        text-align: center;
    }

    .hero-image {
        order: -1;
        justify-self: center;
    }

    .hero-image img {
        width: 200px;
        height: 260px;
        border-radius: 16px;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .hero-sub {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(1.75rem, 8vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-sidebar {
        margin-top: 0;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .about-text p {
        font-size: 0.95rem;
    }

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

    .venture-card {
        padding: var(--space-md);
    }

    .venture-card-featured {
        grid-column: auto;
    }

    .venture-name {
        font-size: 1.4rem;
    }

    .venture-desc {
        font-size: 0.9rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .timeline-year {
        font-size: 0.8rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .press-logos {
        gap: var(--space-md);
    }

    .press-logo {
        font-size: 1.25rem;
    }

    .personal-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .personal-image img {
        height: 300px;
    }

    .personal-text {
        font-size: 1rem;
    }

    .newsletter-desc {
        font-size: 1rem;
    }

    .contact-desc {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .hero-scroll { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero {
        padding: 6rem var(--space-sm) var(--space-md);
    }

    .hero-image img {
        width: 160px;
        height: 210px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        justify-content: center;
        width: 100%;
    }

    .stat-card {
        padding: var(--space-sm);
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: var(--space-md);
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .venture-card {
        padding: var(--space-sm);
    }

    .newsletter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* Ensure touch targets are large enough on mobile */
@media (pointer: coarse) {
    .nav-toggle {
        width: 2.75rem;
        height: 2.75rem;
    }

    .social-link {
        min-height: 48px;
    }

    .btn {
        min-height: 48px;
    }
}
