/* ===========================================
   PUBLIC PAGES STYLES (Privacy, Terms, Pricing)
   Theme-compatible styles for legal and pricing pages
   =========================================== */

/* ===== CSS Variables - Inherit from theme or use defaults ===== */
:root {
    --pp-bg: var(--theme-bg);
    --pp-bg2: var(--theme-bg-alt);
    --pp-text: var(--theme-text);
    --pp-muted: var(--theme-text-muted);
    --pp-surface: var(--theme-surface);
    --pp-surface-2: var(--theme-surface-hover);
    --pp-border: var(--theme-border);
    --pp-primary: var(--theme-primary);
    --pp-accent: var(--theme-accent);
    --pp-gradient: linear-gradient(135deg, var(--theme-primary-hover) 0%, var(--theme-primary) 50%, var(--theme-primary-light) 100%);
    --pp-radius-xl: var(--theme-radius-xl);
    --pp-radius-lg: var(--theme-radius-lg);
    --pp-radius-md: var(--theme-radius-md);
    --pp-shadow-lg: var(--theme-shadow-xl);
    --pp-shadow-md: var(--theme-shadow-lg);
}

/* ===== Page Hero Section ===== */
.public-page-hero {
    padding: 6rem 0 4rem;
    background: var(--pp-gradient);
    position: relative;
    overflow: hidden;
}

.public-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* Hero particle background layers */
.public-page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.public-page-hero .hero-background::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    top: -400px;
    right: -200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pp-float-orb-1 20s ease-in-out infinite;
    filter: blur(60px);
}

.public-page-hero .hero-background::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    bottom: -300px;
    left: -150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pp-float-orb-2 25s ease-in-out infinite;
    filter: blur(50px);
}

@keyframes pp-float-orb-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

@keyframes pp-float-orb-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, -60px) scale(1.15); }
    66% { transform: translate(60px, -80px) scale(0.95); }
}

.public-page-hero .hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: pp-grid-move 30s linear infinite;
    opacity: 0.6;
}

@keyframes pp-grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.public-page-hero .hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 5% 90%, rgba(255, 255, 255, 0.4) 0%, transparent 2px),
        radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.3) 0%, transparent 3px),
        radial-gradient(circle at 25% 95%, rgba(255, 255, 255, 0.5) 0%, transparent 2px),
        radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.4) 0%, transparent 3px),
        radial-gradient(circle at 45% 92%, rgba(255, 255, 255, 0.3) 0%, transparent 2px),
        radial-gradient(circle at 55% 88%, rgba(255, 255, 255, 0.5) 0%, transparent 3px),
        radial-gradient(circle at 65% 95%, rgba(255, 255, 255, 0.4) 0%, transparent 2px),
        radial-gradient(circle at 75% 82%, rgba(255, 255, 255, 0.3) 0%, transparent 3px),
        radial-gradient(circle at 85% 90%, rgba(255, 255, 255, 0.5) 0%, transparent 2px),
        radial-gradient(circle at 95% 87%, rgba(255, 255, 255, 0.4) 0%, transparent 3px);
    background-size: 100% 100%;
    animation: pp-particles-rise 8s linear infinite;
}

.public-page-hero .hero-gradient::before,
.public-page-hero .hero-gradient::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.5),
        100px 50px 0 0 rgba(255, 255, 255, 0.4),
        -80px 30px 0 0 rgba(255, 255, 255, 0.5),
        50px -20px 0 0 rgba(255, 255, 255, 0.3),
        -120px -40px 0 0 rgba(255, 255, 255, 0.6),
        200px 80px 0 0 rgba(255, 255, 255, 0.4),
        -150px 100px 0 0 rgba(255, 255, 255, 0.3);
    animation: pp-particle-float 10s ease-in-out infinite;
}

.public-page-hero .hero-gradient::before {
    top: 80%;
    left: 10%;
    animation-delay: 0s;
}

.public-page-hero .hero-gradient::after {
    top: 40%;
    right: 15%;
    animation-delay: -5s;
}

