/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary: #000000;
    --primary-dark: #333333;
    --secondary: #000000;
    --light: #f5f7fa;
    --dark: #000;
    --gray: #a0aec0;
    --white: #ffffff;
    --success: #48bb78;
    --bg-dark: #0e0e0e;
    --card-bg-dark: #1a1a1a;
    --border-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility to toggle tabs */
.hidden {
    display: none !important;
}

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero {
    padding: 6rem 0 6rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 300;
    color: var(--white);
    margin-top: 60px;
}

.hero-text {
    font-size: 1.3rem;
    color: var(--white);
    max-width: 700px;
    margin: auto;
    margin-top: 100px;
}

.hero-btns {
    display: flex;
    margin-top: 4rem;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-btn-white {
    background-color: var(--white);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.cta-btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    margin: auto;
    color: var(--white);
}

.hero-dash {
    margin-top: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2px;
    background: linear-gradient(145deg, #5f5f60 0%, #000000 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(180, 182, 195, 0.25);
}

.hero-dash img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

/* =========================================
   3. FEATURES SECTION
   ========================================= */
.features {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 5rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgb(220, 220, 220);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(118, 117, 139, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: #554f4f;
    font-size: 1.1rem;
}

/* =========================================
   4. COMPARATIVE SECTION
   ========================================= */
.comparative-section {
    padding: 6rem 2rem;
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.comparative-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

.comparative-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: left;
}

.comparative-card {
    flex: 1;
    min-width: 300px;
    border-radius: 16px;
    padding: 2rem;
}

.comparative-card.others {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-dark);
}

.comparative-card.inflowz {
    background: #101010;
    border: 1px solid #2f2f2f;
    box-shadow: 0 0 10px rgba(134, 137, 135, 0.3);
}

.comparative-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.comparative-card.others h3 { color: #ccc; }

.comparative-card ul {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.comparative-card.others ul { color: #ccc; }
.comparative-card.inflowz ul { color: #eee; }

/* =========================================
   5. PLATFORMS SECTION
   ========================================= */
.platforms {
    padding: 6rem 0;
    background-color: var(--light);
}

.platforms-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platforms-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.platform-tab {
    padding: 0.8rem 1.5rem;
    background-color: var(--white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.platform-tab.active {
    background-color: var(--primary);
    color: var(--white);
}

.platform-tab:hover:not(.active) {
    background-color: rgba(135, 134, 143, 0.1);
}

.platform-content-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.platform-image {
    flex: 1;
}

.platform-image-brand,
.platform-image-influencer {
    width: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-image-brand img,
.platform-image-influencer img {
    width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
    display: block;
}

.platform-image-influencer img {
    max-width: 360px;
}

.platform-image-brand img {
    background: linear-gradient(145deg, #ffffff 0%, #000000 100%);
    box-shadow: 0 20px 60px rgba(79, 79, 80, 0.25);
}

.platform-text {
    flex: 1;
}

.platform-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.platform-features-list {
    list-style-type: none;
    margin-top: 20px;
}

.platform-features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    color: var(--success);
    font-weight: bold;
    margin-top: 5px;
}

/* =========================================
   6. TESTIMONIALS SECTION
   ========================================= */
.testimonials {
    background: var(--bg-dark);
    color: var(--white);
    padding: 6rem 1rem;
    overflow: hidden;
}

.testimonials-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials-header h2 {
    font-size: 2rem;
    font-weight: 600;
}

.testimonials-header p {
    color: var(--gray);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.carousel {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 3rem;
    position: relative;
}

/* Side fades */
.carousel::before, .carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.carousel::before { left: 0; background: linear-gradient(to right, var(--bg-dark), transparent); }
.carousel::after { right: 0; background: linear-gradient(to left, var(--bg-dark), transparent); }

.track {
    display: inline-flex;
    gap: 2rem;
    animation-duration: 25s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.carousel.left .track { animation-name: scroll-left; }
.carousel.right .track { animation-name: scroll-right; }

@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.card {
    flex: 0 0 320px;
    background: var(--card-bg-dark);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.05);
    white-space: normal;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.author strong { font-size: 1rem; }
.author small { color: var(--gray); font-size: 0.85rem; }

/* =========================================
   7. CTA & FAQ SECTION
   ========================================= */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title { font-size: 2rem; margin-bottom: 1.5rem; }
.cta-text { margin-top: 3rem; margin-bottom: 3rem; font-size: 1.2rem; }

/* FAQ Styles */
.faq-section {
    padding: 6rem 2rem;
    background-color: #000;
    color: white;
}

.faq-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

.faq-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.faq-item {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
    margin-top: 32px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
}

.faq-answer {
    padding: 0 1rem 1rem;
    display: none;
    font-size: 0.95rem;
    color: #cccccc;
}

.faq-item.open .faq-answer { display: block; }

.faq-icon {
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

/* =========================================
   8. FOOTER
   ========================================= */
.footer-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    list-style-type: none;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0 10px;
}

.footer-links a:hover {
    color: var(--white);
}

/* =========================================
   9. RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
        margin-top: -60px;
    }

    .platform-content-item {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-image img { margin-top: 100px; }
    
    .hero-content h1 {
        text-align: center;
        font-size: 2.25rem;
    }
    
    .hero-text { margin: 0 auto 2rem; padding-top:3em}
    .hero-btns { justify-content: center; }
    .hero h1 { font-size: 1.8rem; }
    .section-title h2 { font-size: 2rem; }
    .platform-text { text-align: center; }
    .platform-features-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (min-width: 769px) {
    .carousel {
        display: flex;
        justify-content: center;
    }
    .track {
        animation: none;
        transition: none;
    }
}
