/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette - Trust & Energy */
    --primary: #0A2540;
    /* Deep Trust Blue */
    --primary-light: #1A3A5F;
    --secondary: #7B4BFF;
    /* Vibrant Purple - Trust & Creativity */
    --secondary-light: #9B7BFF;
    --accent: #00C9B7;
    /* Fresh Teal - Growth & Clarity */
    --accent-light: #5EE6D6;
    --gradient-1: linear-gradient(135deg, #0A2540, #1A3A5F);
    --gradient-2: linear-gradient(135deg, #7B4BFF, #00C9B7);
    --gradient-3: linear-gradient(45deg, #7B4BFF, #9B7BFF, #00C9B7);

    --text-dark: #1A2B3E;
    --text-light: #5A6B7E;
    --text-white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --bg-dark: #0A1A2F;
    --border: rgba(0, 0, 0, 0.1);

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(123, 75, 255, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 201, 183, 0.15);
    --shadow-hover: 0 30px 50px rgba(123, 75, 255, 0.2);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-white);
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 75%;
}

/* Loader Animation */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--accent);
    border-right: 4px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 30px;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    animation: pulse 2s ease-in-out infinite;
    text-transform: uppercase;
}

.loader-trust {
    color: var(--text-white);
}

.loader-leben {
    color: var(--accent);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 450px;
    width: 90%;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(123, 75, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cookie-popup.show {
    bottom: 30px;
}

.cookie-content {
    padding: 30px;
    text-align: center;
}

.cookie-content i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.cookie-content p {
    margin-bottom: 25px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cookie-accept,
.cookie-reject {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-accept {
    background: var(--gradient-2);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-reject {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.cookie-reject:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* Advertisement Bar */
.advertisement-bar {
    background: var(--gradient-1);
    padding: 10px 0;
    border-bottom: 2px solid var(--accent);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.advertisement-bar p {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.advertisement-bar i {
    color: var(--accent);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo Styling */
.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.trust {
    color: var(--primary);
}

.leben {
    color: var(--secondary);
    position: relative;
}

.leben::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.logo a:hover .leben::after {
    width: 100%;
}

/* Navigation */
.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-desktop ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
}

.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

.nav-desktop ul li a:hover {
    color: var(--secondary);
}

.nav-desktop ul li a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-2);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-gradient {
    background: var(--gradient-3);
    color: var(--text-white);
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--text-white);
}

.btn-text {
    padding: 10px 0;
    color: var(--secondary);
    background: transparent;
}

.btn-text i {
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.pulse {
    animation: pulseButton 2s infinite;
}

@keyframes pulseButton {
    0% {
        box-shadow: 0 0 0 0 rgba(123, 75, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(123, 75, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(123, 75, 255, 0);
    }
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: transform 0.3s ease;
}

.close-menu:hover {
    transform: rotate(90deg);
    color: var(--secondary);
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile ul li {
    margin-bottom: 20px;
    transform: translateX(30px);
    opacity: 0;
    animation: slideInLink 0.5s forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.nav-mobile ul li:nth-child(1) {
    --item-index: 1;
}

.nav-mobile ul li:nth-child(2) {
    --item-index: 2;
}

.nav-mobile ul li:nth-child(3) {
    --item-index: 3;
}

.nav-mobile ul li:nth-child(4) {
    --item-index: 4;
}

.nav-mobile ul li:nth-child(5) {
    --item-index: 5;
}

@keyframes slideInLink {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.nav-mobile ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-mobile ul li a:hover {
    color: var(--secondary);
}

.mobile-cta {
    margin-top: 30px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf5 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.shape-1 {
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(123, 75, 255, 0.1);
    animation: float 20s infinite;
}

.shape-2 {
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(0, 201, 183, 0.1);
    animation: float 25s infinite reverse;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(10, 37, 64, 0.05);
    animation: float 30s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(123, 75, 255, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 75, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}


.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(0, 201, 183, 0.1) 0%, rgba(123, 75, 255, 0.05) 70%);
    border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    z-index: 1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    }

    50% {
        border-radius: 60% 50% 40% 60% / 40% 50% 60% 40%;
    }

    100% {
        border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    }
}

.main-img {
    position: relative;
    z-index: 2;
    width: 100%;
    display: block;
    border-radius: 20px;
    /* Removed default float animation to align with new design */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.floating-book {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 140px;
    z-index: 3;
    animation: floatBook 4s ease-in-out infinite;
}

@keyframes floatBook {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.floating-book img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--bg-white);
}

.book-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #FFD700;
    color: var(--text-dark);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transform: rotate(10deg);
}

@media (max-width: 768px) {
    .hero-circle-bg {
        width: 100%;
        height: 100%;
    }

    .floating-book {
        width: 100px;
        bottom: -20px;
        right: 0;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-2);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.reveal {
    animation: reveal 1s ease-out forwards;
    opacity: 0;
    animation-play-state: paused;
}

.reveal.active {
    animation-play-state: running;
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-left {
    animation: revealLeft 1s ease-out forwards;
    opacity: 0;
    animation-play-state: paused;
}

.reveal-left.active {
    animation-play-state: running;
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-right {
    animation: revealRight 1s ease-out forwards;
    opacity: 0;
    animation-play-state: paused;
}

.reveal-right.active {
    animation-play-state: running;
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.4;
}



.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

.about-feature span {
    color: var(--text-dark);
    font-weight: 500;
}

.image-wrapper {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-2);
    color: var(--text-white);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: rotateBadge 10s linear infinite;
}

@keyframes rotateBadge {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.9;
}

/* Why Us Section */
.why-us {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: calc(var(--card-index, 0) * 0.1s);
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(123, 75, 255, 0.1);
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(10deg);
}

.feature-icon-wrapper i {
    font-size: 35px;
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.feature-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    text-align: center;
    transition: bottom 0.3s ease;
    z-index: 2;
}

.feature-card:hover .feature-hover {
    bottom: 20px;
}

.feature-hover i {
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(123, 75, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--secondary);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary);
    color: var(--text-white);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(123, 75, 255, 0.1);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.reveal-faq {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    transition-delay: calc(var(--faq-index, 0) * 0.1s);
}

.reveal-faq.active {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(123, 75, 255, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.faq-toggle {
    color: var(--secondary);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.faq-active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    padding: 0 25px;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.4s ease;
    background: rgba(123, 75, 255, 0.02);
    opacity: 0;
}

.faq-item.faq-active .faq-answer {
    max-height: 500px;
    /* Increased to accommodate longer answers */
    padding: 0 25px 25px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Return Policy Section */
.return-policy {
    padding: 100px 0;
    background: var(--bg-white);
}

.policy-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(123, 75, 255, 0.2);
    transition: var(--transition);
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.policy-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.policy-icon i {
    font-size: 40px;
    color: var(--text-white);
}

.policy-card h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 2rem;
}

.policy-content {
    text-align: left;
}

.policy-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.policy-details {
    margin-top: 20px;
    border: 1px solid rgba(123, 75, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
}

.policy-details summary {
    padding: 15px 20px;
    background: rgba(123, 75, 255, 0.02);
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.policy-details summary i {
    transition: transform 0.3s ease;
}

.policy-details[open] summary i {
    transform: rotate(180deg);
}

.details-content {
    padding: 20px;
    border-top: 1px solid rgba(123, 75, 255, 0.1);
}

.details-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--gradient-1);
    color: var(--text-white);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 75, 255, 0.1) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-logo .trust {
    color: var(--text-white);
}

.footer-logo .leben {
    color: var(--accent);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info i {
    color: var(--accent);
    width: 20px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent);
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--text-white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.quick-links,
.legal-links {
    list-style: none;
}

.quick-links li,
.legal-links li {
    margin-bottom: 12px;
}

.quick-links a,
.legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.quick-links a:hover,
.legal-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px) rotate(360deg);
}

.footer-disclaimer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-bottom: 20px;
}

.important-notice {
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.important-notice i {
    color: var(--accent);
}

.advertisement-disclosure {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.copyright {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Popup Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-container {
    background: var(--bg-white);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    background: var(--gradient-1);
    color: var(--text-white);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-content {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
    color: var(--text-dark);
}

.popup-content p {
    margin-bottom: 15px;
}

.popup-content h4 {
    color: var(--primary);
    margin: 20px 0 10px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-2);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        text-align: center;
    }

    .about-features {
        justify-content: center;
    }

    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .nav-desktop,
    .cta-desktop {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .policy-card {
        padding: 30px 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}