/* ==========================================================================
   HOME.CSS - Homepage Specific Styles (index.html)
   ========================================================================== */

/* Hero Section */
.hero {
    padding: 120px 0 48px;
    display: grid;
    gap: 24px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
}


/* Upload Box */
.upload-box {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    transition: background 0.25s, border-color 0.25s;
}
.upload-box.dragover {
    background-color: transparent; /* keep background clear */
    border-color: var(--accent);   /* accent highlight */
}
.upload-instructions {
    font-size: 16px;
    color: var(--muted);
}

.browse-link {
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.browse-link:hover {
    color: color-mix(in srgb, var(--accent) 80%, black);
}


/* Product/Feature Cards */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

/* Pricing Section */
.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    display: inline;
    margin-right: 6px;
}

.card.popular {
    border: 2px solid var(--accent);
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Logo Marquee */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 4vw;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.logo-track::after {
    content: "";
    display: flex;
    gap: 4vw;
}

.logo-track::after img {
    content: attr(src);
}

.logo-track img {
    height: clamp(60px, 8vw, 120px);
    margin: 0 2vw;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Reviews Section */
.reviews-section {
    padding: 60px 20px;
    text-align: center;
}

.reviews-section .section-title {
    font-size: 2em;
    margin-bottom: 40px;
    color: var(--text);
}

.reviews-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.review-card blockquote {
    font-style: italic;
    margin: 0 0 20px;
    color: var(--text);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: bold;
    margin: 0;
    color: var(--text);
}

.reviewer-title {
    margin: 0;
    font-size: 0.9em;
    color: var(--muted);
}

.review-stars {
    margin-bottom: 12px;
    text-align: left;
    font-size: 1.2em;
}

.review-stars .star {
    color: #ccc;
}

.review-stars .star.filled {
    color: #f5c518;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.faq-container {
    display: grid;
    gap: 20px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: brightness(0.95);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    margin: 15px 0;
    color: var(--text);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.arrow {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    color: var(--accent);
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

/* Legal Pages */
.legal {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
}

.legal h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.legal .card {
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.legal .meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 16px;
}

.legal h3 {
    margin-top: 24px;
    font-size: 1.25rem;
}

.legal p,
.legal li {
    line-height: 1.6;
}

.legal ul {
    padding-left: 1.1rem;
    margin: 10px 0;
}

.legal a {
    color: var(--accent);
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

/* Responsive - Hero */
@media (min-width: 800px) {
    .hero {
        grid-template-columns: 1fr 360px;
        align-items: center;
    }
}
