@import url('https://rsms.me/inter/inter.css');
@import url('https://use.typekit.net/uwx2pxu.css'); /* For freight-sans-pro */


:root {
    --primary: #0A66C2;
    --dark: #ffffff; /* Inverted: was #0a0a0a */
    --light: #0a0a0a; /* Inverted: was #ffffff */
    --gray: #888888; /* Adjusted for better contrast */
    --accent: #0A66C2;
    --bg-light: #0a0a0a; /* Inverted: was #fafafa */
}

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

body {
    font-family: 'interface', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8); /* Inverted: was rgba(10, 10, 10, 0.8) */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
}

.logo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--light); /* Ensure logo is visible on the white nav background */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-header-coffee {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #FFDD00, #FDB813);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(255, 221, 0, 0.2);
    white-space: nowrap;
}

.btn-header-coffee:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.4);
    text-decoration: none;
}

.btn-header-coffee::after {
    display: none;
}

.btn-header-coffee svg {
    width: 16px;
    height: 16px;
    stroke: #000;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 4rem 4rem;
    background: 
        radial-gradient(circle at 20% 30%, rgba(10, 102, 194, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        var(--dark);
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #0a0a0a 0%, rgba(10,10,10,0.6) 100%); /* Inverted gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-text .subtitle {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.8); /* Inverted: was rgba(255, 255, 255, 0.8) */
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-text .credentials {
    font-size: 0.95rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.social-icons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-icons a {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(0, 0, 0, 0.2); /* Inverted: was rgba(255, 255, 255, 0.2) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /*green*/
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #0a0a0a; /* Inverted: was rgba(255, 255, 255, 0.05) */
    backdrop-filter: blur(10px);
    position: relative;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.05)); /* Inverted gradient */
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.social-icons a:hover::before {
    opacity: 1;
}

.social-icons a:hover {
    border-color: #0a0a0a;
    background: var(--accent);
    transform: translateY(-5px) scale(1.05);
}

.hero-image {
    position: relative;
    animation: fadeIn 1.2s ease-out 0.8s both;
}

.profile-card {
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.profile-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.stat p {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Section */
#about {
    padding: 8rem 4rem;
    background: #f7f7f7; /* Inverted: was var(--light) */
    color: var(--dark); /* Inverted: was var(--dark) */
    position: relative;
}

#about::before {
    content: 'ABOUT';
    position: absolute;
    top: 4rem;
    left: 4rem;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 12rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02); /* Inverted: was rgba(0, 0, 0, 0.02) */
    letter-spacing: -0.05em;
    pointer-events: none;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 6rem;
    position: relative;
}

.about-image-container {
    position: sticky;
    top: 150px;
    height: fit-content;
}

.about-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.2); /* Inverted shadow */
    margin-bottom: 1rem;
}

.about-caption {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-label {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
}

.about-text {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: 1.5rem;
    line-height: 1.8;
    color: #0a0a0a;
}

.about-text p {
    margin-bottom: 2rem;
}

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

/* Services Section */
#services {
    padding: 8rem 4rem;
    background: var(--dark);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    text-align: center;
}

.section-header h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--light);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: rgba(0, 0, 0, 0.03); /* Inverted: was rgba(255, 255, 255, 0.03) */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: var(--light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.5s;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 2rem;
    display: block;
    position: relative;
    z-index: 1;
    color: var(--light);
}

.service-icon svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: var(--light);
}

.service-card:hover .service-icon svg {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 8px 24px rgba(255, 107, 53, 0.5));
}

.service-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--light);
}

.service-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(0, 0, 0, 0.7); /* Inverted: was rgba(255, 255, 255, 0.7) */
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--light);
    color: var(--light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.05);
    color: #ffffff;
}

/* Products Section */
#products {
    padding: 8rem 4rem;
    background: 
        linear-gradient(135deg, #ffffff 0%, #eaeaea 100%); /* Inverted: was dark gradient */
    color: var(--light);
}

.products-container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 3rem;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--light);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.product-image {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
}

.product-info h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-info p {
    color: rgba(0, 0, 0, 0.7); /* Inverted: was rgba(255, 255, 255, 0.7) */
    line-height: 1.7;
}

/* Publications Section */
#publications {
    padding: 8rem 4rem;
    background: var(--dark);
}

.publications-grid {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    justify-items: center;
}

.publication-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.publication-card:hover {
    transform: translateY(-8px);
}

.publication-logo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 24px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.publication-card:hover .publication-logo {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(10, 102, 194, 0.2);
}

.publication-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light);
    text-align: center;
    letter-spacing: 0.05em;
}

/* Podcast Section */
#podcast {
    padding: 8rem 4rem;
    background: var(--light);
    color: var(--dark);
    position: relative;
    overflow: hidden;
}

