/*
Theme Name: TradingAutoPro
Theme URI: https://tradingautopro.com
Author: TradingAutoPro
Description: Theme chính thức cho TradingAutoPro — tích hợp sẵn với plugin TradingAutoPro Manager (đăng ký, đăng nhập, đổi/quên mật khẩu, quản lý khách hàng).
Version: 1.3.8
Requires at least: 5.6
Requires PHP: 7.4
Text Domain: tradingautopro
*/

/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==================== ROOT VARIABLES ==================== */
:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 40px;
    background: rgba(15,23,42,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header nav {
    display: flex;
    gap: 32px;
}

.header nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.header nav a:hover { color: var(--white); }

.header .actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
}

.btn-login:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.btn-trial {
    background: var(--gradient-primary);
    color: var(--white) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,0.5);
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 40px 80px;
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(79,70,229,0.25) 0%, transparent 70%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234F46E5' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,70,229,0.15);
    border: 1px solid rgba(79,70,229,0.3);
    color: #a5b4fc;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease both;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.15;
    max-width: 860px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero > p {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(79,70,229,0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79,70,229,0.6);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: var(--white);
    text-decoration: none;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat { text-align: center; }

.hero-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hero-stat .value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

/* ==================== LOGOS ==================== */
.logos-section {
    padding: 60px 40px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    text-align: center;
}

.logos-section h3 {
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
    font-weight: 500;
}

.logos-track {
    display: flex;
    overflow: hidden;
    position: relative;
}

.logos-wrapper {
    display: flex;
    gap: 48px;
    align-items: center;
    animation: scroll 20s linear infinite;
    flex-shrink: 0;
}

.logos-wrapper img {
    height: 32px;
    opacity: 0.4;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}

.logos-wrapper img:hover { opacity: 0.8; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==================== SECTIONS ==================== */
.section {
    padding: 100px 40px;
}

.section-dark { background: var(--dark); }
.section-darker { background: var(--dark-light); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-badge {
    display: inline-block;
    background: rgba(79,70,229,0.15);
    color: #818cf8;
    border: 1px solid rgba(79,70,229,0.25);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.section-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ==================== FEATURE CARDS ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(79,70,229,0.3);
    transform: translateY(-4px);
}

.feature-card .icon {
    width: 52px;
    height: 52px;
    background: rgba(79,70,229,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #818cf8;
}

.feature-card h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.feature-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ==================== COMPARISON ==================== */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-card {
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.08);
}

.comparison-card.negative { border-top: 3px solid #EF4444; }
.comparison-card.positive { border-top: 3px solid #10B981; }

.comparison-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.comparison-header .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.comparison-card.negative .icon { background: rgba(239,68,68,0.15); color: #EF4444; }
.comparison-card.positive .icon { background: rgba(16,185,129,0.15); color: #10B981; }

.comparison-header h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.comparison-card.negative .comparison-list li i { color: #EF4444; flex-shrink: 0; margin-top: 2px; }
.comparison-card.positive .comparison-list li i { color: #10B981; flex-shrink: 0; margin-top: 2px; }

/* ==================== PRICING ==================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1050px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79,70,229,0.3);
}

.pricing-card.featured {
    background: rgba(79,70,229,0.12);
    border: 2px solid rgba(79,70,229,0.4);
}

.pricing-card.featured::before {
    content: attr(data-badge);
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(79,70,229,0.12);
    border: 1px solid rgba(129,140,248,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #818cf8;
}

.pricing-card.featured .pricing-icon {
    background: rgba(79,70,229,0.2);
    border-color: rgba(129,140,248,0.3);
}

.pricing-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.pricing-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}

.pricing-price .currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
}

.pricing-price .amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.pricing-price .period {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.pricing-features li i,
.pricing-features li svg {
    color: #10B981;
    font-size: 14px;
    flex-shrink: 0;
}

.pricing-features li.highlight {
    color: var(--white);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.pricing-features li.highlight i {
    color: #818cf8;
}

.pricing-features li.sub-feature {
    padding-left: 24px;
    font-size: 13.5px;
    color: rgba(255,255,255,0.6);
}

.pricing-features li.sub-feature i {
    color: #818cf8;
    font-size: 11px;
}

.pricing-card.featured .pricing-features li.sub-feature i {
    color: #10B981;
}

.pricing-features li.disabled {
    color: rgba(255,255,255,0.3);
}

.pricing-features li.disabled i {
    color: rgba(255,255,255,0.2);
}

.pricing-features li.trial-badge {
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 8px;
    padding: 8px 12px;
    color: #34d399;
    font-weight: 600;
    font-size: 13px;
}

.pricing-features li.trial-badge i {
    color: #34d399;
}

.pricing-features li.after-trial {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.pricing-features li.after-trial i {
    color: rgba(255,255,255,0.25);
    font-size: 12px;
}

.pricing-btn {
    display: block;
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79,70,229,0.3);
    margin-top: auto;
}

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,0.5);
    color: var(--white);
    text-decoration: none;
}

/* ==================== STEPS ==================== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px 32px;
    transition: border-color 0.3s;
}

.step-item:hover { border-color: rgba(79,70,229,0.3); }

.step-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.step-content p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ==================== FAQ ==================== */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(79,70,229,0.25); }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: background 0.2s;
    user-select: none;
}

.faq-question:hover { background: rgba(255,255,255,0.03); }

.faq-question i,
.faq-question svg {
    transition: transform 0.3s ease;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

.faq-question.active i,
.faq-question.active svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer.open { max-height: 300px; }

.faq-answer-content {
    padding: 0 28px 22px;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 100px 40px;
    text-align: center;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(79,70,229,0.2) 0%, transparent 70%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--white);
    line-height: 1.25;
}

.cta-section > p {
    font-size: 17px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 40px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #080E1A;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-brand img { margin-bottom: 16px; }

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li { font-size: 14px; }

.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-links span { color: rgba(255,255,255,0.55); font-size: 14px; }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==================== AUTH PAGES (Login/Register) ==================== */
.tap-auth-page-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(79,70,229,0.2) 0%, transparent 60%);
}

/* Override plugin default auth styles to match theme */
.tap-auth-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: unset !important;
    background: none !important;
    padding: 0 !important;
    display: block !important;
}

.tap-auth-card {
    background: rgba(255,255,255,0.04) !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 40px 36px !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0,0,0,.5) !important;
}

.tap-auth-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    text-align: center;
}

.tap-auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    text-align: center;
    margin-bottom: 8px !important;
}

.tap-auth-subtitle {
    font-size: 14px !important;
    color: rgba(255,255,255,0.5) !important;
    text-align: center;
    margin-bottom: 28px !important;
}

.tap-auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.tap-auth-logo img { height: 48px; }

.tap-field {
    margin-bottom: 20px;
}

.tap-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.tap-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.tap-input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.tap-auth-input {
    width: 100%;
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 10px !important;
    padding: 12px 40px 12px 44px !important;
    font-size: 14px !important;
    color: var(--white) !important;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.tap-auth-input:focus {
    border-color: rgba(79,70,229,0.6) !important;
    background: rgba(79,70,229,0.08) !important;
}

.tap-auth-input::placeholder { color: rgba(255,255,255,0.3) !important; }

.tap-toggle-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: rgba(255,255,255,0.4);
    padding: 4px;
    transition: color 0.2s;
}

.tap-toggle-pass:hover { color: rgba(255,255,255,0.8); }

.tap-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tap-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.tap-checkbox-label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.tap-forgot-link {
    font-size: 13px;
    color: #818cf8;
    text-decoration: none;
    transition: color 0.2s;
}

.tap-forgot-link:hover { color: #a5b4fc; }

.tap-recaptcha-wrap {
    display: flex;
    justify-content: center;
}

.tap-auth-btn {
    width: 100%;
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79,70,229,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.tap-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,0.55);
}

.tap-btn-arrow {
    font-size: 18px;
    transition: transform 0.2s;
}

.tap-auth-btn:hover .tap-btn-arrow { transform: translateX(3px); }

.tap-auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.tap-auth-footer a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.tap-auth-footer a:hover { color: #a5b4fc; }

.tap-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

.tap-alert-error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}

.tap-alert-success {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6ee7b7;
}

.tap-auth-logged-in {
    text-align: center;
    padding: 24px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.25);
    border-radius: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.tap-auth-logged-in a {
    color: #34d399;
    text-decoration: none;
    font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .comparison { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header { padding: 14px 20px; }
    .header nav { display: none; }
    .hero { padding: 100px 20px 60px; }
    .section { padding: 70px 20px; }
    .footer { padding: 60px 20px 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { gap: 24px; }
    .tap-auth-card { padding: 32px 24px !important; }
}

/* ==================== AUTH ALERT MESSAGES ==================== */
.tap-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}
.tap-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}
.tap-alert-error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}
.tap-alert-info {
    background: rgba(79, 70, 229, 0.12);
    border-color: rgba(79, 70, 229, 0.35);
    color: #a5b4fc;
}

.tap-auth-form { display: flex; flex-direction: column; gap: 14px; }

/* ==================== ACCOUNT CARD (Dashboard) ==================== */
.tap-account-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    max-width: 560px;
    margin: 20px auto;
    color: var(--white);
}
.tap-account-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tap-account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(79,70,229,0.4);
}
.tap-account-meta { flex: 1; min-width: 0; }
.tap-account-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}
.tap-account-email {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    word-break: break-all;
}
.tap-account-since {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}
.tap-account-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.tap-account-btn {
    flex: 1;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.tap-account-btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}
