:root {
    --bg-color: #0f1016;
    --card-bg: #1a1b26;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-color: #818cf8;
    --accent-hover: #6366f1;
    --link-color: #cbd5e1;
    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Arial', sans-serif;
    --container-width: 90%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 80% 0%, #2e1065 0%, #0f1016 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Background Grid */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
    mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 4rem;
    /* Bigger Hero Text */
    margin: 1rem 0;
    /* Slight gradient on main text for depth */
    background: linear-gradient(to bottom right, #fff, #c7d2fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utility */
.container {
    width: var(--container-width);
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-color);
    background: rgba(129, 140, 248, 0.05);
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}

.btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.4);
}

.btn-outline {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
    background: transparent;
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}

.logo {
    font-size: 1.2rem;
    font-weight: 900;
    margin-right: 4rem;
    color: #fff;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    /* Taller Hero */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 0;
}

.hero-content {
    max-width: 900px;
}

.studio-tag {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.mission-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Project Section */
.project-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card-featured {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-wrap: wrap;
    /* Mobile responsive */
    overflow: hidden;
}

.project-info {
    flex: 1;
    padding: 4rem;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.status-badge {
    display: inline-block;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-color);
    padding: 4px 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
    align-self: flex-start;
}

.project-info h3 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.project-visual {
    flex: 1;
    min-width: 300px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

/* Mystery Box Animation */
.mystery-box {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #2e1065 0%, #000 70%);
    position: relative;
}

.scanner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    animation: scan 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes scan {
    0% {
        top: 10%;
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

/* News Section on Home */
.news-section {
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.2s, border-color 0.2s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: initial;
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.read-more {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-color);
}

.read-more:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Contact & Impressum Layouts */
.page-content {
    padding: 8rem 0;
    min-height: 60vh;
}

footer {
    padding: 4rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

footer a:hover {
    color: var(--accent-color);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    margin-left: auto;
    /* Push to right */
    padding-left: 2rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.2s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: var(--accent-color);
}

.lang-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Contact Page Styling */
.contact-main-link {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.2s;
}

.contact-main-link:hover {
    opacity: 0.8;
}

.business-card {
    background: rgba(129, 140, 248, 0.05);
    border: 1px solid rgba(129, 140, 248, 0.1);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    /* Pill shape for social */
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.social-btn:hover {
    background: white;
    color: black;
    transform: translateY(-3px);
}

/* Feedback Form Specifics */
#feedback-form .form-group {
    margin-bottom: 1.5rem;
}

#feedback-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

#feedback-form .form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
    transition: border-color 0.2s, background-color 0.2s;
}

#feedback-form .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.5);
}

#feedback-form textarea.form-control {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

#feedback-form button[type="submit"] {
    margin-top: 1rem;
    padding: 14px;
    font-size: 1rem;
    letter-spacing: 1px;
}