/* ============================================================================
   HERO CLEAN - Neuropsychologicznie zoptymalizowany layout
   ============================================================================ */

/* H1 - Main Title - Jobs-style refinement */
.hero-main-title-new {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15; /* Tighter, more elegant */
    letter-spacing: -0.02em; /* Apple-style tight tracking */
    margin-bottom: 1.5rem; /* H1 → paragraph: cognitive break */
    color: var(--text-primary-light);
}

/* Description Paragraph - Enhanced readability */
.hero-description-new {
    font-size: 1.1rem;
    line-height: 1.7; /* readability sweet spot */
    letter-spacing: 0.005em; /* Subtle breathing room */
    color: var(--text-light);
    margin-bottom: 2rem; /* paragraph → transform: visual grouping */
}

/* ============================================================================
   TRANSFORM SECTION - Clean, Text-Only Distinction
   ============================================================================ */

.transform-section-clean {
    max-width: 750px;
    margin: 0 auto 2rem; /* center + bottom spacing */
}

/* Transform Header */
.transform-header-clean {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary-light);
    margin-bottom: 1.25rem;
    line-height: 1.4;
    text-align: center;
}

/* Column Headers: Twój punkt A / Twój punkt B */
.transform-columns {
    display: grid;
    grid-template-columns: minmax(180px, 45%) auto minmax(180px, 45%);
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto 0.75rem;
    align-items: center;
}

.transform-col-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary-light);
}

.transform-col-header:first-child {
    text-align: right;
}

.transform-col-header:nth-child(2) {
    /* Empty middle column for alignment */
    width: 40px;
}

.transform-col-header:last-child {
    text-align: left;
}

/* Transform Rows - Inline Arrows */
.transform-row {
    display: grid;
    grid-template-columns: minmax(180px, 45%) auto minmax(180px, 45%);
    gap: 0.75rem;
    align-items: center;
    max-width: 700px;
    margin: 0 auto 0.5rem;
}

.transform-left {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: right;
    line-height: 1.5;
}

.transform-arrow {
    color: var(--accent-gold);
    font-size: 1.25rem;
    text-align: center;
    font-weight: 400;
    padding: 0 0.25rem;
}

.transform-right {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.5;
}

