/* ============================================================
   UNPLUGGED: AN IIoT PODCAST - MAIN STYLESHEET
   Modern, edgy, dark theme with green accents
   ============================================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

a { color: #00E676; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #fff; }

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

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

/* --- NAVIGATION --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #2a2a2a;
    padding: 0.75rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}
.nav-logo:hover { color: #fff; }

.logo-icon svg { display: block; }

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
}
.logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: #00E676;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: #9e9e9e;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: #00E676;
}

.nav-cta {
    background: #00E676 !important;
    color: #0a0a0a !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.nav-cta:hover {
    background: #00C853 !important;
    color: #0a0a0a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0, 230, 118, 0.15) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, #0a0a0a);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #00E676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .tagline {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.7;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}
.hero-tags span {
    padding: 0.4rem 1rem;
    border: 1px solid #2a2a2a;
    border-radius: 100px;
    font-size: 0.8rem;
    color: #9e9e9e;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s;
}
.hero-tags span:hover {
    border-color: #00E676;
    color: #00E676;
    background: rgba(0, 230, 118, 0.15);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-large {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 30%, #1a3a1a, #0a0a0a);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #2a2a2a;
    box-shadow: 0 0 80px rgba(0, 230, 118, 0.15), inset 0 0 60px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.hero-logo-large::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 230, 118, 0.15) 100%);
    pointer-events: none;
}

.hero-logo-large svg {
    position: relative;
    z-index: 2;
}

.hero-logo-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 2;
    margin-top: 0.5rem;
}

.hero-logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    color: #9e9e9e;
    position: relative;
    z-index: 2;
    margin-top: 0.25rem;
}

.hero-logo-hosts {
    font-size: 0.75rem;
    color: #9e9e9e;
    position: relative;
    z-index: 2;
    margin-top: 0.75rem;
}

/* --- LISTEN BUTTONS --- */
.listen-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.listen-btn.spotify {
    background: #1DB954;
    color: #000;
}
.listen-btn.spotify:hover {
    background: #1ed760;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.3);
}

.listen-btn.youtube {
    background: #FF0000;
    color: #fff;
}
.listen-btn.youtube:hover {
    background: #cc0000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.listen-btn.apple {
    background: #9B59B6;
    color: #fff;
}
.listen-btn.apple:hover {
    background: #8e44ad;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

/* --- SECTION STYLES --- */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header .overline {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #00E676;
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.section-header p {
    color: #9e9e9e;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-alt {
    background: #111111;
}

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

.pillar-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00E676, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.pillar-card:hover {
    border-color: #00E676;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 230, 118, 0.08);
}
.pillar-card:hover::before { opacity: 1; }

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 230, 118, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #00E676;
}

.pillar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.pillar-card p {
    color: #9e9e9e;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- EPISODE CARDS --- */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.episode-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.episode-card:hover {
    border-color: #00E676;
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 230, 118, 0.1);
}

.episode-card-header {
    background: linear-gradient(135deg, #0d2f0d 0%, #0a1a0a 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.episode-card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 230, 118, 0.15), transparent 60%);
    pointer-events: none;
}

.episode-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00E676;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.episode-card-header h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    position: relative;
    z-index: 2;
}

.episode-guest-badge {
    display: inline-block;
    background: #00E676;
    color: #0a0a0a;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 0.75rem;
    position: relative;
    z-index: 2;
}

.episode-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.episode-card-body p {
    color: #9e9e9e;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.episode-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.episode-topics span {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    border: 1px solid #2a2a2a;
    color: #9e9e9e;
    font-weight: 500;
}

.episode-card-link {
    display: block;
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a2a2a;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    color: #00E676;
    transition: all 0.3s;
}
.episode-card-link:hover {
    background: rgba(0, 230, 118, 0.15);
    color: #00E676;
}

/* --- SPONSOR SECTION --- */
.sponsor-section {
    background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
    padding: 5rem 0;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
}

.sponsor-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-content .overline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9e9e9e;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.sponsor-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.sponsor-content h2 span {
    color: #00E676;
}

.sponsor-content p {
    color: #9e9e9e;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sponsor-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: left;
}

.sponsor-feature {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
}
.sponsor-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #00E676;
}
.sponsor-feature p {
    font-size: 0.8rem;
    color: #9e9e9e;
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- HOST CARDS --- */
.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.host-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s;
}
.host-card:hover {
    border-color: #00E676;
    box-shadow: 0 16px 60px rgba(0, 230, 118, 0.08);
}

.host-card-visual {
    height: 260px;
    background: linear-gradient(135deg, #0d2f0d 0%, #0a1a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.host-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.15), transparent 70%);
}

.host-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #0a0a0a;
    border: 3px solid #00E676;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 800;
    color: #00E676;
    position: relative;
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
}

