/* Component styles for Real Judaism */

/* Header and Navigation */
.site-header {
    background: linear-gradient(135deg, #0F172A 0%, #1A2847 50%, #0F172A 100%);
    color: var(--color-white);
    padding: 0 var(--space-l);
    border-bottom: 3px solid var(--color-gold);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    height: 70px;
}

.nav-brand {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

/* Nav Link with Underline Animation */
.nav-link {
    font-family: var(--font-primary);
    color: var(--color-white);
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    position: relative;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--color-gold-light);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--color-gold);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 1.5px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0F172A 0%, #1A2847 100%);
    list-style: none;
    padding: 8px 0;
    margin-top: 0;
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-large);
    min-width: 240px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%);
}

.dropdown-link {
    color: var(--color-off-white);
    padding: 12px 20px;
    display: block;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
    padding-left: 28px;
}

.dropdown-icon {
    font-size: 11px;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}


/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 32px;
    cursor: pointer;
    padding: var(--space-s);
}

@media (max-width: 768px) {
    .nav-container {
        height: 60px;
    }

    .nav-brand {
        font-size: 24px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--color-charcoal);
        padding: var(--space-s) 0;
        border-top: 1px solid var(--color-gold-dark);
        box-shadow: var(--shadow-large);
    }
    
    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: var(--space-s) var(--space-l);
        text-align: center;
    }

    .nav-link::after {
        bottom: 0;
        height: 2px;
        width: 40%;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        width: 100%;
        background: #1F2937;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-link {
        padding-left: var(--space-xl);
        background: rgba(0,0,0,0.1);
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Podcast Series Cards */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-l);
    margin-top: var(--space-l);
}

.series-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-small);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #F0F4F8;
}

.series-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: var(--border-radius-large);
}

.series-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.2);
}

.series-card:hover::after {
    opacity: 1;
}

.series-card:hover::before {
    transform: scaleX(1);
}

.series-card__image-container {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #E8EAED 0%, #D9DCDF 100%);
}

.series-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.series-card:hover .series-card__image {
    transform: scale(1.1) rotate(1deg);
}

.series-card__content {
    padding: var(--space-m);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.series-card__title {
    font-size: 22px;
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.series-card__title a {
    color: var(--color-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.series-card__title a:hover {
    color: var(--color-gold);
}

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

.series-card__title a:hover::after {
    width: 100%;
}

.series-card__description {
    font-size: 16px;
    color: var(--color-dark-gray);
    flex-grow: 1;
    margin-bottom: var(--space-m);
    line-height: 1.6;
}

.series-card__link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    align-self: flex-start;
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.series-card__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transition: left 0.3s ease;
    z-index: -1;
}

.series-card__link:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.series-card__link:hover::before {
    left: 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #0F172A 0%, #1A2847 100%);
    color: var(--color-off-white);
    padding: var(--space-xxl) var(--space-l);
    margin-top: 0;
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-column__title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: var(--space-m);
}

.footer-column__description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-medium-gray);
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--color-off-white);
    text-decoration: none;
    display: block;
    padding: 8px 0;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::before {
    content: '\2192';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--color-gold);
}

.footer-link:hover {
    color: var(--color-gold);
    transform: translateX(5px);
}

.footer-link:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: var(--space-l);
    text-align: center;
    font-size: 14px;
    color: var(--color-medium-gray);
}

.footer-credit-centered {
    margin-bottom: 8px;
}

/* Buttons and CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--border-radius-medium);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 16px;
}

.btn:focus-visible {
    outline: 3px solid var(--color-blue-light);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-charcoal);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.btn-primary::before {
    background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large), var(--shadow-gold);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.1);
    background: var(--color-gold-dark);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-light-gray);
    box-shadow: none;
}

.btn-secondary::before {
    background: var(--gradient-blue);
}

.btn-secondary:hover {
    color: var(--color-white);
    border-color: var(--color-blue-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
    background: var(--color-blue-dark);
    color: var(--color-white);
    border-color: var(--color-blue-dark);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: var(--border-radius-large);
}

.btn-icon {
    font-size: 1.2em;
}

/* Author Avatar */
.author-avatar {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 0 var(--space-l) var(--space-xl);
    display: block;
    border: 6px solid var(--color-gold);
    box-shadow: var(--shadow-large), 0 0 0 3px rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    float: right;
    shape-outside: circle();
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-gold-light) 0%, var(--color-blue-light) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.author-avatar:hover {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: var(--shadow-large), 0 0 0 6px rgba(212, 175, 55, 0.15);
}

.author-avatar:hover::before {
    opacity: 0.3;
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: radial-gradient(ellipse at center, #123870 0%, #082042 100%);
    color: var(--color-white);
    padding: var(--space-xxxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--color-gold);
    margin-top: 0 !important;
    padding-top: var(--space-xxxl) !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(18, 56, 112, 0.2) 0%, rgba(8, 32, 66, 0.4) 70%, rgba(8, 32, 66, 0.6) 100%);
    pointer-events: none;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--space-m);
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    animation: slide-up 1s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto var(--space-l);
    color: var(--color-light-gray);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    animation: slide-up 1s ease-out 0.2s;
    animation-fill-mode: backwards;
    font-weight: 400;
}

.hero-section .btn {
    animation: slide-up 1s ease-out 0.4s;
    animation-fill-mode: backwards;
}

