* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0a0a14;
    color: #fff;
    overflow-x: hidden;
}

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

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo span {
    color: #3498db;
    font-size: 24px;
    font-weight: bold;
    margin-left: 5px;
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.4s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 50%;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    font-size: 18px;
    text-align: center;
}

.btn-primary {
    background-color: #1e1e2e;
    color: #fff;
    border: 1px solid #3e3e4e;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #3e3e4e;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* App mockup */
.app-mockup {
    position: relative;
    width: 50%;
    z-index: 2;
    height: 500px;
}

.scene {
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.scene-over {
    z-index: 10; /* Increased z-index to ensure it's above the phone-main */
}

.pix-scene-particle {
    position: absolute;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
}

.pix-scene-elm-res {
    position: relative;
    width: 100%;
    height: 100%;
}

.pix-scene-elm {
    position: absolute;
    z-index: 5; /* Added z-index to ensure elements appear above phone-main */
}

/* Animation Classes */
.pix-bounce-sm {
    animation: bounce-sm 3s infinite;
}

.pix-bounce-md {
    animation: bounce-md 4s infinite;
}

.pix-bounce-lg {
    animation: bounce-lg 5s infinite;
}

.pix-rotating {
    animation: rotating 8s linear infinite;
}

.pix-duration-fast {
    animation-duration: 3s;
}

.pix-duration-md {
    animation-duration: 5s;
}

/* Animation Keyframes */
@keyframes bounce-sm {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes bounce-md {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce-lg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.phone {
    width: 280px;
    margin-left: auto;
    position: relative;
    z-index: 3;
    animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) translateY(-15px); }
}

.chart-phone {
    position: absolute;
    width: 260px;
    right: 30px;
    top: 50px;
    transform: perspective(1000px) rotateY(-25deg) rotateX(5deg);
    z-index: 2;
    animation: chart-phone-float 7s ease-in-out infinite;
}

@keyframes chart-phone-float {
    0%, 100% { transform: perspective(1000px) rotateY(-25deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-22deg) rotateX(3deg) translateY(-20px); }
}

/* Cookie notice */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 30, 46, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 600px;
    z-index: 1000;
}

.cookie-text {
    font-size: 14px;
    margin-right: 15px;
}

.cookie-text a {
    color: #3498db;
    text-decoration: none;
}

.close-cookie {
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: 25px;
    height: 25px;
    position: relative;
}

.close-cookie:before, .close-cookie:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: white;
    top: 50%;
    left: 50%;
}

.close-cookie:before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-cookie:after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .app-mockup {
        transform: scale(0.9);
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #0a0a14;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 10;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        padding: 10px;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 0;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .app-mockup {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
        height: 400px;
    }

    .phone {
        position: relative;
        width: 220px;
        left: auto;
        margin-left: 0;
        animation: phone-float-mobile 6s ease-in-out infinite;
    }

    @keyframes phone-float-mobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-15px); }
    }

    .chart-phone {
        position: absolute;
        width: 200px;
        right: auto;
        left: 50%;
        margin-left: -100px;
        top: 30px;
        z-index: 1;
        animation: chart-phone-float-mobile 7s ease-in-out infinite;
    }

    @keyframes chart-phone-float-mobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }
}

@media screen and (max-width: 480px) {


    .hero h1 {
        font-size: 36px;
    }

    .app-mockup {
        height: 350px;
    }

    .phone {
        width: 180px;
    }

    .chart-phone {
        width: 160px;
        margin-left: -80px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .cookie-notice {
        flex-direction: column;
        padding: 15px;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
}


.phone-main {
    width: 520px; /* Increased width from 280px to 320px */
    position: relative;
    z-index: 1; /* Lower z-index so animation elements can appear above */
    margin: 0 auto; /* Center horizontally */
    /* No animation class applied */
}

/* Adjust the app-mockup container for proper centering */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Position the scene to overlay the centered phone */
.scene {
    z-index: 10; /* Increased z-index to ensure it's above the phone-main */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* For medium-sized screens */
@media screen and (max-width: 1024px) {
    .phone-main {
        width: 280px;
    }
}

/* For tablet-sized screens */
@media screen and (max-width: 768px) {
    .phone-main {
        width: 300px;
    }
}

/* For mobile screens */
@media screen and (max-width: 480px) {
    .phone-main {
        width: 400px;
    }
}

/* For small mobile screens */
@media screen and (max-width: 375px) {
    .phone-main {
        width: 400px;
    }
}
/* Additional styles for the tracker section */
.tracker {
    background-color: #0a0a14;
    background-image: radial-gradient(circle at 70% 50%, #1a0a20 0%, #0a0a14 70%);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

/* Animation for pulsing effect */
@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 0.8; transform: scale(1.2); }
    100% { opacity: 0.6; transform: scale(1); }
}

/* Animation for rotation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .tracker-content {
        flex-direction: column-reverse;
    }

    .phone-display, .features-list {
        width: 100% !important;
        text-align: center;
    }

    .phone-display {
        margin-top: 60px;
        margin-bottom: 0;
    }

    .phone-display img {
        margin: 0 auto;
        display: block;
    }

    .feature-item {
        flex-direction: column;
        align-items: center !important;
        text-align: center;
    }

    .feature-icon {
        margin: 0 0 15px 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .counters-row {
        flex-direction: column;
    }

    .counter-item {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px !important;
    }

    .section-description {
        font-size: 16px !important;
    }
}

/* Animation for slide-in text */
.slide-in {
    display: inline-block;
    animation: slideIn 0.8s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in:nth-child(2) {
    animation-delay: 0.2s;
}

/* News Publishers Section Styles */
.news-publishers .clients {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.news-publishers .client img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.news-publishers .client img:hover {
    filter: grayscale(0%) brightness(1.2);
    opacity: 1;
}

/* Animation for the fade-in-up effect */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated[data-anim-type="fade-in-up"] {
    animation: fade-in-up 0.6s ease forwards;
}

/* Apply different animation delays */
.animated[data-anim-delay="0"] {
    animation-delay: 0s;
}
.animated[data-anim-delay="200"] {
    animation-delay: 0.2s;
}
.animated[data-anim-delay="400"] {
    animation-delay: 0.4s;
}
.animated[data-anim-delay="600"] {
    animation-delay: 0.6s;
}
.animated[data-anim-delay="800"] {
    animation-delay: 0.8s;
}


.testimonial-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-header h3 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.testimonial-header p {
    font-size: 18px;
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* Testimonial Carousel */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.user-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
}

.user-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.stars {
    text-align: center;
    margin-bottom: 15px;
    background-color: rgba(255, 200, 0, 0.1);
    border-radius: 8px;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
}

.stars img {
    width: 20px;
    height: 20px;
    margin: 0 3px;
}

.stars-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.user-name {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

/* Dots Navigation */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #fff;
}