.host-card-content {
    padding: 2rem;
}
.host-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}
.host-card-content .host-role {
    color: #00E676;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.host-card-content .host-company {
    color: #9e9e9e;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}
.host-card-content .host-bio {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.host-card-content .host-bio p {
    margin-bottom: 1rem;
}
.host-card-content .host-bio p:last-child { margin-bottom: 0; }

.host-fun-fact {
    background: rgba(0, 230, 118, 0.15);
    border-left: 3px solid #00E676;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1.5rem;
}
.host-fun-fact .label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00E676;
    display: block;
    margin-bottom: 0.35rem;
}
.host-fun-fact p {
    font-size: 0.85rem;
    color: #b0b0b0;
    line-height: 1.5;
}

.host-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #ffffff;
    transition: all 0.3s;
}
.host-linkedin:hover {
    border-color: #00E676;
    background: rgba(0, 230, 118, 0.15);
    color: #00E676;
}

/* --- EPISODE PAGE --- */
.episode-page-hero {
    padding-top: 120px;
    padding-bottom: 3rem;
    background: linear-gradient(180deg, #0d2f0d 0%, #0a0a0a 100%);
    position: relative;
}
.episode-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0, 230, 118, 0.15), transparent 60%);
    opacity: 0.5;
}

.episode-page-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.episode-page-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ep-badge {
    background: #00E676;
    color: #0a0a0a;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ep-guest-name {
    color: #9e9e9e;
    font-size: 0.9rem;
}

.episode-page-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.episode-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}
.episode-body p {
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.episode-topics-full {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0 3rem;
}
.episode-topics-full span {
    padding: 0.4rem 1rem;
    border: 1px solid #2a2a2a;
    border-radius: 100px;
    font-size: 0.8rem;
    color: #9e9e9e;
    font-weight: 500;
}

.episode-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    border-top: 1px solid #2a2a2a;
    margin-top: 2rem;
}
.episode-nav a {
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- SEARCH & FILTER --- */
.search-filter {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}
.search-filter input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-left: 3rem;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s;
}
.search-filter input:focus {
    border-color: #00E676;
}
.search-filter input::placeholder {
    color: #9e9e9e;
}
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9e9e;
    pointer-events: none;
}

.no-results {
    text-align: center;
    color: #9e9e9e;
    font-size: 1.1rem;
    padding: 3rem 0;
    display: none;
}

/* --- PAGE HERO (non-home pages) --- */
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(180deg, #0d2f0d 0%, #0a0a0a 100%);
    position: relative;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 230, 118, 0.15), transparent 60%);
    opacity: 0.5;
}
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}
.page-hero p {
    color: #9e9e9e;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #0d2f0d 50%, #0a0a0a 100%);
    position: relative;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-section p {
    color: #9e9e9e;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* --- FOOTER --- */
.site-footer {
    background: #141414;
    border-top: 1px solid #2a2a2a;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}
.footer-brand .footer-logo .logo-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
}
.footer-brand .footer-logo .logo-subtitle {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: #00E676;
    font-weight: 600;
}
.footer-tagline {
    color: #9e9e9e;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1rem;
}
.footer-links a {
    display: block;
    color: #9e9e9e;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: #00E676; }

.footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding-top: 1.5rem;
    text-align: center;
}
.footer-bottom p {
    color: #9e9e9e;
    font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0a0a0a;
        border-bottom: 1px solid #2a2a2a;
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
    }
    .nav-links.open { display: flex; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    .hero-text .tagline { margin: 0 auto 1.5rem; }
    .hero-tags { justify-content: center; }
    .listen-buttons { justify-content: center; }
    .hero-logo-large { width: 280px; height: 280px; }
    .hero-logo-title { font-size: 1.8rem; }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .episode-nav {
        flex-direction: column;
        text-align: center;
    }

    .sponsor-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-logo-large { width: 220px; height: 220px; }
    .hero-logo-title { font-size: 1.4rem; }
    .section { padding: 4rem 0; }
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.episode-card, .pillar-card, .host-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00E676; }




















































/* --- REAL IMAGE ADDITIONS --- */

/* ===== SCROLLING SPONSOR BANNER ===== */
@keyframes sponsor-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes banner-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.sponsor-banner {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #00E676 0%, #00c966 30%, #00ff80 50%, #00c966 70%, #00E676 100%);
    background-size: 200% 100%;
    animation: banner-shimmer 8s ease-in-out infinite;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0, 230, 118, 0.3), 0 0 30px rgba(0, 230, 118, 0.1);
}

/* Push page content below fixed nav + fixed banner */
.hero {
    padding-top: 116px !important;
}
.page-hero {
    padding-top: 10rem !important;
}
.episode-page-hero {
    padding-top: 156px !important;
}

.sponsor-banner-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    pointer-events: none;
}

