:root {
    --primary: #3157D5;
    --primary-dark: #1e3a8a;
    --primary-light: #eef2ff;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #7c3aed;
    --teal: #0d9488;
    --dark: #0f172a;
    --border-color: #e2e8f0;
}

/* ─── Hero Section ─── */
.verify-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #3157D5 100%);
    color: #ffffff;
    padding: 55px 0 45px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.verify-hero::after {
    content: "";
    position: absolute;
    top: -140px;
    right: -90px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,0.35) 0%, transparent 70%);
    pointer-events: none;
}
.verify-hero .container { position: relative; z-index: 2; }
.verify-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #e0e7ff;
    margin-bottom: 1.1rem;
    backdrop-filter: blur(8px);
}
.verify-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.verify-hero p.lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}
.verify-hero-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.verify-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.verify-hero-btn-white {
    background: #ffffff;
    color: #1e3a8a;
}
.verify-hero-btn-white:hover {
    background: #f1f5f9;
    color: #1e40af;
    transform: translateY(-1px);
}
.verify-hero-btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.verify-hero-btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

/* ─── Main Section ─── */
.verify-section {
    padding: 40px 0 70px;
    background: #f8fafc;
}
.verify-main-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    padding: 35px 40px;
    margin-bottom: 30px;
}

/* Badges */
.v-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    letter-spacing: 0.02em;
}
.v-badge-active    { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.v-badge-inactive  { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }
.v-badge-expired   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.v-badge-suspended { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.v-badge-premium   { background: #ede9fe; color: #6d28d9; border: 1px solid #ddd6fe; }
.v-badge-pro       { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.v-badge-free      { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ─── Verification Results UI ─── */
.result-banner {
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.result-banner.success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
}
.result-banner.failed {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1.5px solid #fca5a5;
}
.result-banner-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.result-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.result-banner.success .result-banner-icon { background: #16a34a; color: #ffffff; }
.result-banner.failed .result-banner-icon { background: #dc2626; color: #ffffff; }
.result-banner-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.result-banner-desc {
    font-size: 0.88rem;
    color: #475569;
    margin: 0;
}

/* Key Box */
.key-display-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.key-code-text {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.05em;
}
.btn-copy-key {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-copy-key:hover {
    background: #ffffff;
    color: #0f172a;
}

/* Metrics Grid */
.metric-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    transition: all 0.2s;
}
.metric-card:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}
.metric-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.metric-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Detail Blocks */
.detail-card-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.25rem;
}
.detail-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.85rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #f1f5f9;
}
.domain-chip {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.feature-chip-view {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ─── Form Section ─── */
.verify-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    margin-top: 1.5rem;
}
.verify-form-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.verify-form-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}
.form-label-custom {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.form-control-custom {
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: #0f172a;
    transition: all 0.2s ease;
    width: 100%;
}
.form-control-custom:focus {
    border-color: #3157D5;
    box-shadow: 0 0 0 3px rgba(49, 87, 213, 0.12);
    outline: none;
}

/* Turnstile Card */
.turnstile-verify-card {
    background: linear-gradient(to right, #f8fafc, #eff6ff);
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 1.25rem;
    margin: 1.25rem 0;
    text-align: center;
}
.turnstile-verify-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.85rem;
}
.turnstile-error {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    display: none;
}

/* Buttons */
.btn-verify-submit {
    background: linear-gradient(135deg, #1e3a8a 0%, #3157D5 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}
.btn-verify-submit:hover {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(49, 87, 213, 0.25);
}
.btn-encoder-link {
    background: #f8fafc;
    color: #3157D5;
    border: 1.5px solid rgba(49, 87, 213, 0.25);
    border-radius: 10px;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: all 0.2s ease;
}
.btn-encoder-link:hover {
    background: #eef2ff;
    color: #1e40af;
    border-color: #3157D5;
}

/* Loading spinner */
.btn-loading {
    position: relative;
    color: transparent !important;
}
.btn-loading:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 768px) {
    .verify-main-card { padding: 25px 20px; }
    .key-display-card { flex-direction: column; align-items: stretch; text-align: center; }
    .btn-copy-key { justify-content: center; }
}
