/* /free-trial — extends marketing-home + marketing-pillar tokens */

.trial-page-hero {
    padding: var(--marketing-subpage-hero-padding-top) 0 var(--marketing-subpage-hero-padding-bottom);
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, #0a0a23 58%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.trial-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    z-index: 0;
}

.trial-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

.trial-page-hero .marketing-page-eyebrow {
    margin-bottom: 0.85rem;
}

.trial-page-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--marketing-text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.trial-page-hero__title-text {
    background: linear-gradient(135deg, #fff 0%, rgba(248, 250, 252, 0.88) 50%, rgba(226, 232, 240, 0.92) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trial-page-hero__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: rgba(244, 196, 48, 0.12);
    border: 1px solid rgba(244, 196, 48, 0.28);
    color: var(--php-accent-gold, #f4c430);
    font-size: 1.35rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trial-page-hero__lead {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.58;
    color: var(--marketing-text-soft);
}

.trial-page-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 0.65rem;
    margin: 1.35rem 0 0;
    padding: 0;
    list-style: none;
}

.trial-page-trust li {
    margin: 0;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.75);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.trial-reveal--delayed {
    transition-delay: 0.12s;
}

.trial-page-body {
    padding: 1.65rem 0 3.25rem;
}

.trial-container {
    background: var(--marketing-card-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 2.35rem 2rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--marketing-border);
    box-shadow:
        var(--marketing-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
}

.trial-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    position: relative;
}

.trial-layout::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 0;
}

.trial-screenshot-container {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--marketing-border);
    min-height: 240px;
}

.trial-screenshot-frame {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.trial-screenshot-container:hover .trial-screenshot-frame {
    transform: translateY(-2px);
    box-shadow:
        0 26px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.trial-screenshot-frame__chrome {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.25rem;
    padding: 0.4rem 0.75rem;
    background: #232d44;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.trial-screenshot-frame__dots {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}

.trial-screenshot-frame__dots span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #64748b;
}

.trial-screenshot-frame__dots span:nth-child(1) {
    background: #f87171;
}

.trial-screenshot-frame__dots span:nth-child(2) {
    background: #fbbf24;
}

.trial-screenshot-frame__dots span:nth-child(3) {
    background: #4ade80;
}

.trial-screenshot-frame__title {
    flex: 1;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.62);
}

.trial-screenshot-frame__viewport {
    position: relative;
    background: #0f172a;
    line-height: 0;
}

.trial-screenshot-frame__viewport .trial-hero-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.35s ease;
}

.trial-screenshot-container:hover .trial-screenshot-frame__viewport .trial-hero-image {
    transform: none;
}

/* No outer glow — keeps focus on the screenshot itself */

.trial-screenshot-label {
    margin: 0 0 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--marketing-text-muted);
}

.trial-hero-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.trial-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

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

.trial-content .trial-section:last-of-type {
    flex: 0 0 auto;
}

.trial-section {
    background: rgba(15, 17, 26, 0.55);
    padding: 1.2rem 1.35rem;
    border-radius: 16px;
    border: 1px solid var(--marketing-border);
}

.trial-section--form {
    padding-top: 0;
}

.trial-section h3 {
    color: var(--marketing-text);
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0 0 0.9rem;
    letter-spacing: -0.01em;
}

.trial-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trial-features li {
    padding: 0;
    margin-bottom: 0.75rem;
    color: rgba(248, 250, 252, 0.92);
    display: flex;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.55;
}

.trial-features li::before {
    content: '\2713';
    color: var(--php-accent-gold, #f4c430);
    margin-right: 0.65rem;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 1.05rem;
    margin-top: 0.1rem;
}

.trial-features li:last-child {
    margin-bottom: 0;
}

.trial-form-terms-wrap {
    padding-top: 1rem;
    margin-bottom: 0.65rem;
}

.trial-cta-button {
    display: block;
    width: 100%;
    padding: 1rem 1.1rem;
    font-size: 1.02rem;
    font-weight: 600;
    background: var(--marketing-accent, #f59e0b);
    color: #0f172a;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    text-align: center;
    text-decoration: none;
}

.trial-cta-button:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.trial-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
}

.trial-terms-row input[type='checkbox'] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--php-accent-gold, #f4c430);
}

.trial-terms-text {
    color: var(--marketing-text-soft);
    line-height: 1.55;
    font-size: 0.9rem;
}

.trial-terms-text a {
    color: var(--marketing-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.trial-terms-text a:hover {
    color: #fbbf24;
}

.trial-form-hint {
    color: var(--marketing-text-muted);
    font-size: 0.82rem;
    line-height: 1.42;
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

@media (max-width: 1024px) {
    .trial-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trial-layout::after {
        display: none;
    }

    .trial-container {
        padding: 1.65rem 1.35rem;
    }

    .trial-content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .trial-page-hero {
        padding: var(--marketing-subpage-hero-padding-top-sm) 0 var(--marketing-subpage-hero-padding-bottom-sm);
    }

    .trial-page-hero__title {
        flex-direction: column;
        gap: 0.65rem;
    }
}

@media (max-width: 767px) {
    .trial-page-hero {
        padding: 112px 0 36px;
    }

    .trial-page-hero .marketing-page-eyebrow {
        margin-bottom: 0.7rem;
        font-size: 0.8rem;
        letter-spacing: 2.5px;
    }

    .trial-page-hero__title {
        margin-bottom: 0.85rem;
        font-size: clamp(1.5rem, 5.5vw, 2.05rem);
        gap: 0.55rem;
    }

    .trial-page-hero__check {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.2rem;
    }

    .trial-page-hero__lead {
        font-size: 1.02rem;
        line-height: 1.55;
    }

    .trial-page-trust {
        margin-top: 1.1rem;
        gap: 0.4rem 0.5rem;
    }

    .trial-page-trust li {
        padding: 0.3rem 0.7rem;
        font-size: 0.72rem;
    }

    .trial-page-body {
        padding: 1.25rem 0 2.65rem;
    }

    .trial-container {
        padding: 1.35rem 1.1rem;
        border-radius: 18px;
    }

    .trial-layout {
        gap: 1.15rem;
    }

    .trial-screenshot-container {
        padding: 1rem;
        min-height: 0;
    }

    .trial-screenshot-frame__viewport .trial-hero-image {
        min-height: 160px;
    }

    .trial-hero-image {
        min-height: 160px;
    }

    .trial-content {
        gap: 0.85rem;
    }

    .trial-section {
        padding: 1rem 1rem;
        border-radius: 14px;
    }

    .trial-section h3 {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .trial-features li {
        margin-bottom: 0.6rem;
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .trial-form-terms-wrap {
        padding-top: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .trial-terms-text {
        font-size: 0.86rem;
        line-height: 1.48;
    }

    .trial-form-hint {
        margin-bottom: 0.85rem;
        padding-left: 1.35rem;
        font-size: 0.8rem;
    }

    .trial-cta-button {
        padding: 0.95rem 1rem;
        font-size: 0.98rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .trial-page-hero {
        padding: 104px 0 30px;
    }

    .trial-page-body {
        padding: 1.05rem 0 2.25rem;
    }

    .trial-container {
        padding: 1.15rem 0.95rem;
    }

    .trial-layout {
        gap: 1rem;
    }
}
