/* Theme 3 - Modern Purple / SaaS Design */

/* All styles scoped under .theme-3 */
.theme-3 {
    --t3-bg: #0f0720;
    --t3-card-bg: #1a1033;
    --t3-primary: #7c3aed;
    /* Violet */
    --t3-primary-light: #a78bfa;
    --t3-secondary: #f472b6;
    /* Pink */
    --t3-text: #f8fafc;
    --t3-muted: #cbd5e1;
    --t3-grad: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
}

.theme-3 .section-title {
    font-family: var(--global-font);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    background: var(--t3-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-transform: none;
    /* Keep natural case */
    position: relative;
    display: inline-block;
}

.theme-3 .card {
    width: 360px;
    padding: 35px;
    border-radius: 24px;
    background: var(--t3-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--t3-text);
    overflow: hidden;
    /* For glow effects */
}

/* Subtle gradient top border/glow */
.theme-3 .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--t3-grad);
}

.theme-3 .badge {
    color: white;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    background: rgba(124, 58, 237, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    display: inline-block;
    width: fit-content;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.theme-3 .title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    letter-spacing: -0.5px;
}

.theme-3 .desc {
    font-size: 15px;
    color: var(--t3-muted);
    line-height: 1.6;
}

/* Icon Styles - Modern Floating Bubble */
.theme-3 .icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 54px;
    height: 54px;
    background: var(--t3-grad);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.theme-3 .icon:hover {
    transform: translateY(-2px);
}

.theme-3 .icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

/* Contact Card Overrides */
.theme-3 .card.contact-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 25px 30px;
    background: var(--t3-card-bg);
}

.theme-3 .contact-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-grow: 1;
}

.theme-3 .contact-icon {
    position: static;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-3 .contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--t3-primary-light);
}

.theme-3 .contact-title {
    color: var(--t3-primary-light);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 3px;
    opacity: 0.9;
}

.theme-3 .contact-desc {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.theme-3 .contact-arrow {
    color: var(--t3-primary-light);
    opacity: 0.5;
}

/* Process Card Overrides */
.theme-3 .card.process-card {
    width: 320px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 25px 30px;
    border-radius: 20px;
    background: var(--t3-card-bg);
    min-height: auto;
}

.theme-3 .card.process-card .icon {
    position: static;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    width: 48px;
    height: 48px;
}

.theme-3 .card.process-card .icon svg {
    color: var(--t3-primary-light);
}

.theme-3 .card.process-card .title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    text-transform: none;
    margin: 0;
    text-align: left;
}

/* Separator Card Overrides - Clean Pill Shape */
.theme-3 .card.separator-card {
    background: var(--t3-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    /* Pill shape */
    padding: 15px 40px;
    gap: 20px;
    min-height: auto;
    width: auto;
    display: inline-flex;
    flex-direction: row;
}

.theme-3 .card.separator-card::before {
    display: none;
    /* Remove Theme 3 gold line if present */
}

.theme-3 .card.separator-card .icon {
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--t3-grad);
    box-shadow: none;
    font-size: 20px;
}

.theme-3 .card.separator-card .icon svg {
    width: 20px;
    height: 20px;
}

.theme-3 .card.separator-card .title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
}

