
/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/*variables*/

:root {
--primary-color: #000;
--secondary-color: #fff;
--accent-color: #9FACDC;
--text-color: #333;
--link-color: #666;
--text-bright: #999;


/*Section variables*/
--section-bg-color: #fafafa;
--section-text-color: #555;
--feature-background: #333;
--feature-text-color: #fff;
--feature-h3: #9FACDC;


--section-spacing: 100px;
--bg-primary: #000000;
--button-color: #9FACDC;
/* --button-color: #00a3ff; */
--accent-color-2: #00a3ff;
--card-bg: #111111;
}

body {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--link-color);
}

/* Header Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--text-color);
}

.logo {
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-color);
}

.logo span {
    color: var(--button-color);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    color: var(--accent-color);
} 



/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* background-image:  linear-gradient(rgba(15, 15, 15, 0.2), rgba(10, 10, 10, 0.2)), url('assets/dark-bg.jpg');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat; */
    z-index: 10;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    line-height: 1.2;
    color: var(--accent-color);
}

.hero p {
    font-size: 20px;
    color: var(--secondary-color);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.secondary-button {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--secondary-color);
}

.secondary-button:hover {
    transform: translateY(-1px);
    color: var(--link-color);
}

/*General hero image and container settings */
.hero-background-image-container {
    position: absolute;
    background-image: url('./assets/dark-bg.jpg');
    height: 100%;
    width: 100%;
    z-index: -1;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* support / placeholders */
.placeholder_hero{
    height: 15vh;
    width: 100%;
    background-color: var(--primary-color);
    z-index: -2;
}

/*home hero image settings*/
.home-hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#lottie {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-39%, -90%);
    width: 100%;
    height: 150px;
    padding: 0px;
    z-index: -1;
}

.home-hero-content{
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    align-items: center;
    gap: 30px;
}

.home-hero-image-container{
    width: 100%;
    height: 600px;
    padding: 20px;
}

.home-hero-image {
    width: 100%;
    height: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0px 200px;
    transform: rotate(0deg);
    transform-origin: center center;
    z-index: -1;

    opacity: 1;
}

.home-hero-image.loaded {
    opacity: 1;
    transition: opacity 1s ease;
}

.home-hero-video-container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 900px;
    padding: 0px;
}

.home-hero-video {
    width: 100%;
    height: 900px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0px 0px;
    transform: rotate(0deg);
    transform-origin: center center;
    z-index: -1;

    opacity: 1;
}

/* How it Works on Homepage */
#how-it-works {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Homepage Stats section */
.stats-h3{
    color: var(--accent-color);
}

/* Problem Section */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

section.problems {
    padding: 2rem 0 0 0;
    position: relative;
    background-color: #000;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-heading {
    color: var(--secondary-color);
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--accent-color);
    max-width: 600px;
    margin: 0 auto;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.problem-card {
    background: var(--bg);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--primary-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--text-bright);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: var(--text-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-bright);
    font-size: 24px;
}

.highlighted-icon {
    background: var(--accent-color) !important;
    color: var(--primary-color) !important;
    transition: background 0.3s, color 0.3s;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.problem-card p {
    color: var(--text-light);
    font-size: 16px;
}

.problem-card .highlight {
    /* background: linear-gradient(120deg, var(--accent-color) 100%, var(--accent-color) 10%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 90%; */
    background: #333;
    /* text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: var(--accent-color); */
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.problem-card {
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }

.problem-card {
  opacity: 0;
  transition: opacity .4s ease; /* für sanftes Einblenden */
}
.problem-card.in-view {
  opacity: 1;
}

.highlight {
  background: linear-gradient(transparent 60%, currentColor 0) no-repeat;
  color: inherit;
  /* Alternativ: background-color: #ffec99; oder text-decoration: underline; */
}


/* Features Section */
.features {
    padding: 120px 40px;
    background-color: var(--primary-color);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-bright);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--feature-background);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #000;
    font-size: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--feature-h3);
}

.feature-card p {
    color: var(--feature-text-color);
    font-size: 15px;
}

/* Testimonials */
.testimonials {
    padding: 120px 40px;
    background-color: #fff;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background-color: #fafafa;
}

.testimonial-text {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #333;
}

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    color: #777;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 0px 40px 40px 40px;
    background-color: #000;
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.cta-section p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 40px;
}

.white-button {
    background-color: #fff;
    color: #000;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
}

.white-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
footer {
    padding: 60px 40px;
    background-color: var(--primary-color);
    border-top: 1px solid var(--text-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--link-color);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #000;
}

.copyright {
    margin-top: 60px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    nav ul li {
        margin-left: 15px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .features, .testimonials, .cta-section {
        padding: 40px  20px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .testimonial-text {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .copyright {
        padding: 0 10px;
    }
    
}
