/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --christmas-red-dark: hsl(0, 100%, 27%);
    --christmas-red-bright: hsl(355, 75%, 45%);
    --christmas-gold-rich: hsl(43, 85%, 55%);
    --christmas-gold-bright: hsl(51, 100%, 50%);
    --christmas-cream: hsl(42, 15%, 97%);
    --christmas-green: hsl(142, 71%, 45%);
    --background: hsl(42, 15%, 97%);
    --foreground: hsl(0, 0%, 12%);
    --muted-foreground: hsl(0, 0%, 40%);
}

body {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, var(--background), var(--christmas-cream));
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Snowflakes */
#snowflakes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.snowflake {
    position: absolute;
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.2;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Countdown Timer */
.countdown-timer {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(to right, var(--christmas-red-dark), var(--christmas-red-bright), var(--christmas-red-dark));
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.countdown-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.clock-icon {
    animation: pulse 2s ease-in-out infinite;
}

.countdown-text {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.countdown-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    min-width: 3rem;
    text-align: center;
}

.countdown-box span {
    font-size: 1.875rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .countdown-text {
        font-size: 1rem;
    }
    .countdown-box span {
        font-size: 1.5rem;
    }
}

/* Side Navigation */
.side-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid hsla(43, 85%, 55%, 0.3);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

.nav-btn {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--christmas-red-dark);
}

.nav-btn.active {
    background: var(--christmas-red-bright);
    color: white;
}

.nav-btn:hover {
    background: hsla(355, 75%, 45%, 0.1);
}

.nav-btn.active:hover {
    background: var(--christmas-red-bright);
}

.nav-label {
    position: absolute;
    right: 100%;
    margin-right: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--christmas-red-dark);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover .nav-label {
    opacity: 1;
}

/* Container */
.container, .hero-container, .benefits-container, .recipes-container, .pricing-container, .contact-container, .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, hsla(355, 75%, 45%, 0.05), transparent);
    pointer-events: none;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 6rem 0;
    }
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--christmas-red-dark);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-headline {
        font-size: 3.75rem;
    }
}

.highlight-text {
    color: var(--christmas-red-bright);
    display: inline-block;
    animation: pulse-scale 2s ease-in-out infinite;
}

@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--christmas-red-bright);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .hero-subheadline {
        font-size: 1.875rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(30, 30, 30, 0.8);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.5rem;
    }
}

.badge-text {
    color: var(--christmas-gold-rich);
    font-weight: 600;
    background: hsla(43, 85%, 55%, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-badges {
        justify-content: flex-start;
    }
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--christmas-cream);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid hsla(43, 85%, 55%, 0.3);
    font-weight: 600;
    font-size: 0.875rem;
}

.badge svg {
    flex-shrink: 0;
}

.badge:nth-child(1) svg { stroke: var(--christmas-green); }
.badge:nth-child(2) svg { stroke: var(--christmas-gold-rich); }
.badge:nth-child(3) svg { stroke: var(--christmas-red-bright); }

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--christmas-red-bright);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--christmas-red-dark);
    cursor: pointer;
    transition: transform 0.2s ease;
    animation: pulse-subtle 2s ease-in-out infinite;
}

@media (min-width: 768px) {
    .cta-button {
        font-size: 1.25rem;
    }
}

.cta-button:hover {
    transform: scale(1.05);
}

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

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.hero-image {
    display: flex;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-image {
        justify-content: flex-end;
    }
}

.ebook-img {
    width: 100%;
    max-width: 28rem;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
    .ebook-img {
        max-width: 32rem;
    }
}

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

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .benefits-section {
        padding: 6rem 0;
    }
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--christmas-gold-bright), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--christmas-red-dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title.white {
    color: white;
}

.title-underline {
    width: 6rem;
    height: 4px;
    background: var(--christmas-gold-rich);
    margin: 0 auto;
}

.title-underline.gold {
    background: var(--christmas-gold-bright);
}

.benefits-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(to right, white, var(--christmas-cream));
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid hsla(43, 85%, 55%, 0.2);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.check-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--christmas-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .benefit-item p {
        font-size: 1.125rem;
    }
}

