/*
 * Thrive X Secure — page-specific styles
 * Loaded after theme-tetradic-glass.css. All rules are scoped to
 * `.thrive-x-secure-page` so the theme's atmosphere + DNA helix
 * background show through translucent section panels.
 */

.thrive-x-secure-page {
    --primary-color: #1ECBE1;
    --secondary-color: #1ECBE1;
    --text-light: #ffffff;
    --text-gray: #a8b2d1;
    --accent-red: #E1341E;
    --accent-cyan: #1ECBE1;
}

/* ---------- Layout primitives ---------- */
.thrive-x-secure-page .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.thrive-x-secure-page section {
    position: relative;
    padding: 6rem 0;
}

.thrive-x-secure-page section + section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(30, 203, 225, 0.4), transparent);
}

/* Section panels are intentionally translucent so the DNA helix
   background animation remains visible behind the content. */
.thrive-x-secure-page .stats,
.thrive-x-secure-page .problem-solution,
.thrive-x-secure-page .social-proof,
.thrive-x-secure-page .final-cta {
    background: rgba(5, 7, 15, 0.55);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.thrive-x-secure-page .story,
.thrive-x-secure-page .features,
.thrive-x-secure-page .faq {
    background: linear-gradient(135deg, rgba(18, 21, 46, 0.45) 0%, rgba(10, 13, 31, 0.5) 100%);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.thrive-x-secure-page .pricing {
    background: radial-gradient(circle at center, rgba(30, 203, 225, 0.08) 0%, rgba(10, 13, 31, 0.45) 70%);
    text-align: center;
    overflow: hidden;
}

/* ---------- Hero ---------- */
.thrive-x-secure-page .hero {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.05) 0%, rgba(10, 13, 31, 0.35) 50%, rgba(5, 7, 15, 0.5) 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.thrive-x-secure-page .hero-content {
    text-align: center;
    animation: thrivexFadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.thrive-x-secure-page .urgent-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(225, 52, 30, 0.18) 0%, rgba(225, 52, 30, 0.06) 100%);
    border: 1px solid rgba(225, 52, 30, 0.35);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: thrivexPulseGlow 3s ease-in-out infinite;
}

@keyframes thrivexPulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(225, 52, 30, 0.2), inset 0 0 20px rgba(225, 52, 30, 0.1); }
    50%      { box-shadow: 0 0 35px rgba(225, 52, 30, 0.4), inset 0 0 30px rgba(225, 52, 30, 0.15); }
}

.thrive-x-secure-page h1,
.thrive-x-secure-page h2 {
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

.thrive-x-secure-page h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.thrive-x-secure-page .highlight {
    background: linear-gradient(135deg, #E1341E 0%, #ff6b5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thrive-x-secure-page .hero-subtext {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 3rem;
    max-width: 900px;
    line-height: 1.8;
}

.thrive-x-secure-page .cta-primary {
    display: inline-block;
    background: linear-gradient(135deg, #E1341E 0%, #c72d1a 100%);
    color: #fff;
    padding: 1.5rem 3.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(225, 52, 30, 0.3);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.thrive-x-secure-page .cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.thrive-x-secure-page .cta-primary:hover::before {
    width: 400px;
    height: 400px;
}

.thrive-x-secure-page .cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(225, 52, 30, 0.5);
}

.thrive-x-secure-page .trust-line {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1.5rem;
}

/* ---------- Section title ---------- */
.thrive-x-secure-page .section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    color: #fff;
    position: relative;
    padding-bottom: 1.5rem;
}

.thrive-x-secure-page .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #1ECBE1, transparent);
    border-radius: 2px;
}

/* ---------- Stats grid ---------- */
.thrive-x-secure-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.thrive-x-secure-page .stat-card {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.06) 0%, rgba(18, 21, 46, 0.7) 100%);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(30, 203, 225, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.thrive-x-secure-page .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1ECBE1, transparent);
    transform: translateX(-100%);
    transition: transform 0.8s;
}