.podcast-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.podcast-header {
    text-align: center;
    margin-bottom: 5rem;
}

.podcast-header h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.podcast-header p {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--gray);
}

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

.platform-card {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.3); /* Inverted: was rgba(0, 0, 0, 0.3) */
}

.platform-card .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--light);
}

.platform-card .icon svg {
    filter: drop-shadow(0 4px 16px rgba(255, 255, 255, 0.3)); /* Inverted shadow */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .icon svg {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 24px rgba(255, 255, 255, 0.5)); /* Inverted shadow */
}

.platform-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

/* Podcast Episodes Section */
.episodes-section {
    margin-top: 6rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.episodes-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.loading-episodes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--gray);
    font-size: 1.1rem;
}

.episode-card {
    background: var(--dark);
    color: var(--light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.episode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.4); /* Inverted shadow */
}

.episode-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.episode-info {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(7, 251, 135, 0.08) 0%, rgba(255, 255, 255, 1) 100%); /* Inverted gradient */
    border-top: 2px solid rgba(7, 251, 135, 0.3);
}

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.episode-date {
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.spotify-logo {
    color: #1DB954;
    flex-shrink: 0;
}

.episode-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.episode-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7); /* Inverted: was rgba(255, 255, 255, 0.7) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 4rem;
}

.btn-view-more {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 3rem;
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    border: 2px solid rgba(0, 0, 0, 0.2); /* Inverted: was rgba(255, 255, 255, 0.2) */
    border-radius: 16px;
    color: var(--dark);
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-view-more:hover {
    background: rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 102, 194, 0.3);
}

.btn-view-more svg {
    stroke: var(--dark);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Partners Section */
#partners {
    padding: 6rem 0;
    background: var(--dark);
    overflow: hidden;
}

#partners .section-header {
    padding: 0 4rem;
    margin-bottom: 4rem;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: marquee 28s linear infinite;
}

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

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 16px;
    filter: grayscale(100%) brightness(0.5);
    opacity: 0.55;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.12);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Buy Me a Coffee Section */
#buy-coffee {
    padding: 8rem 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #eaeaea 100%); /* Inverted gradient */
    position: relative;
    overflow: hidden;
}

#buy-coffee::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.coffee-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.coffee-text h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--light);
}

.coffee-subtitle {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.9); /* Inverted: was rgba(255, 255, 255, 0.9) */
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.coffee-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7); /* Inverted: was rgba(255, 255, 255, 0.7) */
    margin-bottom: 2.5rem;
}

.btn-coffee {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #FFDD00, #FDB813);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.3);
}

.btn-coffee:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 221, 0, 0.5);
}

.btn-coffee svg {
    stroke: #000;
}

.coffee-visual {
    position: relative;
}

.coffee-card {
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
}

.coffee-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.coffee-impact {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.9); /* Inverted: was rgba(255, 255, 255, 0.9) */
    margin-bottom: 1.5rem;
}

.coffee-signature {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
}

/* Contact Section */
#contact {
    padding: 8rem 4rem;
    background: 
        radial-gradient(circle at 30% 50%, rgba(10, 102, 194, 0.15) 0%, transparent 50%),
        var(--dark);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--light);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--gray);
}

.contact-form {
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 24px;
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    color: rgba(0, 0, 0, 0.8); /* Inverted: was rgba(255, 255, 255, 0.8) */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.05); /* Inverted: was rgba(255, 255, 255, 0.05) */
    border: 2px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    border-radius: 12px;
    color: var(--light);
    font-family: 'interface', system-ui, sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.08); /* Inverted: was rgba(255, 255, 255, 0.08) */
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1.3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: var(--dark);
    font-family: 'interface', system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(10, 102, 194, 0.4);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    padding: 4rem;
    background: #ffffff; /* Inverted: was #000 */
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Inverted: was rgba(255, 255, 255, 0.1) */
    color: #000; /* Ensure text is readable on white background */
}

footer p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ===== Email Capture Popup ===== */
.ep-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ep-overlay.ep-visible {
    opacity: 1;
    visibility: visible;
}

.ep-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 3rem;
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(40px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
}

.ep-overlay.ep-visible .ep-card {
    transform: translateY(0) scale(1);
}

/* Blue top accent bar — same as .profile-card::before */
.ep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A66C2, #0A66C2cc);
}

.ep-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.5);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.ep-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #0a0a0a;
    transform: rotate(90deg);
}

.ep-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ep-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(10, 102, 194, 0.15);
    border: 1px solid rgba(10, 102, 194, 0.4);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0A66C2;
    width: fit-content;
}

.ep-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0a0a0a;
    margin: 0;
}

.ep-subtitle {
    font-family: 'freight-sans-pro', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
}