/* Hero Section Specific Overrides */
.hero-section.hero-section-dark {
    background: radial-gradient(ellipse at center, #123870 0%, #082042 100%);
}

.hero-section.series-hero-half {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl) 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(5px);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.series-hero-half .hero-title {
    font-size: 64px;
    margin-bottom: var(--space-m);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-white) 30%, var(--color-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.series-hero-half .hero-subtitle {
    font-size: 24px;
    max-width: 700px;
    line-height: 1.6;
    color: var(--color-light-gray);
    margin-bottom: var(--space-xl);
}

@media (max-width: 1024px) {
    .hero-title,
    .series-hero-half .hero-title {
        font-size: 56px;
    }
    .hero-subtitle,
    .series-hero-half .hero-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-xxl) 0;
    }

    .hero-title,
    .series-hero-half .hero-title {
        font-size: 44px;
    }
    .hero-subtitle,
    .series-hero-half .hero-subtitle {
        font-size: 18px;
    }
    .series-hero-half {
        min-height: 300px;
    }
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: var(--space-s);
    max-width: 500px;
    margin: var(--space-l) auto;
    background: var(--color-white);
    padding: 8px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    border: 1px solid #F0F4F8;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: var(--border-radius-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--color-white);
    font-size: 16px;
    color: var(--color-charcoal);
}

.newsletter-form input::placeholder {
    color: var(--color-medium-gray);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Spotify Embeds */
.episode-spotify-embed {
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-light-gray);
    box-shadow: var(--shadow-small);
}

/* Skeleton Loader */
.skeleton {
    background-color: #e0e0e0;
    border-radius: var(--border-radius-small);
    animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-card {
    background: var(--gradient-card);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    padding: var(--space-l);
    border: 1px solid rgba(217, 168, 78, 0.2);
}

#episodes-loading {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
    margin-bottom: var(--space-xl);
}

.skeleton-image {
    height: 232px;
    margin-bottom: var(--space-m);
    border-radius: var(--border-radius-medium);
}

.skeleton-title {
    height: 32px;
    width: 75%;
    margin-bottom: var(--space-s);
}

.skeleton-text {
    height: 18px;
    width: 100%;
    margin-bottom: var(--space-xs);
}

.skeleton-text:last-child {
    width: 90%;
}

@keyframes skeleton-loading {
    0% {
        background-color: #e0e0e0;
    }
    50% {
        background-color: #f0f0f0;
    }
    100% {
        background-color: #e0e0e0;
    }
}

/* Responsive skeleton grid */
@media (max-width: 1024px) {
    #episodes-loading {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    #episodes-loading {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
}

/* Enhanced Visual Elements */
.section-divider {
    height: 4px;
    background: var(--gradient-gold);
    margin: var(--space-xl) auto;
    border-radius: 2px;
    position: relative;
    width: 80px;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--color-off-white), var(--shadow-small);
}

/* Floating Action Elements */
.floating-icon {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-large), 0 0 0 3px rgba(212, 175, 55, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.floating-icon:hover {
    transform: scale(1.18) translateY(-8px);
    box-shadow: var(--shadow-large), 0 0 20px rgba(212, 175, 55, 0.4);
}

.floating-icon svg {
    fill: var(--color-charcoal);
    width: 28px;
    height: 28px;
}

/* Card Enhancements */
.card-enhanced {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-small);
    padding: var(--space-xl);
    border: 1px solid #F0F4F8;
    position: relative;
    overflow: hidden;
}

.card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

/* Section specific styling */
.episodes-section .section-title {
    text-align: center;
}

.episodes-section .section-description {
    text-align: center;
    max-width: 700px;
    margin: var(--space-s) auto var(--space-xl);
    font-size: 19px;
    color: var(--color-dark-gray);
    line-height: 1.6;
}

/* Tab Navigation for Series with Multiple Seasons */
.tabs-navigation {
    display: flex;
    justify-content: center;
    gap: var(--space-m);
    margin: var(--space-xl) 0;
    flex-wrap: wrap;
}

.tab-link {
    padding: var(--space-s) var(--space-l);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    background: var(--color-white);
    color: var(--color-dark-gray);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--border-radius-large);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.tab-link:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateY(-2px);
}

.tab-link.active {
    background: var(--gradient-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-medium);
}

/* Episodes Grid */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-l);
    margin-bottom: var(--space-xl);
}

.episode-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    border: 1px solid #F0F4F8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.episode-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.15);
}

.episode-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.episode-spotify-container {
    flex-shrink: 0;
}

.episode-spotify-embed {
    width: 100%;
    height: 232px;
    border-radius: var(--border-radius-medium);
}

.episode-card-content {
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.episode-card-header {
    margin-bottom: var(--space-m);
}

.episode-title {
    display: block;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.4;
}

.episode-description {
    font-size: 15px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: var(--space-m);
    flex: 1;
}

.episode-meta {
    display: flex;
    gap: var(--space-l);
    padding-top: var(--space-m);
    border-top: 1px solid #F0F4F8;
    font-size: 13px;
    color: var(--color-medium-gray);
}

.episode-date,
.episode-length {
    display: flex;
    align-items: center;
}

.episode-date::before {
    content: '📅';
    margin-right: 6px;
}

.episode-length::before {
    content: '⏱️';
    margin-right: 6px;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .episodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .episodes-grid {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }
}

.episodes-section,
.platforms-section,
.cta-section {
    background-color: transparent !important;
}

.platforms-section {
    background: linear-gradient(135deg, #F0F4F8 0%, var(--color-off-white) 100%) !important;
    padding: var(--space-xxl) 0;
    margin-top: var(--space-xxxl);
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

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

.platforms-title {
    font-size: 40px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: var(--space-m);
}

.platforms-description {
    font-size: 20px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.compact-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-l);
    margin-top: var(--space-xl);
}

.platform-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    padding: var(--space-m);
    display: flex;
    align-items: center;
    gap: var(--space-m);
    box-shadow: var(--shadow-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #F0F4F8;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s ease;
    z-index: 0;
    opacity: 0.08;
}

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.15);
}

