/* ==============================================
   VEKTOR FORGE — FRONTPAGE STYLESHEET
   Page-specific styles for index.html
   Last updated: 2026-05-15

   SECTIONS:
   1.  Hero
   2.  Trust Strip
   3.  What We Do
   4.  How It Works
   5.  Product Preview
   6.  Layout — Centering (FrontPage sections)
   7.  Responsive — FrontPage sections (max-width: 768px)
   8.  Responsive — FrontPage sections (max-width: 480px)
============================================== */


/* =============================================
   1. HERO
============================================= */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: flex-start;
    padding: 80px max(48px, calc(50vw - 592px));
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero::before {
    display: none;
}

/* Diagonal rule line top-right, referencing the VF logo diagonal */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 18%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text);
    max-width: 780px;
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: normal;
    color: var(--ember);
}

.hero-sub {
    font-size: 18px;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-actions .btn-cta {
    font-size: 14px;
    padding: 14px 32px;
}

.hero-actions .btn-ghost {
    font-size: 14px;
    padding: 14px 32px;
}

.hero-bg-placeholder {
    width: 40%;
    flex-shrink: 0;
    min-height: 480px;
    align-self: stretch;
    background: var(--surface);
    border: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-bg-placeholder p {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    padding: 0 32px;
    line-height: 1.5;
}


/* =============================================
   2. TRUST STRIP
============================================= */
.trust-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 28px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 32px;
    border-right: 1px solid var(--border);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 36px;
    height: 36px;
    background: var(--ember);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.trust-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trust-text span {
    font-size: 12px;
    color: var(--muted);
}


/* =============================================
   3. WHAT WE DO
============================================= */
.what-we-do {
    padding: 100px 48px;
    border-bottom: 1px solid var(--border);
}

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

.service-card {
    background: var(--surface);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--ember);
}

.service-num {
    font-size: 72px;
    font-family: var(--font-head);
    font-weight: 400;
    color: var(--border);
    line-height: 1;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.service-card ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.service-card ul li {
    background: var(--surface2);
    border: 1px solid var(--border);
    font-size: 12px;
    padding: 4px 12px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.service-img-placeholder {
    width: 100%;
    height: 180px;
    background: var(--surface2);
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}


/* =============================================
   4. HOW IT WORKS
============================================= */
.how-it-works {
    padding: 100px 48px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    position: relative;
}

/* Connecting line behind step number boxes */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: var(--border);
}

.step {
    padding: 0 40px;
    border-right: 1px solid var(--border);
}

.step:last-child {
    border-right: none;
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--ember);
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-family: var(--font-head);
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}


/* =============================================
   5. PRODUCT PREVIEW
============================================= */
.product-preview {
    padding: 100px 48px;
    border-bottom: 1px solid var(--border);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 56px;
}

.product-card {
    background: var(--surface);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card-img {
    width: 100%;
    height: 220px;
    background: var(--surface2);
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-body {
    padding: 24px;
}

.product-card-body h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.product-card-body p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.product-card-body .price-from {
    font-size: 12px;
    color: var(--ember);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ember);
    transition: width 0.3s ease;
}

.product-card:hover::after {
    width: 100%;
}


/* =============================================
   6. LAYOUT — CENTERING (FrontPage sections)
   Centers content at max 1184px on wide screens
============================================= */
.trust-strip,
.what-we-do,
.how-it-works,
.product-preview {
    padding-left: max(48px, calc(50vw - 592px));
    padding-right: max(48px, calc(50vw - 592px));
}


/* =============================================
   7. RESPONSIVE — FRONTPAGE (max-width: 768px)
============================================= */
@media (max-width: 768px) {
    .hero {
        min-height: unset;
        padding: 48px 24px;
    }

    .hero::after {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        gap: 32px;
    }

    .hero-bg-placeholder {
        width: 100%;
        height: 200px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
        padding: 24px;
    }

    .trust-item {
        padding: 12px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .trust-strip,
    .what-we-do,
    .how-it-works,
    .product-preview {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-grid::before {
        display: none;
    }

    .step {
        border-right: none;
        padding: 0;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}


/* =============================================
   8. RESPONSIVE — FRONTPAGE (max-width: 480px)
============================================= */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