/* Tagline - Italic, Centered */
.transform-tagline-clean {
    text-align: center;
    font-style: italic;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================================
   RESPONSIVE - Mobile Optimization
   ============================================================================ */

@media (max-width: 968px) {
    .hero-main-title-new {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.25rem;
    }

    .hero-description-new {
        text-align: center;
        margin-bottom: 1.75rem;
    }

    .transform-header-clean {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .transform-columns {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .transform-col-header {
        text-align: center !important;
        padding: 0 !important;
        font-size: 0.95rem;
    }

    .transform-col-header:nth-child(2) {
        display: none; /* Hide middle spacer on mobile */
    }

    .transform-col-header:first-child::after {
        content: ' (TERAZ)';
        font-size: 0.8rem;
        opacity: 0.7;
        font-weight: 400;
    }

    .transform-col-header:last-child::after {
        content: ' (CEL)';
        font-size: 0.8rem;
        opacity: 0.7;
        font-weight: 400;
    }

    .transform-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
        margin-bottom: 1rem;
        padding: 0.75rem 0;
    }

    .transform-left,
    .transform-right {
        text-align: center;
        padding: 0;
    }

    .transform-arrow {
        transform: rotate(90deg);
        margin: 0.25rem auto;
        display: block;
        text-align: center;
    }

    .transform-tagline-clean {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .hero-main-title-new {
        font-size: 1.75rem;
    }

    .hero-description-new {
        font-size: 1rem;
    }

    .transform-header-clean {
        font-size: 1.1rem;
    }

    .transform-left,
    .transform-right {
        font-size: 0.9rem;
    }
}

/* ============================================================================
   SIMPLE 2-COLUMN TRANSFORMATION - STATIC & CLEAN
   ============================================================================ */

.transformation-section {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 80px;
}

.transformation-header {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary-light, #e2e8f0);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.transformation-col {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* SCROLL REVEAL ANIMATION - tylko gdy JS enabled */
.js-enabled .transformation-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.js-enabled .transformation-col.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay dla drugiej karty (staggered animation) */
.js-enabled .transformation-col.solution {
    transition-delay: 0.15s;
}

.transformation-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: var(--transition-normal);
}

.transformation-col.problem::before {
    background: #ef4444;
    opacity: 1;
}

.transformation-col.solution::before {
    background: #10b981;
    opacity: 1;
}

.transformation-col:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 122, 204, 0.3);
    box-shadow: 0 20px 40px rgba(0, 122, 204, 0.1);
}

.transformation-col.problem:hover {
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.transformation-col.solution:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.col-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-blue, #007acc);
    margin-bottom: 1.75rem;
    text-align: center;
}

.transformation-col.problem .col-title {
    color: #ef4444;
}

.transformation-col.solution .col-title {
    color: #10b981;
}

.col-list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.col-list li {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-primary-light, #e2e8f0);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0;
}

.col-list li:before {
    content: "×";
    position: absolute;
    left: 0;
    font-size: 1.75rem;
    font-weight: bold;
    color: #ef4444;
    line-height: 1;
}

.transformation-col.solution .col-list li:before {
    content: "✓";
    color: #10b981;
}

/* QUOTE BOX - Jobs-style polish */
.transformation-quote {
    background: rgba(0, 122, 204, 0.12);
    border-left: 4px solid var(--accent-blue, #007acc);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.65;
    letter-spacing: 0.01em; /* Elegant spacing */
    color: var(--text-light, #cbd5e0);
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transformation-quote:hover {
    background: rgba(0, 122, 204, 0.18);
    box-shadow: 0 12px 32px rgba(0, 122, 204, 0.12);
    transform: translateY(-2px);
}

.transformation-quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-blue, #007acc);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.4em;
}

.transformation-quote::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-blue, #007acc);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.4em;
}

/* CTA BUTTONS */
.cta-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em; /* Subtle refinement */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Apple-style easing */
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* PRIMARY CTA - Newsletter (lowest friction) - Jobs-style polish */
.cta-button.cta-primary {
    background: linear-gradient(135deg, var(--accent-blue, #007acc) 0%, #005fa3 100%);
    color: white;
    border: 2px solid transparent;
    padding: 0.95rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.25);
}

.cta-button.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button.cta-primary:hover::before {
    left: 100%;
}

.cta-button.cta-primary:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 10px 32px rgba(0, 122, 204, 0.35);
}

/* SECONDARY CTA - Rozmowa (higher commitment) */
.cta-button.cta-secondary {
    background: transparent;
    color: var(--text-primary-light);
    border: 2px solid rgba(0, 122, 204, 0.4);
    box-shadow: none;
}

.cta-button.cta-secondary:hover {
    background: rgba(0, 122, 204, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.2);
}

/* ============================================================================
   ROTATING WORD EFFECT - Apple-inspired smooth transitions
   ============================================================================ */

.rotating-word-wrapper {
    display: inline-block;
    position: relative;
}

.rotating-word {
    display: inline-block;
    position: relative;
    font-weight: 600;
    color: var(--accent-gold, #f7931e);
    letter-spacing: -0.01em; /* Jobs-style tight spacing */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fade out animation */
.rotating-word.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

/* Fade in animation */
.rotating-word.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle glow effect on rotation (optional polish) */
@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 0 0 0 rgba(247, 147, 30, 0);
    }
    50% {
        text-shadow: 0 0 12px rgba(247, 147, 30, 0.3);
    }
}

.rotating-word.fade-in {
    animation: subtleGlow 1.2s ease-in-out;
}

/* RESPONSIVE - TRANSFORMATION */
@media (max-width: 1024px) {
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .transformation-col {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .transformation-header {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .transformation-col {
        padding: 1.5rem 1.25rem;
    }

    .col-title {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }

    .col-list li {
        font-size: 1rem;
    }

    .transformation-quote {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .cta-button {
        font-size: 0.875rem;
        padding: 1rem 1.75rem;
    }
}