.platform-card:hover::before {
    left: 0;
}

.platform-card .platform-icon {
    font-size: 40px;
    color: var(--color-charcoal);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.platform-card.spotify .platform-icon {
    color: #1DB954;
}
.platform-card.apple .platform-icon {
    color: #FD2D55;
}
.platform-card.youtube .platform-icon {
    color: #FF0000;
}
.platform-card.rss .platform-icon {
    color: #FFA500;
}

.platform-card.spotify::before {
    background-color: #1DB954;
}
.platform-card.apple::before {
    background-color: #FD2D55;
}
.platform-card.youtube::before {
    background-color: #FF0000;
}
.platform-card.rss::before {
    background-color: #FFA500;
}

.platform-card .platform-content {
    text-align: left;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.platform-card .platform-name {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 4px;
}

.platform-card .platform-description {
    font-size: 14px;
    color: var(--color-medium-gray);
}

.platform-card .platform-arrow {
    font-size: 24px;
    color: var(--color-medium-gray);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.platform-card:hover .platform-arrow {
    transform: translateX(6px);
    color: var(--color-gold);
}

.platform-popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-bottom-left-radius: var(--border-radius-small);
    z-index: 2;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
    color: var(--color-charcoal);
    padding: var(--space-xxl) var(--space-l);
    text-align: center;
    margin-top: var(--space-xxxl);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.08);
    border-radius: var(--border-radius-large);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: rotate(45deg);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--space-m);
    line-height: 1.1;
    color: var(--color-charcoal);
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cta-description {
    font-size: 20px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-l);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .platforms-title {
        font-size: 32px;
    }
    .platforms-description {
        font-size: 18px;
    }
    .cta-title {
        font-size: 36px;
    }
    .cta-description {
        font-size: 18px;
    }
    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-m);
    }
    .floating-icon {
        bottom: var(--space-l);
        right: var(--space-l);
    }
    .newsletter-form {
        padding: var(--space-s);
    }
    .cta-section {
        padding: var(--space-xl) var(--space-m);
    }
}

/* Text Enhancements */
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

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

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .series-card:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .floating-icon {
        bottom: var(--space-s);
        right: var(--space-s);
        width: 50px;
        height: 50px;
    }

    .author-avatar {
        float: none;
        margin: var(--space-l) auto var(--space-xl);
        width: 200px;
        height: 200px;
        border: 4px solid var(--color-gold);
    }

    /* Series page specific responsive styles */
    .hero-section-dark.series-hero-half {
        padding: var(--space-l) 0;
        min-height: 250px;
    }

    .hero-background img {
        filter: blur(3px);
        transform: scale(1.02);
    }

    .platforms-title {
        font-size: 28px;
    }

    .platforms-description {
        font-size: 16px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 16px;
    }
}

/* Blog System Styling */

/* Featured Blog Post */
#featured-post-section {
    margin-bottom: var(--space-xxxl);
}

.featured-blog-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large);
    padding: var(--space-xl);
    box-shadow: var(--shadow-small);
    border: 1px solid #F0F4F8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.15);
}

.featured-blog-meta {
    margin-bottom: var(--space-m);
}

.featured-week-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-charcoal);
    padding: 6px 14px;
    border-radius: var(--border-radius-large);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.featured-blog-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-charcoal);
    margin-bottom: var(--space-m);
    line-height: 1.2;
}

.featured-blog-excerpt {
    font-size: 18px;
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-l);
}

.featured-blog-footer {
    display: flex;
    align-items: center;
    gap: var(--space-l);
    flex-wrap: wrap;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--color-medium-gray);
}

.blog-date::before {
    content: '📅';
}

.blog-read-time::before {
    content: '⏱️';
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-l);
    margin-bottom: var(--space-xl);
}

.blog-post-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-small);
    border: 1px solid #F0F4F8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.15);
}

.blog-card-inner {
    display: flex;
    flex-direction: column;
    padding: var(--space-m);
    height: 100%;
}

.blog-card-header {
    margin-bottom: var(--space-m);
}

.blog-week-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    padding: 4px 12px;
    border-radius: var(--border-radius-medium);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: var(--space-s);
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.4;
    margin: 0;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin-bottom: var(--space-m);
    flex: 1;
}

.blog-card-footer {
    display: flex;
    gap: var(--space-m);
    padding-top: var(--space-m);
    border-top: 1px solid var(--color-light-gray);
    margin-bottom: var(--space-m);
    font-size: 13px;
    color: var(--color-medium-gray);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card-link {
    display: inline-block;
    color: var(--color-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-card-link:hover {
    color: var(--color-gold);
    transform: translateX(4px);
}

/* Next Post Preview */
.next-post-preview-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    padding: var(--space-xl);
    border-radius: var(--border-radius-large);
    border: 2px solid rgba(212, 175, 55, 0.2);
    margin: var(--space-xxxl) 0;
}

.next-post-preview-card {
    text-align: center;
    padding: var(--space-l) 0;
}

.next-post-content {
    max-width: 600px;
    margin: 0 auto;
}

.next-post-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-m);
    border-radius: var(--border-radius-large);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: var(--space-m);
}

.next-post-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-charcoal);
    margin-bottom: var(--space-m);
}

.next-post-excerpt {
    font-size: 16px;
    color: var(--color-dark-gray);
    line-height: 1.7;
    margin-bottom: var(--space-m);
}

.next-post-info {
    font-size: 15px;
    color: var(--color-medium-gray);
    margin-bottom: var(--space-s);
}