@keyframes pp-particles-rise {
    0% { background-position: 0% 100%; }
    100% { background-position: 0% -100%; }
}

@keyframes pp-particle-float {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(50px, -300px) scale(1.5); opacity: 0.8; }
    90% { opacity: 0.5; }
    100% { transform: translate(100px, -600px) scale(0.5); opacity: 0; }
}

/* 3D theme overrides for public page hero */
[data-theme="3d"] .public-page-hero {
    background: linear-gradient(135deg, #060616 0%, #0b0b24 50%, #060616 100%);
}

[data-theme="3d"] .public-page-hero::before {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.2), transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(34, 211, 238, 0.15), transparent 50%);
}

[data-theme="3d"] .public-page-hero .hero-background::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
}

[data-theme="3d"] .public-page-hero .hero-background::after {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2) 0%, transparent 70%);
}

[data-theme="3d"] .public-page-hero .hero-gradient {
    background: 
        radial-gradient(circle at 5% 90%, rgba(139, 92, 246, 0.6) 0%, transparent 2px),
        radial-gradient(circle at 15% 85%, rgba(34, 211, 238, 0.5) 0%, transparent 3px),
        radial-gradient(circle at 25% 95%, rgba(251, 113, 133, 0.7) 0%, transparent 2px),
        radial-gradient(circle at 35% 80%, rgba(167, 139, 250, 0.6) 0%, transparent 3px),
        radial-gradient(circle at 45% 92%, rgba(139, 92, 246, 0.5) 0%, transparent 2px),
        radial-gradient(circle at 55% 88%, rgba(34, 211, 238, 0.7) 0%, transparent 3px),
        radial-gradient(circle at 65% 95%, rgba(251, 113, 133, 0.6) 0%, transparent 2px),
        radial-gradient(circle at 75% 82%, rgba(167, 139, 250, 0.5) 0%, transparent 3px),
        radial-gradient(circle at 85% 90%, rgba(139, 92, 246, 0.7) 0%, transparent 2px),
        radial-gradient(circle at 95% 87%, rgba(34, 211, 238, 0.6) 0%, transparent 3px);
}

[data-theme="3d"] .public-page-hero .hero-gradient::before,
[data-theme="3d"] .public-page-hero .hero-gradient::after {
    background: #8b5cf6;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.9),
        0 0 40px rgba(34, 211, 238, 0.6),
        100px 50px 0 0 rgba(34, 211, 238, 0.5),
        -80px 30px 0 0 rgba(251, 113, 133, 0.6),
        50px -20px 0 0 rgba(167, 139, 250, 0.4),
        -120px -40px 0 0 rgba(139, 92, 246, 0.7);
}

[data-theme="3d"] .page-hero-title {
    text-shadow: 
        0 0 30px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(34, 211, 238, 0.3);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.page-hero-icon i {
    font-size: 2.5rem;
    color: white;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page-hero-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ===== Page Content Section ===== */
.public-page-content {
    padding: 4rem 0;
    background: var(--pp-bg);
    min-height: 60vh;
}

.content-card {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);
    padding: 3rem;
    box-shadow: var(--pp-shadow-lg);
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem;
        border-radius: var(--pp-radius-lg);
    }
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--pp-border);
}

.content-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pp-text);
    margin-bottom: 1.25rem;
}

.section-heading i {
    color: var(--pp-primary);
    font-size: 1.25rem;
}

.subsection-heading {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--pp-text);
    margin: 1.5rem 0 0.75rem;
}

.content-section p {
    color: var(--pp-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== Styled Lists ===== */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--pp-muted);
    line-height: 1.6;
}

.styled-list li i {
    color: var(--pp-secondary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.styled-list li strong {
    color: var(--pp-text);
}

/* ===== Info Grid ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--pp-surface-2);
    border-radius: var(--pp-radius-md);
    border: 1px solid var(--pp-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--pp-shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--pp-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 0.35rem;
}

.info-content p {
    font-size: 0.9rem;
    color: var(--pp-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== Security Features ===== */
.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--pp-surface-2);
    border-radius: 50px;
    border: 1px solid var(--pp-border);
    color: var(--pp-text);
    font-size: 0.9rem;
    font-weight: 500;
}