.tap-account-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(79,70,229,0.35);
}
.tap-account-btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.85);
}
.tap-account-btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.25);
}

/* ==================== DASHBOARD WRAPPER ==================== */
.tap-dashboard-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 20px 20px 60px;
    color: var(--white);
}
.tap-dashboard-welcome {
    margin-bottom: 24px;
}
.tap-dashboard-welcome h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    margin: 0 0 6px;
}
.tap-dashboard-welcome p {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ==================== CONNECTED DEVICES ==================== */
.tap-devices-section {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    margin: 24px auto;
    max-width: 920px;
}
.tap-devices-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.tap-devices-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--white);
}
.tap-devices-title i { color: #a5b4fc; margin-right: 6px; }
.tap-devices-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.6;
}
.tap-devices-subtitle code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}
.tap-devices-count {
    text-align: right;
    background: rgba(79,70,229,0.15);
    border: 1px solid rgba(79,70,229,0.3);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 90px;
}
.tap-devices-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #a5b4fc;
}
.tap-devices-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.tap-devices-empty {
    text-align: center;
    padding: 32px 20px;
    color: rgba(255,255,255,0.6);
}
.tap-devices-empty i.fa-circle-info {
    font-size: 32px;
    color: #a5b4fc;
    margin-bottom: 12px;
}
.tap-devices-empty p { margin: 8px 0; font-size: 14px; }
.tap-devices-empty small {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.tap-devices-empty code {
    background: rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.tap-devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}
.tap-device-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.2s ease;
}
.tap-device-card:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}
.tap-device-current {
    border-color: rgba(16,185,129,0.4) !important;
    background: rgba(16,185,129,0.06) !important;
}
.tap-device-blocked {
    opacity: 0.7;
    border-color: rgba(239,68,68,0.3) !important;
}
.tap-device-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(79,70,229,0.15);
    color: #a5b4fc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.tap-device-current .tap-device-icon {
    background: rgba(16,185,129,0.15);
    color: #6ee7b7;
}
.tap-device-body { flex: 1; min-width: 0; }
.tap-device-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tap-device-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.tap-badge-active {
    background: rgba(16,185,129,0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16,185,129,0.3);
}
.tap-badge-blocked {
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.3);
}
.tap-device-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}
.tap-device-meta i { width: 12px; margin-right: 4px; opacity: 0.7; }
.tap-device-id {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.08);
}
.tap-device-id code {
    background: transparent;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
}