.next-post-cta {
    font-size: 16px;
    color: var(--color-blue);
    font-weight: 600;
    font-style: italic;
}

/* Responsive Blog Grid */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .featured-blog-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-m);
    }

    .featured-blog-card {
        padding: var(--space-m);
    }

    .featured-blog-title {
        font-size: 28px;
    }

    .featured-blog-excerpt {
        font-size: 16px;
    }

    .featured-blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-m);
    }

    .next-post-preview-section {
        padding: var(--space-m);
    }

    .next-post-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .featured-blog-title {
        font-size: 24px;
    }

    .blog-card-footer {
        flex-direction: column;
        gap: var(--space-s);
    }
}

/* Blog Post Article Styling */

/* Article Header */
.article-header {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #1F2937 50%, var(--color-charcoal) 100%);
    color: var(--color-white);
    padding: var(--space-xxl) 0;
    margin-bottom: var(--space-xl);
    border-bottom: 4px solid var(--gradient-gold);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.article-header .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.hero-breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    font-size: 15px;
    opacity: 0.8;
    background: rgba(255,255,255,0.06);
    padding: 6px 10px;
    border-radius: 9999px;
    width: fit-content;
}

.breadcrumb-link {
    color: var(--color-gold-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--color-gold);
}

.breadcrumb-separator {
    color: var(--color-medium-gray);
}

.breadcrumb-item {
    color: var(--color-white);
}

.article-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: var(--color-white);
}

.article-meta {
    display: flex;
    gap: var(--space-m);
    align-items: center;
    flex-wrap: wrap;
    font-size: 15px;
    opacity: 0.9;
}

.article-category,
.article-date,
.article-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-category {
    background: rgba(212, 175, 55, 0.2);
    padding: 6px 12px;
    border-radius: var(--border-radius-medium);
    color: var(--color-gold-light);
    font-weight: 600;
}

.article-date::before {
    content: '📅';
}

.article-read-time::before {
    content: '⏱️';
}

.article-meta .article-date,
.article-meta .article-read-time {
    background: rgba(255,255,255,0.08);
    padding: 6px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.12);
}

/* Article Content */
.article-content {
    padding: var(--space-xl) 0;
    background: var(--color-section-bg);
}

.premium-article-body {
    max-width: 860px;
    margin: 0 auto;
}

.premium-article-body p {
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 18px;
    color: var(--color-charcoal);
    margin-bottom: var(--space-l);
    text-align: justify;
}

.premium-article-body p:first-child::first-letter {
    font-size: 1.3em;
    font-weight: 700;
    margin-right: 2px;
}

.premium-article-body em {
    font-style: italic;
    color: var(--color-blue);
    font-weight: 500;
}

.premium-article-body strong {
    font-weight: 700;
    color: var(--color-charcoal);
}

/* Blockquotes in Articles */
.premium-article-body blockquote {
    margin: var(--space-xl) 0;
    padding: var(--space-l);
    border-left: 6px solid var(--color-gold);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.05), transparent);
    border-radius: var(--border-radius-medium);
    font-style: italic;
    color: var(--color-dark-gray);
    font-size: 18px;
}

/* Post Navigation */
.premium-post-navigation {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid #F0F4F8;
    border-radius: var(--border-radius-large);
    padding: var(--space-m);
}

.premium-post-nav-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--space-m);
    background: var(--color-white);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--border-radius-large);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100px;
}

.premium-post-nav-link:hover {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(212, 175, 55, 0.05) 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.premium-post-nav-link.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: linear-gradient(135deg, #F0F4F8 0%, #E8ECEF 100%) !important;
    border-color: var(--color-light-gray) !important;
    border-style: dashed !important;
    transform: none !important;
    box-shadow: none !important;
}

.nav-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-top: var(--space-xs);
}

.premium-post-nav-link:hover .nav-title {
    color: var(--color-gold);
}

.premium-post-nav-link.prev .nav-label::before {
    content: '← ';
}

.premium-post-nav-link.next .nav-label::after {
    content: ' →';
}

.premium-post-nav-link .nav-label {
    color: var(--color-medium-gray);
}

.premium-post-nav-link .nav-title {
    color: var(--color-charcoal);
}

/* Back to Blog */
.back-to-blog {
    text-align: center;
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--color-light-gray);
}

.btn-secondary {
    display: inline-block;
    padding: var(--space-s) var(--space-l);
    background: var(--color-white);
    color: var(--color-charcoal);
    border: 2px solid var(--color-light-gray);
    border-radius: var(--border-radius-large);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 16px;
    border-style: solid;
    box-shadow: var(--shadow-small);
}

.btn-secondary:hover {
    background: var(--gradient-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    transform: translateX(-4px);
}

.btn-icon {
    margin-right: 8px;
}

/* Responsive Article Header */
@media (max-width: 1024px) {
    .article-title {
        font-size: 42px;
    }

    .premium-article-body p {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: var(--space-l);
    }

    .article-title {
        font-size: 32px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-s);
    }

    .article-content {
        padding: var(--space-l) 0;
    }

    .premium-article-body {
        padding: 0 var(--space-m);
    }

    .premium-article-body p {
        font-size: 16px;
        text-align: left;
    }

    .premium-post-navigation {
        grid-template-columns: 1fr;
        gap: var(--space-m);
    }

    .hero-breadcrumbs {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: var(--space-m);
    }

    .article-title {
        font-size: 24px;
    }

    .premium-article-body p {
        font-size: 15px;
        margin-bottom: var(--space-m);
    }

    .article-meta {
        font-size: 13px;
    }
}