.sponsor-banner-track {
    display: flex;
    width: max-content;
    animation: sponsor-scroll 30s linear infinite;
}

.sponsor-banner:hover .sponsor-banner-track {
    animation-play-state: paused;
}

.sponsor-banner-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.55rem 0;
    flex-shrink: 0;
}

.banner-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 1rem;
}

.banner-logo {
    height: 24px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.sponsor-banner:hover .banner-logo {
    opacity: 1;
}

.banner-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.75);
    letter-spacing: 0.02em;
}

.banner-text strong {
    color: #000;
    font-weight: 800;
}

.banner-tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: 0.08em;
}

.banner-divider {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
    margin: 0 0.5rem;
}

.banner-cta-wrap {
    padding: 0 0.5rem;
}

.banner-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #00E676;
    background: #000;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.banner-cta:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .sponsor-banner-content {
        padding: 0.45rem 0;
    }
    .banner-logo {
        height: 18px;
    }
    .banner-text, .banner-tagline {
        font-size: 0.7rem;
    }
    .banner-cta {
        font-size: 0.65rem;
        padding: 0.25rem 0.7rem;
    }
    .sponsor-banner-track {
        animation-duration: 22s;
    }
}

/* Full-width thumbnail episode cards */
.episode-card-header {
    display: none;
}

.episode-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #0d2f0d 0%, #0a1a0a 100%);
}

.episode-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.episode-card:hover .episode-card-thumb-img {
    transform: scale(1.05);
}

.episode-card-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.episode-card-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
}

.ep-badge-card {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00E676;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.episode-card-body h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.episode-card-body .episode-guest-badge {
    margin-bottom: 0.75rem;
}

/* Tighten gap between episodes hero and search bar */
.page-hero + .section {
    padding-top: 1rem;
}

/* Hero title - keep original gradient, just use br for line break */

/* Even out hero tags so they don't wrap unevenly */
.hero-tags {
    justify-content: center;
}
.hero-tags span {
    flex: 1 1 auto;
    text-align: center;
    min-width: fit-content;
}

/* Sponsor features - balanced 2x2 grid */
.sponsor-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: center;
}

.sponsor-feature {
    flex: 0 1 calc(50% - 1rem);
    min-width: 220px;
    max-width: 340px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.sponsor-feature:hover {
    border-color: rgba(0, 230, 118, 0.4);
    box-shadow: 0 4px 20px rgba(0, 230, 118, 0.1);
    transform: translateY(-3px);
}

.sponsor-feature-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
    filter: invert(1);
}

.sponsor-feature h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #00E676;
}

.sponsor-feature p {
    font-size: 0.85rem;
    color: #9e9e9e;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.sponsor-feature-link {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00E676;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: auto;
}

.sponsor-feature-link:hover {
    background: #00E676;
    color: #000;
    border-color: #00E676;
}

@media (max-width: 768px) {
    .sponsor-feature {
        flex: 0 1 calc(50% - 1rem);
        min-width: 180px;
    }
}
@media (max-width: 480px) {
    .sponsor-feature {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

.hero-podcast-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
}

.hero-logo-large {
    width: 380px;
    height: 380px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    box-shadow: 0 0 80px rgba(0, 230, 118, 0.15), inset 0 0 60px rgba(0,0,0,0.5);
}

.episode-guest-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #2a2a2a;
}

.episode-guest-initials {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #141414;
    border: 2px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #00E676;
    font-family: 'Space Grotesk', sans-serif;
}

.host-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00E676;
    position: relative;
    z-index: 2;
}

.host-card-visual {
    height: 260px;
    background: linear-gradient(135deg, #0d2f0d 0%, #0a1a0a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.host-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.15), transparent 70%);
}

.episode-hero-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.episode-hero-img .episode-guest-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    border: 2px solid #00E676;
}

/* Full uncropped guest portrait on episode pages */
.episode-hero-portrait {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 16px;
    border: 2px solid #00E676;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 40px rgba(0, 230, 118, 0.15);
}

.episode-guest-initials-lg {
    width: 200px;
    height: 200px;
    font-size: 3rem;
}

/* Article formatting */
.article-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #b0b0b0;
    font-weight: 400;
    border-left: 3px solid #00E676;
    padding-left: 1.25rem;
    margin-bottom: 2rem;
}