.tap-devices-note {
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(79,70,229,0.08);
    border: 1px solid rgba(79,70,229,0.2);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.tap-devices-note i { color: #a5b4fc; margin-right: 6px; }
.tap-devices-note a { color: #a5b4fc; text-decoration: underline; }

/* ==================== HOMEPAGE DOWNLOAD FEATURE ==================== */
.hero-home-updated {
    padding-bottom: 100px;
}

.tap-download-feature {
    width: min(1040px, 100%);
    display: grid;
    grid-template-columns: 44% 56%;
    margin: 0 auto 40px;
    background: linear-gradient(145deg, rgba(30,41,59,0.9), rgba(12,22,42,0.96));
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
    animation: fadeInUp 0.6s ease 0.35s both;
}

.tap-product-pane {
    position: relative;
    padding: 28px 22px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(25,167,242,0.16), transparent 56%);
}

.tap-product-pane::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(transparent, rgba(255,255,255,0.16), transparent);
}

.tap-product-image {
    width: min(100%, 360px);
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 24px rgba(0,0,0,0.35));
}

.tap-download-pane {
    padding: 44px 42px 36px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tap-download-kicker {
    color: #8ea0c4;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 8px;
}

.tap-download-pane h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 3vw, 34px);
    line-height: 1.15;
    margin-bottom: 10px;
}

.tap-download-desc {
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    margin-bottom: 24px;
}

.tap-download-list {
    display: grid;
    gap: 12px;
}

