/* Datenwerks - ZweiCAN Website Styles */
/* German Racing Aesthetic: Black, Red, Gold */

:root {
    --black: #0d0d0d;
    --black-light: #1a1a1a;
    --black-lighter: #2d2d2d;
    --red: #dd0000;
    --red-dark: #aa0000;
    --red-light: #ff3333;
    --gold: #ffcc00;
    --gold-dark: #cc9900;
    --white: #f5f5f5;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --green: #22c55e;
    --trail-green: #4a5d23;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    --shadow-glow: 0 0 40px rgba(221,0,0,0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gray-600);
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-800);
}

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

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--red-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.2s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 120px 24px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-brand {
    display: block;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}

.hero-tagline {
    display: block;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-400);
    margin-top: 8px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin: 24px 0 32px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.9rem;
}

.hero-feature svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

/* Display Frame */
.hero-display {
    position: relative;
}

.display-frame {
    position: relative;
    background: var(--black-light);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(204,0,0,0.2);
    overflow: hidden;
}

.display-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: none;
}

.display-image.active {
    display: block;
}

.display-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(204,0,0,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.theme-btn {
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    color: var(--gray-400);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-btn:hover {
    background: var(--gray-700);
    color: var(--white);
}

.theme-btn.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* Demo Section */
.demo-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--red);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    color: var(--white);
    margin-left: 4px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--black-light);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(204,0,0,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--red);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* Themes Section */
.themes-section {
    padding: 100px 0;
    background: var(--black-light);
}

.themes-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.theme-card {
    background: var(--black);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-800);
    transition: all 0.3s;
}

.theme-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.theme-card img {
    width: 100%;
    height: auto;
}

.theme-info {
    padding: 20px;
}

.theme-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.theme-info p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.editor-preview {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.editor-text h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.editor-text p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.editor-features {
    list-style: none;
}

.editor-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-300);
}

.editor-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: bold;
}

.editor-image {
    background: var(--black);
    border-radius: 12px;
    padding: 8px;
    border: 1px solid var(--gray-800);
}

.editor-image img {
    width: 100%;
    border-radius: 8px;
}

/* Comparison Section */
.compare-section {
    padding: 100px 0;
}

.compare-table-wrapper {
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-800);
}

.compare-table th {
    background: var(--black-light);
    font-weight: 600;
    color: var(--gray-400);
}

.compare-table th.highlight {
    background: var(--red);
    color: var(--white);
}

.compare-table td.highlight {
    background: rgba(204,0,0,0.1);
}

.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.check {
    color: var(--green);
    font-size: 1.25rem;
}

.cross {
    color: var(--red);
    font-size: 1.25rem;
}

.check-text {
    color: var(--green);
    font-weight: 600;
}

.cross-text {
    color: var(--red);
}

/* Vehicles Section */
.vehicles-section {
    padding: 100px 0;
    background: var(--black-light);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.vehicle-card {
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.vehicle-card.available {
    border-color: var(--green);
}

.vehicle-card.coming {
    opacity: 0.7;
}

.vehicle-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-700);
    color: var(--gray-300);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.vehicle-card.available .vehicle-badge {
    background: var(--green);
    color: var(--black);
}

.vehicle-card h3 {
    font-size: 1.1rem;
    margin-top: 8px;
    margin-bottom: 8px;
}

.vehicle-card p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.vehicle-years {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.vehicles-note {
    text-align: center;
    color: var(--gray-500);
}

.vehicles-note a {
    color: var(--red);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--black-light);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--red);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card.trail {
    border-color: var(--trail-green);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 8px;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    font-size: 1rem;
}

.pricing-note {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 12px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--black-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.faq-item {
    background: var(--black);
    border: 1px solid var(--gray-800);
    border-radius: 12px;
    padding: 24px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--white);
}

.faq-item p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--gray-500);
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .themes-showcase {
        grid-template-columns: 1fr;
    }
    
    .editor-preview {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-brand {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .compare-table {
        font-size: 0.8rem;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 10px 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
}

/* Data Logging Section */
.logging-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}

.logging-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.logging-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logging-text h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1rem;
}

.logging-text p {
    color: #999;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.logging-features {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.logging-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ccc;
    font-size: 1rem;
}

.logging-features svg {
    width: 20px;
    height: 20px;
    stroke: #22c55e;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .logging-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logging-image {
        order: -1;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke: #cc0000;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-item h4 {
    color: #fff;
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.contact-item p,
.contact-item a {
    color: #999;
    margin: 0;
    text-decoration: none;
}

.contact-item a:hover {
    color: #cc0000;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   NEW BRANDING STYLES - Logo Images & German Bar
   ============================================ */

/* German Flag Accent Bar */
.german-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #1a1a1a 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffcc00 66.66%);
    z-index: 1001;
}

/* Adjust navbar for German bar */
.navbar {
    top: 4px;
}

/* Logo Image Styles */
.logo-img {
    height: 28px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-bottom: 12px;
}

/* Hide text logo if image is present */
.logo .logo-text,
.footer-brand .logo-text {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-img {
        height: 24px;
    }
    
    .footer-logo {
        height: 20px;
    }
}
