/* Public Home Page - Dark Theme with Logo-Aligned Colors - Magic UI MCP Headline Optimierung */

/* Logo Color Palette (extracted from logo.png):
 * Primary Dark Blue: #000717 - Main backgrounds
 * Secondary Blue: #022057 - Accents and cards
 * Tertiary Blue: #004479 - Transitions and details
 * Accent Blue: #1981E2 - Buttons, links and highlights
 */

/* CSS Variables für Headlines */
:root {
    --headline-primary: #ffffff;
    --headline-secondary: #e0e0e0;
    --headline-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000717 0%, #022057 50%, #004479 100%);
    color: #ffffff;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%231981E2" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

/* Hero Headline - Magic UI MCP Optimierung */
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--headline-primary);
    line-height: 1.2;
    text-shadow: var(--headline-shadow);
    letter-spacing: -0.02em;
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.7;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Button Styles - Magic UI MCP Optimierung */
.hero-buttons .btn {
    /* Regel 001: Professioneller Gradient-Hintergrund */
    background: linear-gradient(135deg, #1981E2 0%, #004479 50%, #022057 100%);
    /* Regel 002: Klare Kontraste zwischen Text und Hintergrund */
    color: #ffffff;
    /* Regel 003: Zentrierte und großgeschriebene Texte */
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    /* Regel 006: Gleichmäßige Abstände oben/unten für perfekte Zentrierung */
    padding: 1rem 2rem;
    /* Professionelle Button-Styles */
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 48px;
    line-height: 1;
    max-width: 200px;
    /* Magic UI MCP Box-Shadow für Tiefe */
    box-shadow: 
        0 8px 24px rgba(25, 129, 226, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Magic UI MCP Shimmer-Effekt mit ::after Pseudo-Element */
.hero-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.hero-buttons .btn:hover::after {
    left: 100%;
}

/* Regel 007: Lesbare Texte im Hover-Zustand */
.hero-buttons .btn:hover {
    /* Regel 001: Professioneller Gradient-Hintergrund im Hover */
    background: linear-gradient(135deg, #004479 0%, #1981E2 50%, #022057 100%);
    /* Regel 002: Klare Kontraste zwischen Text und Hintergrund im Hover */
    color: #ffffff;
    /* Optimierte Hover-Animation */
    transform: translateY(-3px);
    /* Magic UI MCP Box-Shadow für Tiefe im Hover */
    box-shadow: 
        0 12px 32px rgba(25, 129, 226, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Magic UI MCP für professionelles und modernes Design */
.hero-buttons .btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(25, 129, 226, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Secondary Button Variante */
.hero-buttons .btn-secondary {
    background: linear-gradient(135deg, rgba(25, 129, 226, 0.1) 0%, rgba(0, 68, 121, 0.1) 50%, rgba(2, 32, 87, 0.1) 100%);
    color: #1981E2;
    border: 2px solid #1981E2;
    box-shadow: 
        0 8px 24px rgba(25, 129, 226, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(25, 129, 226, 0.2) 0%, rgba(0, 68, 121, 0.2) 50%, rgba(2, 32, 87, 0.2) 100%);
    color: #ffffff;
    border-color: #1981E2;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(25, 129, 226, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #000717;
    color: #ffffff;
}

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

/* Features Headline - Magic UI MCP Optimierung */
.features h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--headline-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: var(--headline-shadow);
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: rgba(2, 32, 87, 0.8);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(25, 129, 226, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1981E2 0%, #004479 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #1981E2 0%, #004479 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

/* Feature Card Headline - Magic UI MCP Optimierung */
.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--headline-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: var(--headline-shadow);
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

.feature-card p {
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: #022057;
    color: #ffffff;
}

/* Testimonials Headline - Magic UI MCP Optimierung */
.testimonials h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--headline-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: var(--headline-shadow);
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

/* Magic UI MCP - Kundenstimmen Grid mit 3x3 Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Magic UI MCP - Kundenstimmen Cards mit professionellem Design */
.testimonial-card {
    background: rgba(0, 2, 23, 0.8);
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(25, 129, 226, 0.2);
    backdrop-filter: blur(10px);
    /* Regel 001: Gleiche Höhe für alle Karten */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1981E2 0%, #004479 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
    /* Regel 003: Autor-Info am Ende der Karte */
    margin-top: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1981E2 0%, #004479 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-company {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin: 0;
    font-style: italic;
    /* Regel 002: Flex-grow für gleichmäßige Verteilung */
    flex-grow: 1;
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
    background: #000717;
    color: #ffffff;
}

/* Pricing Headline - Magic UI MCP Optimierung */
.pricing h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--headline-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: var(--headline-shadow);
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

/* Magic UI MCP - Pricing Grid mit gleichen Karten-Höhen */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    /* Regel 003: Gleiche Höhe für alle Karten */
    align-items: stretch;
}

/* Magic UI MCP - Pricing Cards mit gleicher Button-Höhe */
.pricing-card {
    background: rgba(2, 32, 87, 0.8);
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(25, 129, 226, 0.2);
    backdrop-filter: blur(10px);
    /* Regel 001: Flexbox für gleichmäßige Verteilung */
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1981E2 0%, #004479 100%);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    background: rgba(25, 129, 226, 0.1);
    border-color: #1981E2;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

/* Pricing Card Headline - Magic UI MCP Optimierung */
.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--headline-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-shadow: var(--headline-shadow);
    /* Entferne übermäßige Effekte für bessere Lesbarkeit */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    filter: none;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #1981E2;
    margin-bottom: 2rem;
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    /* Regel 002: Flex-grow für gleichmäßige Verteilung */
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.75rem 0;
    color: #e0e0e0;
    border-bottom: 1px solid rgba(25, 129, 226, 0.2);
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* Magic UI MCP - Pricing Buttons auf gleicher Höhe */
.pricing-card .btn {
    /* Regel 001: Professioneller Gradient-Hintergrund */
    background: linear-gradient(135deg, #1981E2 0%, #004479 50%, #022057 100%);
    /* Regel 002: Klare Kontraste zwischen Text und Hintergrund */
    color: #ffffff;
    /* Regel 003: Zentrierte und großgeschriebene Texte */
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    /* Regel 006: Gleichmäßige Abstände oben/unten für perfekte Zentrierung */
    padding: 1rem 2rem;
    /* Regel 004: Buttons auf gleicher Höhe */
    margin-top: auto;
    align-self: flex-end;
    /* Professionelle Button-Styles */
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-height: 48px;
    line-height: 1;
    width: 100%;
    max-width: 200px;
    /* Magic UI MCP Box-Shadow für Tiefe */
    box-shadow: 
        0 8px 24px rgba(25, 129, 226, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Magic UI MCP Shimmer-Effekt mit ::after Pseudo-Element */
.pricing-card .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.pricing-card .btn:hover::after {
    left: 100%;
}

/* Regel 007: Lesbare Texte im Hover-Zustand */
.pricing-card .btn:hover {
    /* Regel 001: Professioneller Gradient-Hintergrund im Hover */
    background: linear-gradient(135deg, #004479 0%, #1981E2 50%, #022057 100%);
    /* Regel 002: Klare Kontraste zwischen Text und Hintergrund im Hover */
    color: #ffffff;
    /* Optimierte Hover-Animation */
    transform: translateY(-3px);
    /* Magic UI MCP Box-Shadow für Tiefe im Hover */
    box-shadow: 
        0 12px 32px rgba(25, 129, 226, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Regel 005: Login/Logout Buttons nur mit Text, keine Zeichen */
.pricing-card .btn {
    /* Entferne alle Icons oder Zeichen, nur Text */
}

/* Magic UI MCP für professionelles und modernes Design */
.pricing-card .btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(25, 129, 226, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design für Pricing Buttons */
@media (max-width: 768px) {
    .pricing-card .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .pricing-card .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-height: 40px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: -200% 0;
    }
    50% {
        background-position: 200% 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
        margin-bottom: 1.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .feature-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .container {
        padding: 0 1rem;
    }

    .features h2,
    .testimonials h2,
    .pricing h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .pricing-card .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

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

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        letter-spacing: -0.005em;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-height: 40px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .features,
    .testimonials,
    .pricing {
        padding: 3rem 1rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .features h2,
    .testimonials h2,
    .pricing h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        min-height: 40px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
} 