/* DealEngine AG - Swiss Editorial Style (DefenceTech Design System) */

:root {
    /* Colors */
    --white: #fafaf8;
    --ink: #0E2A47;
    --ink-light: #1a3a5a;
    --muted: #6b6b67;
    --border: #ddddd8;
    --accent: #C8DCFF;
    --gray-bg: #f7f7f4;
    
    /* Typography */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.header__logo:hover {
    opacity: 0.7;
}

.header__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
}

.header__logo-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.header__logo-domain {
    color: var(--ink);
    font-weight: 700;
}

.header__nav {
    display: flex;
    gap: 36px;
}

.header__nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.2s;
}

.header__nav-link:hover {
    color: var(--muted);
}

.header__cta {
    padding: 10px 24px;
    border: 1px solid var(--ink);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.2s;
}

.header__cta:hover {
    background-color: var(--ink);
    color: var(--white);
}

/* Hero Section */
.hero {
    margin-top: 72px;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 96px 0;
}

.hero__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero__eyebrow-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.hero__eyebrow-line {
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 32px;
}

.hero__headline em {
    font-style: italic;
}

.hero__body {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 440px;
    margin-bottom: 48px;
}

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

.hero__stat-number {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 8px;
}

.hero__stat-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero__right {
    background-color: var(--ink);
    padding: 64px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hero__right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 48px, rgba(255,255,255,0.03) 49px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 48px, rgba(255,255,255,0.03) 49px);
    pointer-events: none;
}

.hero__right-content {
    position: relative;
    z-index: 1;
}

.hero__manifesto {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 32px;
}

.hero__divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    margin-bottom: 24px;
}

.hero__legal {
    font-size: 13px;
    line-height: 1.6;
    color: var(--accent);
}

.hero__legal strong {
    color: var(--white);
}

/* Sections */
.section {
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.section--services {
    background-color: var(--gray-bg);
}

.section__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.section__header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 96px;
    margin-bottom: 64px;
}

.section__label {
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.section__title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin-bottom: 24px;
}

.section__title em {
    font-style: italic;
}

.section__intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 600px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
}

.feature {
    background-color: var(--white);
    padding: 48px 36px;
}

.feature__icon {
    width: 6px;
    height: 6px;
    background-color: var(--ink);
    border-radius: 50%;
    margin-bottom: 24px;
}

.feature__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.feature__description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    font-weight: 300;
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.service {
    padding: 36px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.service__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}

.service__description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.service__features {
    list-style: none;
}

.service__features li {
    font-size: 13px;
    color: var(--ink);
    padding-left: 16px;
    position: relative;
    margin-bottom: 8px;
}

.service__features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--muted);
}

/* Compliance */
.compliance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
}

.compliance__block {
    padding: 36px;
    background-color: var(--gray-bg);
    border-radius: 4px;
}

.compliance__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 16px;
}

.compliance__text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.compliance__list {
    list-style: none;
}

.compliance__list li {
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 12px;
    padding-left: 16px;
    position: relative;
}

.compliance__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ink);
}

.compliance__list strong {
    font-weight: 600;
}

/* Process */
.process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.process__step {
    position: relative;
    padding-left: 64px;
}

.process__number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 50%;
}

.process__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
}

.process__description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
}

.contact__title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

.contact__address {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 24px;
}

.contact__details {
    font-size: 14px;
    line-height: 1.8;
    color: var(--muted);
}

.contact__details strong {
    color: var(--ink);
    font-weight: 600;
}

.contact__details a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.2s;
}

.contact__details a:hover {
    border-color: var(--ink);
}

.contact__form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 24px;
}

/* Form */
.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--ink);
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.2s;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--ink);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__submit {
    width: 100%;
    padding: 14px 24px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background-color: var(--ink);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.form__submit:hover {
    background-color: var(--ink-light);
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background-color: var(--gray-bg);
}

.footer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__legal {
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.footer__nav {
    display: flex;
    gap: 32px;
}

.footer__link {
    font-size: 11px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.2s;
}

.footer__link:hover {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 960px) {
    .header__nav {
        display: none;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    
    .section__header {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .features,
    .services,
    .process {
        grid-template-columns: 1fr;
    }
    
    .contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__container {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
