:root {
    --primary-color: #c01dfc;
    --background-dark: #0d001a;
    --background-card: rgba(255, 255, 255, 0.05);
    --text-light: #f0f0f0;
    --text-bright: #ffffff;
    --border-color: rgba(255, 255, 255, 0.1);
    --inactive-color: rgba(255, 255, 255, 0.3);
    --font-sans: 'Inter', sans-serif;
    --font-headline: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    background-color: var(--background-dark);
    background-image: radial-gradient(circle at top, rgba(192, 29, 252, 0.15), transparent 40%);
    color: var(--text-light);
    cursor: default;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    z-index: 9999;
    opacity: 0.8;
}

header {
    background: rgba(13, 0, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    gap: 1.5rem; 
    align-items: center;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--text-bright);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 20px rgba(192, 29, 252, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(192, 29, 252, 0.5);
}

.secondary-button {
    background: transparent;
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s, color 0.3s;
}

.secondary-button:hover {
    background-color: var(--background-card);
    color: var(--text-bright);
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 90vh;
}

.hero-content {
    max-width: 50%;
}

.hero-title {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    max-width: 45%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-chart-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    overflow: visible;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-bright);
    line-height: 1.3;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ecosystem {
    padding: 5rem 2rem;
    position: relative;
}

.ecosystem-diagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.ecosystem-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    position: relative;
}

.connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.data-sources, .ad-platforms {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
}

.data-sources { justify-self: end; }
.ad-platforms { justify-self: start; }
.avantify-pixel { justify-self: center; }

.source-card, .platform-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, background-color 0.3s ease, opacity 0.5s ease;
}

.source-card:hover, .platform-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.source-card {
    width: 300px;
}

.source-card .icon {
    font-size: 1.5rem;
    color: var(--text-light);
}

.platform-card {
    width: 400px;
    position: relative;
}

.platform-card[data-status="inactive"] {
    opacity: 0.5;
}

.platform-card > img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    transition: filter 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.platform-card[data-status="inactive"] > img {
    filter: grayscale(100%);
    opacity: 0.5;
}

.platform-card[data-status="active"] > img {
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 0 15px var(--primary-color);
}

.platform-info h4 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-bright);
}

.platform-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.7;
}

.status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.status.active {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.status.inactive {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--inactive-color);
}

.avantify-pixel {
    text-align: center;
    z-index: 1;
}

.pixel-icon img {
    width: 120px;
    height: 120px;
    animation: pulse 2s infinite;
    border-radius: 20px;
}

.avantify-pixel p {
    font-weight: 600;
    font-family: var(--font-headline);
    font-size: 1.2rem;
    margin-top: 1rem;
    color: var(--text-bright);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(192, 29, 252, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(192, 29, 252, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(192, 29, 252, 0); }
}

.trusted-by {
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

.trusted-by h2 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.logo-scroller { white-space: nowrap; display: inline-block; }

.logo-track { display: inline-block; animation: scroll-logos 40s linear infinite; }

.logo-track img {
    height: 35px;
    margin: 0 40px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.brand_white {
    filter: brightness(0) invert(1);
}

.logo-track img:hover { opacity: 1; }

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

.data-gaps, .how-it-works, .comparison-section, .features, .about-us, .testimonials {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.gaps-grid, .feature-grid, .how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gap-card, .feature-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.gap-card:hover, .feature-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.1);
}

.gap-icon, .feature-icon {
    height: 50px;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    display: inline-block;
}

.gap-icon.apple-icon, .gap-card img[alt="Meta Icon"] { filter: invert(1); }

.gap-card h3, .feature-card h3 {
    font-family: var(--font-headline);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-bright);
}

.gap-card p, .feature-card p {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

.feature-card h3 { color: var(--primary-color); }

.how-it-works-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.how-it-works-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    width: 200px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.how-it-works-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.1);
}

.how-it-works-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    color: #fff;
}

.how-it-works-icon.yellow { background-color: #f1c40f; }
.how-it-works-icon.green { background-color: #2ecc71; }
.how-it-works-icon.black { background-color: #34495e; }
.how-it-works-icon.red { background-color: #e74c3c; }
.how-it-works-icon.blue { background-color: #3498db; }

.comparison-container {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.comparison-title {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: var(--font-headline);
    margin-bottom: 2rem;
    color: #000;
}

.comparison-title.before-title { background-color: #f1c40f; }
.comparison-title.after-title { background-color: #2ecc71; }

.flow-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flow-step, .broken-steps {
    text-align: center;
    color: var(--text-light);
}

.flow-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.flow-icon-img {
    height: 40px;
    margin-bottom: 0.5rem;
    filter: brightness(0) invert(1);
}

.arrow {
    font-size: 2rem;
    color: var(--border-color);
}

.arrow.broken { color: #e74c3c; border-style: dashed; }

.broken-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #e74c3c;
    align-items: center;
}

.broken-steps .flow-icon.small { font-size: 1.5rem; margin-bottom: 0.2rem; }

.about-us-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 12px;
}

.ceo-image img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; }

.ceo-quote blockquote {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-bright);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
}

.ceo-quote cite, .ceo-quote cite span { font-style: normal; color: var(--text-light); }

.ceo-quote cite strong { display: block; font-size: 1.1rem; }

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-dark);
    color: var(--text-light);
}

.testimonial-viewport {
    max-height: 800px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.testimonial-container { display: flex; gap: 1.5rem; width: max-content; padding: 0 1rem; }

.testimonial-column { display: flex; flex-direction: column; gap: 1.5rem; animation: scroll 40s linear infinite; }

.testimonial-column:nth-child(even) { animation-direction: reverse; animation-duration: 50s; }

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

.testimonial-card {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    width: 350px;
}

.testimonial-card p:first-child { font-style: italic; color: var(--text-light); margin-bottom: 1.5rem; }

.ratings { margin-bottom: 1.5rem; color: #FFD700; }

.customer { display: flex; align-items: center; gap: 1rem; }

.customer img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

.customer-info h4 { font-weight: 600; color: var(--text-bright); }

.customer-info p { font-size: 0.9rem; color: var(--text-light); opacity: 0.8; }


@media (max-width: 992px) {
    nav ul { display: none; }
    .hero { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-image { max-width: 60%; margin-top: 3rem; }
    .ecosystem-diagram { grid-template-columns: 1fr; gap: 2rem; }
    .data-sources, .ad-platforms, .avantify-pixel { justify-self: center; }
    .about-us-content { flex-direction: column; text-align: center; }
    .ceo-image img { width: 200px; height: 200px; margin-bottom: 2rem; }
    .ceo-quote blockquote { margin-left: -2rem; }
}

@media (max-width: 768px) {
    .gaps-grid, .how-it-works-grid {
        grid-template-columns: 1fr;
    }
    .flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }
    .arrow { transform: rotate(90deg); }
}