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

body {
    font-family: 'Georgia', serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 50%, #2d1b4e 100%);
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.fog {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to top, rgba(138, 87, 184, 0.4), transparent);
    animation: fogMove 15s infinite ease-in-out;
    transition: opacity 2s ease;
}

@keyframes fogMove {

    0%,
    100% {
        transform: translateX(-15%);
    }

    50% {
        transform: translateX(15%);
    }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b00;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
    letter-spacing: 2px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s, transform 0.3s;
    font-size: 1rem;
    letter-spacing: 1px;
}

nav a:hover {
    color: #ff6b00;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    transition: transform 0.5s, opacity 0.5s;
}

.pumpkin {
    font-size: 8rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.8));
    transition: transform 0.3s;
}

.pumpkin:hover {
    transform: scale(1.1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b00, #ffa500, #ff6b00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.3);
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.tagline {
    font-size: 1.5rem;
    color: #bbb;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.cta-button {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.5);
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
}

.features {
    padding: 6rem 5%;
    background: rgba(26, 10, 46, 0.5);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #ff6b00;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
    animation: fadeIn 1.5s ease-in;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(45, 27, 78, 0.6);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    transition: all 0.5s;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 107, 0, 0.5);
    box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffa500;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1.1rem;
}

.experience {
    padding: 6rem 5%;
    text-align: center;
}

.experience-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.experience-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 1.5rem;
    animation: fadeIn 2s ease-in;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.stat {
    text-align: center;
    transition: transform 0.3s;
}

.stat:hover {
    transform: scale(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ff6b00;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.stat-label {
    font-size: 1.1rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonials {
    padding: 6rem 5%;
    background: rgba(26, 10, 46, 0.5);
}

.testimonial-card {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 2.5rem;
    background: rgba(45, 27, 78, 0.6);
    border-radius: 20px;
    border-left: 4px solid #ff6b00;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.5s;
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #ddd;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    color: #ffa500;
    font-weight: bold;
    font-size: 1.1rem;
}

.final-cta {
    padding: 8rem 5%;
    text-align: center;
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: #ff6b00;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.final-cta p {
    font-size: 1.4rem;
    color: #ddd;
    margin-bottom: 3rem;
}

.ghost-trail {
    position: fixed;
    font-size: 24px;
    pointer-events: none;
    z-index: 9999;
    animation: ghostFloat 3s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
}

@keyframes ghostFloat {
    0% {
        opacity: 0.7;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translateY(-30px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) scale(0.8);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal-open {
    opacity: 1;
}

.modal-content {
    background: rgba(45, 27, 78, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #ff6b00;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
}

.modal-open .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: #ff6b00;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-button:hover {
    transform: rotate(90deg);
}

.modal h2 {
    color: #ff6b00;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.modal p {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal input {
    padding: 0.8rem;
    border: 1px solid #ff6b00;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.modal input:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.modal-submit {
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.modal-submit:hover {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.4);
}

footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    background: rgba(10, 10, 10, 0.8);
}

footer p {
    color: #888;
    font-size: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .pumpkin {
        font-size: 5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    nav a {
        margin-left: 1rem;
        font-size: 0.9rem;
    }

    .stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .modal-content {
        padding: 1.5rem;
    }
}