/* 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;
    }
}

    /* Custom */     
    
    /* Tag Chip */
    .tag-chip {
      display: inline-block;
      background-color: #eee;
      color: #333;
      border-radius: 20px;
      padding: 5px 12px;
      margin: 4px 4px;
      font-size: 14px;
      transition: background-color 0.3s;
    }

    .tag-chip:hover {
      background-color: #dcdcdc;
    }

    /* Body Content Section */
    .body-content-section {
      background-color: var(--background-white);
      padding: 60px 0;
    }

    .body-content-section .body-content {
      font-size: 16px;
      color: var(--text-gray);
      line-height: 1.7;
    }

    .body-content-section h3 {
      font-size: 22px;
      color: var(--primary-dark-purple);
      margin-top: 25px;
    }

    /* Fix Hero Section on Mobile */
    @media (max-width: 480px) {

      html,
      body {
        overflow-x: hidden;
        /* Prevents horizontal scroll */
      }

      .cta-area {
        flex-direction: column;
        align-items: stretch;
        padding: 0 10px;
      }

      .cta-area input[type="text"],
      .cta-area button {
        width: 100% !important;
        max-width: none;
        margin: 5px 0;
      }
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--accent-coral);
      color: white;
      padding: 12px 20px;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 2000;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 3000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-content {
      background-color: var(--background-white);
      margin: 15% auto;
      padding: 20px;
      border-radius: 10px;
      max-width: 500px;
      text-align: center;
    }

    /* Mobile view adjustments for hero section form */
    @media (max-width: 768px) {
      .hero-section form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 5%;
        box-sizing: border-box;
      }

      .hero-section input[type="text"] {
        width: 90%;
        max-width: 500px;
        margin: 0 auto 10px auto;
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ccc;
        box-sizing: border-box;
      }

      .hero-section button {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
        box-sizing: border-box;
        cursor: pointer;
      }
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: var(--accent-coral);
      color: white;
      padding: 12px 20px;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 2000;
    }

    .toast.show {
      opacity: 1;
      transform: translateY(0);
    }

    /* Modal */
    .modal {
      display: none;
      position: fixed;
      z-index: 3000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.5);
    }

    .modal-content {
      background-color: var(--background-white);
      margin: 15% auto;
      padding: 20px;
      border-radius: 10px;
      max-width: 500px;
      text-align: center;
    }
    
    /* Toast Container */
    #toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
        
    }
    
    /* Mobile: center the toast */
    @media (max-width: 768px) {
    #toast-container {
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
        }
    }
    
    /* Toast Styles */
    .toast {
    background-color: #4b0082; /* Dark purple theme */
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease, fadeOut 0.3s ease 2.7s;
    opacity: 0;
    }
    
    @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(20px); }
    }
    
    
    /* FAQ Section */
.faq-section {
  background-color: var(--background-white);
  padding: 60px 0;
}
.faq-item {
  margin-bottom: 25px;
  background-color: var(--background-light-gray);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item h3 {
  color: var(--primary-dark-purple);
  margin-bottom: 10px;
}
.faq-item p {
  color: var(--text-gray);
  margin: 0;
}

/* Info Section */
.info-section {
  background-color: var(--background-white);
  padding: 60px 0;
  color: var(--text-gray);
}
.info-section ul {
  list-style-type: disc;
  padding-left: 20px;
}
.info-section li {
  margin: 8px 0;
}


/* Go to Top Button */ #goTopBtn { position: fixed; bottom: 80px; /* above modals */ right: 30px; width: 55px; height: 55px; background-color: #5c2ea5; /* deep purple */ border-radius: 50%; cursor: pointer; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999; opacity: 0; pointer-events: none; transition: all 0.3s ease; } #goTopBtn.show { opacity: 1; pointer-events: auto; } /* Arrow inside button */ #goTopBtn .arrow { color: #fff; font-size: 20px; position: absolute; } /* Progress Circle */ #goTopBtn svg { width: 48px; height: 48px; transform: rotate(-90deg); position: absolute; top: 3.5px; left: 3.5px; } #goTopBtn svg path { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 4; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.3s linear; }