.security-item i {
    color: var(--pp-secondary);
}

/* ===== Rights Grid ===== */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.right-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--pp-surface-2);
    border-radius: var(--pp-radius-md);
    border: 1px solid var(--pp-border);
    transition: transform 0.3s ease;
}

.right-item:hover {
    transform: translateY(-5px);
}

.right-item i {
    font-size: 2rem;
    color: var(--pp-primary);
    margin-bottom: 0.75rem;
}

.right-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 0.35rem;
}

.right-item p {
    font-size: 0.85rem;
    color: var(--pp-muted);
    margin: 0;
}

/* ===== Contact Section ===== */
.contact-section .contact-card {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--pp-gradient);
    border-radius: var(--pp-radius-md);
    color: white;
    font-weight: 500;
}

.contact-item i {
    font-size: 1.25rem;
}

/* ===== Page Navigation Links ===== */
.page-nav-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}

.nav-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-md);
    color: var(--pp-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link-btn:hover {
    background: var(--pp-primary);
    border-color: var(--pp-primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== Terms Page Specific ===== */
.terms-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.term-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--pp-surface-2);
    border-radius: var(--pp-radius-md);
    border: 1px solid var(--pp-border);
}

.term-number {
    width: 36px;
    height: 36px;
    background: var(--pp-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.term-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 0.35rem;
}

.term-content p {
    font-size: 0.9rem;
    color: var(--pp-muted);
    margin: 0;
}

/* ===== Prohibited Grid ===== */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.prohibited-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 79, 79, 0.08);
    border: 1px solid rgba(255, 79, 79, 0.2);
    border-radius: var(--pp-radius-md);
    color: var(--pp-muted);
}

.prohibited-item i {
    color: #ff4f4f;
    flex-shrink: 0;
}

/* ===== Disclaimer Box ===== */
.disclaimer-box {
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.25);
    border-radius: var(--pp-radius-md);
    margin-top: 1rem;
}

.disclaimer-box p {
    color: var(--pp-text);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   PRICING PAGE STYLES
   =========================================== */

.pricing-hero {
    padding: 6rem 0 6rem;
}

.public-page-hero.pricing-hero {
    padding: 6rem 0;
}

/* ===== Billing Toggle ===== */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.billing-toggle-pill {
    display: inline-flex;
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.billing-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: var(--pp-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.billing-option.active {
    background: var(--theme-gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.billing-option:not(.active):hover {
    color: var(--pp-text);
}

.discount-badge-inline {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--pp-gradient);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    line-height: 1.4;
}

/* ===== Pricing Section ===== */
.pricing-section {
    position: relative;
    padding: 4rem 0 5.5rem;
    background: var(--pp-bg);
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tablet - 2 columns */
@media (min-width: 640px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Medium screens - 3 columns */
@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

/* Large desktop - all 5 cards in a row */
@media (min-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
        padding: 0;
    }
}

/* ===== Pricing Card ===== */
.pricing-card {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-xl);
    overflow: visible;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--pp-shadow-lg);
}

.pricing-card.featured {
    border-color: var(--pp-primary);
    box-shadow: 0 0 40px rgba(124, 92, 255, 0.2);
}

/* Scale down featured card hover on large screens */
@media (min-width: 1400px) {
    .pricing-card:hover {
        transform: translateY(-5px);
    }
}

.featured-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--pp-gradient);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 0 0 12px 12px;
}

@media (min-width: 1400px) {
    .featured-badge {
        padding: 0.35rem 1rem;
        font-size: 0.7rem;
    }
}

/* Struck-through original price for annual billing */
.price-original {
    text-align: left;
    margin-bottom: 0.25rem;
}

.price-original-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pp-muted);
}

