/* ============================================
   MyDocstor - Tool Pages Shared Styles
   ============================================ */

/* Tool Page Background */
.tool-page {
    background: linear-gradient(135deg, #f5f3ff 0%, #f8fafc 50%, #ede9fe 100%);
    min-height: 100vh;
    padding: 4rem 1rem;
}

/* Tool Container */
.tool-container {
    max-width: 56rem;
    margin: 0 auto;
}

/* Tool Header */
.tool-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tool-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #0f172a, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tool-header p {
    color: #64748b;
    font-size: 1.05rem;
}

/* Pro Banner */
.pro-banner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 0.875rem;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.pro-banner p {
    color: #5b21b6;
    font-size: 0.875rem;
    font-weight: 500;
}

.pro-banner a {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}

.pro-banner a:hover {
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.35);
    transform: translateY(-1px);
}

/* Probanner for tools templates */
.pro-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;

    background: rgba(124, 58, 237, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(124, 58, 237, 0.14);
    border-radius: 1rem;

    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.06);
}

.pro-banner-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.pro-banner-text {
    flex: 1;
    margin: 0;

    font-size: 0.92rem;
    font-weight: 600;
    color: #4b5563;

    line-height: 1.6;
}

.pro-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.7rem 1.1rem;

    background: #7c3aed;
    color: white;

    border-radius: 0.8rem;

    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.25s ease;

    white-space: nowrap;
}

.pro-banner-btn:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    color: white;
}

@media (max-width: 640px) {
    .pro-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pro-banner-btn {
        width: 100%;
    }
}
/* Tool Card */
.tool-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

/* Tool Inputs */
.tool-input {
    width: 100%;
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.tool-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: white;
}

.tool-input::placeholder {
    color: #94a3b8;
}

/* Tool Label */
.tool-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Tool Buttons */
.tool-btn {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    font-family: 'Inter', sans-serif;
}

.tool-btn:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.tool-btn-secondary {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tool-btn-secondary:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

/* Copy Success Message */
.copy-msg {
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 0.75rem;
}

/* Result Box */
.result-box {
    background: rgba(124, 58, 237, 0.03);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 0.875rem;
    padding: 1rem;
}

/* Ad Slot Below Tool */
.ad-slot-below {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 1.875rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .pro-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   Word Counter Specific
   ============================================ */
.wc-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
    .wc-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wc-stat-card {
    background: rgba(124, 58, 237, 0.04);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.wc-stat-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.08);
}

.wc-stat-card.highlight {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
    border-color: rgba(124, 58, 237, 0.25);
}

.wc-stat-value {
    font-size: 1.875rem;
    font-weight: 800;
    color: #7c3aed;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.wc-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wc-speaking-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    background: rgba(124, 58, 237, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
}

.wc-speaking-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.wc-speaking-item svg {
    width: 1.1rem;
    height: 1.1rem;
    color: #7c3aed;
    flex-shrink: 0;
}

.wc-speaking-item strong {
    color: #0f172a;
}

/* SEO Content */
.tool-seo-content {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.25rem;
}

.tool-seo-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.tool-seo-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.tool-seo-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.8;
}
/* ============================================
   MyDocstor - Age Calculator
   ============================================ */

/* Tabs */
.age-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.age-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.age-tab:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
}

.age-tab.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.age-tab-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #7c3aed;
}