/* PREMIUM HERO SECTION */
.hero-premium {
    padding: 60px 0 40px !important;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-pre-title {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-m);
}

.hero-premium .hero-title {
    font-size: 72px;
    margin-bottom: var(--space-m);
    line-height: 1.15;
    color: var(--color-white);
    max-width: 900px;
}

.hero-premium .hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto var(--space-l);
    color: #E2E8F0;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    gap: var(--space-m);
    justify-content: center;
    margin-bottom: var(--space-l);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    padding-top: var(--space-m);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-gold);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-light-gray);
    font-weight: 500;
}

/* VALUE PROPOSITION SECTION */
.value-section {
    padding: var(--space-xxxl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.03) 100%);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.value-card {
    text-align: center;
    padding: var(--space-xl);
}

.value-icon {
    font-size: 56px;
    margin-bottom: var(--space-m);
    display: block;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: var(--space-m);
    color: var(--color-charcoal);
}

.value-card p {
    font-size: 16px;
    color: var(--color-dark-gray);
    line-height: 1.8;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: 52px;
    margin-bottom: var(--space-m);
}

.section-subtitle {
    font-size: 20px;
    color: var(--color-dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* PREMIUM SERIES CARDS */
.series-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-l);
    margin-top: var(--space-xl);
}

.series-card-premium {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    border: 1px solid #F0F4F8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-small);
}

.series-card-premium:hover {
    transform: translateY(-16px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.2);
}

.featured-card {
    grid-column: span 1;
    box-shadow: 0 0 0 2px var(--color-gold);
}

.series-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.series-card-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #E8EAED 0%, #D9DCDF 100%);
}

.series-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.series-card-premium:hover .series-card-image img {
    transform: scale(1.1);
}

.series-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-gold);
    color: var(--color-charcoal);
    padding: 6px 12px;
    border-radius: var(--border-radius-small);
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
}

.series-card-content {
    padding: var(--space-l);
    display: flex;
    flex-direction: column;
}

.series-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.series-card-description {
    font-size: 17px;
    color: var(--color-dark-gray);
    font-weight: 500;
    margin-bottom: var(--space-m);
}

.series-card-meta {
    font-size: 14px;
    color: var(--color-medium-gray);
    font-style: italic;
}

/* RABBI FEATURED SECTION */
.rabbi-featured-section {
    padding: var(--space-xxxl) 0;
}

.rabbi-featured-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xxl);
    align-items: center;
}

.rabbi-featured-image {
    position: relative;
}

.rabbi-avatar-large {
    width: 100%;
    max-width: 450px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    border: 3px solid var(--color-gold);
}

.rabbi-featured-content h2 {
    margin-bottom: var(--space-m);
}

.featured-highlight {
    font-size: 22px;
    font-style: italic;
    color: var(--color-gold);
    margin-bottom: var(--space-l);
    font-weight: 500;
}

.rabbi-featured-content p {
    font-size: 17px;
    margin-bottom: var(--space-m);
    line-height: 1.8;
}

.rabbi-quote {
    border-left: 6px solid var(--color-gold);
    padding: var(--space-l);
    margin: var(--space-l) 0;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.5) 100%);
    border-radius: var(--border-radius-large);
    border-top: 1px solid var(--color-light-gray);
}

.rabbi-quote p {
    font-size: 20px;
    font-style: italic;
    color: var(--color-charcoal);
    margin: 0;
}

/* ENGAGEMENT SECTION */
.engagement-section {
    padding: var(--space-xxxl) 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
}

.engagement-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
}

.engagement-content {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: var(--space-xxl);
    border-radius: var(--border-radius-large);
    border: 2px solid #F0F4F8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.engagement-content:hover {
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.engagement-content h2 {
    margin-bottom: var(--space-m);
    font-size: 32px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.engagement-content p {
    font-size: 18px;
    margin-bottom: var(--space-l);
    color: var(--color-dark-gray);
    line-height: 1.7;
}

/* PROOF SECTION */
.proof-section {
    padding: var(--space-xxxl) 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.02) 100%);
}

.proof-section h2 {
    margin-bottom: var(--space-xl);
    font-size: 48px;
    color: var(--color-charcoal);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.proof-item {
    padding: var(--space-xl);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large);
    border: 1px solid #F0F4F8;
    box-shadow: var(--shadow-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.proof-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: rgba(212, 175, 55, 0.2);
}

.proof-number {
    font-size: 64px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
}

.proof-item p {
    font-size: 17px;
    color: var(--color-dark-gray);
    font-weight: 500;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-premium {
        padding: 100px 0 80px !important;
    }

    .hero-premium .hero-title {
        font-size: 56px;
    }

    .hero-premium .hero-subtitle {
        font-size: 20px;
    }

    .hero-stats {
        gap: 40px;
    }

    .rabbi-featured-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .engagement-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        padding: 80px 0 60px !important;
        min-height: auto;
    }

    .hero-pre-title {
        font-size: 12px;
    }

    .hero-premium .hero-title {
        font-size: 42px;
    }

    .hero-premium .hero-subtitle {
        font-size: 18px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        border: none;
        padding-top: var(--space-m);
    }

    .series-grid-premium {
        grid-template-columns: 1fr;
    }

    .featured-card {
        grid-column: span 1;
    }

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

    .section-header h2 {
        font-size: 36px;
    }

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

/* SERIES PAGE HERO */
.hero-section.series-hero {
    padding: 50px 0 40px !important;
    min-height: auto;
}

.hero-section.series-hero .hero-title {
    font-size: 48px;
}

.hero-section.series-hero .hero-subtitle {
    font-size: 18px;
    max-width: 650px;
}

/* SERIES INTRO SECTION */
.series-intro-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.02) 100%);
}

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