.price-original-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pp-muted);
    text-decoration: line-through;
    text-decoration-color: var(--pp-muted);
    text-decoration-thickness: 2px;
}

@media (min-width: 1400px) {
    .price-original-amount {
        font-size: 1.2rem;
    }

    .price-original-currency {
        font-size: 1.2rem;
    }
}

.pricing-header {
    text-align: center;
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid var(--pp-border);
}

@media (min-width: 1400px) {
    .pricing-header {
        padding: 2rem 1rem 1rem;
    }
}

.plan-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1400px) {
    .plan-icon {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }
}

.plan-icon i {
    font-size: 1.75rem;
    color: white;
}

@media (min-width: 1400px) {
    .plan-icon i {
        font-size: 1.4rem;
    }
}

.plan-icon.free {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.plan-icon.starter {
    background: linear-gradient(135deg, #00d4ff, #00a3cc);
}

.plan-icon.pro {
    background: var(--pp-gradient);
}

.plan-icon.enterprise {
    background: linear-gradient(135deg, #ffc107, #ff9800);
}

.plan-icon.custom {
    background: linear-gradient(135deg, #ff4fd8, #9c27b0);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pp-text);
    margin-bottom: 0.35rem;
}

@media (min-width: 1400px) {
    .plan-name {
        font-size: 1.2rem;
    }
}

.plan-tagline {
    font-size: 0.9rem;
    color: var(--pp-muted);
    margin: 0;
}

@media (min-width: 1400px) {
    .plan-tagline {
        font-size: 0.8rem;
    }
}

.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1400px) {
    .pricing-body {
        padding: 1.25rem;
    }
}

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pp-text);
    line-height: 1;
}

@media (min-width: 1400px) {
    .currency {
        font-size: 2.25rem;
    }
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pp-text);
    line-height: 1;
}

@media (min-width: 1400px) {
    .price {
        font-size: 2.25rem;
    }
}

.price.custom-price {
    font-size: 2rem;
    background: var(--pp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 1400px) {
    .price.custom-price {
        font-size: 1.5rem;
    }
}

.period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-muted);
    text-transform: uppercase;
    margin-left: 0.35rem;
    align-self: center;
}

@media (min-width: 1400px) {
    .period {
        font-size: 0.85rem;
    }
}

.price-note {
    text-align: left;
    font-size: 0.85rem;
    color: var(--pp-muted);
    margin-bottom: 1.5rem;
}

@media (min-width: 1400px) {
    .price-note {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
}

/* ===== Feature List ===== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

@media (min-width: 1400px) {
    .feature-list {
        margin: 0 0 1rem;
    }
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--pp-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 1400px) {
    .feature-list li {
        gap: 0.5rem;
        padding: 0.4rem 0;
        font-size: 0.8rem;
    }
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li.included i {
    color: #00d4ff;
}

.feature-list li.excluded {
    opacity: 0.5;
}

.feature-list li.excluded i {
    color: #666;
}

.feature-list li strong {
    color: var(--pp-text);
}

/* ===== Pricing Buttons ===== */
.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--pp-radius-md);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

@media (min-width: 1400px) {
    .btn-pricing {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

.btn-pricing-primary {
    background: var(--pp-gradient);
    color: white;
}

.btn-pricing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 92, 255, 0.4);
}

.btn-pricing-secondary {
    background: var(--pp-surface-2);
    border: 1px solid var(--pp-border);
    color: var(--pp-text);
}

.btn-pricing-secondary:hover {
    background: var(--pp-primary);
    border-color: var(--pp-primary);
    color: white;
}

.btn-pricing-current {
    background: var(--pp-surface-2);
    border: 2px solid var(--pp-success, #16a34a);
    color: var(--pp-success, #16a34a);
    cursor: default;
    opacity: 0.9;
}

.btn-pricing-current:disabled {
    opacity: 0.9;
}

.trial-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--pp-muted);
    margin-top: 0.75rem;
}

@media (min-width: 1400px) {
    .trial-note {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }
}