.thrive-x-secure-page .stat-card:hover::before {
    transform: translateX(100%);
}

.thrive-x-secure-page .stat-card:hover {
    border-color: #1ECBE1;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(30, 203, 225, 0.25);
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.12) 0%, rgba(18, 21, 46, 0.95) 100%);
}

.thrive-x-secure-page .stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #E1341E, #ff6b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.thrive-x-secure-page .stat-label {
    color: #a8b2d1;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ---------- Story ---------- */
.thrive-x-secure-page .story-content {
    max-width: 900px;
    margin: 0 auto;
}

.thrive-x-secure-page .story-text {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.8rem;
}

.thrive-x-secure-page .story-highlight {
    background: linear-gradient(135deg, rgba(225, 52, 30, 0.12) 0%, rgba(225, 52, 30, 0.06) 100%);
    border: 1px solid rgba(225, 52, 30, 0.2);
    border-left: 4px solid #E1341E;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(225, 52, 30, 0.15);
    backdrop-filter: blur(10px);
}

/* ---------- Problem / Solution ---------- */
.thrive-x-secure-page .two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
}

.thrive-x-secure-page .problem-box,
.thrive-x-secure-page .solution-box {
    padding: 3.5rem;
    border-radius: 24px;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.thrive-x-secure-page .problem-box {
    background: linear-gradient(135deg, rgba(225, 52, 30, 0.08) 0%, rgba(18, 21, 46, 0.55) 100%);
    border-color: rgba(225, 52, 30, 0.3);
}

.thrive-x-secure-page .solution-box {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.08) 0%, rgba(18, 21, 46, 0.55) 100%);
    border-color: rgba(30, 203, 225, 0.3);
}

.thrive-x-secure-page .problem-box:hover {
    border-color: #E1341E;
    box-shadow: 0 15px 50px rgba(225, 52, 30, 0.2);
}

.thrive-x-secure-page .solution-box:hover {
    border-color: #1ECBE1;
    box-shadow: 0 15px 50px rgba(30, 203, 225, 0.2);
}

.thrive-x-secure-page .box-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.thrive-x-secure-page .problem-box .box-title { color: #E1341E; }
.thrive-x-secure-page .solution-box .box-title { color: #1ECBE1; }

.thrive-x-secure-page .problem-box ul,
.thrive-x-secure-page .solution-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thrive-x-secure-page .problem-box li,
.thrive-x-secure-page .solution-box li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.thrive-x-secure-page .problem-box li::before,
.thrive-x-secure-page .solution-box li::before {
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.thrive-x-secure-page .problem-box li::before { content: '\2717'; color: #E1341E; }
.thrive-x-secure-page .solution-box li::before { content: '\2713'; color: #1ECBE1; }

/* ---------- Features ---------- */
.thrive-x-secure-page .feature-section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.thrive-x-secure-page .feature-section-intro h4 {
    color: #E1341E;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.thrive-x-secure-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.thrive-x-secure-page .feature-card {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.05) 0%, rgba(13, 15, 33, 0.7) 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(30, 203, 225, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.thrive-x-secure-page .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1ECBE1, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.thrive-x-secure-page .feature-card:hover::before {
    transform: translateX(100%);
}

.thrive-x-secure-page .feature-card:hover {
    transform: translateY(-8px);
    border-color: #1ECBE1;
    box-shadow: 0 15px 50px rgba(30, 203, 225, 0.25);
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.1) 0%, rgba(13, 15, 33, 0.95) 100%);
}

.thrive-x-secure-page .feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(30, 203, 225, 0.3));
}

.thrive-x-secure-page .feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1ECBE1;
}

.thrive-x-secure-page .feature-desc {
    color: #a8b2d1;
    line-height: 1.8;
    font-size: 1.05rem;
}

.thrive-x-secure-page .feature-desc a {
    color: #1ECBE1;
    text-decoration: none;
    border-bottom: 1px solid rgba(30, 203, 225, 0.3);
    transition: border-color 0.3s;
}

