/* Reset and base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background: color(display-p3 0.95 0.97 1);
    color: color(display-p3 0.2 0.2 0.3);
    line-height: 1.6;
}

.wortdetektiv-promo {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero section */
.wortdetektiv-promo__hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    overflow: hidden;
    position: relative;
}

.wortdetektiv-promo__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 2rem;
}

.wortdetektiv-promo__content {
    flex: 1;
    max-width: 600px;
}

.wortdetektiv-promo__titlecontent {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.wortdetektiv-promo__logo {
    width: 80px;
}

.wortdetektiv-promo__title {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.wortdetektiv-promo__page-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

.wortdetektiv-promo__subtitle {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: color(display-p3 0.1 0.1 0.2);
    line-height: 1.2;
}

.wortdetektiv-promo__description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: color(display-p3 0.3 0.3 0.4);
    line-height: 1.6;
}

.wortdetektiv-promo__cta-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.wortdetektiv-promo__app-store-link {
    display: inline-block;
    transition: transform 0.2s ease;
}

.wortdetektiv-promo__app-store-badge {
    width: 160px;
    height: auto;
}

.wortdetektiv-promo__app-store-link:hover {
    transform: scale(1.05);
}

.wortdetektiv-promo__rating {
    font-size: 0.9rem;
    color: color(display-p3 0.3 0.3 0.4);
    margin: 0;
}

.wortdetektiv-promo__hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wortdetektiv-promo__ipad-container {
    position: relative;
    width: 90%;
    animation: wortdetektiv-promo-float 6s ease-in-out infinite;
}

.wortdetektiv-promo__ipad-screen-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5%;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 2.5%;
}

.wortdetektiv-promo__app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1%;
}

.wortdetektiv-promo__ipad-frame {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 2;
}

/* Features section */
.wortdetektiv-promo__features {
    padding: 6rem 2rem;
    background: color(display-p3 0.98 0.98 1);
}

.wortdetektiv-promo__features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: color(display-p3 0.1 0.1 0.2);
}

.wortdetektiv-promo__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wortdetektiv-promo__feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.wortdetektiv-promo__feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.wortdetektiv-promo__feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: color(display-p3 0.1 0.1 0.2);
}

.wortdetektiv-promo__feature p {
    color: color(display-p3 0.3 0.3 0.4);
    line-height: 1.6;
}

/* Testimonials section */
.wortdetektiv-promo__testimonials {
    padding: 6rem 2rem;
    background: white;
}

.wortdetektiv-promo__testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: color(display-p3 0.1 0.1 0.2);
}

.wortdetektiv-promo__testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.wortdetektiv-promo__testimonial {
    text-align: center;
    padding: 2rem;
    background: color(display-p3 0.98 0.98 1);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wortdetektiv-promo__testimonial p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: color(display-p3 0.2 0.2 0.3);
}

.wortdetektiv-promo__testimonial cite {
    font-size: 0.9rem;
    color: color(display-p3 0.4 0.4 0.6);
}

/* CTA section */
.wortdetektiv-promo__cta {
    padding: 6rem 2rem;
    background: color(display-p3 0.95 0.97 1);
    text-align: center;
}

.wortdetektiv-promo__cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: color(display-p3 0.1 0.1 0.2);
}

.wortdetektiv-promo__cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: color(display-p3 0.3 0.3 0.4);
}

/* Background animation */
.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: color(display-p3 0.95 0.97 1);
    overflow: hidden;
    z-index: -1;
}

.ball {
    position: absolute;
    width: 50vmin;
    height: 50vmin;
    border-radius: 50%;
    backface-visibility: hidden;
    animation: move linear infinite;
    opacity: 0.1;
}

.ball:nth-child(odd) {
    color: blue;
    opacity: 0.1;
}

.ball:nth-child(even) {
    color: purple;
    opacity: 0.3;
}

