/* AIBIZNESLAB — Transformacja AI dla firm i zespołów (/transformacja)
 * Wersja produkcyjna v4: Czysty styl jasny, wysoki kunszt typograficzny, zero emoji, bogate komponenty wizualne
 */

.tf-page {
    background-color: #FAFAFA;
    color: #0A0A0A;
    font-family: var(--font-sans);
    overflow-x: hidden;
}

.tf-page ::selection {
    background: rgba(255, 86, 48, 0.2);
    color: #0A0A0A;
}

/* Base Layout */
.tf-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.tf-section {
    padding: 96px 0;
    position: relative;
}

.tf-section-alt {
    background: #FFFFFF;
    border-top: 1px solid rgba(10, 10, 10, 0.07);
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
}

.tf-section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.tf-section-head-center {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

/* Typography */
.tf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--accent);
    background: rgba(255, 86, 48, 0.08);
    border: 1px solid rgba(255, 86, 48, 0.2);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.tf-heading-xl {
    font-size: clamp(38px, 5.2vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: #0A0A0A !important;
    margin: 0 0 20px;
    text-wrap: balance;
}

.tf-heading-xl span.accent {
    color: var(--accent);
}

.tf-heading-lg {
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.18;
    color: #0A0A0A !important;
    margin: 0 0 16px;
    text-wrap: balance;
}

.tf-lead {
    font-size: clamp(16.5px, 1.8vw, 19px);
    line-height: 1.62;
    color: rgba(10, 10, 10, 0.7);
    margin: 0 0 32px;
    text-wrap: pretty;
}

/* Buttons & Actions */
.tf-btn-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.tf-btn-primary {
    background: var(--accent);
    color: #FFFFFF !important;
}

.tf-btn-primary:hover {
    background: #FF6B47;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 86, 48, 0.28);
}

.tf-btn-secondary {
    background: #FFFFFF;
    color: #0A0A0A !important;
    border-color: rgba(10, 10, 10, 0.14);
}

.tf-btn-secondary:hover {
    background: #F5F5F5;
    border-color: rgba(10, 10, 10, 0.25);
}

/* HERO SECTION (2 Columns) */
.tf-hero {
    padding: 80px 0 96px;
    background: radial-gradient(circle at 85% 20%, rgba(255, 86, 48, 0.06) 0%, rgba(250, 250, 250, 0) 65%);
}

.tf-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 52px;
    align-items: center;
}

.tf-hero-left {
    text-align: left;
}

.tf-hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 10, 10, 0.08);
}

.tf-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(10, 10, 10, 0.65);
}

.tf-trust-item svg {
    color: var(--accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* HERO RIGHT: ECOSYSTEM CANVAS CARD */
.tf-eco-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 48px rgba(10, 10, 10, 0.06), 0 2px 8px rgba(10, 10, 10, 0.03);
}

.tf-eco-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
    margin-bottom: 20px;
}

.tf-eco-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(10, 10, 10, 0.55);
}

.tf-eco-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #16A34A;
    background: rgba(22, 163, 74, 0.09);
    padding: 3px 9px;
    border-radius: 999px;
}

.tf-eco-status span.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16A34A;
}

.tf-eco-layers {
    display: grid;
    gap: 14px;
}

.tf-eco-layer {
    background: #FAFAFA;
    border: 1px solid rgba(10, 10, 10, 0.06);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.tf-layer-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: #0A0A0A !important;
    margin: 0 0 4px;
}

.tf-layer-info p {
    font-size: 13px;
    line-height: 1.48;
    color: rgba(10, 10, 10, 0.6);
    margin: 0;
}

.tf-layer-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.tf-badge-master {
    color: #FF5630;
    background: rgba(255, 86, 48, 0.09);
    border: 1px solid rgba(255, 86, 48, 0.22);
}

.tf-badge-nxtlvl {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.09);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.tf-badge-mkt {
    color: #059669;
    background: rgba(5, 150, 105, 0.09);
    border: 1px solid rgba(5, 150, 105, 0.22);
}

/* THREE PILLARS (Bento Grid) */
.tf-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tf-pillar-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.09);
    border-radius: 20px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(10, 10, 10, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tf-pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 10, 10, 0.08);
    border-color: rgba(255, 86, 48, 0.35);
}

.tf-pillar-header {
    margin-bottom: 20px;
}

.tf-pillar-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.tf-pillar-card:nth-child(1) .tf-pillar-tag {
    color: #FF5630;
    background: rgba(255, 86, 48, 0.08);
    border: 1px solid rgba(255, 86, 48, 0.22);
}
.tf-pillar-card:nth-child(2) .tf-pillar-tag {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
}
.tf-pillar-card:nth-child(3) .tf-pillar-tag {
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.22);
}

.tf-pillar-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0A0A0A !important;
    margin: 0 0 6px;
    line-height: 1.25;
}