.tap-download-btn {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 13px;
    align-items: center;
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.055);
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tap-download-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(130,154,255,0.45);
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.tap-download-btn.windows { box-shadow: inset 3px 0 0 #1487e9; }
.tap-download-btn.ea { box-shadow: inset 3px 0 0 #10B981; }
.tap-download-btn.extension { box-shadow: inset 3px 0 0 #A855F7; }

.tap-download-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    color: var(--white);
}

.tap-download-icon-text {
    font-size: 15px;
    font-weight: 900;
}

.tap-download-copy strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.tap-download-copy small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255,255,255,0.50);
}

.tap-download-arrow {
    text-align: right;
    font-size: 20px;
    color: rgba(255,255,255,0.45);
}

.tap-download-status {
    margin-top: 14px;
    color: rgba(255,255,255,0.42);
    font-size: 11px;
    min-height: 16px;
}

.tap-download-status.is-error { color: #FCA5A5; }
.tap-download-status.is-success { color: #86EFAC; }

/* ==================== FEEDBACK SECTION ==================== */
.tap-feedback-section {
    background: #111b2e;
}

.tap-feedback-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tap-feedback-card {
    border: 1px solid rgba(255,255,255,0.09);
    background: linear-gradient(155deg, rgba(30,41,59,0.82), rgba(20,29,48,0.82));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.tap-feedback-media {
    height: 210px;
    background: linear-gradient(145deg, #edf2f7, #f8fafc);
    padding: 14px;
}

.tap-feedback-photo,
.tap-feedback-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.tap-feedback-photo {
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
}

.tap-feedback-placeholder {
    background: linear-gradient(160deg, #111827, #24324c);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
}

.tap-feedback-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0EA5E9, #4F46E5);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.tap-feedback-placeholder-text {
    font-size: 12px;
    color: rgba(255,255,255,0.68);
}

.tap-feedback-body {
    padding: 20px;
}

.tap-feedback-stars {
    color: #FBBF24;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 9px;
}

.tap-feedback-quote {
    color: rgba(255,255,255,0.78);
    font-size: 13px;
    line-height: 1.65;
    min-height: 74px;
}

.tap-feedback-person {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.tap-feedback-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
}

.tap-feedback-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.42);
}

.tap-feedback-verified {
    font-size: 10px;
    color: #6EE7B7;
    white-space: nowrap;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .tap-download-feature {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .tap-product-pane::after {
        display: none;
    }

    .tap-product-pane {
        padding-bottom: 8px;
    }

    .tap-download-pane {
        padding-top: 24px;
    }

    .tap-feedback-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .tap-download-feature {
        border-radius: 18px;
    }

    .tap-product-pane {
        padding: 22px 14px 0;
    }

    .tap-product-image {
        max-height: 300px;
    }

    .tap-download-pane {
        padding: 22px 16px 24px;
    }

    .tap-download-btn {
        grid-template-columns: 40px 1fr;
        padding: 12px;
    }

    .tap-download-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .tap-feedback-grid {
        grid-template-columns: 1fr;
    }

    .tap-feedback-person {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==================== PRODUCT INFO SECTIONS v1.3.3 ==================== */
.tap-product-info-section {
    position: relative;
    overflow: hidden;
}

.tap-product-info-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79,70,229,0.09), transparent 67%);
    pointer-events: none;
    right: -230px;
    top: -240px;
}

.tap-info-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.tap-info-lead {
    color: rgba(255,255,255,0.66);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.tap-info-body {
    color: rgba(255,255,255,0.48);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.tap-info-footer,
.tap-inline-footer {
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tap-info-footer {
    text-align: center;
    margin-top: 30px;
}

/* How it works */
.tap-flow-row {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
    align-items: center;
    gap: 10px;
}

.tap-flow-card {
    min-height: 154px;
    padding: 24px 18px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.tap-flow-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.40);
    background: rgba(255,255,255,0.06);
}

.tap-flow-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #9aa7ff;
    background: rgba(79,70,229,0.16);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.tap-flow-source .tap-flow-icon { color: #5bd0ff; background: rgba(14,165,233,0.13); }
.tap-flow-ai .tap-flow-icon { color: #d8b4fe; background: rgba(168,85,247,0.14); }
.tap-flow-mt .tap-flow-icon { color: #6ee7b7; background: rgba(16,185,129,0.13); }

.tap-flow-card strong {
    color: #fff;
    font-size: 15px;
    margin-bottom: 5px;
}

.tap-flow-card span:not(.tap-flow-icon) {
    color: rgba(255,255,255,0.46);
    font-size: 11px;
}

.tap-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(129,140,248,0.65);
}

.tap-process-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.tap-process-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.065);
}

.tap-process-item > span {
    flex: 0 0 auto;
    color: #818cf8;
    font-size: 11px;
    font-weight: 800;
}

.tap-process-item p {
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 12px;
    line-height: 1.45;
}

/* AI */
.tap-ai-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 60px;
    align-items: center;
}

.tap-ai-copy .section-title,
.tap-multi-copy .section-title,
.tap-speed-copy .section-title {
    margin-bottom: 16px;
}

.tap-ai-copy h4 {
    font-size: 14px;
    margin: 2px 0 14px;
    color: #fff;
}

.tap-ai-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 16px;
}

.tap-ai-list-item,
.tap-check-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    line-height: 1.5;
}

.tap-ai-list-item svg,
.tap-check-item svg {
    color: #10b981;
    flex: 0 0 auto;
    margin-top: 1px;
}

.tap-ai-demo {
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(29,38,63,0.90));
    border: 1px solid rgba(129,140,248,0.20);
    box-shadow: 0 22px 65px rgba(0,0,0,0.20);
}