.series-intro-content h2 {
    font-size: 44px;
    margin-bottom: var(--space-l);
}

.series-intro-content p {
    font-size: 18px;
    color: var(--color-dark-gray);
    line-height: 1.8;
}

/* EPISODES HEADER */
.episodes-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.episodes-header h2 {
    font-size: 48px;
    margin-bottom: var(--space-m);
}

/* ABOUT PAGE SECTIONS */
.rabbi-background-section {
    padding: var(--space-xl) 0;
}

.rabbi-background-section h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.background-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-l);
}

.background-item {
    padding: var(--space-l);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large);
    border: 1px solid #F0F4F8;
}

.background-item h3 {
    font-size: 20px;
    margin-bottom: var(--space-m);
    color: var(--color-charcoal);
}

.background-item p {
    font-size: 16px;
    color: var(--color-dark-gray);
    line-height: 1.7;
}

/* QUOTE SECTION */
.quote-section {
    padding: var(--space-xxxl) 0;
    text-align: center;
}

.large-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-xxl);
    font-size: 28px;
    border-left-width: 8px;
}

/* BLOG GRID SECTION */
.featured-blog-section {
    margin-bottom: var(--space-xxxl);
}

.blog-grid-section {
    padding: var(--space-xxxl) 0;
}

.platforms-section {
    background: linear-gradient(135deg, #F0F4F8 0%, var(--color-off-white) 100%) !important;
    padding: var(--space-xxl) 0;
    margin-top: var(--space-xxxl);
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}

.platforms-content-simple {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-l);
}

.platforms-icons-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.platform-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.platform-icon-link:hover {
    transform: scale(1.12);
    box-shadow: none;
    border-color: transparent;
}

.platform-icon-link img {
    width: 140px;
    height: 140px;
    border-radius: 0;
}

@media (max-width: 768px) {
    .platforms-icons-grid {
        gap: var(--space-m);
    }

    .platform-icon-link img {
        width: 98px;
        height: 98px;
    }
}

/* BIOGRAPHY SECTIONS */
.biography-hero-section {
    padding: var(--space-xxxl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.02) 100%);
}

.biography-hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xxxl);
    align-items: center;
}

.biography-hero-image {
    position: relative;
}

.biography-avatar {
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    border: 3px solid var(--color-gold);
}

.biography-hero-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--space-m);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.biography-intro {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: var(--space-m);
    line-height: 1.7;
}

.biography-hero-content p {
    font-size: 17px;
    color: var(--color-dark-gray);
    line-height: 1.8;
    margin-bottom: var(--space-m);
}

/* BIOGRAPHY JOURNEY SECTION */
.biography-journey-section {
    padding: var(--space-xxxl) 0;
    background: var(--color-white);
}

.biography-journey-content {
    max-width: 900px;
    margin: 0 auto;
}

.biography-block {
    margin-bottom: var(--space-xxl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large);
    border-left: 5px solid var(--color-gold);
    box-shadow: var(--shadow-small);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.biography-block:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--color-gold-light);
}

.biography-block h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: var(--space-m);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.biography-block p {
    font-size: 17px;
    color: var(--color-dark-gray);
    line-height: 1.85;
    margin: 0;
}

/* BIOGRAPHY QUOTE SECTION */
.biography-quote-section {
    padding: var(--space-xxxl) 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.03) 100%);
}

.biography-featured-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xxl);
    border: none;
    border-top: 3px solid var(--color-gold);
    border-bottom: 3px solid var(--color-gold);
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    position: relative;
}

.biography-featured-quote p {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-charcoal);
    line-height: 1.8;
    margin-bottom: var(--space-l);
}

.biography-featured-quote cite {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gold);
    font-style: normal;
    display: block;
}

.biography-featured-quote::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.15);
    font-family: 'Georgia', serif;
    line-height: 1;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .biography-hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .biography-avatar {
        max-width: 100%;
    }

    .biography-hero-content h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .biography-hero-section {
        padding: var(--space-xl) 0;
    }

    .biography-hero-content h2 {
        font-size: 32px;
    }

    .biography-intro {
        font-size: 18px;
    }

    .biography-hero-content p {
        font-size: 16px;
    }

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

    .biography-block {
        padding: var(--space-m);
        margin-bottom: var(--space-l);
    }

    .biography-block h3 {
        font-size: 22px;
    }

    .biography-block p {
        font-size: 16px;
    }

    .biography-featured-quote {
        padding: var(--space-xl);
    }

    .biography-featured-quote p {
        font-size: 22px;
    }

    .biography-featured-quote cite {
        font-size: 16px;
    }

    .biography-featured-quote::before {
        font-size: 60px;
        top: 10px;
        left: 15px;
    }
}

/* Enhanced Article Aesthetics */
.premium-article-body {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: var(--space-xl);
    border-radius: var(--border-radius-large);
    border: 1px solid #F0F4F8;
    box-shadow: var(--shadow-small);
}

.premium-article-body p:first-child {
    font-size: 20px;
    color: var(--color-dark-gray);
}

.premium-article-body em {
    color: var(--color-gold);
    font-weight: 600;
}

.premium-article-body h2,
.premium-article-body h3 {
    color: var(--color-charcoal);
    margin: var(--space-l) 0 var(--space-m);
    line-height: 1.25;
}

.premium-article-body ul,
.premium-article-body ol {
    padding-left: 1.2em;
    margin: 0 0 var(--space-m);
}

.premium-article-body li {
    margin-bottom: 8px;
}