/* Special Review Card */
.theme-3 .special-review-card {
    background: linear-gradient(180deg, var(--t3-card-bg) 0%, #0f0720 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.theme-3 .special-review-card .icon {
    position: static;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: none;
    margin-bottom: 20px;
}

.theme-3 .special-review-card .icon svg {
    color: #ef4444;
    filter: none;
}

.theme-3 .special-review-card .top-text {
    color: var(--t3-primary-light);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.theme-3 .special-review-card .main-text {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Card Overrides */
.theme-3 .header-card {
    width: 500px;
    height: 350px;
    max-width: 100%;
    background: transparent;
    border: none;
    padding: 40px;
    align-items: flex-start;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.theme-3 .header-card .mode-toggle {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-3 .header-card .mode-btn {
    border-radius: 100px;
    font-size: 13px;
}

.theme-3 .header-card .mode-btn.dark {
    border: 2px solid #333539 !important;
    color: #333539 !important;
    background: transparent !important;
}

.theme-3 .header-card .mode-btn.light {
    border: 2px solid #f5f8fa !important;
    color: #f5f8fa !important;
    background: transparent !important;
}

.theme-3 .header-card .subtitle {
    color: var(--t3-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 25px;
    font-size: 18px;
}

.theme-3 .header-card .main-title {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin: 15px 0 30px 0;
    background: var(--t3-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.theme-3 .header-card .cta-btn {
    background: white;
    color: var(--t3-primary);
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.theme-3 .header-card .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.theme-3 .header-card .cta-text {
    display: none;
}

/* --- EXPORT MODE OVERRIDES --- */
/* html2canvas struggles with background-clip: text and some gradients. 
   We simplify these for the exported image to prevent artifacts (like white blocks). */

.theme-3.export-mode .section-title,
.theme-3.export-mode .main-text,
.theme-3.export-mode .header-card .main-title {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #e879f9 !important;
    /* Vibrant Pink/Purple Fallback */
    text-shadow: 0 2px 0px rgba(0, 0, 0, 0.2);
}

/* Force solid backgrounds for cards in export to avoid transparency/variable issues */
.theme-3.export-mode .card,
.theme-3.export-mode .special-review-card {
    background: #1a1033 !important;
}

.theme-3.export-mode .header-card {
    background: transparent !important;
}

/* CSS Graphic Replacement for Header 2 */
.theme-3 .header-mascot-img {
    display: none !important;
}

.theme-3 .header-alt-design {
    display: flex !important;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-3 .alt-shape-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
}

.theme-3 .alt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 2;
    padding: 30px;
}

.theme-3 .alt-icon {
    width: 120px;
    height: 120px;
    background: var(--t3-grad);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.5);
    transform: rotate(10deg);
}

.theme-3 .alt-icon svg {
    width: 60px;
    height: 60px;
}

.theme-3 .alt-text {
    font-size: 44px;
    font-weight: 900;
    background: var(--t3-grad);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.2;
    text-align: center;
}

/* Export override for text color */
.theme-3.export-mode .alt-text {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #e879f9 !important;
}

/* Feature Description Card */
.theme-3 .card.feature-desc-card {
    width: 700px;
    max-width: 100%;
    background: linear-gradient(180deg, var(--t3-card-bg) 0%, #0f0720 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 30px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.theme-3 .feature-top {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 15px 40px 15px 60px;
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
}

.theme-3 .feature-top .icon {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: var(--t3-grad);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.theme-3 .feature-top .icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.theme-3 .feature-top .title {
    color: white;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.theme-3 .feature-desc-card .desc,
.theme-3 .text-only-card .desc {
    color: var(--t3-muted);
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
}

/* Text Only Card */
.theme-3 .card.text-only-card {
    width: 700px;
    max-width: 100%;
    background: linear-gradient(180deg, var(--t3-card-bg) 0%, #0f0720 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 30px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-3 .card.text-only-card.small {
    width: 360px;
}

/* Pricing Card */
.theme-3 .card.pricing-card {
    width: 360px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.theme-3 .pricing-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-3 .plan-name {
    color: var(--t3-primary-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.theme-3 .plan-price {
    font-size: 52px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}

.theme-3 .plan-price span {
    font-size: 16px;
    color: var(--t3-muted);
    font-weight: 500;
}

.theme-3 .pricing-header .plan-desc {
    color: var(--t3-muted);
    font-size: 15px;
    line-height: 1.6;
}

.theme-3 .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.theme-3 .pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 15px;
}

.theme-3 .pricing-features li svg {
    color: var(--t3-secondary);
    flex-shrink: 0;
}

/* Simple Price Card */
.theme-3 .card.simple-price-card {
    width: 360px;
    background: linear-gradient(180deg, var(--t3-card-bg) 0%, #0f0720 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 50px 35px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.theme-3 .simple-price-card .icon {
    color: var(--t3-secondary);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.theme-3 .simple-price-card .plan-name {
    color: var(--t3-primary-light);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.theme-3 .simple-price-card .plan-price {
    font-size: 60px;
    font-weight: 800;
    color: white;
    line-height: 1;
}