/* Recipes Section */
.recipes-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--christmas-red-dark), #4a0000);
    color: white;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .recipes-section {
        padding: 6rem 0;
    }
}

.recipes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l4 8 8 4-8 4-4 8-4-8-8-4 8-4z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.recipes-container {
    position: relative;
    z-index: 10;
}

.sparkle-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sparkle-title svg {
    stroke: var(--christmas-gold-bright);
}

.recipes-description {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--christmas-gold-bright);
    max-width: 48rem;
    margin: 1.5rem auto 0;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .recipes-description {
        font-size: 1.5rem;
    }
}

.highlight-red {
    color: white;
    background: var(--christmas-red-bright);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    animation: pulse-subtle 2s ease-in-out infinite;
}

.underline-wavy {
    color: white;
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--christmas-gold-bright);
}

.highlight-green {
    color: white;
    background: var(--christmas-green);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 900;
}

.recipes-carousel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .recipes-carousel {
        padding: 3rem;
    }
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .recipes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.recipe-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.recipe-card:hover {
    transform: scale(1.05) rotate(1deg);
}

.recipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover img {
    transform: scale(1.1);
}

.recipe-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.recipe-card:hover .recipe-overlay {
    opacity: 1;
}

.recipe-overlay p {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .recipe-overlay p {
        font-size: 1rem;
    }
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carousel-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--christmas-gold-bright);
    width: 2rem;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Pricing Section */
.pricing-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--background), white);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .pricing-section {
        padding: 6rem 0;
    }
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-subtitle {
        font-size: 1.25rem;
    }
}

.profit-highlight {
    color: var(--christmas-green);
    font-weight: 900;
    font-size: 1.5rem;
}

.urgency-badge {
    display: inline-block;
    background: var(--christmas-red-bright);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    margin-top: 1.5rem;
    animation: pulse-subtle 2s ease-in-out infinite;
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.price-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid;
}

.price-card.master {
    border-color: var(--christmas-gold-rich);
}

.price-card.essential {
    border-color: hsl(0, 0%, 88%);
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card > div {
    padding: 2rem;
}

.package-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--christmas-red-dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .package-title {
        font-size: 1.875rem;
    }
}

.package-subtitle {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.price-box {
    margin-bottom: 1.5rem;
}

.old-price {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-main {
    font-size: 3rem;
    font-weight: 900;
    color: var(--christmas-red-bright);
}

.price-cents {
    font-size: 1.5rem;
    color: var(--muted-foreground);
}

.delivery-info {
    font-size: 0.875rem;
    color: var(--christmas-green);
    font-weight: 600;
    margin-top: 0.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.features-list li.included span {
    color: var(--foreground);
}

.features-list li.excluded span {
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.check-icon-sm {
    flex-shrink: 0;
    stroke: var(--christmas-green);
}

.x-icon-sm {
    flex-shrink: 0;
    stroke: hsl(0, 72%, 51%);
}

.buy-button {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.master-btn {
    background: var(--christmas-red-bright);
    color: white;
    border-color: var(--christmas-red-dark);
    animation: pulse-subtle 2s ease-in-out infinite;
}

.essential-btn {
    background: var(--christmas-gold-rich);
    color: var(--foreground);
    border-color: var(--christmas-gold-bright);
}

.buy-button:hover {
    transform: scale(1.02);
}

.buy-button:active {
    transform: scale(0.98);
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--christmas-red-dark), #4a0000);
    color: white;
}

.contact-container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.mail-icon-large {
    margin: 0 auto 1rem;
    stroke: var(--christmas-gold-bright);
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 2.25rem;
    }
}

.contact-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact-description {
        font-size: 1.25rem;
    }
}

.email-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--christmas-gold-bright);
    text-decoration: none;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .email-link {
        font-size: 1.875rem;
    }
}

.email-link:hover {
    color: hsla(51, 100%, 50%, 0.8);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: #2a0000;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    font-size: 0.875rem;
}

.footer-container p {
    margin: 0.5rem 0;
}

.footer-email a {
    color: var(--christmas-gold-bright);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: hsla(51, 100%, 50%, 0.8);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
