/* ========================================================================
   FREE TRIAL SIGNUP PAGE (/subscriptions/free/)
   ======================================================================== */

.free-trial-page {
    background: linear-gradient(160deg, #f4f6fb 0%, #e9edf7 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Soft branding watermark */
.free-trial-page::before {
    content: "";
    position: fixed;
    top: -6vmin;
    right: -8vmin;
    width: 58vmin;
    height: 58vmin;
    background: url('/images/logo-bw.png') no-repeat center / contain;
    opacity: 0.05;
    -webkit-mask-image: radial-gradient(circle at center, #000 35%, transparent 70%);
    mask-image: radial-gradient(circle at center, #000 35%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.free-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem 2rem;
    position: relative;
    z-index: 1;
}

.free-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 12px 45px rgba(30, 45, 90, 0.10);
    max-width: 680px;
    width: 100%;
    padding: 2.25rem 2rem 2.5rem;
}

/* Language switcher */
.free-lang-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}
.free-lang-switcher a {
    color: #7a8299;
    text-decoration: none;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
}
.free-lang-switcher a.active {
    background: #2c3e50;
    color: #fff;
}

/* Hero */
.free-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}
.free-hero-badge {
    display: inline-block;
    background: #e7f7ef;
    color: #157347;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.9rem;
}
.free-hero h1 {
    font-size: 1.9rem;
    font-weight: 750;
    color: #22304a;
    margin-bottom: 0.5rem;
}
.free-hero-subtitle {
    color: #5a6478;
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
}
.free-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    color: #3d4a63;
    font-size: 0.95rem;
}
.free-hero-points li i {
    color: #157347;
}

/* Honeypot: visually hidden but not display:none (some bots skip those) */
.free-hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Form */
.free-form-block {
    max-width: 440px;
    margin: 0 auto;
}
.free-form-block .form-label {
    font-weight: 600;
    color: #2c3e50;
}
.free-privacy-wrap {
    margin: 0.9rem 0 1.1rem;
    font-size: 0.85rem;
    color: #5a6478;
}
.free-privacy-label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    cursor: pointer;
}
.free-privacy-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}
.btn-free-cta {
    background: linear-gradient(135deg, #2c7be5 0%, #1a5fc4 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    border: none;
    width: 100%;
}
.btn-free-cta:hover,
.btn-free-cta:focus {
    background: linear-gradient(135deg, #1a5fc4 0%, #14498f 100%);
    color: #fff;
}
.free-submit-note {
    font-size: 0.8rem;
    color: #8a92a6;
    text-align: center;
    margin-top: 0.7rem;
    margin-bottom: 0;
}

/* Pro trial notice (non-ignorable) */
.free-pro-notice {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: #fff7ed;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin: 1.75rem auto 0;
    max-width: 540px;
    color: #8a92a6;
    font-size: 0.8rem;
}
.free-pro-notice-icon {
    color: #d97706;
    font-size: 1.25rem;
    line-height: 1.4;
}
.free-pro-notice strong {
    display: block;
    margin-bottom: 0.15rem;
}

/* Pricing (de-emphasized, below the fold) */
.free-pricing-section {
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e6e9f2;
    text-align: center;
}
.free-pricing-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d4a63;
    margin-bottom: 0.25rem;
}
.free-pricing-subtitle {
    font-size: 0.88rem;
    color: #8a92a6;
    margin-bottom: 1.1rem;
}
.free-pricing-cards {
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
}
.free-pricing-card {
    background: #f8f9fc;
    border: 1px solid #e6e9f2;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    min-width: 170px;
    max-width: 210px;
    text-align: left;
    position: relative;
}
.free-pricing-card--popular {
    border-color: f8f9fa;
    box-shadow: 0 0 0 1px #dee2e6;
}
.free-pricing-popular-badge {
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    background: #adb5bd;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 600;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.free-pricing-plan-name {
    display: block;
    color: #22304a;
    font-size: 0.98rem;
    margin-bottom: 0.25rem;
}
.free-pricing-plan-desc {
    font-size: 0.78rem;
    color: #7a8299;
    margin-bottom: 0.5rem;
    min-height: 2.4em;
}
.free-pricing-plan-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3d4a63;
}
.free-pricing-plan-billing-note {
    color: #8a92a6;
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.3;
    margin-top: 0.1rem;
}
.free-pricing-plan-per-user {
    color: #52627e;
    font-size: 0.72rem;
    margin-top: 0.25rem;
}
.free-pricing-plan-users {
    font-size: 0.78rem;
    color: #157347;
    margin-top: 0.3rem;
}
.free-pricing-details-toggle {
    background: transparent;
    border: 0;
    color: #52627e;
    font-size: 0.75rem;
    margin-top: 0.75rem;
    padding: 0;
}
.free-pricing-details-toggle:hover,
.free-pricing-details-toggle:focus {
    color: #2c7be5;
    text-decoration: underline;
}
.free-pricing-details {
    border-top: 1px solid #e1e5ef;
    color: #626d83;
    font-size: 0.73rem;
    line-height: 1.4;
    margin-top: 0.7rem;
    padding-top: 0.65rem;
}
.free-pricing-quotas > div {
    margin-bottom: 0.25rem;
}
.free-pricing-billing-options {
    margin-top: 0.55rem;
}
.free-pricing-billing-row {
    padding: 0.32rem 0.35rem;
    border-radius: 8px;
    margin-bottom: 0.2rem;
}
.free-pricing-billing-row--best {
    background: #eaf7f0;
    border: 1px solid #cdeadb;
}
.free-pricing-billing-line {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: baseline;
}
.free-pricing-billing-line strong {
    color: #3d4a63;
    font-weight: 600;
}
.free-pricing-billing-sub {
    display: flex;
    justify-content: space-between;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.1rem;
}
.free-pricing-total-muted {
    color: #9aa2b5;
    font-size: 0.66rem;
}
.free-pricing-save-pill {
    background: #d9f2e4;
    color: #157347;
    font-size: 0.64rem;
    font-weight: 600;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    white-space: nowrap;
}
.free-pricing-billing-row--best .free-pricing-save-pill {
    background: #157347;
    color: #fff;
}
.free-pricing-reassurance {
    color: #7a8299;
    font-size: 0.78rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .free-pricing-card {
        max-width: none;
        width: 100%;
    }
}

/* Success screen */
.free-success-screen {
    text-align: center;
    padding: 2.5rem 1rem;
}
.free-success-checkmark {
    font-size: 3.2rem;
    color: #157347;
    margin-bottom: 1rem;
}
.free-success-screen h2 {
    color: #22304a;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.free-success-screen p {
    color: #5a6478;
    max-width: 420px;
    margin: 0 auto;
}
.free-success-logo-wrap {
    margin-top: 1.15rem;
}
.free-success-logo {
    display: block;
    width: min(180px, 62%);
    height: auto;
    margin: 0 auto;
}

/* Confirm page */
.free-confirm-card {
    border: none;
    border-radius: 16px;
}
.free-confirm-icon {
    font-size: 2.8rem;
    margin-bottom: 0.75rem;
}

/* Footer */
.free-footer {
    text-align: center;
    font-size: 0.78rem;
    color: #8a92a6;
    padding: 1rem 1rem 1.75rem;
}
.free-footer a {
    color: #7a8299;
}

@media (max-width: 576px) {
    .free-card {
        padding: 1.5rem 1.1rem 1.75rem;
    }
    .free-hero h1 {
        font-size: 1.5rem;
    }
}