/* ===== Comparison Section ===== */
.comparison-section {
    position: relative;
    padding: 4rem 0 5.5rem;
    background: var(--pp-bg2);
}

.comparison-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg));
    pointer-events: none;
}

.comparison-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pp-text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.comparison-subtitle {
    font-size: 1rem;
    color: var(--pp-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparison-faq-link {
    color: var(--pp-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.comparison-faq-link:hover {
    color: var(--pp-text);
    text-decoration: underline;
}

.comparison-faq-link i {
    font-size: 0.8rem;
    margin-left: 0.15rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--pp-radius-lg);
    border: 1px solid var(--pp-border);
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: var(--pp-surface);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--pp-border);
}

.comparison-table th {
    background: var(--pp-surface-2);
    font-weight: 600;
    color: var(--pp-text);
}

.comparison-table th.featured {
    background: rgba(124, 92, 255, 0.15);
    color: var(--pp-primary);
}

.comparison-table td.featured {
    background: rgba(124, 92, 255, 0.05);
}

.comparison-table .feature-col {
    text-align: left;
    font-weight: 500;
    color: var(--pp-text);
}

.comparison-table td {
    color: var(--pp-muted);
}

.comparison-table .category-row td {
    background: var(--pp-bg);
    font-weight: 600;
    color: var(--pp-text);
    text-align: left;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table .category-row td i {
    margin-right: 0.5rem;
    color: var(--pp-primary);
}

.comparison-table .text-success {
    color: #00d4ff !important;
}

.comparison-table .text-muted {
    color: #666 !important;
}

/* ===== FAQ Section ===== */
.faq-section {
    position: relative;
    padding: 4rem 0 5.5rem;
    background: var(--pp-bg2);
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
    pointer-events: none;
}

.faq-icon {
    text-align: center;
    margin-bottom: 0.75rem;
}

.faq-icon i {
    font-size: 2rem;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pp-text);
    text-align: center;
    margin-bottom: 0.5rem;
}

.faq-subtitle {
    font-size: 1rem;
    color: var(--pp-muted);
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.faq-question i {
    color: var(--pp-primary);
    margin-top: 0.2rem;
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin: 0;
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--pp-muted);
    line-height: 1.6;
    margin: 0;
    padding-left: 1.75rem;
}

/* ===== Wall of Love Section ===== */
.wall-of-love-section {
    position: relative;
    padding: 5rem 0 6.5rem;
    background: var(--pp-bg2);
}

/* Pricing page: wall-of-love follows comparison — flip to light bg for alternation */
.comparison-section + .wall-of-love-section {
    background: var(--pp-bg);
}

.comparison-section + .wall-of-love-section::after {
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
}

.wall-of-love-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg));
    pointer-events: none;
}

.wall-of-love-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wall-of-love-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wall-of-love-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pp-text);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.wall-of-love-subtitle {
    font-size: 1.05rem;
    color: var(--pp-muted);
}

.wall-of-love-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .wall-of-love-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .wall-of-love-grid {
        grid-template-columns: 1fr;
    }
}

.love-card {
    perspective: 800px;
}

.love-card-inner {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
}

.love-card-inner:hover {
    transform: translateY(-6px) rotateX(2deg);
    box-shadow: var(--pp-shadow-lg);
}

.love-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--pp-text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.love-card-body {
    font-size: 0.9rem;
    color: var(--pp-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
}

.love-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--pp-border);
}

.love-card-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--pp-text);
}

.love-card-role {
    font-size: 0.8rem;
    color: var(--pp-muted);
}

/* ============================================
   PRICING FLOW MODALS
   ============================================ */

.pricing-flow-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
    background: var(--pp-surface);
}

.pricing-flow-modal-header {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid var(--pp-border);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.08) 100%);
}

.pricing-flow-modal-header .modal-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pp-text);
    display: flex;
    align-items: center;
}

.pricing-flow-modal-header .modal-title i {
    color: var(--theme-primary);
}