.age-tab-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.age-tab.active .age-tab-icon {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.age-tab strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.age-tab small {
    display: block;
    font-size: 0.775rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Panel */
.age-panel {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Exact Age Results */
.age-main-display {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.age-number {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.age-unit {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.age-breakdown {
    display: flex;
    align-items: center;
    background: rgba(124, 58, 237, 0.06);
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.age-breakdown-item {
    flex: 1;
    padding: 1rem;
    text-align: center;
}

.age-breakdown-divider {
    width: 1px;
    height: 3rem;
    background: rgba(124, 58, 237, 0.15);
    flex-shrink: 0;
}

.age-breakdown-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7c3aed;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.age-breakdown-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.age-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
}

.age-stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.age-stat-card:hover {
    border-color: rgba(124, 58, 237, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

.age-stat-card.birthday-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    border-color: rgba(124, 58, 237, 0.2);
}

.age-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.age-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #7c3aed;
    display: block;
    margin-bottom: 0.25rem;
}

.age-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   Biological Age Quiz
   ============================================ */

.bio-quiz-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.bio-quiz-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.bio-quiz-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.bio-progress-wrap {
    height: 6px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 3px;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.bio-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Questions */
.bio-question {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.bio-question.active {
    display: block;
}

.bio-q-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.bio-q-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.bio-input-wrap {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* Options */
.bio-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .bio-options {
        grid-template-columns: 1fr;
    }
}

.bio-option {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(124, 58, 237, 0.12);
    border-radius: 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(8px);
}

.bio-option:hover {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.05);
    color: #7c3aed;
    transform: translateY(-1px);
}

.bio-option.selected {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(99, 102, 241, 0.12));
    border-color: #7c3aed;
    color: #7c3aed;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.bio-next-btn {
    margin-top: 0.5rem;
}

/* ============================================
   Bio Result
   ============================================ */

.bio-result-header {
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.06));
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
}

.bio-result-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

.bio-age-display {
    margin-bottom: 1rem;
}

.bio-age-number {
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.bio-age-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bio-verdict {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 1.5rem;
    border-radius: 0.875rem;
    max-width: 500px;
    margin: 0 auto;
}

.verdict-amazing {
    background: rgba(34, 197, 94, 0.08);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.verdict-great {
    background: rgba(99, 102, 241, 0.08);
    color: #4338ca;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.verdict-good {
    background: rgba(234, 179, 8, 0.08);
    color: #854d0e;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.verdict-warning {
    background: rgba(249, 115, 22, 0.08);
    color: #9a3412;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.verdict-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Score Grid */
.bio-score-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .bio-score-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bio-score-card {
    padding: 1rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.bio-score-card.positive {
    background: rgba(34, 197, 94, 0.06);
    border: 1.5px solid rgba(34, 197, 94, 0.2);
}

.bio-score-card.negative {
    background: rgba(239, 68, 68, 0.06);
    border: 1.5px solid rgba(239, 68, 68, 0.2);
}

.bio-score-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.bio-score-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bio-score-card-status {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.4;
}

/* Tips */
.bio-tips {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.bio-tips-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.bio-tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(124, 58, 237, 0.03);
    border: 1px solid rgba(124, 58, 237, 0.06);
    transition: all 0.2s ease;
}

.bio-tip-item:hover {
    background: rgba(124, 58, 237, 0.06);
    border-color: rgba(124, 58, 237, 0.12);
}

.bio-tip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.bio-tip-item p {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 640px) {
    .age-tabs {
        grid-template-columns: 1fr;
    }

    .age-number {
        font-size: 3rem;
    }

    .bio-age-number {
        font-size: 4rem;
    }
}
/* ============================================
   MyDocstor - Video Script Timer
   ============================================ */

/* Speed Selector */
.vst-speed-wrap {
    margin-bottom: 2rem;
}

.vst-speed-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .vst-speed-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .vst-speed-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vst-speed-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.vst-speed-btn:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.1);
}

.vst-speed-btn.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
    border-color: #7c3aed;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.vst-speed-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.vst-speed-btn strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.vst-speed-btn small {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
}

/* Results */
.vst-results {
    margin-top: 1rem;
}

/* Main Timer Display */
.vst-main-display {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
    position: relative;
    overflow: hidden;
}

.vst-main-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.vst-time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.vst-time-value {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.vst-time-sep {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.vst-time-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Stats Grid */
.vst-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .vst-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vst-stat {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.vst-stat:hover {
    border-color: rgba(124, 58, 237, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.08);
}

.vst-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #7c3aed;
    display: block;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.vst-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Platform Fit */
.vst-platforms {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1.25rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.vst-platforms-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.vst-platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .vst-platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.vst-platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
    transition: all 0.3s ease;
    text-align: center;
}

.vst-platform-item.fits {
    background: rgba(34, 197, 94, 0.06);
    border-color: rgba(34, 197, 94, 0.25);
}

.vst-platform-item.no-fit {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.15);
    opacity: 0.7;
}

.vst-platform-icon {
    font-size: 1.5rem;
}

.vst-platform-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0f172a;
}

.vst-platform-limit {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 400;
}

.vst-platform-status {
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 2rem;
    color: #94a3b8;
}

.vst-platform-status.fit {
    color: #16a34a;
    background: rgba(34, 197, 94, 0.1);
}

.vst-platform-status.short {
    color: #d97706;
    background: rgba(234, 179, 8, 0.1);
}

.vst-platform-status.long {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
}

/* Tip */
.vst-tip {
    margin-top: 0.5rem;
}

.vst-tip-inner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.06));
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: #5b21b6;
    font-weight: 500;
    line-height: 1.6;
}
/* ============================================
   Dynamic QR & Business Card Tool
   ============================================ */

/* QR Tool Tabs */
.qr-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.qr-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
    width: 100%;
}

.qr-tab:hover {
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
}

.qr-tab.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.08));
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.qr-tab-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #7c3aed;
}

.qr-tab-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.qr-tab.active .qr-tab-icon {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.qr-tab strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.qr-tab small {
    display: block;
    font-size: 0.775rem;
    color: #94a3b8;
    font-weight: 400;
}

.qr-panel {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.qr-panel.active {
    display: block;
}

/* Login Required Banner */
.login-required-banner {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.06));
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    border-radius: 1.25rem;
    padding: 2.5rem;
    text-align: center;
}