.premium-article-divider {
    height: 4px;
    width: 80px;
    background: var(--gradient-gold);
    border-radius: 2px;
    margin: var(--space-xl) auto;
}

/* ===================================
   RTL (Right-to-Left) Support for Hebrew
   =================================== */

html[dir="rtl"],
html[lang="he"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] body,
html[lang="he"] body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-align: right;
    direction: rtl;
}

/* RTL Navigation */
html[dir="rtl"] .nav-menu,
html[lang="he"] .nav-menu {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-dropdown,
html[lang="he"] .nav-dropdown {
    text-align: right;
}

html[dir="rtl"] .dropdown-menu,
html[lang="he"] .dropdown-menu {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .nav-dropdown:hover .dropdown-menu,
html[lang="he"] .nav-dropdown:hover .dropdown-menu,
html[dir="rtl"] .nav-dropdown:focus-within .dropdown-menu,
html[lang="he"] .nav-dropdown:focus-within .dropdown-menu {
    transform: translateX(50%);
}

/* RTL Text Alignment */
html[dir="rtl"] p,
html[lang="he"] p {
    text-align: right;
}

html[dir="rtl"] h1,
html[lang="he"] h1,
html[dir="rtl"] h2,
html[lang="he"] h2,
html[dir="rtl"] h3,
html[lang="he"] h3,
html[dir="rtl"] h4,
html[lang="he"] h4 {
    text-align: right;
}

html[dir="rtl"] blockquote,
html[lang="he"] blockquote {
    text-align: right;
    border-right: 4px solid var(--color-gold);
    border-left: none;
    padding-right: var(--space-l);
    padding-left: 0;
    margin-right: var(--space-l);
    margin-left: 0;
}

html[dir="rtl"] blockquote cite,
html[lang="he"] blockquote cite {
    text-align: left;
}

/* RTL Lists */
html[dir="rtl"] ul,
html[lang="he"] ul,
html[dir="rtl"] ol,
html[lang="he"] ol {
    padding-right: var(--space-l);
    padding-left: 0;
    margin-right: var(--space-l);
    margin-left: 0;
}

html[dir="rtl"] li,
html[lang="he"] li {
    text-align: right;
}

/* RTL Form Elements */
html[dir="rtl"] input,
html[lang="he"] input,
html[dir="rtl"] textarea,
html[lang="he"] textarea {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] input::placeholder,
html[lang="he"] input::placeholder {
    text-align: right;
}

/* RTL Article and Blog */
html[dir="rtl"] .article-content,
html[lang="he"] .article-content {
    text-align: right;
}

html[dir="rtl"] .premium-article-body,
html[lang="he"] .premium-article-body {
    text-align: right;
}

html[dir="rtl"] .biography-block,
html[lang="he"] .biography-block {
    text-align: right;
}

/* RTL Cards and Grids */
html[dir="rtl"] .series-card-content,
html[lang="he"] .series-card-content {
    text-align: right;
}

html[dir="rtl"] .proof-item,
html[lang="he"] .proof-item {
    text-align: center;
}

/* RTL Footer */
html[dir="rtl"] .footer-links,
html[lang="he"] .footer-links {
    text-align: right;
}

html[dir="rtl"] .footer-credit-centered,
html[lang="he"] .footer-credit-centered {
    text-align: center;
}

/* RTL Buttons */
html[dir="rtl"] .btn,
html[lang="he"] .btn {
    text-align: center;
}

/* RTL Breadcrumbs */
html[dir="rtl"] .hero-breadcrumbs,
html[lang="he"] .hero-breadcrumbs {
    text-align: right;
    flex-direction: row-reverse;
}

html[dir="rtl"] .breadcrumb-separator,
html[lang="he"] .breadcrumb-separator {
    margin: 0 var(--space-xs);
}

/* Font smoothing for Hebrew */
html[dir="rtl"],
html[lang="he"] {
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
}

/* RTL Specific Typography */
html[dir="rtl"] .hero-pre-title,
html[lang="he"] .hero-pre-title {
    text-align: right;
}

html[dir="rtl"] .hero-subtitle,
html[lang="he"] .hero-subtitle {
    text-align: right;
}

html[dir="rtl"] .section-subtitle,
html[lang="he"] .section-subtitle {
    text-align: right;
}

html[dir="rtl"] .featured-highlight,
html[lang="he"] .featured-highlight {
    text-align: right;
}

/* RTL Series Cards */
html[dir="rtl"] .series-card-title,
html[lang="he"] .series-card-title {
    text-align: right;
}

html[dir="rtl"] .series-card-description,
html[lang="he"] .series-card-description {
    text-align: right;
}

html[dir="rtl"] .series-card-meta,
html[lang="he"] .series-card-meta {
    text-align: right;
}

/* RTL Blog Grid */
html[dir="rtl"] .blog-card-title,
html[lang="he"] .blog-card-title {
    text-align: right;
}

html[dir="rtl"] .blog-card-description,
html[lang="he"] .blog-card-description {
    text-align: right;
}

/* Better letter spacing for Hebrew */
html[dir="rtl"] body,
html[lang="he"] body {
    letter-spacing: -0.3px;
}

/* Line height optimization for Hebrew */
html[dir="rtl"] p,
html[lang="he"] p {
    line-height: 1.8;
}

html[dir="rtl"] li,
html[lang="he"] li {
    line-height: 1.8;
}

html[dir="rtl"] .nav-dropdown:hover .dropdown-menu,
html[lang="he"] .nav-dropdown:hover .dropdown-menu,
html[dir="rtl"] .nav-dropdown:focus-within .dropdown-menu,
html[lang="he"] .nav-dropdown:focus-within .dropdown-menu {
    transform: translateX(50%);
}

html[dir="rtl"] .dropdown-link:hover,
html[lang="he"] .dropdown-link:hover {
    padding-left: 12px;
    padding-right: 28px;
}

/* Contact Form Styling */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-l);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: var(--space-m);
}

