/* ========================================
   BlackBoxesLab Website Styles v0.13
   Refactored for Easy Customization
======================================== */

/* ========================================
   🎨 DESIGN SYSTEM - CUSTOMIZATION ZONE
======================================== */

:root {
    /* 🎨 COLOR PALETTE */
    --primary-color: #000000;           /* Main brand black */
    --primary-light: #333333;           /* Lighter black for hover states */
    --primary-dark: #000000;            /* Darker variant if needed */
    
    --secondary-color: #666666;         /* Secondary gray */
    --secondary-light: #999999;         /* Light gray for subtle elements */
    --secondary-dark: #444444;          /* Dark gray for contrast */
    
    --accent-color: #667eea;            /* Blue accent for highlights */
    --accent-secondary: #764ba2;        /* Purple accent for gradients */
    
    --background-primary: #ffffff;      /* Main background */
    --background-secondary: #f9f9f9;    /* Section backgrounds */
    --background-tertiary: #f5f5f5;     /* Light backgrounds */
    --background-gradient: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    
    --text-primary: #1a1a1a;           /* Main text */
    --text-secondary: #555555;         /* Secondary text */
    --text-muted: #666666;             /* Muted text */
    --text-light: #ffffff;             /* Light text for dark backgrounds */
    
    --border-light: #e0e0e0;           /* Light borders */
    --border-medium: #cccccc;          /* Medium borders */
    --button-border: #ffffff;          /* Button border/stroke color - Change this to update all button borders */
    
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-heavy: rgba(0, 0, 0, 0.2);
    
    /* 🔤 TYPOGRAPHY SYSTEM */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: Georgia, 'Times New Roman', serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Font Weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extra-bold: 800;
    
    /* Font Sizes - Responsive Scale */
    --font-xs: 0.75rem;     /* 12px */
    --font-sm: 0.875rem;    /* 14px */
    --font-base: 1rem;      /* 16px */
    --font-lg: 1.125rem;    /* 18px */
    --font-xl: 1.25rem;     /* 20px */
    --font-2xl: 1.5rem;     /* 24px */
    --font-3xl: 1.875rem;   /* 30px */
    --font-4xl: 2.25rem;    /* 36px */
    --font-5xl: 3rem;       /* 48px */
    --font-6xl: 4rem;       /* 64px */
    
    /* Line Heights */
    --leading-tight: 1.2;
    --leading-normal: 1.5;
    --leading-relaxed: 1.6;
    --leading-loose: 1.8;
    
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    
    /* 📐 SPACING SYSTEM */
    --space-xs: 0.25rem;    /* 4px */
    --space-sm: 0.5rem;     /* 8px */
    --space-md: 1rem;       /* 16px */
    --space-lg: 1.5rem;     /* 24px */
    --space-xl: 2rem;       /* 32px */
    --space-2xl: 2.5rem;    /* 40px */
    --space-3xl: 3rem;      /* 48px */
    --space-4xl: 4rem;      /* 64px */
    --space-5xl: 5rem;      /* 80px */
    --space-6xl: 6rem;      /* 96px */
    
    /* 🎭 EFFECTS & ANIMATIONS */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-full: 50px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 10px var(--shadow-light);
    --shadow-md: 0 10px 30px var(--shadow-medium);
    --shadow-lg: 0 15px 40px var(--shadow-medium);
    --shadow-xl: 0 25px 50px var(--shadow-heavy);
    
    /* 📱 RESPONSIVE BREAKPOINTS */
    --breakpoint-sm: 480px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1200px;
}

/* ========================================
   🔄 GLOBAL RESET & BASE STYLES
======================================== */

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: var(--font-primary);
    font-size: var(--font-base);
    font-weight: var(--weight-regular);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
}

/* ========================================
   🧭 NAVIGATION SYSTEM
======================================== */

nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-lg) 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.logo { 
    font-size: var(--font-2xl);
    font-weight: var(--weight-bold);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { 
    display: flex; 
    gap: var(--space-2xl);
    list-style: none;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-primary);
    font-weight: var(--weight-medium);
    transition: color var(--transition-normal);
}

.nav-links a:hover { 
    color: var(--text-muted);
}

/* 📱 Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition-normal);
}

.nav-links.mobile-open {
    transform: translateX(0);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ========================================
   🦸 HERO SECTIONS
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    position: relative;
    padding: 0 5%;
    text-align: center;
    overflow: hidden;
}

/* Background image as IMG element */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Dark overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Ensure content appears above overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-small {
    padding: var(--space-6xl) 5% var(--space-4xl);
    background: var(--background-gradient);
    text-align: center;
}