.thrive-x-secure-page .feature-desc a:hover {
    border-bottom-color: #1ECBE1;
}

/* ---------- Testimonials / What you'll learn ---------- */
.thrive-x-secure-page .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.thrive-x-secure-page .testimonial {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.06) 0%, rgba(18, 21, 46, 0.7) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(30, 203, 225, 0.2);
    border-left: 4px solid #1ECBE1;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.thrive-x-secure-page .testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 203, 225, 0.2);
}

.thrive-x-secure-page .testimonial-text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ---------- Pricing ---------- */
.thrive-x-secure-page .pricing::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 203, 225, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: thrivexPulseGlow 8s ease-in-out infinite;
}

.thrive-x-secure-page .pricing-card {
    background: rgba(255, 255, 255, 0.98);
    color: #1a1f3a;
    max-width: 550px;
    margin: 3rem auto;
    padding: 4rem 3.5rem;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    border: 2px solid rgba(30, 203, 225, 0.2);
}

.thrive-x-secure-page .pricing-card * { color: #1a1f3a; }
.thrive-x-secure-page .pricing-card a { color: #fff; }
.thrive-x-secure-page .pricing-card .price-subtext a { color: #0066cc; text-decoration: underline; }
.thrive-x-secure-page .pricing-card strong { color: #1a1f3a; }
.thrive-x-secure-page .pricing-card em { color: #666; }
.thrive-x-secure-page .pricing-card .trust-badge,
.thrive-x-secure-page .pricing-card .trust-badge * { color: #fff; }

.thrive-x-secure-page .current-price {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #E1341E, #ff6b5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.thrive-x-secure-page .price-subtext {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.thrive-x-secure-page .trust-badge {
    background: linear-gradient(135deg, #1ECBE1, #0ea5b8);
    color: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    margin: 2.5rem 0;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(30, 203, 225, 0.3);
}

/* ---------- FAQ ---------- */
.thrive-x-secure-page .faq-item {
    background: linear-gradient(135deg, rgba(30, 203, 225, 0.05) 0%, rgba(13, 15, 33, 0.7) 100%);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(30, 203, 225, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.thrive-x-secure-page .faq-item:hover {
    border-color: #1ECBE1;
    box-shadow: 0 10px 40px rgba(30, 203, 225, 0.15);
}

.thrive-x-secure-page .faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #1ECBE1;
}

.thrive-x-secure-page .faq-answer {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ---------- Final CTA ---------- */
.thrive-x-secure-page .final-cta { text-align: center; }

.thrive-x-secure-page .urgency-text {
    color: #E1341E;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    animation: thrivexPulseGlow 3s ease-in-out infinite;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .thrive-x-secure-page .hero {
        min-height: auto;
        padding: 5rem 1rem 3rem;
    }
    .thrive-x-secure-page .stats-grid,
    .thrive-x-secure-page .features-grid,
    .thrive-x-secure-page .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .thrive-x-secure-page .two-column {
        grid-template-columns: 1fr;
    }
    .thrive-x-secure-page .current-price {
        font-size: 3.5rem;
    }
    .thrive-x-secure-page .section-title {
        font-size: 2rem;
    }
    .thrive-x-secure-page .stat-card,
    .thrive-x-secure-page .feature-card,
    .thrive-x-secure-page .problem-box,
    .thrive-x-secure-page .solution-box {
        padding: 2rem 1.5rem;
    }
}

/* ---------- WP Footer: keep opaque & above the DNA canvas ---------- */
/* Without this, the DNA helix (z-index 0, position fixed) shows through
   the Kadence footer because the footer has no opaque background of its own. */
body.thrive-x-secure-page .site-footer,
body.thrive-x-secure-page #colophon {
    position: relative;
    z-index: 2;
    background: #05070f;
}

body.thrive-x-secure-page .final-cta {
    margin-bottom: 0;
}

