/* ========================================================================= */
/* MyEcomBox Styles - Organized */
/* ========================================================================= */

/* Define local Montserrat font */
@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/montserrat-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/montserrat-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/montserrat-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/montserrat-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================================================= */
/* Global Styles */
/* ========================================================================= */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    z-index: 0;
}

/* ========================================================================= */
/* Hero Section */
/* ========================================================================= */
.hero {
    background-color: transparent;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 0px;
    margin-top: 30px;
}

.hero.price-hero {
    padding: 30px 0 15px 0;
    margin-bottom: 0;
}

.hero.price-hero + * {
    padding-top: 10px;
    margin-top: 0;
}

.hero .container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero h1 {
    font-size: calc(2rem * 1.8);
    font-weight: 600;
    margin-bottom: 0px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: calc(1rem * 1.2);
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================================================= */
/* Buttons */
/* ========================================================================= */
.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.cta-buttons a {
    padding: 12px 25px;
    font-size: calc(1rem * 1);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #6b48ff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #7c5aff;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================================= */
/* Start for Free Section */
/* ========================================================================= */
.start-for-free {
    background: linear-gradient(135deg, #5238c8, #5b3ce2);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.start-for-free::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 10%, transparent 50%);
    opacity: 0.3;
    transform: rotate(45deg);
}

.start-for-free .container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.start-for-free h2 {
    font-size: calc(2.5rem * 1.1);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: white;
}

.start-for-free p {
    font-size: calc(1rem * 1.1);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
}

.start-for-free a {
    background-color: #6b48ff;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: calc(1rem * 1.1);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(107, 72, 255, 0.5);
}

.start-for-free a:hover {
    box-shadow: 0 0 20px rgba(107, 72, 255, 0.8);
}

/* ========================================================================= */
/* Contact Us Section */
/* ========================================================================= */
.contact-us {
    padding: 20px;
    background: transparent;
    text-align: center;
    border-radius: 8px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.contact-us h2 {
    font-size: calc(2rem * 1.1);
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(205, 205, 205, 0.6);
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
}

.contact-us p {
    font-size: calc(1rem * 1.1);
    color: #ffffff;
    margin-bottom: 20px;
    font-family: '®', sans-serif;
    max-width: 600px;
}

.contact-us form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.contact-us input,
.contact-us textarea {
    padding: 8px;
    font-size: calc(1rem * 1.1);
    border: 1px solid #cccccc79;
    border-radius: 4px;
    width: 100%;
    max-width: 450px;
    background-color: #1a1a2e;
    color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.contact-us input:focus,
.contact-us textarea:focus {
    border-color: #6b48ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(107, 72, 255, 0.2);
}

.contact-us button {
    background-color: #6b48ff;
    color: #fff;
    padding: 8px;
    font-size: calc(0.9rem * 1.1);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
}

.contact-us button:hover {
    background-color: #7c5aff;
}

/* Contact Us Feedback Messages */
.contact-us .success-message,
.contact-us .error-message {
    padding: 10px;
    border-radius: 4px;
    font-size: calc(0.9rem * 1.1);
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.contact-us .success-message {
    background-color: rgba(107, 72, 255, 0.2);
    color: #6b48ff;
    border: 1px solid #6b48ff;
}

.contact-us .error-message {
    background-color: rgba(255, 99, 71, 0.2);
    color: #ff6347;
    border: 1px solid #ff6347;
}

/* Fade-in animation for messages */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================================================= */
/* AOS Enhancements */
/* ========================================================================= */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.3s;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Fallback for no AOS or JavaScript disabled */
@media (prefers-reduced-motion: reduce), (scripting: none) {
    [data-aos] {
        opacity: 1;
        transform: none !important;
    }
}

/* ========================================================================= */
/* Media Queries */
/* ========================================================================= */

/* Desktop (769px and above) */
@media (min-width: 769px) {
}

/* Tablet and Mobile (768px and below) */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .hero {
        padding-top: 100px;
        padding: 20px 15px;
        margin-bottom: 0px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .cta-buttons a {
        font-size: 1rem;
        min-width: 120px;
        padding: 10px 20px;
    }

    .start-for-free h2 {
        font-size: 2rem;
    }

    .start-for-free p {
        font-size: 1rem;
    }

    .start-for-free,
    .contact-us {
        padding: 80px 15px;
    }

    .section-separator {
        width: 90%;
        max-width: 1200px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
        margin: 60px auto;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border: none;
        position: relative;
        opacity: 0;
        transition: opacity 0.8s ease;
    }

    .contact-us p,
    .contact-us input,
    .contact-us textarea {
        font-size: 1.1rem;
    }

    .contact-us {
        padding: 40px 15px;
        max-width: 100%;
    }

    .contact-us form {
        max-width: 90%;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .start-for-free h2 {
        font-size: 1.8rem;
    }

    .start-for-free p {
        font-size: 0.9rem;
    }

    .contact-us p,
    .contact-us input,
    .contact-us textarea {
        font-size: 0.95rem;
    }

    .contact-us {
        padding: 30px 10px;
    }

    .contact-us form {
        max-width: 98%;
    }
}