/* Base Styles */
:root {
    --primary-color: #285FF4;
    --secondary-color: #F7CE46;
    --dark-color: #1A1A1A;
    --light-color: #FFFFFF;
    --gray-100: #F5F7FA;
    --gray-200: #E4E7EB;
    --gray-300: #CBD2D9;
    --gray-400: #9AA5B1;
    --gray-500: #7B8794;
    --gray-600: #616E7C;
    --gray-700: #52606D;
    --gray-800: #3E4C59;
    --gray-900: #323F4B;
    --text-color: #323F4B;
    --success-color: #27AE60;
    --error-color: #EB5757;
    --warning-color: #F2C94C;
    --info-color: #2D9CDB;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

/* Header and Navigation */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--dark-color);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.download-button {
    background-color: var(--primary-color);
    color: var(--light-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    font-weight: 600;
}

.download-button:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color) !important;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: var(--gray-100);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray-700);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 95, 244, 0.2);
}

.cta-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

.cta-secondary {
    background-color: var(--gray-200);
    color: var(--gray-800);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

.cta-secondary:hover {
    background-color: var(--gray-300);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

/* Features Overview */
.features-overview {
    padding: 5rem 0;
    text-align: center;
}

.features-overview h2 {
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* Screenshots Section */
.app-screenshots {
    padding: 5rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

.screenshots-slider {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.screenshot {
    max-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.02);
}

.screenshot img {
    width: 100%;
    height: auto;
    object-fit: cover;
    vertical-align: middle;
}

.screenshot p {
    background: var(--light-color);
    padding: 1rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    text-align: center;
}

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

.testimonial-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.user {
    font-weight: bold;
    color: var(--gray-700);
}

/* Download Section */
.download-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

.download-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.app-store-button img {
    height: 50px;
    transition: transform 0.3s ease;
}

.app-store-button:hover img {
    transform: scale(1.05);
}

.app-version {
    margin-top: 1.5rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--light-color);
}

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

.footer-column h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--gray-400);
}

.footer-column a:hover {
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    font-size: 0.875rem;
}

/* Page Header (for subpages) */
.page-header {
    padding: 4rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

/* Feature Details */
.feature-details {
    padding: 5rem 0;
}

.feature-details.alternate {
    background-color: var(--gray-100);
}

.feature-showcase {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.feature-showcase.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

.feature-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-info {
    flex: 1;
    min-width: 300px;
}

.feature-list {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* What's New Section */
.whats-new {
    padding: 5rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

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

.release-note-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    gap: 1.5rem;
}

.note-icon {
    font-size: 2rem;
}

.note-content h3 {
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.cta-section h2,
.cta-section p {
    color: var(--light-color);
}

.cta-section .cta-primary {
    background-color: var(--light-color);
    color: var(--primary-color);
    margin-top: 1.5rem;
    display: inline-block;
}

.cta-section .cta-primary:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

/* Legal Pages (Privacy and Impressum) */
.legal-content {
    padding: 3rem 0 5rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.legal-section h3 {
    color: var(--gray-800);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
    color: var(--gray-700);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-image {
        position: static;
        transform: none;
        max-width: 100%;
        margin-top: 3rem;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .feature-showcase,
    .feature-showcase.reverse {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 1rem;
    }
    
    .features-grid,
    .testimonials-grid,
    .release-notes {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
