/* ============================================
   FABIETTI.XYZ - Parse.bot Design System
   Brutalist • Minimal • Technical
   ============================================ */

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

html {
    font-size: 16px;
}

body {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    background: #fff;
    color: #000;
    line-height: 1.5;
    min-height: 100vh;
}

::selection {
    background: #000;
    color: #fff;
}

::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
}

::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 2.5rem 1.25rem;
}

/* ============================================
   HEADER
   ============================================ */

header {
    border-bottom: 0.85px solid #e5e7eb;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    font-family: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    transition: all 0.15s;
}

.logo:hover {
    color: #6b7280;
}

.header-nav {
    display: flex;
    gap: 1.875rem;
}

.nav-link {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.15s;
}

.nav-link:hover {
    color: #000;
}

.status {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.75rem;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: #22c55e;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    cursor: pointer;
    position: relative;
}

.status-dot::before {
    content: '';
    position: absolute;
    inset: -0.5rem;
}

@keyframes pulse {
    50% { opacity: 0.5; }
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 6rem 0;
    border-bottom: 0.85px solid #e5e7eb;
}

.hero-content {
    max-width: 48rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 2.5rem;
    margin-bottom: 1.875rem;
}

.hero-tagline {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.875rem;
    line-height: 1.75;
}

.hero-proof {
    display: flex;
    gap: 1.875rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem 0;
    border-top: 0.85px solid #e5e7eb;
    border-bottom: 0.85px solid #e5e7eb;
}

.proof-item {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.proof-divider {
    display: none;
}

.hero-cta {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}

.hero-cta:hover {
    background: #374151;
}

/* ============================================
   SECTION HEADER
   ============================================ */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 0.85px solid #e5e7eb;
}

.section-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-index {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    padding: 4rem 0;
    border-bottom: 0.85px solid #e5e7eb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.service-item {
    padding: 1.875rem 1.25rem;
    border: 0.85px solid #e5e7eb;
    margin-right: -0.85px;
    margin-bottom: -0.85px;
    transition: all 0.15s;
}

.service-item:hover {
    border-color: #9ca3af;
    z-index: 1;
    position: relative;
}

.service-code {
    font-size: 0.6875rem;
    color: #9ca3af;
    margin-bottom: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.service-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 1.25rem;
    border-top: 0.85px solid #e5e7eb;
}

.service-benefits li {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 0.375rem;
}

.service-benefits li::before {
    content: '→ ';
    color: #d1d5db;
}

/* ============================================
   STATEMENT
   ============================================ */

.statement {
    padding: 4rem 0;
    border-bottom: 0.85px solid #e5e7eb;
}

.statement-text {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 48rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.statement-text span {
    color: #000;
    font-weight: 500;
}

.statement-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 36rem;
}

.statement-metrics .metric {
    padding: 1.25rem;
    border: 0.85px solid #e5e7eb;
    margin-right: -0.85px;
    transition: all 0.15s;
}

.statement-metrics .metric:hover {
    border-color: #9ca3af;
    z-index: 1;
    position: relative;
}

.statement-metrics .metric-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.375rem;
}

.statement-metrics .metric-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ============================================
   WHY US
   ============================================ */

.why-us {
    padding: 4rem 0;
    border-bottom: 0.85px solid #e5e7eb;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.why-item {
    padding: 1.875rem 1.25rem;
    border: 0.85px solid #e5e7eb;
    margin-right: -0.85px;
    transition: all 0.15s;
}

.why-item:hover {
    border-color: #9ca3af;
    z-index: 1;
    position: relative;
}

.why-icon {
    font-size: 0.6875rem;
    color: #9ca3af;
    margin-bottom: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.why-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
}

.why-item p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   FAQ
   ============================================ */

.faq {
    padding: 4rem 0;
    border-bottom: 0.85px solid #e5e7eb;
}

.faq-list {
    max-width: 48rem;
}

.faq-item {
    border: 0.85px solid #e5e7eb;
    margin-bottom: -0.85px;
    transition: all 0.15s;
}

.faq-item:hover {
    border-color: #9ca3af;
    z-index: 1;
    position: relative;
}

.faq-item[open] {
    border-color: #9ca3af;
    z-index: 1;
    position: relative;
}

.faq-question {
    padding: 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.15s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 400;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-item[open] .faq-question {
    border-bottom: 0.85px solid #e5e7eb;
}

.faq-answer {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    padding: 1.25rem;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.contact-info > p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.875rem;
    line-height: 1.75;
}

.contact-trust {
    margin-bottom: 1.875rem;
    padding: 1.25rem;
    border: 0.85px solid #e5e7eb;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.625rem;
}

.trust-item:last-child {
    margin-bottom: 0;
}

.trust-icon {
    font-size: 0.75rem;
    color: #9ca3af;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-link {
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.15s;
}

.contact-link:hover {
    color: #000;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.875rem;
    border: 0.85px solid #e5e7eb;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.form-input {
    background: #fff;
    border: 0.85px solid #e5e7eb;
    padding: 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 0.875rem;
    color: #000;
    transition: all 0.15s;
}

.form-input:hover {
    border-color: #9ca3af;
}

.form-input:focus {
    outline: none;
    border-color: #000;
}

.form-input::placeholder {
    color: #9ca3af;
}

textarea.form-input {
    min-height: 6rem;
    resize: vertical;
}

.form-submit {
    align-self: flex-start;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.625rem 1.25rem;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s;
}

.form-submit:hover {
    background: #374151;
}

.form-note {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    border-top: 0.85px solid #e5e7eb;
    padding: 1.25rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.footer-right {
    display: flex;
    gap: 1.875rem;
}

.footer-link {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: all 0.15s;
}

.footer-link:hover {
    color: #000;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statement-metrics {
        max-width: 100%;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 640px) {
    .container {
        padding: 1.25rem;
    }

    .header-inner {
        flex-direction: column;
        gap: 1.25rem;
        align-items: flex-start;
    }

    .header-nav {
        gap: 1.25rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .hero-proof {
        flex-direction: column;
        gap: 0.625rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        margin-right: 0;
    }

    .statement-metrics {
        grid-template-columns: 1fr;
    }

    .statement-metrics .metric {
        margin-right: 0;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-item {
        margin-right: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-form {
        padding: 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

/* ============================================
   SYSTEMS NORMAL MODAL
   ============================================ */

.systems-normal-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.systems-normal-modal.active {
    opacity: 1;
    visibility: visible;
}

.systems-normal-modal img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
}
