/* Alle bestehenden Styles bleiben gleich */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #454343 0%, #000000 100%);
    min-height: 100vh;
    max-height: 100vh;
    color: #fff;
    overflow: hidden;
}

.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo .peak {
    color: #ff5800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* User Settings Container */
.user-settings {
    position: relative;
}

/* Settings Button (Zahnrad) */
.settings-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.settings-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.settings-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.settings-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Header */
.dropdown-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #ff6b6b;
    object-fit: cover;
}

.username {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Dropdown Menu Items */
.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    transform: translateX(5px);
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.main-content {
    margin-top: 80px;
    padding: 2rem;
}

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: float 6s ease-in-out infinite;
}

.cloud:nth-child(1) {
    width: 100px;
    height: 50px;
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.cloud:nth-child(2) {
    width: 80px;
    height: 40px;
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

.cloud:nth-child(3) {
    width: 120px;
    height: 60px;
    top: 40%;
    left: 70%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pricing Section Styles */
.pricing-section {
    text-align: center;
    padding: 4rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pricing Cards Container - 4 Karten nebeneinander */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Individual Pricing Card */
.pricing-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
    border-color: #ff6b6b;
}

/* Free Plan - Erste Karte */
.pricing-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.2));
    border: 2px solid #22c55e;
}

.pricing-card:nth-child(1) h3 {
    color: #22c55e;
}

.pricing-card:nth-child(1) .price {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card:nth-child(1) .cta-button {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.pricing-card:nth-child(1) .cta-button:hover {
    background: linear-gradient(45deg, #16a34a, #15803d);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

/* Pro Card - Dritte Karte (Featured/Popular) */
.pricing-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 165, 0, 0.2));
    border: 2px solid #ff6b6b;
    transform: scale(1.05);
    position: relative;
}

.pricing-card:nth-child(3)::after {
    content: '⭐ BELIEBT';
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Enterprise Card - Vierte Karte */
.pricing-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(103, 58, 183, 0.2));
    border: 2px solid #9c27b0;
}

.pricing-card:nth-child(4) h3 {
    color: #9c27b0;
}

.pricing-card:nth-child(4) .price {
    font-size: 1.5rem;
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card:nth-child(4) .cta-button {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.pricing-card:nth-child(4) .cta-button:hover {
    background: linear-gradient(45deg, #8e24aa, #5e35b1);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.4);
}

/* Card Content */
.card-content {
    flex-grow: 1;
}

/* Card Title */
.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: 700;
}

/* Price */
.pricing-card .price {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features List */
.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.pricing-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.1rem;
}

/* CTA Button */
.pricing-card .cta-button {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    margin-top: auto;
}

.pricing-card .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(45deg, #ff5252, #ff9500);
}

/* Settings Modal */
.settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.modal-body input,
.modal-body textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.modal-body input:focus,
.modal-body textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.save-btn,
.upload-btn {
    background: linear-gradient(45deg, #ff6b6b, #ffa500);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 1rem;
}

.save-btn:hover,
.upload-btn:hover {
    transform: translateY(-2px);
}

/* Profile Pic Upload */
.profile-pic-upload {
    text-align: center;
}

.current-pic img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ff6b6b;
    margin-bottom: 1rem;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .pricing-card:nth-child(3) {
        transform: none;
    }
}

@media (max-width: 768px) {
    .pricing-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 400px;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
        min-height: 400px;
    }

    .pricing-card .price {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }

    .settings-dropdown {
        width: 260px;
        right: -20px;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }

    .pricing-section {
        padding: 2rem 0;
    }

    .pricing-section h2 {
        font-size: 2rem;
    }
}

/* Animation for cards on load */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    animation: slideUp 0.6s ease-out;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}