.tap-code-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.035);
}

.tap-code-output {
    border-color: rgba(16,185,129,0.22);
    background: rgba(16,185,129,0.045);
}

.tap-code-label {
    color: #818cf8;
    font-size: 9px;
    letter-spacing: .14em;
    font-weight: 800;
    margin-bottom: 11px;
}

.tap-code-lines {
    display: grid;
    gap: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: rgba(255,255,255,0.82);
    font-size: 12px;
}

.tap-ai-transform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #a78bfa;
    padding: 12px;
}

.tap-ai-brain {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(168,85,247,0.15);
    border: 1px solid rgba(168,85,247,0.22);
    font-size: 12px;
    font-weight: 900;
}

.tap-structured-output {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
}

.tap-structured-output span {
    background: rgba(255,255,255,0.035);
    border-radius: 8px;
    padding: 9px 10px;
    color: rgba(255,255,255,0.77);
    font-size: 11px;
}

.tap-structured-output b {
    display: block;
    color: #6ee7b7;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.tap-ai-demo-footer {
    text-align: center;
    margin-top: 14px;
    color: rgba(255,255,255,0.46);
    font-size: 10px;
}

/* Sources */
.tap-source-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}

.tap-source-card {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.085);
    background: rgba(255,255,255,0.035);
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    align-items: start;
}

.tap-source-card.telegram { background: linear-gradient(145deg, rgba(14,165,233,0.075), rgba(255,255,255,0.025)); }
.tap-source-card.tradingview { background: linear-gradient(145deg, rgba(99,102,241,0.075), rgba(255,255,255,0.025)); }

.tap-source-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14,165,233,0.15);
    color: #7dd3fc;
    font-weight: 900;
    font-size: 17px;
}

.tap-source-card.tradingview .tap-source-icon {
    background: rgba(99,102,241,0.15);
    color: #c7d2fe;
}

.tap-source-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.tap-source-card p {
    color: rgba(255,255,255,0.56);
    font-size: 13px;
    line-height: 1.75;
}

.tap-source-tags {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(255,255,255,0.045);
    color: rgba(255,255,255,0.68);
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Speed */
.tap-speed-layout {
    text-align: center;
}

.tap-speed-copy {
    max-width: 740px;
    margin: 0 auto;
}

.tap-speed-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin: 22px 0 30px;
}

.tap-speed-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(72px, 10vw, 128px);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, #fff 15%, #67e8f9 52%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tap-speed-unit {
    color: rgba(255,255,255,0.40);
    font-size: 17px;
    font-weight: 600;
}

.tap-speed-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tap-speed-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.075);
    color: rgba(255,255,255,0.65);
    font-size: 11px;
}

.tap-speed-chip svg { color: #67e8f9; }

/* Multiple accounts */
.tap-multi-layout {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 60px;
    align-items: center;
}

.tap-account-visual {
    position: relative;
    padding: 72px 28px 28px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(30,41,59,0.92), rgba(13,22,39,0.97));
    border: 1px solid rgba(255,255,255,0.09);
}

.tap-account-center {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 9px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(79,70,229,.26), rgba(14,165,233,.18));
    border: 1px solid rgba(129,140,248,0.30);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
}

.tap-account-row {
    display: grid;
    grid-template-columns: minmax(145px, 1fr) minmax(50px, 1fr) 96px;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.tap-account-row:last-of-type { margin-bottom: 0; }

.tap-account-source,
.tap-account-target {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.72);
    font-size: 11px;
    font-weight: 700;
}