.pricing-flow-modal-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.pricing-flow-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient-primary);
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--theme-shadow-primary);
}

.pricing-flow-modal-icon--accent {
    background: linear-gradient(135deg, var(--theme-accent) 0%, var(--theme-accent-hover) 100%);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
}

.pricing-flow-modal-heading {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pp-text);
}

.pricing-flow-modal-message {
    margin: 0;
    color: var(--pp-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.pricing-flow-plan-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.pricing-flow-plan-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.pricing-flow-plan-summary-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-muted);
}

.pricing-flow-plan-pill {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--theme-primary);
    font-weight: 700;
    font-size: 0.88rem;
}

.pricing-flow-plan-pill--target {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.pricing-flow-expiry-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
    color: var(--pp-text);
    font-size: 0.92rem;
}

.pricing-flow-expiry-chip i {
    color: var(--theme-primary);
}

.pricing-flow-modal-footer {
    padding: 1.25rem 1.6rem 1.6rem;
    border-top: 0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.btn-pricing-modal-secondary,
.btn-pricing-modal-primary {
    padding: 0.85rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.btn-pricing-modal-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-pricing-modal-secondary:hover {
    background: #d1d5db;
    color: #111827;
}

.btn-pricing-modal-primary {
    background: var(--theme-gradient-primary);
    color: white;
    box-shadow: var(--theme-shadow-primary);
}

.btn-pricing-modal-primary:hover {
    transform: translateY(-2px);
    color: white;
}

[data-theme="3d"] .pricing-flow-modal,
[data-landing-theme="3d"] .pricing-flow-modal {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 35px rgba(139, 92, 246, 0.18);
}

[data-theme="3d"] .pricing-flow-modal-header,
[data-theme="3d"] .pricing-flow-modal-body,
[data-theme="3d"] .pricing-flow-modal-footer,
[data-landing-theme="3d"] .pricing-flow-modal-header,
[data-landing-theme="3d"] .pricing-flow-modal-body,
[data-landing-theme="3d"] .pricing-flow-modal-footer {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="3d"] .pricing-flow-modal-header,
[data-landing-theme="3d"] .pricing-flow-modal-header {
    border-bottom-color: rgba(139, 92, 246, 0.2);
}

[data-theme="3d"] .pricing-flow-modal-header .modal-title,
[data-theme="3d"] .pricing-flow-modal-heading,
[data-landing-theme="3d"] .pricing-flow-modal-header .modal-title,
[data-landing-theme="3d"] .pricing-flow-modal-heading {
    color: #e2e8f0;
}

[data-theme="3d"] .pricing-flow-modal-message,
[data-theme="3d"] .pricing-flow-plan-summary-label,
[data-theme="3d"] .pricing-flow-expiry-chip,
[data-landing-theme="3d"] .pricing-flow-modal-message,
[data-landing-theme="3d"] .pricing-flow-plan-summary-label,
[data-landing-theme="3d"] .pricing-flow-expiry-chip {
    color: #94a3b8;
}

[data-theme="3d"] .pricing-flow-plan-summary-item,
[data-landing-theme="3d"] .pricing-flow-plan-summary-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.85) 100%);
    border-color: rgba(139, 92, 246, 0.18);
}

[data-theme="3d"] .pricing-flow-plan-pill,
[data-landing-theme="3d"] .pricing-flow-plan-pill {
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
}

[data-theme="3d"] .pricing-flow-plan-pill--target,
[data-landing-theme="3d"] .pricing-flow-plan-pill--target {
    background: rgba(245, 158, 11, 0.14);
    color: #fcd34d;
}

[data-theme="3d"] .pricing-flow-expiry-chip,
[data-landing-theme="3d"] .pricing-flow-expiry-chip {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.18);
}

[data-theme="3d"] .btn-pricing-modal-secondary,
[data-landing-theme="3d"] .btn-pricing-modal-secondary {
    background: rgba(51, 65, 85, 0.9);
    color: #e2e8f0;
}