.tf-pillar-subtitle {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

.tf-pillar-body {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(10, 10, 10, 0.68);
    margin: 16px 0 24px;
    flex-grow: 1;
}

.tf-pillar-deliverables {
    list-style: none;
    padding: 16px 0 0;
    margin: auto 0 0;
    border-top: 1px solid rgba(10, 10, 10, 0.07);
    display: grid;
    gap: 10px;
}

.tf-pillar-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.48;
    color: rgba(10, 10, 10, 0.85);
}

.tf-pillar-deliverables svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--accent);
    margin-top: 2px;
}

/* PROCESS SECTION (3 Balanced Steps) */
.tf-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tf-process-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: 0 4px 18px rgba(10, 10, 10, 0.03);
    display: flex;
    flex-direction: column;
}

.tf-process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.tf-process-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1;
}

.tf-process-time {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(10, 10, 10, 0.5);
    background: #F4F4F4;
    padding: 4px 10px;
    border-radius: 999px;
}

.tf-process-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0A0A0A !important;
    margin: 0 0 12px;
    line-height: 1.3;
    text-wrap: balance;
}

.tf-process-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(10, 10, 10, 0.65);
    margin: 0 0 20px;
    text-wrap: pretty;
    flex-grow: 1;
}

.tf-process-scope {
    background: #FAFAFA;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(10, 10, 10, 0.05);
}

.tf-process-scope strong {
    color: #0A0A0A;
}

/* COMPARISON MATRIX */
.tf-matrix-card {
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.04);
}

.tf-matrix-row {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    border-bottom: 1px solid rgba(10, 10, 10, 0.07);
}

.tf-matrix-row:last-child {
    border-bottom: none;
}

.tf-matrix-head {
    background: #F7F7F7;
    font-weight: 700;
    font-size: 13.5px;
    color: #0A0A0A;
}

.tf-matrix-cell {
    padding: 20px 24px;
    font-size: 14px;
    line-height: 1.55;
    display: flex;
    align-items: center;
}

.tf-matrix-dim {
    font-weight: 700;
    color: #0A0A0A;
    background: #FAFAFA;
}

.tf-matrix-bad {
    color: rgba(10, 10, 10, 0.65);
    background: #FFFBFB;
    border-left: 1px solid rgba(10, 10, 10, 0.06);
    border-right: 1px solid rgba(10, 10, 10, 0.06);
}

.tf-matrix-good {
    color: #0A0A0A;
    background: #FFFFFF;
    font-weight: 500;
}

.tf-matrix-good span.highlight {
    color: var(--accent);
    font-weight: 700;
}

/* FORM SECTION */
.tf-form-card {
    max-width: 660px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid rgba(10, 10, 10, 0.12);
    border-radius: 20px;
    padding: 44px 40px;
    box-shadow: 0 20px 60px rgba(10, 10, 10, 0.06);
}

.tf-form-stack {
    display: grid;
    gap: 18px;
}

.tf-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tf-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tf-field-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #0A0A0A;
}

.tf-field-label span.req {
    color: var(--accent);
}

.tf-input, .tf-textarea {
    width: 100%;
    background: #FAFAFA;
    border: 1px solid rgba(10, 10, 10, 0.14);
    border-radius: 8px;
    padding: 13px 15px;
    font-size: 14.5px;
    color: #0A0A0A;
    font-family: var(--font-sans);
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.tf-input:focus, .tf-textarea:focus {
    background: #FFFFFF;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 86, 48, 0.16);
}

.tf-textarea {
    resize: vertical;
    min-height: 100px;
}

.tf-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(10, 10, 10, 0.65);
    line-height: 1.48;
    cursor: pointer;
}

.tf-checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tf-checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
}

.tf-form-error {
    color: #DC2626;
    font-size: 12px;
    display: none;
    margin-top: 3px;
}

.tf-form-error.visible {
    display: block;
}

.tf-submit-status {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: 14px;
}

.tf-submit-status.is-error {
    background: #FFF5F5;
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #DC2626;
}

/* Success State */
.tf-success-card {
    text-align: center;
    padding: 44px 20px;
}

.tf-success-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #16A34A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.tf-success-icon svg {
    width: 28px;
    height: 28px;
}

.tf-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #0A0A0A !important;
    margin: 0 0 8px;
}

.tf-success-msg {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(10, 10, 10, 0.65);
    max-width: 440px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 960px) {
    .tf-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tf-pillars-grid {
        grid-template-columns: 1fr;
    }
    .tf-process-grid {
        grid-template-columns: 1fr;
    }
    .tf-matrix-row {
        grid-template-columns: 1fr;
    }
    .tf-matrix-head {
        display: none;
    }
    .tf-matrix-dim {
        background: #F7F7F7;
        border-bottom: 1px solid rgba(10, 10, 10, 0.05);
    }
    .tf-matrix-bad {
        border-left: none;
        border-right: none;
    }
}

@media (max-width: 600px) {
    .tf-section {
        padding: 60px 0;
    }
    .tf-row-2 {
        grid-template-columns: 1fr;
    }
    .tf-form-card {
        padding: 30px 20px;
    }
    .tf-btn {
        width: 100%;
    }
}