/* Using a custom attribute for variability */
.ball:nth-child(1) {
  top: 77%;
  left: 88%;
  animation-duration: 40s;
  animation-delay: -3s;
  transform-origin: 16vw -2vh;
  box-shadow: 100vmin 0 5.703076368487546vmin currentColor;
}
.ball:nth-child(2) {
  top: 42%;
  left: 2%;
  animation-duration: 53s;
  animation-delay: -29s;
  transform-origin: -19vw 21vh;
  box-shadow: -100vmin 0 5.17594621519026vmin currentColor;
}
.ball:nth-child(3) {
  top: 28%;
  left: 18%;
  animation-duration: 49s;
  animation-delay: -8s;
  transform-origin: -22vw 3vh;
  box-shadow: 100vmin 0 5.248179047256236vmin currentColor;
}
.ball:nth-child(4) {
  top: 50%;
  left: 79%;
  animation-duration: 202s;
  animation-delay: -21s;
  transform-origin: -17vw -6vh;
  box-shadow: 100vmin 0 5.279749632220298vmin currentColor;
}
.ball:nth-child(5) {
  top: 46%;
  left: 15%;
  animation-duration: 190s;
  animation-delay: -40s;
  transform-origin: 4vw 0vh;
  box-shadow: -100vmin 0 5.964309466052033vmin currentColor;
}
.ball:nth-child(6) {
  top: 77%;
  left: 16%;
  animation-duration: 170s;
  animation-delay: -10s;
  /* transform-origin: 18vw 4vh; */
  box-shadow: 100vmin 0 5.178483653434181vmin currentColor;
}
.ball:nth-child(7) {
  top: 22%;
  left: 17%;
  animation-duration: 210s;
  animation-delay: -6s;
  transform-origin: 1vw -23vh;
  box-shadow: -10vmin 0 5.703026794398318vmin currentColor;
}
.ball:nth-child(8) {
  top: 41%;
  left: 47%;
  animation-duration: 200s;
  animation-delay: -28s;
  transform-origin: 25vw -3vh;
  box-shadow: 10vmin 0 5.196265905749415vmin currentColor;
}

/* Footer */
.wortdetektiv-promo__footer {
    padding: 2rem;
    background: color(display-p3 0.98 0.98 1);
    border-top: 1px solid color(display-p3 0.9 0.9 0.95);
    text-align: center;
}

.wortdetektiv-promo__footer .wortdetektiv-promo__container {
    max-width: 1200px;
    margin: 0 auto;
}

.wortdetektiv-promo__footer p {
    color: color(display-p3 0.4 0.4 0.6);
    font-size: 0.9rem;
}

.wortdetektiv-promo__footer a {
    color: color(display-p3 0.4 0.4 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wortdetektiv-promo__footer a:hover {
    color: color(display-p3 0.2 0.2 0.3);
}

/* Animations */
@keyframes wortdetektiv-promo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 968px) {
    .wortdetektiv-promo__container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .wortdetektiv-promo__titlecontent {
        justify-content: center;
    }

    .wortdetektiv-promo__title {
        max-width: 300px;
    }

    .wortdetektiv-promo__subtitle {
        font-size: 2.5rem;
    }

    .wortdetektiv-promo__description {
        font-size: 1.1rem;
    }

    .wortdetektiv-promo__cta-group {
        justify-content: center;
    }

    .wortdetektiv-promo__features-grid,
    .wortdetektiv-promo__testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .wortdetektiv-promo__hero {
        padding: 2rem 1rem;
    }

    .wortdetektiv-promo__container {
        padding: 0 1rem;
    }

    .wortdetektiv-promo__title {
        max-width: 250px;
    }

    .wortdetektiv-promo__subtitle {
        font-size: 2rem;
    }

    .wortdetektiv-promo__description {
        font-size: 1rem;
    }

    .wortdetektiv-promo__features,
    .wortdetektiv-promo__testimonials,
    .wortdetektiv-promo__cta {
        padding: 4rem 1rem;
    }

    .wortdetektiv-promo__features h2,
    .wortdetektiv-promo__testimonials h2,
    .wortdetektiv-promo__cta h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
} 