/* Main CSS - Evony Scout Landing Page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-color: #ff6b35;
    --accent-secondary: #f39c12;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f39c12 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --shadow-glow: 0 0 30px rgba(255, 107, 53, 0.3);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.cta-button {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1001;
}

.language-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.language-button:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.flag-icon {
    font-size: 1rem;
    font-weight: bold;
    min-width: 24px;
    text-align: center;
    color: var(--accent-color);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    color: var(--text-primary);
}

.language-option:hover {
    background: rgba(255, 107, 53, 0.2);
}

.language-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: var(--gradient-dark);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
    max-width: 400px; /* Feste Maximalbreite hinzufügen */
    min-width: 350px;  /* Feste Mindestbreite hinzufügen */
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-height: 70px;          /* Hinzufügen */
    display: flex;             /* Hinzufügen */
    flex-direction: column;    /* Hinzufügen */
    justify-content: center;   /* Hinzufügen */
}

.stat-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    line-height: 1.2;      /* Hinzufügen */
    white-space: nowrap;   /* Hinzufügen */
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    line-height: 1.2;      /* Hinzufügen */
}

/* Sections */
.features, .screenshots, .stats, .contact, .final-cta {
    padding: 6rem 0;
}

.features {
    background: var(--secondary-bg);
}

.screenshots {
    background: var(--primary-bg);
}

.stats {
    background: var(--secondary-bg);
}

.contact {
    background: var(--primary-bg);
}

.final-cta {
    background: var(--secondary-bg);
    text-align: center;
}

.features-container, .screenshots-container, .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-container, .cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: rgba(255, 107, 53, 0.3);
}

        .feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: start;
}

.screenshot-card {
    background: var(--gradient-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-card);
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.02);
}

.screenshot-placeholder {
    height: 200px;
    background: linear-gradient(45deg, rgba(255,107,53,0.1), rgba(243,156,18,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.screenshot-image {
    height: 220px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
}

.screenshot-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.screenshot-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.screenshot-info h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.screenshot-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Breitere Mindestbreite */
    gap: 2rem;
    text-align: center;
    max-width: 900px; /* Mehr Platz */
    margin: 0 auto;
}

.stat-item {
    padding: 2rem 1rem; /* Mehr Padding */
    position: relative;
}

.stat-item .number {
    font-size: 2.5rem !important; /* Etwas kleiner aber noch gut lesbar */
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
    letter-spacing: -1px; /* Enger für mehr Platz */
    white-space: nowrap;
    overflow: visible; /* Wichtig! */
    width: 100%;
    min-height: 60px; /* Feste Höhe */
}

.stat-item .label {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.8rem;
    line-height: 1.3;
}

/* Contact Section */
.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: var(--gradient-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group select option {
    background: var(--secondary-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Pricing Section Styles */
.pricing { padding: 6rem 0; background: var(--primary-bg); }
.pricing-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.pricing-subtitle { text-align: center; font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 3rem; }
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
    margin-bottom: 3rem; 
}
.pricing-card {
    background: var(--gradient-dark);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-card);
}
.pricing-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}
.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}
.pricing-header h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}
.pricing-members {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.pricing-price {
    margin-bottom: 1rem;
}
.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.price-period {
    color: var(--text-secondary);
    font-size: 1rem;
}
.price-per-member {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}
.pricing-features {
    text-align: left;
}
.feature-item {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.feature-item:first-child {
    color: var(--accent-color);
}
.pricing-note {
    text-align: center;
    margin-top: 2rem;
}
.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Final CTA */
.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.footer p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.dashboard-preview {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 0 50px rgba(255, 107, 53, 0.5); }
}

.btn-primary {
    animation: glow 3s ease-in-out infinite;
}