/* General Styling */
:root {
    --primary-dark-purple: #301934;
    --primary-light-purple: #5C33F6;
    --accent-coral: #FF6F61;
    --background-light-gray: #f5f7fa;
    --background-white: #fff;
    --text-gray: #666;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: var(--background-light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(to right, var(--primary-dark-purple), var(--primary-light-purple));
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    color: var(--background-white);
    font-size: 24px;
    font-weight: 800;
}

.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header .nav ul li {
    margin-left: 30px;
}

.header .nav ul li a {
    color: var(--background-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header .nav ul li a:hover {
    color: var(--accent-coral);
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    color: var(--background-white);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--primary-dark-purple), var(--primary-light-purple));
    padding: 100px 0 80px 0;
    text-align: center;
    color: var(--background-white);
    padding-top: calc(100px + 60px); /* Adjust for fixed header height */
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-in;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-area {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    margin-bottom: 30px;
}

.cta-area select,
.cta-area input[type="text"] {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    width: 200px; /* Specific width for dropdown */
    background-color: var(--background-white);
    color: #333;
}

.cta-area input[type="text"] {
    width: 300px; /* Specific width for input field */
}

.cta-area button {
    background-color: var(--accent-coral);
    color: var(--background-white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    min-height: 44px; /* Touch-friendly */
}

.cta-area button:hover {
    transform: scale(1.05);
    background-color: #e65e53; /* Slightly darker coral on hover */
}

.tag-output-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: none; /* Hidden by default */
}

#tag-output {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.tag-chip {
    background-color: var(--accent-coral);
    color: var(--background-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
}

#copy-all-tags-btn {
    background-color: var(--accent-coral);
    color: var(--background-white);
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    min-height: 44px; /* Touch-friendly */
    margin-top: 15px; /* Space between tags and button */
}

#copy-all-tags-btn:hover {
    transform: scale(1.05);
    background-color: #e65e53; /* Slightly darker coral on hover */
}

.hidden {
    display: none;
}

/* Features Section */
.features-section {
    background-color: var(--background-white);
    padding: 60px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--primary-dark-purple);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: var(--background-light-gray);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-dark-purple);
}

.feature-card p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(to right, var(--primary-light-purple), var(--primary-dark-purple));
    padding: 60px 0;
    text-align: center;
    color: var(--background-white);
}

.testimonials-title {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card .testimonial-name {
    font-size: 18px;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: var(--primary-dark-purple);
    color: var(--background-white);
    padding: 20px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-nav ul li a {
    color: var(--background-white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--accent-coral);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .nav {
        display: none; /* Hide desktop nav */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Below header */
        left: 0;
        background: linear-gradient(to right, var(--primary-dark-purple), var(--primary-light-purple));
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .header .nav.active {
        display: flex; /* Show when active */
    }

    .header .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .header .nav ul li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-area {
        flex-direction: column;
        align-items: center;
    }

    .cta-area select,
    .cta-area input[type="text"],
    .cta-area button {
        width: 100%;
        max-width: 350px; /* Limit max width for a better mobile look */
    }

    .section-title {
        font-size: 30px;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }

    .feature-card,
    .testimonial-card {
        padding: 25px;
    }
}