/* Base Styles */
:root {
    --color-purple: #9333EA;
    --color-purple-light: #A855F7;
    --color-purple-dark: #5B21B6;
    --color-purple-deeper: #3B0764;
    --color-purple-ultra: #2D0A4E;
    --color-gold: #F59E0B;
    --color-gold-light: #FBBF24;
    --color-green: #10B981;
    --color-rose: #E11D48;
    --color-cyan: #06B6D4;
    --color-blue: #3B82F6;
    --color-amoled: #000000;
    --color-white: #FFFFFF;
    
    /* Material You Elevation Colors */
    --surface-1: rgba(255, 255, 255, 0.05);
    --surface-2: rgba(255, 255, 255, 0.08);
    --surface-3: rgba(255, 255, 255, 0.11);
}

/* Globale Stile und Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animationen */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

@keyframes backgroundShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

@keyframes pulse-icon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Basis-Layout */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--color-white);
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    background: linear-gradient(135deg, 
        var(--color-purple-ultra) 0%, 
        var(--color-purple-deeper) 35%,
        var(--color-purple-dark) 65%, 
        var(--color-purple-ultra) 100%);
    background-size: 300% 300%;
    background-attachment: fixed;
    animation: backgroundShift 60s ease infinite;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-perspective: 1000;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
                radial-gradient(circle at 90% 10%, rgba(225, 29, 72, 0.05) 0%, transparent 45%);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
}

/* Struktur-Container */
.bg-gradient {
    display: none;
}

.bg-gradient::before, 
.bg-gradient::after {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    width: 100%;
}

/* Basis-Typo und Abschnitte */
section, main {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

h1, h2, h3, h4, h5, h6 {
    position: relative;
}

h1 {
    font-size: 3rem;
    margin: 1rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--color-purple-light), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.chip {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(147, 51, 234, 0.2);
    color: #E9D5FF;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #000000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--color-purple-light), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(to right, var(--color-purple), var(--color-gold));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.nav-menu-icon {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-purple-light), var(--color-gold));
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
    color: var(--color-white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-secondary {
    background: var(--surface-1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--surface-2);
    transform: translateY(-2px);
}

.btn img, .btn svg {
    color: currentColor;
}

/* Glass Card Effekt */
.glass-card {
    background: var(--surface-1);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 28px;
}

.glass-card:hover {
    transform: translateY(-4px);
    background: var(--surface-2);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Profiles Section */
.profiles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 2rem;
}

.profile-card {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.08), transparent 75%);
    opacity: 0.5;
    border-radius: 28px;
}

.profile-card:hover, 
.profile-card.active {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.profile-card.active::before {
    opacity: 1;
}

.profile-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
}

.profile-details {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 28px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 220px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(147, 51, 234, 0.08), transparent 75%);
    opacity: 0.5;
    border-radius: 28px;
}

#profile-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

#profile-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
    text-align: center;
}

#profile-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

#profile-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-align: center;
}

#profile-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0 auto;
    max-width: 500px;
}

#profile-content li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    text-align: center;
}

#profile-content .dot-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 12px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-purple));
}

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

.feature-card {
    text-align: center;
}

.feature-card:hover .icon {
    animation: pulse-icon 1.5s ease infinite;
}

/* Icon Wrappers */
.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1rem;
}

.icon-wrapper svg, 
.icon-wrapper img {
    width: 32px;
    height: 32px;
    color: var(--color-gold);
}

.icon-wrapper.purple {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(168, 85, 247, 0.2));
    color: var(--color-purple-light);
}

.icon-wrapper.gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.2));
    color: var(--color-gold);
}

.icon-wrapper.green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(16, 185, 129, 0.2));
    color: var(--color-green);
}

.icon-wrapper.rose {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.2), rgba(244, 63, 94, 0.2));
    color: var(--color-rose);
}

/* Icon-Filter und Anpassungen */
.icon-wrapper img[src$=".svg"] {
    filter: invert(70%) sepia(40%) saturate(1000%) hue-rotate(0deg) brightness(100%);
}

.btn img[src$=".svg"] {
    filter: none;
}

/* Preview Section */
#preview-coming-soon {
    padding: 80px 20px;
    position: relative;
    text-align: center;
    z-index: 2;
    background: transparent;
}

#preview-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 25px 25px;
    opacity: 0.15;
    z-index: 0;
}

.preview-info {
    font-size: 1.3rem;
    color: #fff;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: inline-block;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
}

/* Download Section */
.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.download-card {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card .btn {
    margin-top: auto;
}

/* Requirements Section */
.requirements {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
}

.requirements h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--color-gold), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.requirement-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.requirement-title::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--color-purple), var(--color-gold));
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
}

.requirement-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: #000000;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: none;
    margin-top: 2rem;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    background: linear-gradient(to right, var(--color-gold), var(--color-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.dev-link {
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.dev-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, var(--color-purple), var(--color-gold));
    transition: width 0.3s ease;
}

.dev-link:hover {
    color: var(--color-white);
}

.dev-link:hover::after {
    width: 100%;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-gold);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--color-purple), var(--color-gold));
    border-radius: 6px;
    border: 3px solid var(--color-amoled);
}

::-webkit-scrollbar-track {
    background-color: var(--color-amoled);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-purple) var(--color-amoled);
}

/* Responsives Design */
@media (max-width: 992px) {
    .download-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu-button {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.92);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 100;
        border-left: 1px solid rgba(255, 255, 255, 0.07);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.4);
        border-radius: 2px 0 0 2px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-menu-button.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-menu-button.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .profiles-grid > div:first-child {
        grid-column: 1 / -1;
        max-width: 200px;
    }
    
    .requirements-grid,
    .download-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .requirement-title {
        font-size: 1rem;
    }
    
    .requirement-desc {
        font-size: 0.9rem;
    }
}

/* HTML-Grundeigenschaften */
html {
    height: 100%;
    scroll-behavior: smooth;
}

/* Sektion Grundeinstellungen */
section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    background: transparent !important;
}

/* Stelle sicher, dass alle anderen Elemente transparent sind */
.container, .hero, .profiles, .features, .download, .preview-coming-soon {
    position: relative;
    z-index: 1;
    background: transparent !important;
}