.hero-content h1 {
    font-size: var(--font-6xl);
    margin-bottom: var(--space-lg);
    font-weight: var(--weight-extra-bold);
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-tight);
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-small h1 {
    font-size: var(--font-5xl);
    margin-bottom: var(--space-md);
    font-weight: var(--weight-extra-bold);
    line-height: var(--leading-tight);
}

.hero-content p {
    font-size: var(--font-3xl);
    font-weight: var(--weight-bold);
    color: #ffffff !important;
    margin-bottom: var(--space-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-small p {
    font-size: var(--font-xl);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: var(--leading-relaxed);
}

/* ========================================
   🔘 BUTTON SYSTEM
======================================== */

.cta-button {
    display: inline-block;
    padding: var(--space-lg) var(--space-3xl);
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: var(--weight-semibold);
    font-size: var(--font-base);
    transition: all var(--transition-normal);
    margin: 0 var(--space-md);
    min-height: 44px;
    box-sizing: border-box;
    border: 2px solid var(--button-border);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.secondary {
    background: transparent;
    color: var(--button-border);
    border: 2px solid var(--button-border);
}

.cta-button.secondary:hover {
    background: var(--button-border);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.project-button {
    display: inline-block;
    padding: var(--space-sm) var(--space-xl);
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: var(--weight-medium);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    margin-top: var(--space-md);
}

.project-button:hover {
    background: var(--primary-light);
}

/* ========================================
   📄 CONTENT SECTIONS
======================================== */

.section { 
    padding: var(--space-5xl) 5%;
    background: var(--background-primary);
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.section:nth-child(even) {
    background: var(--background-secondary);
}

.section h2 { 
    text-align: center;
    font-size: var(--font-4xl);
    margin-bottom: var(--space-3xl);
    font-weight: var(--weight-bold);
    color: var(--text-primary);
}

.section h3 { 
    font-size: var(--font-2xl);
    margin-bottom: var(--space-lg);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
}

.section p { 
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
    max-width: 800px;
}

/* ========================================
   🎯 FEATURE COMPONENTS
======================================== */

.features { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

/* Demo Video Section */
.demo-video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: var(--space-4xl) auto;
    padding: 0 var(--space-xl);
}

/* ALTERNATIVE 1: Full-Width Centered Video */
.video-container-fullwidth {
    max-width: min(900px, 90vw);
    width: 100%;
    margin: var(--space-3xl) auto;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.video-container-fullwidth::before {
    content: '';
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: var(--primary-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.video-container-fullwidth video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

/* ALTERNATIVE 2: Compact Side-by-Side */
.video-container-compact {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 1000px;
    margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg);
}

.video-container-compact video {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.video-container-compact .video-info {
    background: var(--background-secondary);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
}

/* ALTERNATIVE 3: Large Video with Text Below */
.video-container-large {
    max-width: 1000px;
    margin: var(--space-3xl) auto;
    text-align: center;
}

.video-container-large video {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--space-xl);
}

.video-container-large .video-caption {
    background: var(--background-secondary);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin: 0 auto;
}

/* ALTERNATIVE 4: Small Video with Prominent Text */
.video-container-small {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1100px;
    margin: var(--space-3xl) auto;
    padding: 0 var(--space-lg);
}

.video-container-small video {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-container-small .text-content h3 {
    font-size: var(--font-3xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.video-container-small .text-content p {
    font-size: var(--font-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.video-container-small .highlight-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: var(--text-light);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    margin-top: var(--space-lg);
}

@media (max-width: 768px) {
    .demo-video-section,
    .video-container-compact,
    .video-container-small {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 var(--space-md);
    }
    
    .video-container-fullwidth {
        max-width: min(95vw, 600px);
        margin: var(--space-xl) auto;
    }
    
    .video-container-large {
        margin: var(--space-xl) var(--space-md);
        max-width: calc(100vw - 2rem);
        padding: 0 var(--space-sm);
    }
    
    .video-container-small .text-content h3 {
        font-size: var(--font-2xl);
    }
}

@media (max-width: 480px) {
    .video-container-fullwidth {
        max-width: 95vw;
        margin: var(--space-lg) auto;
    }
}

.feature-card {
    background: var(--background-primary);
    padding: var(--space-3xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card .icon {
    font-size: var(--font-5xl);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    min-height: 3em;
    display: flex;
    align-items: center;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ========================================
   📊 PROJECT CARDS
======================================== */

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

.project-card {
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card-content {
    padding: var(--space-2xl);
}

.project-card h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.project-card .description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: var(--leading-relaxed);
    min-height: 60px;
}

/* ========================================
   📋 STEPS & PROCESS
======================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

.step-card {
    text-align: center;
    padding: var(--space-2xl);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    font-weight: var(--weight-bold);
    margin: 0 auto var(--space-lg);
}

.step-card h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ========================================
   💼 PRICING CARDS
======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-4xl);
}

.pricing-card {
    background: var(--background-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--space-3xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: "Beliebt";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-light);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--border-radius-full);
    font-size: var(--font-sm);
    font-weight: var(--weight-semibold);
}

.pricing-card h3 {
    font-size: var(--font-2xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: var(--font-4xl);
    font-weight: var(--weight-bold);
    color: var(--accent-color);
    margin-bottom: var(--space-md);
}

.pricing-card .duration {
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-2xl);
}

.pricing-features li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ========================================
   ❓ FAQ ACCORDION
======================================== */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: var(--space-4xl);
}

.faq-item {
    margin-bottom: var(--space-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    background: var(--background-secondary);
    padding: var(--space-xl);
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: var(--font-lg);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-normal);
}

.faq-question:hover {
    background: var(--border-light);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    background: var(--background-primary);
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-answer.active {
    max-height: 200px;
    padding: var(--space-xl);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ========================================
   📝 CONTACT FORM
======================================== */

.contact-form {
    max-width: 600px;
    margin: var(--space-4xl) auto 0;
    background: var(--background-primary);
    padding: var(--space-3xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-xl);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: var(--weight-medium);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius-md);
    font-size: var(--font-base);
    font-family: var(--font-primary);
    transition: border-color var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--space-lg) var(--space-3xl);
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-lg);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 100%;
}

.form-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ========================================
   🦶 FOOTER
======================================== */

footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: var(--space-4xl) 5% var(--space-2xl);
    text-align: center;
}

footer h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-lg);
    color: var(--text-light);
}

footer p {
    color: var(--secondary-light);
    margin-bottom: var(--space-md);
    line-height: var(--leading-relaxed);
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 var(--space-md);
    transition: color var(--transition-normal);
}

footer a:hover {
    color: var(--secondary-light);
}

.footer-links {
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--secondary-color);
}

/* ========================================
   📱 RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
    :root {
        /* Adjust font sizes for mobile */
        --font-6xl: 2.5rem;     /* Smaller hero text */
        --font-5xl: 2rem;       /* Smaller section headings */
        --font-4xl: 1.75rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
    }
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        display: flex !important;
        flex-direction: column !important;
        padding: var(--space-5xl) var(--space-xl) var(--space-xl) !important;
        transition: right var(--transition-normal) !important;
        z-index: 1000 !important;
    }
    
    .nav-links.mobile-open { 
        display: flex !important;
        right: 0 !important;
    }
    
    .nav-links a {
        color: var(--text-light) !important;
        text-decoration: none !important;
        padding: var(--space-lg) 0 !important;
        border-bottom: 1px solid var(--secondary-color) !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Content adjustments */
    .hero {
        padding: var(--space-4xl) var(--space-xl);
    }
    
    .section {
        padding: var(--space-3xl) var(--space-xl);
    }
    
    .features,
    .projects,
    .steps,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-content h1 {
        font-size: var(--font-4xl);
    }
    
    .hero-content p {
        font-size: var(--font-lg);
    }
    
    .cta-button {
        display: block;
        margin: var(--space-md) 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: var(--font-3xl);
    }
    
    .section h2 {
        font-size: var(--font-2xl);
    }
    
    nav {
        padding: var(--space-md) var(--space-xl);
    }
    
    .logo {
        font-size: var(--font-lg);
    }
}

/* ========================================
   🎨 UTILITY CLASSES
======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--weight-bold); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-medium { font-weight: var(--weight-medium); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.bg-primary { background-color: var(--background-primary); }
.bg-secondary { background-color: var(--background-secondary); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

/* ========================================
   🎯 ANIMATION KEYFRAMES
======================================== */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes slideInFromRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInFromRight 0.6s ease-out;
}

/* ========================================
   END OF STYLESHEET
======================================== */

/* Global Reset and Base Styles */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 700;
    background: linear-gradient(135deg, #000, #444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { 
    display: flex; 
    gap: 2.5rem; 
    list-style: none;
}

.nav-links a { 
    text-decoration: none; 
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { 
    color: #666; 
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links.mobile-open {
    transform: translateX(0);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Sections */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    padding: 0 5%;
    text-align: center;
}

.hero-small {
    padding: 10rem 5% 4rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-small h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-small p {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 1rem;
    min-height: 44px; /* Touch-friendly minimum size */
    box-sizing: border-box;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.toggle-btn {
    background: none;
    border: 2px solid #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.toggle-btn:hover {
    background: #000;
    color: #fff;
}

/* Sections and Layout */
.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Features and Cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover { 
    transform: translateY(-5px); 
}

.feature-card h3 { 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
}

/* Steps (similar to features but with numbered circles) */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.step-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #f9f9f9;
    border-radius: 15px;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-card p {
    color: #555;
    line-height: 1.8;
}

/* Project-specific styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    background: #f9f9f9;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.project-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 3rem;
    overflow: hidden;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.project-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.story-text {
    font-style: italic;
    color: #666;
    opacity: 0.9;
}

.technical-text {
    display: none;
    color: #333;
}

.coming-soon {
    background: #f0f0f0;
    border: 2px dashed #ccc;
}

.coming-soon .project-image {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    color: #999;
}

.coming-soon .project-content {
    color: #888;
}

.difficulty {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.difficulty.beginner { background: #27ae60; }
.difficulty.intermediate { background: #f39c12; }
.difficulty.advanced { background: #e74c3c; }

/* School/Education specific styles */
.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

@media (max-width: 1200px) {
    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .benefits {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile Navigation Styles */
    nav {
        padding: 1rem 5%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.mobile-open {
        transform: translateX(0);
    }
    
    /* Mobile Hero Styles */
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }
    
    .hero-small h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-small p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Mobile Button Styles */
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 0.5rem;
    }
    
    /* Mobile Section Styles */
    .section {
        padding: 4rem 5%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile Features Grid */
    .features {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    /* Mobile Steps Grid */
    .steps {
        gap: 2rem;
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile Contact Page */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 100%;
        overflow: hidden;
        width: 100%;
    }
    
    .contact-info {
        width: 100%;
        max-width: 100%;
        order: 1;
    }
    
    .contact-form {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        order: 2;
    }
    
    /* Ensure all elements fit within viewport */
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .quick-links {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .quick-link-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #555;
    line-height: 1.8;
}

.curriculum {
    background: #f9f9f9;
    padding: 4rem;
    border-radius: 15px;
    margin-bottom: 4rem;
}

.curriculum h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.curriculum ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.curriculum li {
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    padding-left: 2.5rem;
    position: relative;
}

.curriculum li:before {
    content: '✓';
    position: absolute;
    left: 1rem;
    color: #27ae60;
    font-weight: 700;
    font-size: 1.2rem;
}

.cta-section {
    background: #000;
    color: #fff;
    padding: 5rem;
    border-radius: 15px;
    text-align: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 1;
    color: #f0f0f0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

/* Contact form styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #333;
    margin-bottom: 0;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.quick-link-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.quick-link-card p {
    color: #555;
    margin-bottom: 1.5rem;
}

.quick-link-card a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Contact form styles */
.contact-form {
    width: 100%;
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #000;
}

.submit-btn {
    background: #000;
    color: #fff;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.info-card a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.info-card a:hover {
    color: #666;
}

/* Under Construction Styles */
.construction-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    text-align: center;
    color: #333;
}

.construction-content {
    max-width: 600px;
    padding: 3rem;
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.construction-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

.construction-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.construction-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.back-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* Footer Styles */
.site-footer {
    background: #e8e8e8;
    color: var(--text-primary);
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
}

/* Legal content styles for Impressum */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.legal-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.legal-section h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #555;
}

.contact-details {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 480px) {
    /* Extra small screens */
    nav {
        padding: 0.8rem 3%;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-small h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p, .hero-small p {
        font-size: 1rem;
    }
    
    .section {
        padding: 3rem 3%;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .feature-card, .step-card {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .nav-links {
        width: 80%;
    }
    
    /* Extra small quick-links */
    .quick-links {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .quick-link-card {
        padding: 1rem;
    }
    
    /* Extra small contact form */
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-small h1 {
        font-size: 2.8rem;
    }
}