.tap-account-source { padding: 0 14px; }
.tap-account-target { justify-content: center; color: #6ee7b7; }

.telegram-dot { box-shadow: inset 3px 0 0 #38bdf8; }
.tv-dot { box-shadow: inset 3px 0 0 #818cf8; }
.mixed-dot { box-shadow: inset 3px 0 0 #a78bfa; }

.tap-account-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(129,140,248,0.15), rgba(129,140,248,0.80), rgba(16,185,129,0.35));
    position: relative;
}

.tap-account-line::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid #6ee7b7;
    border-right: 1px solid #6ee7b7;
    transform: rotate(45deg);
}

.tap-check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0 22px;
}

/* Security */
.tap-security-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.tap-security-card {
    padding: 24px;
    border-radius: 16px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.075);
}

.tap-security-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6ee7b7;
    background: rgba(16,185,129,0.10);
    margin-bottom: 16px;
}

.tap-security-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #fff;
}

.tap-security-card p {
    color: rgba(255,255,255,0.48);
    font-size: 11px;
    line-height: 1.7;
}

/* New section responsive */
@media (max-width: 1024px) {
    .tap-flow-row {
        grid-template-columns: repeat(4, minmax(0,1fr));
        gap: 12px;
    }

    .tap-flow-arrow { display: none; }

    .tap-process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .tap-ai-layout,
    .tap-multi-layout { grid-template-columns: 1fr; gap: 38px; }
    .tap-source-grid { grid-template-columns: 1fr; }
    .tap-security-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .tap-flow-row,
    .tap-process-grid,
    .tap-ai-list,
    .tap-security-grid { grid-template-columns: 1fr; }

    .tap-flow-card { min-height: 128px; }
    .tap-ai-demo { padding: 15px; }
    .tap-structured-output { grid-template-columns: 1fr; }
    .tap-source-card { grid-template-columns: 1fr; padding: 22px; }
    .tap-speed-number { flex-direction: column; align-items: center; gap: 4px; }
    .tap-speed-value { font-size: 76px; }
    .tap-account-visual { padding: 70px 14px 18px; }
    .tap-account-row { grid-template-columns: minmax(0,1fr) 32px 75px; gap: 8px; }
    .tap-account-source { padding: 0 10px; font-size: 10px; }
    .tap-account-target { font-size: 10px; }
}

/* ==================== v1.3.5 layout refinements ==================== */
.tap-flow-icon.has-image {
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
}

.tap-flow-icon.has-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 16px;
}

@media (min-width: 1180px) {
    .tap-features-six {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tap-features-six .feature-card:nth-child(5) {
        grid-column: 2;
    }

    .tap-features-six .feature-card:nth-child(6) {
        grid-column: 3;
    }
}

/* ==================== v1.3.5 YouTube video under Execution Speed ==================== */
.tap-speed-video-wrap {
    width: 100%;
    max-width: 920px;
    margin: 38px auto 0;
}

.tap-speed-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
    background: #050914;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.30);
}

.tap-speed-video::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    box-shadow: inset 0 0 0 1px rgba(129,140,248,0.08);
    border-radius: inherit;
}

.tap-speed-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .tap-speed-video-wrap {
        margin-top: 28px;
    }
    .tap-speed-video {
        border-radius: 14px;
    }
}

/* ==================== WATCH TUTORIAL MODAL v1.3.6 ==================== */
body.tap-modal-open {
    overflow: hidden;
}

.tap-tutorial-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.tap-tutorial-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tap-tutorial-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 8, 20, .80);
    backdrop-filter: blur(8px);
}

.tap-tutorial-dialog {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    max-height: 88vh;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(145deg, #141e32, #0d1526);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 100px rgba(0,0,0,.55);
    transform: translateY(14px) scale(.985);
    transition: transform .22s ease;
}

.tap-tutorial-modal.is-open .tap-tutorial-dialog {
    transform: translateY(0) scale(1);
}

.tap-tutorial-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.tap-tutorial-close:hover {
    background: rgba(255,255,255,.13);
    transform: rotate(4deg);
}

.tap-tutorial-header {
    padding: 28px 72px 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.tap-tutorial-kicker {
    color: #818cf8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    margin-bottom: 6px;
}

.tap-tutorial-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    margin: 0;
    color: #fff;
}

.tap-tutorial-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    min-height: 480px;
    max-height: calc(88vh - 104px);
}

.tap-tutorial-list {
    padding: 18px;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.018);
}

