/* ============================================
   FastRounds Try Free Page Styles
   Page-specific styles for try-free.php
   ============================================ */

.trial-page-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.trial-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.trial-intro h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.trial-intro p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Card grid (stacked mobile, side-by-side desktop) */
.trial-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 769px) {
    .trial-card-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
        align-items: stretch;
    }
}

/* Shared card style */
.trial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.trial-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    text-align: center;
}

/* Free Version feature list */
.feature-list {
    background: rgba(0, 180, 216, 0.06);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    border-left: 4px solid var(--teal);
}

.feature-list strong {
    color: var(--teal-dark);
    font-weight: 700;
}

.feature-list ul {
    margin: 8px 0 0 0;
    padding: 0;
    line-height: 1.7;
    color: var(--text-primary);
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 4px;
}

.feature-list li::before {
    content: "✓ ";
    color: var(--teal);
    font-weight: 700;
    margin-right: 6px;
}

/* CAPTCHA box (teal palette, matches Free Version list) */
.captcha-box {
    background: rgba(0, 180, 216, 0.06);
    border: 2px solid var(--teal);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.captcha-box label {
    display: block;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.captcha-box input {
    width: 70px;
    text-align: center;
    font-size: 1.5rem;
    padding: 8px;
    border: 2px solid var(--teal);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-family);
    color: var(--text-primary);
    background: #ffffff;
    -moz-appearance: textfield;
}

.captcha-box input:focus {
    outline: none;
    border-color: var(--teal-dark);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

.captcha-box input::-webkit-outer-spin-button,
.captcha-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Submit button (gradient to match buy-now and index CTAs) */
.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    margin-top: var(--spacing-md);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-family);
}

.submit-btn:hover {
    box-shadow: var(--shadow-glow-teal);
    transform: translateY(-2px);
}

/* Error alert */
.trial-error {
    background: rgba(220, 53, 69, 0.08);
    color: var(--error-dark);
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    border: 1px solid rgba(220, 53, 69, 0.25);
}

/* ClueRally cross-sell card */
.crosssell-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.crosssell-card .trial-card-title {
    color: var(--purple);
}

.crosssell-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--spacing-md) 0;
    text-align: center;
}

.crosssell-feature-list {
    background: rgba(123, 44, 191, 0.06);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    border-left: 4px solid var(--purple);
}

.crosssell-feature-list strong {
    color: var(--purple-dark);
    font-weight: 700;
}

.crosssell-feature-list ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
    line-height: 1.7;
    color: var(--text-primary);
    list-style: none;
}

.crosssell-feature-list li {
    position: relative;
    padding-left: 4px;
}

.crosssell-feature-list li::before {
    content: "✓ ";
    color: var(--purple);
    font-weight: 700;
    margin-right: 6px;
}

.crosssell-btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-family);
    box-sizing: border-box;
}

.crosssell-btn:hover {
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Host Free active state override for this page (black text, no background) */
body.try-free-page .site-nav-cta {
    background: transparent;
    color: var(--text-primary);
    font-weight: 700;
    border: 1px solid var(--border-light);
}

body.try-free-page .site-nav-cta:hover {
    background: var(--bg-secondary);
    box-shadow: none;
    transform: none;
    color: var(--text-primary);
}

body.try-free-page .site-nav-drawer-host {
    color: var(--text-primary);
    font-weight: 700;
    background: rgba(0, 180, 216, 0.06);
}

/* Sticky footer on short page only */
body.try-free-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}

body.try-free-page .trial-page-wrapper {
    flex: 1 0 auto;
}

body.try-free-page .footer-yellowmoon,
body.try-free-page .footer-links {
    flex-shrink: 0;
}

/* Honeypot field */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .trial-page-wrapper {
        margin: 20px auto;
        padding: 0 15px;
    }

    .trial-intro h1 {
        font-size: 1.5rem;
    }

    .trial-intro p {
        font-size: 0.95rem;
    }

    .trial-card {
        padding: var(--spacing-md);
    }
}