.form-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gold-light);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-medium);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-charcoal);
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-medium-gray);
    opacity: 0.7;
}

/* Custom Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
    margin-top: var(--space-xs);
}

.radio-label {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--color-off-white);
    font-weight: 400;
    padding: var(--space-xs);
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    position: relative;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-charcoal);
    border-radius: 50%;
}

/* Form Messages */
.form-success {
    margin-top: var(--space-m);
    padding: var(--space-m);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--border-radius-medium);
    text-align: center;
}

.form-error {
    margin-top: var(--space-m);
    padding: var(--space-m);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--border-radius-medium);
    text-align: center;
}

.success-message {
    color: #16a34a;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.error-message {
    color: #dc2626;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Full Width Button */
.btn-full {
    width: 100%;
    margin-top: var(--space-m);
}

/* Honeypot field - hidden from users but visible to bots */
.contact-form input[name="bot-field"] {
    display: none;
    opacity: 0;
    height: 0;
    width: 0;
    position: absolute;
    left: -9999px;
}

/* Enhanced form animations */
.contact-form .form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.contact-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.contact-form button { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: var(--space-m);
    }

    .radio-group {
        gap: var(--space-m);
    }

    .radio-label {
        padding: var(--space-s);
        font-size: 14px;
    }

    .form-input,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* RTL Support for Contact Form */
html[dir="rtl"] .contact-form,
html[lang="he"] .contact-form {
    text-align: right;
}

html[dir="rtl"] .radio-label,
html[lang="he"] .radio-label {
    flex-direction: row-reverse;
    text-align: right;
}

html[dir="rtl"] .radio-label:hover,
html[lang="he"] .radio-label:hover {
    transform: translateX(-4px);
}

html[dir="rtl"] .form-input,
html[lang="he"] .form-input,
html[dir="rtl"] .form-textarea,
html[lang="he"] .form-textarea {
    text-align: right;
    direction: rtl;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    border-bottom: 2px solid var(--color-light-gray);
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-charcoal);
    margin: 0;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-medium-gray);
    transition: all 0.3s ease;
    border-radius: var(--border-radius-medium);
}

.modal-close:hover {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: var(--space-xl);
}

/* Email Contact Info Section */
.form-contact-info {
    margin-bottom: var(--space-l);
    padding: var(--space-l);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.03) 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-medium);
}

.contact-info-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 var(--space-s) 0;
}

.email-copy-container {
    display: flex;
    align-items: center;
    gap: var(--space-s);
    flex-wrap: wrap;
}

.contact-email {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gold);
    word-break: break-all;
}

.copy-button {
    background: var(--color-gold);
    border: none;
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-charcoal);
    flex-shrink: 0;
}

.copy-button svg {
    width: 18px;
    height: 18px;
}

.copy-button:hover {
    background: var(--color-gold-light);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-feedback {
    font-size: 12px;
    font-weight: 600;
    color: #16a34a;
    animation: fadeIn 0.3s ease-out;
    white-space: nowrap;
}

.form-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-light-gray) 50%, transparent 100%);
    margin: var(--space-l) 0;
}

/* Modal form styling adjustments */
.modal .contact-form {
    background: transparent;
    padding: 0;
    border: none;
}

.modal .form-group {
    opacity: 1;
    transform: none;
    animation: none;
    margin-bottom: var(--space-l);
}

.modal .form-input,
.modal .form-textarea {
    background: var(--color-white);
    border: 2px solid var(--color-light-gray);
}

.modal .form-input:focus,
.modal .form-textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.modal .form-label {
    color: var(--color-charcoal);
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0;
}

.modal .radio-group {
    gap: var(--space-m);
}

.modal .radio-label {
    color: var(--color-charcoal);
    padding: var(--space-m);
    background: rgba(212, 175, 55, 0.03);
    border-radius: var(--border-radius-medium);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modal .radio-label:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--color-gold);
    transform: translateX(0);
}

.modal .radio-label input[type="radio"]:checked + .radio-custom {
    background: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.modal .btn-full {
    width: 100%;
    margin-top: var(--space-l);
    padding: 16px 24px;
    font-size: 16px;
}

.modal .form-success,
.modal .form-error {
    margin-top: var(--space-l);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: var(--border-radius-large);
    }

    .modal-header {
        padding: var(--space-l);
    }

    .modal-body {
        padding: var(--space-l);
    }

    .modal-title {
        font-size: 24px;
    }

    .modal .form-group {
        margin-bottom: var(--space-m);
    }

    .modal .form-input,
    .modal .form-textarea {
        font-size: 16px; /* Prevent iOS zoom */
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-header,
    .modal-body {
        padding: var(--space-l);
    }

    .modal-title {
        font-size: 22px;
    }

    .modal .form-label {
        font-size: 13px;
    }

    .modal .radio-label {
        padding: var(--space-s) var(--space-m);
        font-size: 14px;
    }
}

/* RTL Modal Support */
html[dir="rtl"] .modal-close:hover,
html[lang="he"] .modal-close:hover {
    transform: rotate(-90deg);
}

html[dir="rtl"] .modal .radio-label:hover,
html[lang="he"] .modal .radio-label:hover {
    transform: translateX(0);
}

html[dir="rtl"] .modal-header,
html[lang="he"] .modal-header {
    text-align: right;
}

html[dir="rtl"] .modal-body,
html[lang="he"] .modal-body {
    text-align: right;
}
