/* GitCover® Appliance - Modern CSS with GitCover Brand Colors */

:root {
    /* GitCover Brand Colors */
    --primary-color: #2563eb;      /* Git blue */
    --secondary-color: #059669;    /* Success green */
    --accent-color: #dc2626;       /* Git red */
    --warning-color: #d97706;      /* Orange */
    
    /* Neutral colors */
    --dark-bg: #0f172a;           /* Dark slate */
    --medium-bg: #1e293b;         /* Slate 800 */
    --light-bg: #f8fafc;          /* Slate 50 */
    --text-primary: #0f172a;      /* Dark text */
    --text-secondary: #64748b;    /* Gray text */
    --text-light: #ffffff;        /* White text */
    
    /* Special colors */
    --unbezahlbar-color: #ff6b35;  /* Special orange for "unbezahlbar" */
    --free-color: #059669;         /* Green for free */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, var(--dark-bg), var(--medium-bg));
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 5rem 0;
    --card-padding: 2rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Header */
.header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: var(--section-padding);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.appliance-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: white;
}

.main-feature {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

/* Components Section */
.components {
    padding: var(--section-padding);
    background: var(--light-bg);
}

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

/* Card Styles */
.component-card, .feature-card {
    background: white;
    border-radius: 1rem;
    padding: var(--card-padding);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.card-metric, .card-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label, .price-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
}

.price-value.free {
    color: var(--free-color);
    font-weight: 600;
}

.price-value.unbezahlbar {
    color: var(--unbezahlbar-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Backup Section */
.backup {
    padding: var(--section-padding);
    background: var(--light-bg);
}

.backup-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.backup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.backup-title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.backup-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.backup-features {
    display: grid;
    gap: 1.5rem;
}

.backup-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.backup-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.backup-image {
    text-align: center;
}

.backup-drive {
    width: 80%;
    max-width: 300px;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.backup-specs {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.backup-specs h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.backup-specs ul {
    list-style: none;
    text-align: left;
}

.backup-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.backup-specs li:last-child {
    border-bottom: none;
}

/* Hardware Section */
.hardware {
    padding: var(--section-padding);
    background: white;
}

.hardware-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hardware-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hardware-image.main {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hardware-thumbnails {
    display: flex;
    gap: 1rem;
}

.hardware-thumb {
    width: calc(33.333% - 0.67rem);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hardware-thumb:hover {
    opacity: 0.8;
}

.hardware-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hardware-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.specs-list li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-description {
    color: #cbd5e1;
}

.footer-title {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-light);
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-url {
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .components-grid {
        grid-template-columns: 1fr;
    }

    .backup-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .backup-features {
        grid-template-columns: 1fr;
    }

    .hardware-showcase {
        grid-template-columns: 1fr;
    }

    .hardware-thumbnails {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav {
        display: none;
    }

    .card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .container {
        padding: 0 0.5rem;
    }

    .card-padding {
        padding: 1.5rem;
    }

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