.article-section-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00E676;
    display: inline-block;
}

.article-quote {
    border-left: 4px solid #00E676;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 230, 118, 0.04);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #b0b0b0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.episode-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 1.25rem;
}

.episode-body a {
    color: #00E676;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.episode-body a:hover {
    color: #00C853;
}

/* Article bullet lists */
.article-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1.25rem 0 1.75rem;
}

.article-list li {
    position: relative;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.article-list li::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    background: #00E676;
    border-radius: 50%;
}

/* Timestamp-based items */
.article-timestamp {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #00E676;
    background: rgba(0, 230, 118, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

/* Section intro label (e.g. "Actionable suggestions:") */
.article-section-intro {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2rem 0 0.75rem;
}

/* ======================================
   SPONSOR INTRO BANNER - Light Background for Logo Visibility
   ====================================== */
.sponsor-intro-banner {
    position: relative;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 50%, #f0f7f0 100%);
    border: 2px solid #00E676;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 2.5rem;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 230, 118, 0.15), 0 1px 3px rgba(0,0,0,0.08);
}

.sponsor-intro-accent {
    height: 4px;
    background: linear-gradient(90deg, #00E676, #00C853, #00E676);
}

.sponsor-intro-inner {
    position: relative;
    z-index: 1;
    padding: 2rem 2.5rem;
    text-align: center;
}

.sponsor-intro-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a8a4a;
    margin-bottom: 1rem;
}

.sponsor-intro-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.sponsor-intro-logo {
    height: 100px;
    width: auto;
}

.sponsor-intro-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    max-width: 600px;
    margin: 0.75rem auto 1.25rem;
}

.sponsor-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #006b2d;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 12px rgba(0, 107, 45, 0.25);
    margin-top: 0.5rem;
}

.sponsor-cta-btn:hover {
    background: #005524;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 107, 45, 0.35);
}

.sponsor-cta-btn svg {
    flex-shrink: 0;
}

/* ======================================
   SPONSOR DETAIL SECTION - Light Background Partner Showcase
   ====================================== */
.sponsor-detail-section {
    position: relative;
    background: linear-gradient(135deg, #f8faf8 0%, #ffffff 50%, #f0f7f0 100%);
    border: 2px solid rgba(0, 200, 83, 0.5);
    border-radius: 16px;
    padding: 0;
    margin: 3rem 0;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 230, 118, 0.1), 0 1px 3px rgba(0,0,0,0.06);
}

.sponsor-detail-accent {
    height: 4px;
    background: linear-gradient(90deg, #00E676, #00C853, #00E676);
}

.sponsor-detail-inner {
    position: relative;
    z-index: 1;
    padding: 2rem 2.5rem;
}

.sponsor-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 200, 83, 0.25);
}

.sponsor-detail-chip {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    background: #006b2d;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.sponsor-detail-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.sponsor-detail-body {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sponsor-detail-logo-wrap {
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sponsor-detail-logo {
    height: 70px;
    width: auto;
}

.sponsor-detail-content p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.75rem;
}

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

.sponsor-detail-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 200, 83, 0.2);
}

.sponsor-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #006b2d;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #005524;
    transition: all 0.2s ease;
}

.sponsor-link-btn:hover {
    background: #005524;
    color: #ffffff;
    border-color: #004a1f;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0, 107, 45, 0.3);
}

.sponsor-link-btn svg {
    flex-shrink: 0;
    stroke: currentColor;
}

/* Guest links section */
.guest-links-section {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.guest-links-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
}

.guest-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guest-link-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00E676;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    width: fit-content;
}

.guest-link-item:hover {
    background: rgba(0, 230, 118, 0.08);
    color: #00C853;
}

.guest-link-item svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .episode-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .episode-hero-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-logo-large {
        width: 280px;
        height: 280px;
    }
    .episode-hero-portrait {
        max-width: 340px;
    }
    .article-section-header {
        font-size: 1.25rem;
    }
    .sponsor-intro-inner {
        padding: 1.5rem;
    }
    .sponsor-intro-logo {
        height: 70px;
    }
    .sponsor-cta-btn {
        font-size: 0.85rem;
        padding: 0.65rem 1.25rem;
    }
    .sponsor-detail-inner {
        padding: 1.5rem;
    }
    .sponsor-detail-body {
        flex-direction: column;
        gap: 1.25rem;
    }
    .sponsor-detail-logo-wrap {
        align-self: flex-start;
    }
    .sponsor-detail-links {
        flex-direction: column;
    }
    .sponsor-link-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    .guest-links-section {
        padding: 1.25rem;
    }
    .article-list {
        padding-left: 1.25rem;
    }
}