.ep-input-row {
    display: flex;
    gap: 0.6rem;
}

.ep-input-row input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    background: rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    color: #0a0a0a;
    font-family: 'interface', system-ui, sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
    min-width: 0;
}

.ep-input-row input[type="email"]::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.ep-input-row input[type="email"]:focus {
    outline: none;
    border-color: #0A66C2;
    background: rgba(0, 0, 0, 0.06);
}

.ep-input-row button {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, #0A66C2, #0A66C2cc);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.ep-input-row button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 102, 194, 0.45);
}

.ep-privacy {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
    margin-top: 0.8rem;
}

.ep-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 0.5rem;
    text-align: center;
}

.ep-success.ep-show {
    display: flex;
}

.ep-success p {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a0a0a;
}

/* Popup responsive */
@media (max-width: 640px) {
    .ep-card {
        padding: 2.2rem 1.5rem;
        border-radius: 20px;
    }

    .ep-title {
        font-size: 1.6rem;
    }

    .ep-subtitle {
        font-size: 0.95rem;
    }

    .ep-input-row {
        flex-direction: column;
    }

    .ep-input-row button {
        width: 100%;
        padding: 1rem;
    }
}
/* ============================= */

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

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--light);
    transition: all 0.3s;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
    /* --- Navigation --- */
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        gap: 2rem;
    }

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

    nav ul {
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .btn-header-coffee {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* --- Hero --- */
    #hero {
        padding: 8rem 1.5rem 4rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-text {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    /* --- About --- */
    #about {
        padding: 4rem 1.5rem;
    }

    #about::before {
        display: none;
    }

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

    .about-image-container {
        position: static;
    }

    .about-label {
        text-align: center;
    }

    .about-text {
        font-size: 1.1rem;
    }

    /* --- Section headers --- */
    .section-header {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }

    /* --- Services --- */
    #services {
        padding: 4rem 1.5rem;
    }

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

    /* --- Products --- */
    #products {
        padding: 4rem 1.5rem;
    }

    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .product-image {
        margin: 0 auto;
    }

    /* --- Publications --- */
    #publications {
        padding: 4rem 1.5rem;
    }

    .publications-grid {
        gap: 2rem;
    }

    /* --- Podcast --- */
    #podcast {
        padding: 4rem 1.5rem;
    }

    .podcast-header {
        margin-bottom: 3rem;
    }

    .podcast-platforms {
        grid-template-columns: 1fr;
    }

    .episodes-section {
        margin-top: 3rem;
    }

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

    /* --- Partners --- */
    #partners .section-header {
        padding: 0 1.5rem;
        margin-bottom: 3rem;
    }

    /* --- Buy Coffee --- */
    #buy-coffee {
        padding: 4rem 1.5rem;
        overflow: hidden;
    }

    #buy-coffee::before {
        display: none;
    }

    .coffee-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .coffee-text {
        text-align: center;
        width: 100%;
    }

    .coffee-visual {
        width: 100%;
    }

    .coffee-subtitle {
        font-size: 1.4rem;
    }

    .btn-coffee {
        margin: 0 auto;
        display: inline-flex;
    }

    /* --- Contact --- */
    #contact {
        padding: 4rem 1.5rem;
    }

    /* --- Footer --- */
    footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 0.9rem 1rem;
    }

    /* Hero: top padding must clear the fixed nav (~80px) with breathing room */
    #hero {
        padding: 7rem 1.2rem 3rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .stat h3 {
        font-size: 1.3rem;
    }

    .stat p {
        font-size: 0.65rem;
    }

    /* Tighter section padding on small phones */
    #about,
    #services,
    #products,
    #podcast,
    #contact {
        padding: 3rem 1.2rem;
    }

    #buy-coffee {
        padding: 3rem 1.2rem;
    }

    #partners {
        padding: 3rem 0;
    }

    /* Tighter section header spacing */
    .section-header {
        margin-bottom: 2rem;
    }

    .podcast-header {
        margin-bottom: 2rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

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

    .coffee-text h2 {
        font-size: 2.2rem;
    }

    .coffee-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .btn-coffee {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    #partners .section-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .partner-logo {
        width: 70px;
        height: 70px;
    }

    .service-card {
        padding: 2rem 1.2rem;
    }

    .platform-card {
        padding: 2rem 1.2rem;
    }

    .contact-form {
        padding: 2rem 1.2rem;
    }

    .episodes-section {
        margin-top: 2rem;
    }

    .episodes-grid {
        gap: 1.2rem;
    }

    .product-card {
        padding: 2rem 1.2rem;
    }

    .coffee-card {
        padding: 2rem 1.5rem;
    }
}

.logo img {
    height: 50px; /* change to whatever you want */
    width: auto;  /* keeps aspect ratio */
    display: block;
}