/* ═══════════════════════════════════════════════
   FreeTrial Page Styles
   ═══════════════════════════════════════════════ */

/* ─── Tema Renk Değişkenleri (light + dark) ─── */
:root {
    --ft-text-primary:   #1a1a2e;
    --ft-text-secondary: #4a4a68;
    --ft-text-muted:     #6e6e85;
    --ft-card-bg:        rgba(0, 0, 0, 0.025);
    --ft-card-border:    rgba(0, 0, 0, 0.08);
    --ft-input-bg:       rgba(0, 0, 0, 0.03);
    --ft-input-border:   rgba(0, 0, 0, 0.1);
    --ft-placeholder:    #8a8aa3;
}
body.active-dark-mode {
    --ft-text-primary:   #ffffff;
    --ft-text-secondary: #cfcfdc;
    --ft-text-muted:     #9a9ab0;
    --ft-card-bg:        rgba(255, 255, 255, 0.03);
    --ft-card-border:    rgba(255, 255, 255, 0.08);
    --ft-input-bg:       rgba(255, 255, 255, 0.04);
    --ft-input-border:   rgba(255, 255, 255, 0.1);
    --ft-placeholder:    #6e6e85;
}

/* ─── Hero Section ─── */
.freetrial-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
}
.freetrial-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(101,84,192,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.freetrial-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(67,197,158,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* ─── Hero sol açıklama metinleri ─── */
.freetrial-lead {
    color: var(--ft-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}
.ft-stat-value {
    font-size: 28px;
    font-weight: 800;
}
.ft-stat-value.purple { color: #6554C0; }
.ft-stat-value.green  { color: #43c59e; }
.ft-stat-label {
    font-size: 12px;
    color: var(--ft-text-muted);
    margin-top: 2px;
}

/* ─── Form Card ─── */
.trial-card {
    background: var(--ft-card-bg);
    border: 1px solid var(--ft-card-border);
    border-radius: 20px;
    padding: 48px 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.trial-card:hover {
    border-color: rgba(101,84,192,0.3);
    box-shadow: 0 8px 40px rgba(101,84,192,0.08);
}
.trial-card .badge-free {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6554C0, #43c59e);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.trial-card .card-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ft-text-primary);
}
.trial-card .card-subtitle {
    color: var(--ft-text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* ─── Input Group ─── */
.trial-input-wrap {
    position: relative;
    margin-bottom: 24px;
}
.trial-input-wrap .input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6554C0;
    font-weight: 600;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
    user-select: none;
}
.trial-input-wrap .form-control {
    padding-left: 100px;
    height: 56px;
    border-radius: 14px;
    font-size: 16px;
    background: var(--ft-input-bg);
    border: 1px solid var(--ft-input-border);
    color: var(--ft-text-primary);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.trial-input-wrap .form-control:focus {
    border-color: #6554C0;
    box-shadow: 0 0 0 3px rgba(101,84,192,0.15);
    outline: none;
    background: var(--ft-input-bg);
    color: var(--ft-text-primary);
}
.trial-input-wrap .form-control::placeholder {
    color: var(--ft-placeholder);
    opacity: 1;
}
.trial-input-wrap .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ft-text-muted);
    font-size: 18px;
}

/* ─── CTA Button ─── */
.btn-trial-start {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #6554C0, #8B78DB);
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-trial-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(101,84,192,0.35);
    color: #fff;
}
.btn-trial-start:active {
    transform: translateY(0);
}
.btn-trial-start::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}
.btn-trial-start:hover::after {
    left: 100%;
}

/* ─── Trust Signals ─── */
.trust-row {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ft-text-muted);
}
.trust-item i {
    color: #43c59e;
    font-size: 14px;
}

/* ─── Steps Section (bg-color-dark içinde, her zaman koyu zemin) ─── */
.steps-section {
    position: relative;
}
.step-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
}
.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(101,84,192,0.3);
}
.step-number {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(101,84,192,0.2), rgba(101,84,192,0.05));
    color: #8B78DB;
    font-weight: 800;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-card h3,
.step-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}
.step-card p {
    font-size: 14px;
    color: #cfcfdc;
    line-height: 1.6;
    margin: 0;
}

/* ─── Info Banner ─── */
.info-banner {
    background: linear-gradient(135deg, rgba(101,84,192,0.08), rgba(67,197,158,0.06));
    border: 1px solid rgba(101,84,192,0.18);
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.info-banner .info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(101,84,192,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6554C0;
}
.info-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--ft-text-secondary);
    line-height: 1.6;
}
.info-banner strong {
    color: var(--ft-text-primary);
}

/* ─── FAQ ─── */
.faq-trial .accordion-item {
    background: var(--ft-card-bg);
    border: 1px solid var(--ft-card-border);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-trial .accordion-button {
    background: transparent;
    color: var(--ft-text-primary);
    font-weight: 600;
    font-size: 15px;
    padding: 18px 24px;
    box-shadow: none;
}
.faq-trial .accordion-button:not(.collapsed) {
    color: #6554C0;
    background: transparent;
}
.faq-trial .accordion-body {
    padding: 0 24px 18px;
    color: var(--ft-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ─── Status Table (Where.edge.php) ─── */
.status-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.status-table td {
    padding: 14px 20px;
    background: var(--ft-card-bg);
    border: 1px solid var(--ft-card-border);
}
.status-table td.label {
    border-radius: 12px 0 0 12px;
    border-right: none;
    text-align: left;
    font-weight: 600;
    color: var(--ft-text-secondary);
}
.status-table td.value {
    border-radius: 0 12px 12px 0;
    border-left: none;
    text-align: right;
    font-weight: 700;
    color: var(--ft-text-primary);
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
    .trial-card {
        padding: 32px 24px;
    }
    .freetrial-hero {
        min-height: auto;
        padding-top: 40px;
    }
    .info-banner {
        flex-direction: column;
        text-align: center;
    }
}