.tap-tutorial-item {
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    text-align: left;
    padding: 14px;
    margin-bottom: 10px;
    border-radius: 13px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.tap-tutorial-item:hover,
.tap-tutorial-item.is-active {
    border-color: rgba(99,102,241,.45);
    background: rgba(79,70,229,.12);
}

.tap-tutorial-number {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(99,102,241,.16);
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 900;
}

.tap-tutorial-item-copy strong {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-bottom: 4px;
}

.tap-tutorial-item-copy small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    line-height: 1.5;
}

.tap-tutorial-player-area {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tap-tutorial-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #05070d;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.tap-tutorial-player iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.tap-tutorial-description {
    margin-top: 14px;
    color: rgba(255,255,255,.62);
    font-size: 13px;
    line-height: 1.7;
}

.tap-tutorial-empty {
    padding: 60px 30px;
    text-align: center;
    color: rgba(255,255,255,.52);
    font-size: 14px;
}

@media (max-width: 820px) {
    .tap-tutorial-modal {
        padding: 14px;
    }

    .tap-tutorial-dialog {
        max-height: 92vh;
    }

    .tap-tutorial-layout {
        grid-template-columns: 1fr;
        max-height: calc(92vh - 100px);
        overflow-y: auto;
    }

    .tap-tutorial-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: visible;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        padding: 12px;
    }

    .tap-tutorial-item {
        min-width: 220px;
        margin-bottom: 0;
    }

    .tap-tutorial-player-area {
        padding: 16px;
        overflow: visible;
    }

    .tap-tutorial-header {
        padding: 22px 62px 16px 18px;
    }
}


/* ==================== v1.3.7 image icon refinements ==================== */
.tap-ai-brain.has-image {
    width: 84px;
    height: 84px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.tap-ai-brain.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tap-source-icon.has-image {
    width: 58px;
    height: 58px;
    padding: 0;
    background: transparent;
    border-radius: 15px;
    overflow: hidden;
}

.tap-source-icon.has-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 15px;
}

/* ==================== v1.3.8 moved AI icon ==================== */
.tap-moved-ai-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tap-moved-ai-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ==================== v1.3.9 USER DASHBOARD ==================== */
.tap-dashboard-badge,.tap-dash-kicker{display:inline-flex;align-items:center;color:#8b9cff;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.tap-dashboard-badge{padding:6px 10px;border:1px solid rgba(99,102,241,.35);border-radius:999px;background:rgba(79,70,229,.10);margin-bottom:10px}
.tap-dash-panel{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);border-radius:18px;padding:24px;margin:18px auto;color:var(--white);box-shadow:0 14px 40px rgba(0,0,0,.12)}
.tap-dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.tap-dash-panel-head h3{font-family:'Space Grotesk',sans-serif;font-size:22px;margin:5px 0 0}.tap-dash-avatar{border-radius:50%;border:2px solid rgba(99,102,241,.35)}
.tap-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tap-profile-grid>div,.tap-current-plan>div{padding:16px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.025)}.tap-profile-grid span,.tap-current-plan span{display:block;color:rgba(255,255,255,.45);font-size:11px;margin-bottom:7px}.tap-profile-grid strong,.tap-current-plan strong{font-size:14px;word-break:break-word}
.tap-dash-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.tap-dash-actions .tap-account-btn{flex:1}.tap-renew-disabled{opacity:.48;cursor:not-allowed!important}
.tap-sub-status{padding:6px 10px;border-radius:999px;font-size:10px;font-weight:700}.tap-sub-status.active{background:rgba(16,185,129,.12);color:#6ee7b7}.tap-sub-status.expired{background:rgba(239,68,68,.12);color:#fca5a5}
.tap-current-plan{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tap-current-plan strong{font-family:'Space Grotesk',sans-serif;font-size:19px}.tap-history-head{margin:22px 0 10px}.tap-history-head h4{margin:0;font-size:14px}.tap-sub-history{border-top:1px solid rgba(255,255,255,.07)}.tap-history-row{display:grid;grid-template-columns:1.1fr 1fr auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px}.tap-history-row span{color:rgba(255,255,255,.55)}.tap-history-row em{font-style:normal;color:#8b9cff;font-size:10px}.tap-dash-empty{padding:15px;border-radius:10px;background:rgba(255,255,255,.025);color:rgba(255,255,255,.5);font-size:12px}
.tap-username-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;padding:20px}.tap-username-modal.is-open{display:flex}.tap-username-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(5px)}.tap-username-dialog{position:relative;width:min(440px,100%);padding:28px;border:1px solid rgba(129,140,248,.25);border-radius:18px;background:#111a2d;box-shadow:0 30px 90px rgba(0,0,0,.45)}.tap-username-dialog h3{font-family:'Space Grotesk',sans-serif;font-size:24px;margin:8px 0}.tap-username-dialog p{color:rgba(255,255,255,.55);font-size:13px;line-height:1.6;margin:0 0 18px}.tap-username-dialog label{display:block;font-size:12px;margin-bottom:7px}.tap-username-dialog input{width:100%;box-sizing:border-box;padding:12px 13px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#fff;outline:none;margin-bottom:12px}.tap-username-close{position:absolute;right:13px;top:10px;width:34px;height:34px;border:0;background:transparent;color:rgba(255,255,255,.65);font-size:28px;cursor:pointer}.tap-username-close:hover{color:#fff}
@media(max-width:700px){.tap-profile-grid,.tap-current-plan{grid-template-columns:1fr}.tap-history-row{grid-template-columns:1fr;gap:5px}.tap-dash-panel{padding:18px}.tap-dash-actions .tap-account-btn{flex-basis:100%}}

/* ==================== FAQ POPUP MODAL (reuses .tap-tutorial-* base classes) ==================== */
.tap-faq-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.tap-faq-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tap-faq-dialog { width: min(1080px, 100%); }

/* ── Search box in sidebar ── */
.tap-faq-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}

.tap-faq-search-box:focus-within {
    border-color: rgba(99,102,241,.5);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
}

.tap-faq-search-box svg { color: rgba(255,255,255,.35); flex-shrink: 0; }

.tap-faq-search-field {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    padding: 0;
}

.tap-faq-search-field::placeholder { color: rgba(255,255,255,.3); }

.tap-faq-clear-btn {
    background: rgba(255,255,255,.08);
    border: 0;
    color: rgba(255,255,255,.65);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.tap-faq-clear-btn:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ── Sidebar list ── */
.tap-faq-list-panel {
    display: flex;
    flex-direction: column;
}

.tap-faq-sidebar-list {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}

.tap-faq-sidebar-item[hidden] { display: none !important; }

.tap-faq-no-result {
    padding: 18px 14px;
    text-align: center;
    color: rgba(255,255,255,.4);
    font-size: 12px;
}

/* ── Content area ── */
.tap-faq-content-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
}

.tap-faq-detail-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 18px;
    color: #fff;
}

