/* Base & Reset */
:root {
    --white: #ffffff;
    --light-grey: #f7f7f7;
    --black: #111111;
    --red: #D60C0C; 
    --border-color: #e0e0e0;
    --border-width: 1px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Light Brutalist / Minimalist Grid Typography */
h1, h2, h3, h4, strong {
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

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

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

.pad-content {
    padding: 6rem 4rem;
}

.border-bottom {
    border-bottom: var(--border-width) solid var(--border-color);
}

.border-right {
    border-right: var(--border-width) solid var(--border-color);
}

.bg-light-grey {
    background-color: var(--light-grey);
}

/* Typography Utilities */
.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--black);
    display: inline-block;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
}

.huge-text {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--black);
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

/* Grid & Layout */
.section {
    position: relative;
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    border-bottom: var(--border-width) solid var(--border-color);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

/* Placeholder for SVG logo */
.logo-container svg {
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary, .btn-solid, .btn-outline {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
    border: none;
}

.btn-primary, .btn-solid {
    background-color: var(--red);
    color: var(--white);
    border: 1px solid var(--red);
}

.btn-primary:hover, .btn-solid:hover {
    background-color: var(--black);
    border-color: var(--black);
}

.btn-outline {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--black);
}

.btn-outline:hover {
    background-color: var(--black);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    display: flex;
    min-height: 85vh;
}

.hero-content {
    flex: 1.5;
    padding: 8rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--border-width) solid var(--border-color);
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 500px;
    margin-bottom: 4rem;
    color: #555;
}

.hero-graphic {
    flex: 1;
    background-color: var(--light-grey);
    position: relative;
    /* Clean, stark graphic area without the comic elements */
}

/* Achievements */
.achievement-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievement-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.achievement-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.achievement-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Cards (Clean Grid Style) */
.card {
    padding: 3rem;
    border-bottom: var(--border-width) solid var(--border-color);
    background-color: var(--white);
}

.card:last-child {
    border-bottom: none;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.card p {
    color: #555;
}

/* Interactive Products (Neo-Brutalism removed, Clean Swiss Style added) */
.product-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    border-color: var(--black);
}

.product-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-header h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
}

.badge {
    background-color: var(--black);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.product-image-wrapper {
    height: 400px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-teaser {
    padding: 2rem;
}

.product-teaser p {
    color: #555;
}

.action-hint {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--black);
    text-decoration: underline;
}

/* Modal Style for Expanded State */
/* Instead of FLIP layout jumping, we use a fixed modal overlay that animates flawlessly */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--white);
    padding: 2rem 4rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.modal-header h2 {
    font-size: 2rem;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: var(--black);
    transition: color 0.3s ease;
}

.modal-close-btn:hover {
    color: var(--red);
}

.modal-body {
    padding: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.image-large {
    background: var(--light-grey);
    padding: 4rem;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.image-large img {
    max-width: 100%;
    height: auto;
}

.highlight-text {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--black);
    line-height: 1.2;
}

.details-large ul {
    list-style: none;
}

.details-large li {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #444;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--red);
}

.details-large li strong {
    color: var(--black);
    display: block;
    margin-bottom: 0.5rem;
}

/* Mockup UI for App */
.app-mockup {
    width: 160px;
    height: 320px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.app-mockup .mockup-screen {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.alert-box {
    background-color: var(--red);
    color: white;
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}
.alert-box.large {
    font-size: 1.2rem;
    padding: 1.5rem;
}

.app-large-display {
    display: flex;
    justify-content: center;
    background: transparent;
    border: none;
}
.app-mockup-large {
    width: 320px;
    height: 640px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    background: var(--white);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Problem / Solution Section */
.problem-side {
    background: #fafafa;
}

.solution-side {
    background: var(--white);
}

.problem-side h3, .solution-side h3 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

/* Vision / CTA */
.manifesto {
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.4;
    color: #333;
}

.cta-box {
    max-width: 600px;
    margin: 6rem auto 0 auto;
    padding: 0;
}

.support-form {
    display: flex;
    margin-top: 2rem;
}

.support-form input {
    flex: 1;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-right: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background: var(--light-grey);
}

/* Responsive */
@media (max-width: 900px) {
    .grid-2, .product-gallery {
        grid-template-columns: 1fr;
    }
    .hero-section {
        flex-direction: column;
    }
    .hero-content {
        border-right: none;
        border-bottom: var(--border-width) solid var(--border-color);
    }
    .border-right {
        border-right: none;
        border-bottom: var(--border-width) solid var(--border-color);
    }
    .product-full-grid {
        grid-template-columns: 1fr;
    }
    .product-gallery {
        gap: 2rem;
    }
    .pad-content {
        padding: 4rem 2rem;
    }
    .navbar {
        padding: 1rem 2rem;
    }
    .nav-links {
        display: none;
    }
}
