html, body {
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    scroll-behavior: smooth;
}

.marketing-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.marketing-site main {
    flex: 1;
}

/* App bar */
.marketing-appbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e8e8ef;
}

.marketing-appbar-spacer {
    height: 64px;
}

.marketing-logo {
    height: 36px;
    width: auto;
}

.marketing-nav-active {
    color: #7e6fff !important;
    font-weight: 500;
}

/* Hero */
.marketing-hero {
    color: #e8e8ef;
}

.marketing-hero-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.marketing-hero-subtitle {
    color: #92929f !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.marketing-hero-eyebrow {
    color: #7e6fff !important;
    letter-spacing: 0.12em;
}

.marketing-hero-trust {
    color: #74718e !important;
}

.marketing-hero-outline-btn {
    color: #e8e8ef !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Sections */
.marketing-section {
    background: #fafafa;
}

.marketing-section--alt {
    background: #ffffff;
}

.marketing-muted {
    color: #5c5c6f !important;
}

.marketing-cta-band {
    background: linear-gradient(135deg, #12121c 0%, #1a1a27 100%);
    color: #e8e8ef;
}

.marketing-cta-band .mud-typography-h4 {
    color: #ffffff;
}

/* Problem teasers */
.problem-teaser {
    background: #ffffff;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    min-height: 280px;
    height: 100%;
    width: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.problem-teaser:hover {
    box-shadow: 0 8px 24px rgba(18, 18, 28, 0.08);
    transform: translateY(-2px);
}

.contact-card {
    background: #ffffff;
    border-radius: 12px;
    height: 100%;
    width: 100%;
}

/* Screenshot placeholders */
.screenshot-placeholder {
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a27;
}

.screenshot-placeholder--photo {
    background: transparent;
    border: 1px solid #e8e8ef;
}

.screenshot-placeholder__frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed rgba(126, 111, 255, 0.4);
    border-radius: 12px;
    min-height: 200px;
}

.screenshot-placeholder--wide .screenshot-placeholder__frame,
.screenshot-placeholder--wide .screenshot-placeholder__image {
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.screenshot-placeholder--portrait .screenshot-placeholder__frame,
.screenshot-placeholder--portrait .screenshot-placeholder__image {
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 0 auto;
    object-fit: cover;
}

.screenshot-placeholder--standard .screenshot-placeholder__frame {
    aspect-ratio: 4 / 3;
}

.screenshot-placeholder--widescreen .screenshot-placeholder__frame,
.screenshot-placeholder--widescreen .screenshot-placeholder__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.screenshot-placeholder__image {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.screenshot-placeholder__trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
    line-height: 0;
}

.screenshot-placeholder__trigger:focus-visible {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.screenshot-slider {
    position: relative;
}

.screenshot-slider__image {
    animation: screenshot-slider-fade 0.45s ease;
}

@keyframes screenshot-slider-fade {
    from { opacity: 0.35; }
    to { opacity: 1; }
}

.screenshot-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 2px 8px rgba(18, 18, 28, 0.16);
}

.screenshot-slider__arrow--prev {
    left: 0.35rem;
}

.screenshot-slider__arrow--next {
    right: 0.35rem;
}

.screenshot-lightbox-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.screenshot-lightbox {
    max-width: min(96vw, 1280px);
    outline: none;
}

.screenshot-lightbox__stage {
    position: relative;
}

.screenshot-lightbox__frame {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #e8e8ef;
}

.screenshot-lightbox__image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 12rem);
    object-fit: contain;
    border: 0;
}

.screenshot-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 2px 8px rgba(18, 18, 28, 0.16);
}

.screenshot-lightbox__arrow--prev {
    left: 0.35rem;
}

.screenshot-lightbox__arrow--next {
    right: 0.35rem;
}

/* Pricing */
.pricing-grid {
    --pricing-gap: 1.5rem;
    --pricing-card-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--pricing-gap);
}

.pricing-grid__row {
    display: grid;
    gap: var(--pricing-gap);
    align-items: stretch;
    justify-content: center;
    width: 100%;
    grid-template-columns: minmax(0, var(--pricing-card-width));
}

@media (min-width: 600px) {
    .pricing-grid__row {
        grid-template-columns: repeat(2, minmax(0, var(--pricing-card-width)));
        width: auto;
    }
}

@media (min-width: 960px) {
    .pricing-grid__row--top {
        grid-template-columns: repeat(3, minmax(0, var(--pricing-card-width)));
    }

    .pricing-grid__row--bottom {
        grid-template-columns: repeat(2, minmax(0, var(--pricing-card-width)));
    }
}

.pricing-card {
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    background: #ffffff;
    min-height: 420px;
    min-width: 0;
    height: 100%;
    overflow-wrap: break-word;
}

.pricing-card .mud-typography-h4 {
    line-height: 1.25;
    overflow-wrap: break-word;
}

.pricing-card .pricing-card__price {
    flex-wrap: wrap;
    min-width: 0;
}

.pricing-card--highlight {
    border-color: #7e6fff;
    box-shadow: 0 8px 32px rgba(126, 111, 255, 0.15);
}

.pricing-vat-note {
    display: block;
    padding-top: 1.5rem;
}

.pricing-partner-card {
    border: 1px solid #7e6fff;
    border-radius: 12px;
    background: rgba(126, 111, 255, 0.04);
}

.pricing-strip-card {
    border: 1px solid #e8e8ef;
    border-radius: 8px;
    background: #ffffff;
}

.pricing-strip-card--highlight {
    border-color: #7e6fff;
    background: rgba(126, 111, 255, 0.04);
}

.feature-card {
    border: 1px solid #e8e8ef;
    border-radius: 8px;
    background: #ffffff;
    transition: box-shadow 0.2s ease;
    min-height: 10rem;
    width: 100%;
}

.feature-card:hover {
    box-shadow: 0 4px 16px rgba(18, 18, 28, 0.06);
}

.faq-accordion .mud-expand-panel {
    border-bottom: 1px solid #e8e8ef;
}

.faq-accordion .mud-expand-panel-header {
    padding-left: 1rem;
    padding-right: 0.5rem;
}

.faq-accordion .mud-expand-panel-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Team */
.team-member__photo-wrap {
    width: 160px;
    max-width: 100%;
    margin-inline: auto;
}

.team-member__photo {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.team-member__photo--placeholder {
    background: #ffffff;
}

@media (min-width: 600px) {
    .team-member__photo-wrap {
        margin-inline: 0;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

.py-md-12 { }
.py-md-16 { }
.py-md-20 { }

@media (min-width: 960px) {
    .py-md-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
    .py-md-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
    .py-md-20 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

/* Blazor error UI */
#blazor-error-ui {
    background: #ffb545;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