[data-theme="3d"] .btn-pricing-modal-secondary:hover,
[data-landing-theme="3d"] .btn-pricing-modal-secondary:hover {
    background: rgba(71, 85, 105, 0.95);
    color: white;
}

@media (max-width: 576px) {
    .pricing-flow-plan-summary {
        grid-template-columns: 1fr;
    }

    .pricing-flow-modal-footer {
        flex-direction: column;
    }

    .btn-pricing-modal-secondary,
    .btn-pricing-modal-primary {
        width: 100%;
    }
}

.love-card-stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.love-card-stars i {
    font-size: 0.75rem;
    color: #f5b71a;
}

/* ===== Pricing CTA Section ===== */
.pricing-cta-section {
    padding: 4rem 0;
    background: var(--pp-bg2);
}

.pricing-cta-card {
    text-align: center;
    padding: 3rem;
    background: var(--pp-gradient);
    border-radius: var(--pp-radius-xl);
    position: relative;
    overflow: hidden;
}

.pricing-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.pricing-cta-card .cta-title,
.pricing-cta-card .cta-description {
    position: relative;
    z-index: 1;
}

.pricing-cta-card .cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.pricing-cta-card .cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.pricing-cta-card .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== CTA Buttons ===== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--pp-radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, border-color 0.28s ease;
}

.btn-cta-primary {
    background: white;
    color: var(--pp-primary);
}

.btn-cta-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* ===========================================
   INDEX PAGE ADDITIONAL SECTIONS
   =========================================== */

/* ===== Why Choose Section ===== */
.why-choose-section {
    position: relative;
    padding: 5rem 0 6.5rem;
    background: var(--pp-bg);
}

.why-choose-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
    pointer-events: none;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.benefit-card {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pp-shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--pp-gradient);
    border-radius: var(--pp-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pp-text);
    margin-bottom: 0.75rem;
}

.benefit-description {
    font-size: 0.95rem;
    color: var(--pp-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== How It Works Section ===== */
.how-it-works-section {
    position: relative;
    padding: 5rem 0 6.5rem;
    background: var(--pp-bg);
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
    pointer-events: none;
}

.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    flex: 1 1 220px;
    max-width: 280px;
    position: relative;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--pp-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--pp-surface-2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.25rem;
    color: var(--pp-primary);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9rem;
    color: var(--pp-muted);
    margin: 0;
    line-height: 1.6;
}

.step-connector {
    display: none;
}

@media (min-width: 992px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 25px;
        left: calc(100% + 1rem);
        width: calc(2rem - 4px);
        height: 2px;
        background: var(--pp-border);
    }

    .step-connector::after {
        content: '';
        position: absolute;
        right: 0;
        top: -4px;
        width: 0;
        height: 0;
        border-left: 8px solid var(--pp-border);
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

    .step-item:last-child .step-connector {
        display: none;
    }
}

/* ===== Use Cases Section ===== */
.use-cases-section {
    position: relative;
    padding: 5rem 0 6.5rem;
    background: var(--pp-bg);
}

.use-cases-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--pp-bg2));
    pointer-events: none;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.use-case-card {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pp-shadow-md);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: var(--pp-surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.use-case-icon i {
    font-size: 1.5rem;
    color: var(--pp-primary);
}

.use-case-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pp-text);
    margin-bottom: 0.5rem;
}

.use-case-description {
    font-size: 0.85rem;
    color: var(--pp-muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    padding: 4rem 0;
    background: var(--pp-bg2);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, var(--pp-bg), transparent);
    pointer-events: none;
}

.cta-card {
    background: var(--pp-gradient);
    border-radius: var(--pp-radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 576px) {
    .public-page-hero {
        padding: 4rem 0 3rem;
    }

    .page-hero-icon {
        width: 70px;
        height: 70px;
    }

    .page-hero-icon i {
        font-size: 2rem;
    }

    .comparison-table-wrapper {
        margin: 0 -1rem;
        border-radius: 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        max-width: 100%;
    }

    .btn-cta {
        width: 100%;
    }
}