.login-required-banner .lrb-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #7c3aed;
}

.login-required-banner .lrb-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.login-required-banner h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.login-required-banner p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.login-required-banner .lrb-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lrb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.lrb-btn-primary:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.lrb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 0.875rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s ease;
}

.lrb-btn-secondary:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-1px);
}

/* QR Result Display */
.qr-result-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(124, 58, 237, 0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    margin-top: 1.5rem;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.qr-result-card.active {
    display: block;
}

.qr-result-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 640px) {
    .qr-result-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.qr-image-wrap {
    background: white;
    border: 1.5px solid rgba(124, 58, 237, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-result-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.qr-result-url {
    font-size: 0.8rem;
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 0.5rem;
    padding: 0.4rem 0.75rem;
    word-break: break-all;
    margin-bottom: 1rem;
    display: block;
}

.qr-scan-count {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.qr-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.qr-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    box-shadow: 0 3px 10px rgba(124, 58, 237, 0.25);
}

.qr-btn-primary:hover {
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.35);
    transform: translateY(-1px);
}

.qr-btn-secondary {
    background: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.qr-btn-secondary:hover {
    background: rgba(124, 58, 237, 0.15);
}

.qr-btn-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.qr-btn-danger:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* Saved QRs List */
.saved-qrs-section {
    margin-top: 2rem;
}

.saved-qrs-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

.saved-qr-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    gap: 1rem;
}

.saved-qr-item:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.saved-qr-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.saved-qr-info small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Business Card Theme Selector */
.card-theme-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.card-theme-option {
    position: relative;
    cursor: pointer;
}

.card-theme-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-theme-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-theme-option input:checked + .card-theme-preview {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.card-theme-swatch {
    width: 100%;
    height: 3rem;
    border-radius: 0.625rem;
}

.theme-black .card-theme-swatch {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-silver .card-theme-swatch {
    background: linear-gradient(135deg, #94a3b8, #cbd5e1);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.3);
}

.theme-gold .card-theme-swatch {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.card-theme-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
}

/* Business Card Visual Preview */
.card-preview-wrap {
    margin-top: 2rem;
    display: none;
}

.card-preview-wrap.active {
    display: block;
}

.card-preview-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    text-align: center;
}

.business-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1.75;
    border-radius: 1.25rem;
    padding: 1.75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.business-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.15;
    pointer-events: none;
}

.business-card.theme-black {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.business-card.theme-black::before {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
}

.business-card.theme-silver {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 50%, #cbd5e1 100%);
    box-shadow: 0 20px 60px rgba(100, 116, 139, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.business-card.theme-silver::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.business-card.theme-gold {
    background: linear-gradient(135deg, #92400e 0%, #d97706 50%, #f59e0b 100%);
    box-shadow: 0 20px 60px rgba(217, 119, 6, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-card.theme-gold::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.card-left {
    flex: 1;
    z-index: 1;
}

.card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.card-title-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.card-company-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.card-contact {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.card-contact-item {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
    flex-shrink: 0;
}

.card-qr-wrap {
    background: white;
    border-radius: 0.5rem;
    padding: 0.4rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-scan-text {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Card Download Actions */
.card-download-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

/* QR FAQ Section */
.qr-faq {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1.5rem;
    padding: 2rem;
}

.qr-faq-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    text-align: center;
}

.qr-faq-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.qr-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    gap: 1rem;
    transition: color 0.2s ease;
}

.qr-faq-btn:hover { color: #7c3aed; }

.qr-faq-icon {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #7c3aed;
    font-weight: 700;
    transition: all 0.3s ease;
}

.qr-faq-item.open .qr-faq-icon {
    background: #7c3aed;
    color: white;
    transform: rotate(45deg);
}

.qr-faq-answer {
    display: none;
    padding: 0.875rem 1.25rem 1.1rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.8;
    border-top: 1px solid rgba(124, 58, 237, 0.06);
}

.qr-faq-item.open .qr-faq-answer { display: block; }

@media (max-width: 640px) {
    .qr-tabs { grid-template-columns: 1fr; }
    .card-theme-selector { grid-template-columns: repeat(3, 1fr); }
    .business-card { padding: 1.25rem; }
    .card-name { font-size: 0.9rem; }
}
/* Force all tool page h1 to match gradient style */
.tool-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b0764, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.tool-header p {
    color: #64748b;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .tool-header h1 { font-size: 1.875rem; }
}

/* eCard form + preview grid — stack on mobile */
@media (max-width: 768px) {
    #panel-ecard .tool-card > div[style*="grid"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .business-card {
        max-width: 100% !important;
    }

    .card-theme-selector {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .qr-tabs {
        grid-template-columns: 1fr !important;
    }
}