/* ========================================= */
/*   REFRIVO DOWNLOAD PAGE - MODERN THEME    */
/* ========================================= */

:root {
    /* Lokale Variablen für schnelles Tuning */
    --hero-bg-light: #f8fcf9;
    --hero-bg-dark: #121212;
    --primary-green: #2ecc71; /* Passe dies an deine Markenfarbe an */
    --primary-green-dark: #27ae60;
    --text-main: #2c3e50;
    --text-light: #6c757d;
    --card-bg-light: #ffffff;
    --card-bg-dark: #1e1e1e;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px -10px rgba(46, 204, 113, 0.2);
    --radius-xl: 24px;
    --radius-l: 16px;
}

/* --- Base Layout Fixes --- */
.app-landing-page {
    overflow-x: hidden; /* Verhindert Scrollbalken durch Dekoration */
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================= */
/*   1. HERO SECTION                         */
/* ========================================= */
.hero-section {
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at top right, rgba(46, 204, 113, 0.1), transparent 40%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-new {
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--primary-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 800;
}

.text-highlight {
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

/* Unterstreichungseffekt für "Intelligent" */
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(46, 204, 113, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

/* --- Hero Visual (Mockup) --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #000; /* Rahmen */
    padding: 10px;
    border: 4px solid #333;
    aspect-ratio: 9/19; /* Handy-Verhältnis */
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}

/* Platzhalter falls kein Bild da ist */
.mockup-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 30px;
}
.mockup-placeholder i { font-size: 3rem; margin-bottom: 1rem; }

/* Dekorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
}
.blob-1 {
    width: 300px;
    height: 300px;
    background: rgba(46, 204, 113, 0.3);
    top: -20px;
    right: -20px;
}
.blob-2 {
    width: 200px;
    height: 200px;
    background: rgba(52, 152, 219, 0.2);
    bottom: -40px;
    left: 20px;
}

/* --- Download Button --- */
.btn-download-primary {
    display: inline-flex;
    align-items: center;
    background-color: var(--text-main);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-l);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-download-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.4);
    background-color: var(--primary-green);
}

.btn-download-primary i {
    font-size: 2.2rem;
    margin-right: 1rem;
}

.btn-download-primary .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-download-primary .small { font-size: 0.75rem; opacity: 0.8; }
.btn-download-primary .large { font-size: 1.2rem; font-weight: 700; }

.compatibility-info {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.compatibility-info i { color: var(--primary-green); }

/* ========================================= */
/*   2. FEATURES SECTION                     */
/* ========================================= */
.features-section {
    padding: 6rem 0;
    background-color: var(--card-bg-light);
}

.section-title.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    background: #fff; /* Fallback */
    background: var(--card-bg-light);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(46, 204, 113, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background: var(--primary-green);
    color: #fff;
    transform: rotate(5deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================= */
/*   3. INSTALL GUIDE (Sideloading)          */
/* ========================================= */
.install-guide-section {
    padding: 5rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: #fcfcfc;
}

.guide-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.guide-content { flex: 2; }
.guide-visual { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    color: #e0e0e0;
}
.guide-visual i { font-size: 10rem; opacity: 0.5; }

.steps-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.steps-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--text-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-text strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}
.step-text { color: var(--text-light); font-size: 0.95rem; }

/* ========================================= */
/*   4. CTA SECTION                          */
/* ========================================= */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(120deg, var(--text-main), #1a252f);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-download-secondary {
    display: inline-block;
    background: var(--primary-green);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
    border: 2px solid var(--primary-green);
}

.btn-download-secondary:hover {
    background: transparent;
    transform: scale(1.05);
}

/* ========================================= */
/*   DARK MODE SUPPORT                       */
/* ========================================= */
@media (prefers-color-scheme: dark), body.dark-mode {
    :root {
        --text-main: #ecf0f1;
        --text-light: #b0b3b8;
    }
    
    body, .app-landing-page {
        background-color: var(--hero-bg-dark);
        color: var(--text-main);
    }
    
    .hero-section { background: radial-gradient(circle at top right, rgba(46, 204, 113, 0.05), transparent 40%); }
    .features-section { background-color: var(--hero-bg-dark); }
    .install-guide-section { background-color: #181818; border-color: #333; }
    
    .feature-card, .guide-wrapper {
        background-color: var(--card-bg-dark);
        border: 1px solid #333;
    }
    
    .btn-download-primary {
        background-color: #fff;
        color: #121212;
    }
    .btn-download-primary:hover {
        background-color: var(--primary-green);
        color: #fff;
    }
    
    .step-number { background: var(--primary-green); color: #000; }
}

/* ========================================= */
/*   ANIMATIONS & MOBILE                     */
/* ========================================= */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .guide-wrapper {
        flex-direction: column;
        padding: 2rem;
    }
    
    .guide-visual { display: none; } /* Icon ausblenden auf Mobile für Platz */
}