body
{
    background-color: var(--starry-bg-color);
}
.email .container
{
    width: 50vw;
    margin: 0 auto;
}

.email .hero-section .floating-particle
{
    background-color: white !important;
}

.email .sky .starry-background::before,
.email .sky .starry-background::after
{
    content: unset;
}
.email .sky .starry-background
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.email .starry-background:has(+ .place-holder-100-100  + .why-us-section)
{
    z-index: -50;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
}

/* Hero Section */
.email .hero-section {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    mix-blend-mode: exclusion;
}

.email .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.email .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.email .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}


.email .hero-title {
    font-size: 4em;
    font-weight: 700;
    margin-bottom: 1.5em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(50px);
}

.email .hero-description {
    font-size: 1.3em;
    margin-bottom: 3em;
    opacity: 0.9;
    line-height: 1.8;
    transform: translateY(30px);
}

.email .cta-buttons {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

.email .btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 1.2em 2.5em;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    background: white;
    color: black;
    box-shadow: 0 0px 30px rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: unset;
    transition: all 0.3s ease-out;
}

.email .btn-primary:hover, .btn-secondary:hover {
    
    background: black;
    color: white;
    border: white solid 1px;
}

/* Plans Section */
.email .plans-section {
    background: white;
    padding: 100px 0;
    position: relative;
    z-index: 30;
}

.email .section-header {
    text-align: center;
    margin-bottom: 2em;
}

.email .section-title {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 1em;
    color: var(--text-color);
}

.email .section-subtitle {
    font-size: 1.3em;
    opacity: 0.8;
    margin-bottom: 1em;
}

.email .section-description {
    font-size: 1.1em;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.email .plans-grid {
    --item-width: 20vw;
    --gap: 2em;

    --width: calc(var(--item-width) * 3 + var(--gap) * 2);

    width: var(--width);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--item-width), 1fr));



    margin-left: calc( -1 * (var(--width) - 50vw) / 2);

    gap: var(--gap);
    margin-top: 4em;
}

.email .plan-card {
    background: white;
    border-radius: 20px;
    padding: 2.5em;
    box-shadow: 0 15px 40px var(--shadow-light);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    width: calc(var(--item-width) / 1.02);
    height: fit-content;
}

.email .plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s;
}

.email .plan-card:hover::before {
    left: 100%;
}

.email .plan-card:hover {
    transform: translateY(-10px) scale(0.9);
    box-shadow: 0 25px 60px var(--shadow-medium);
    border-color: var(--primary-color);
}

.email .plan-card.popular {
    border-color: var(--secondary-color);
    transform: translateY(-10px) scale(1.02);
}

.email .plan-card .popular-text {
    content: var(--content);
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}
.email .plan-card.popular .popular-text
{
    display: flex !important;
    visibility: visible !important;
}

.email .plan-header {
    text-align: center;
    margin-bottom: 2em;
}

.email .plan-name {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 1em;
    color: var(--text-color);
}

.email .plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5em;
    margin-bottom: 0.5em;
}

.email .price-amount {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary-color);
}

.email .price-currency {
    font-size: 1.2em;
    color: var(--primary-color);
}

.email .price-period {
    font-size: 1em;
    opacity: 0.7;
}

.email .plan-features {
    list-style: none;
    margin-bottom: 2em;
}

.email .plan-features li {
    display: flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.8em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.email .plan-features li:last-child {
    border-bottom: none;
}

.email .plan-features .feature-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8em;
    flex-shrink: 0;
}

.email .plan-button {
    width: 100%;
    padding: 1em 2em;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email .plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.email .why-us-section {
    z-index: -50;
}

.email .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5em;
    margin-top: 4em;
}

.email .feature-card {
    background: white;
    padding: 2.5em;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
}

.email .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.email .feature-card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: white;
    margin: 0 auto 1.5em;
}

.email .feature-card h3 {
    font-size: 1.4em;
    margin-bottom: 1em;
    color: var(--text-color);
}

.email .feature-card p {
    opacity: 0.7;
    line-height: 1.6;
}


/* Animation classes */
.email .animate-fade-in {
    transform: translateY(30px);
}

.email .animate-scale {
    transform: scale(0.9);
}


/* Responsive */
@media (max-width: 960px) {
    .email .hero-content,
    .email .container,
    .email .plans-grid
    {
        width: 95vw;
    }
    .email .plans-grid
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: unset;

        --item-width: 95vw;
        height: calc(100% - 20em);
    }
    .email .plans-section
    {
        min-height: 160vh;
    }
}
