/* ══════════════════════════════════════
   Founder Page — Pradeep Siddappa
   ══════════════════════════════════════ */

/* ── Reset & Base ── */

:root {
    --bg: #FAFAF8;
    --bg-card: #FFFFFF;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-tertiary: #999;
    --accent: #4F46E5;
    --accent-light: #EEF2FF;
    --border: #E5E5E0;
    --page-margin: 24px;
    --section-gap: 48px;
    --radius: 16px;
}

html[data-theme='dark'] {
    --bg: #0F0F0F;
    --bg-card: #1A1A1A;
    --text-primary: #F5F5F5;
    --text-secondary: #A0A0A0;
    --text-tertiary: #666;
    --accent: #818CF8;
    --accent-light: #1E1B4B;
    --border: #2A2A2A;
}

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

body {
    background: var(--bg);
    color: var(--text-primary);
    font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ── Decorative Shapes ── */

.shape {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #F59E0B 0%, transparent 70%);
    bottom: 20%;
    left: -150px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #10B981 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
}

/* ── Lucide Icons ── */

.icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
    stroke-width: 2;
}

.icon-sm {
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    stroke-width: 2;
}

.icon-lg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    stroke-width: 1.5;
}

.icon-placeholder {
    width: 48px;
    height: 48px;
    color: var(--text-tertiary);
    stroke-width: 1;
}

/* ── Nav (base) ── */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 64px;
    padding: 0 var(--page-margin);
    background: rgba(250, 250, 248, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: top 300ms ease;
}

html[data-theme='dark'] nav {
    background: rgba(15, 15, 15, 0.8);
}

nav.hide {
    top: -72px;
}

/* ── Hero ── */

#hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px var(--page-margin) 40px;
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
    width: 100%;
}

.hero-content {
    flex: 1;
}

.hero-greeting {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

#hero h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 115%;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 175%;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 12px;
    max-width: 580px;
}

.tagline strong {
    color: var(--text-primary);
    font-weight: 600;
}

.tagline-secondary {
    font-family: 'DM Serif Display', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    line-height: 160%;
    color: var(--accent);
    margin-bottom: 32px;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 200ms ease, color 200ms ease;
}

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

/* ── Hero Image ── */

.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: var(--accent-light);
    border: 2px solid var(--border);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
}

.hero-image img + .image-placeholder {
    display: none;
}

.hero-image.placeholder-active .image-placeholder {
    display: flex;
}

/* ── Stats ── */

#numbers {
    padding-top: 0;
    padding-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform 200ms ease, border-color 200ms ease;
}

.stat:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.stat-number {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 36px;
    color: var(--accent);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Sections ── */

.section {
    width: 100%;
    padding: var(--section-gap) var(--page-margin);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subsection-heading {
    margin-top: 40px;
}

.section-intro {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 175%;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

/* ── Cards ── */

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #10B981);
    opacity: 0;
    transition: opacity 300ms ease;
}

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

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

.card-icon {
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.card h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.card p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    line-height: 170%;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: gap 200ms ease;
}

.card:hover .card-link {
    gap: 6px;
}

/* ── Teaching Block ── */

.teaching-block {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    border-left: 3px solid var(--accent);
}

.teaching-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.teaching-content h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.teaching-content p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    line-height: 170%;
    color: var(--text-secondary);
    margin: 0;
}

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

/* ── Timeline ── */

.timeline {
    display: flex;
    flex-direction: column;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--border));
    border-radius: 2px;
}

.role {
    padding: 24px 0 24px 28px;
    position: relative;
}

.role::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 32px;
    width: 10px;
    height: 10px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.role:first-child::before {
    background: var(--accent);
}

.role-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.role h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 150%;
    color: var(--text-primary);
}

.role .company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    display: block;
}

.role .dates {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.role p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    line-height: 170%;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.role.compact {
    padding-top: 16px;
    padding-bottom: 16px;
}

.role.compact::before {
    top: 22px;
    width: 8px;
    height: 8px;
    left: -3px;
    border-color: var(--border);
}

/* ── Education & Recognition ── */

.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.edu-item {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

.edu-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--text-primary);
}

.edu-item .company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
}

.edu-item .dates {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.recognition-list {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.recognition-list li {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    line-height: 170%;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

.recognition-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ── Contact ── */

#contact {
    padding-bottom: 40px;
}

#contact h2 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 32px;
    margin-bottom: 12px;
}

.contact-intro {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    line-height: 170%;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 480px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    transition: all 200ms ease;
    width: fit-content;
}

.contact-item:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(4px);
}

/* ── Footer ── */

footer {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    padding: 40px var(--page-margin);
    position: relative;
    z-index: 1;
}

/* ── Responsive ── */

@media only screen and (min-width: 768px) {
    :root {
        --page-margin: 64px;
        --section-gap: 64px;
    }

    nav {
        height: 72px;
        padding: 0 48px;
    }

    .hero-layout {
        flex-direction: row;
        align-items: center;
    }

    .hero-image {
        width: 220px;
        height: 220px;
    }

    #hero h1 {
        font-size: 56px;
    }

    .tagline {
        font-size: 19px;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .role-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .two-col {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .contact-links {
        flex-direction: row;
        gap: 12px;
    }
}

@media only screen and (min-width: 992px) {
    :root {
        --page-margin: 64px;
    }

    #hero h1 {
        font-size: 64px;
    }

    .hero-image {
        width: 260px;
        height: 260px;
        border-radius: 24px;
    }

    .stat-number {
        font-size: 42px;
    }
}