.tap-faq-detail-img {
    margin: 0 0 18px;
    border-radius: 14px;
    overflow: hidden;
    background: #05070d;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
}

.tap-faq-detail-img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    background: #05070d;
}

.tap-faq-detail-body {
    font-size: 14px;
    color: rgba(255,255,255,.68);
    line-height: 1.85;
}

.tap-faq-detail-body p { margin: 0 0 12px; }
.tap-faq-detail-body p:last-child { margin-bottom: 0; }
.tap-faq-detail-body a { color: #a5b4fc; text-decoration: underline; text-underline-offset: 3px; }
.tap-faq-detail-body a:hover { color: #c7d2fe; }
.tap-faq-detail-body ul, .tap-faq-detail-body ol { padding-left: 22px; margin: 10px 0; }
.tap-faq-detail-body li { margin-bottom: 5px; }

.tap-faq-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255,255,255,.08);
}

.tap-faq-detail-tag {
    display: inline-flex;
    padding: 4px 10px;
    background: rgba(99,102,241,.1);
    border: 1px solid rgba(99,102,241,.22);
    border-radius: 999px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 500;
}

.tap-faq-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4f46e5, #6d5aed);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79,70,229,.28);
    transition: transform .15s, box-shadow .15s;
}

.tap-faq-detail-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(79,70,229,.42);
    color: #fff;
}

.tap-faq-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 280px;
    color: rgba(255,255,255,.35);
    font-size: 14px;
    text-align: center;
}

.tap-faq-hl {
    background: rgba(250,204,21,.2);
    color: #ffe28a;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600;
}

@media (max-width: 820px) {
    .tap-faq-modal { padding: 14px; }
    .tap-faq-detail-img img { max-height: 260px; }
}

/* ==================== DASHBOARD — Plan Features ==================== */
.tap-plan-features {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.tap-plan-features h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
    color: rgba(255,255,255,.85);
}

.tap-plan-features-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tap-plan-feature-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    line-height: 1.4;
}

.tap-plan-feature-row.is-disabled {
    opacity: .45;
    text-decoration: line-through;
    text-decoration-color: rgba(255,255,255,.25);
}

.tap-plan-feature-icon {
    font-size: 15px;
    flex-shrink: 0;
}

.tap-current-plan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 700px) {
    .tap-plan-features-list { grid-template-columns: 1fr; }
}
