/* ================================================
   WP ChatAssist Landing Page Styles
   ================================================ */

/* Hero LP */
.hero-lp {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #fff;
    overflow: hidden;
}

.hero-lp .hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-lp .hero-video-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-lp .hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(30, 27, 75, 0.8) 50%,
        rgba(49, 46, 129, 0.85) 100%);
}

.hero-lp .container {
    position: relative;
    z-index: 1;
}

.hero-lp > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-bottom: 24px;
}

.hero-title-lp {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.text-gradient {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-lp .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-lp .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hide-sp {
    display: inline;
}

/* Chat Demo */
.hero-visual {
    display: flex;
    justify-content: center;
}

.chat-demo {
    width: 340px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.chat-header-demo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 500;
}

.chat-header-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.chat-messages-demo {
    padding: 20px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #1a1a2e;
}

.chat-message.user {
    align-self: flex-end;
    background: #6366f1;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-message.bot {
    align-self: flex-start;
    background: #f1f5f9;
    border-bottom-left-radius: 4px;
}

.chat-message.bot:not(.visible) {
    display: none;
}

/* Typing Indicator Animation */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (max-width: 1024px) {
    .hero-lp > .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-lp {
        padding: 100px 0 60px;
    }

    .hero-lp > .container {
        gap: 32px;
    }

    .hero-title-lp {
        font-size: 1.75rem;
    }

    .hero-lead {
        font-size: 0.9375rem;
        margin-bottom: 32px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hide-sp {
        display: none;
    }

    .chat-demo {
        width: 100%;
        max-width: 300px;
    }

    .chat-messages-demo {
        min-height: 160px;
        padding: 16px;
    }
}

/* ================================================
   Section Header
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* ================================================
   Features
   ================================================ */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Highlight card for AI Insights */
.feature-card-highlight {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-color: #fbbf24;
}

.feature-card-highlight:hover {
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.2);
}

.feature-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;
    color: #d97706 !important;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-radius: 14px;
    color: #6366f1;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
}

/* Featured cards - 2 columns layout */
.features-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.feature-card-large {
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-card-large .feature-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.feature-card-large .feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card-large .feature-content {
    flex: 1;
}

.feature-card-large .feature-title {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.feature-card-large .feature-desc {
    font-size: 1rem;
}

/* Multi-language card style */
.feature-card-multilang {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #34d399;
}

.feature-card-multilang:hover {
    box-shadow: 0 12px 24px rgba(52, 211, 153, 0.2);
}

.feature-icon-multilang {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
    color: #059669 !important;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .features-grid,
    .features-grid-4,
    .features-grid-2 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card-large {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .feature-card-large .feature-icon {
        width: 56px;
        height: 56px;
    }

    .feature-card-large .feature-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* ================================================
   How it Works
   ================================================ */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    gap: 32px;
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step {
        max-width: 100%;
    }
}

/* ================================================
   Pricing
   ================================================ */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
}

.pricing-card-popular {
    border-color: #6366f1;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: #6366f1;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.pricing-desc {
    font-size: 0.875rem;
    color: #64748b;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.9375rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: 600;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card-popular {
        order: -1;
    }
}

@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 32px 24px;
    }
}

/* ================================================
   CTA
   ================================================ */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.cta-desc {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-desc {
        font-size: 1rem;
    }
}

/* ================================================
   Navigation Pain Point Section
   ================================================ */
.navigation-pain {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    color: #fff;
    overflow: hidden;
}

.nav-pain-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: stretch;
}

.nav-pain-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}

.nav-pain-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav-pain-badge.before {
    background: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.nav-pain-badge.after {
    background: rgba(34, 197, 94, 0.3);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.nav-pain-visual {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
}

/* Journey visualization */
.nav-pain-journey {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}

.journey-step {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.journey-step.confused {
    background: rgba(251, 191, 36, 0.4);
    color: #fde68a;
    font-weight: 700;
    font-size: 1.25rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.journey-step.exit {
    background: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.journey-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-weight: 300;
}

/* Stats */
.nav-pain-stat {
    text-align: center;
    padding: 28px 24px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 16px;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.nav-pain-stat.success {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #fca5a5;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.nav-pain-stat.success .stat-number {
    color: #86efac;
}

.stat-text {
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.6;
    font-weight: 500;
}

/* Chat visualization */
.nav-pain-chat {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.mini-chat-bubble {
    padding: 14px 20px;
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 95%;
}

.mini-chat-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mini-chat-bubble.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bot-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 8px;
    color: #fff;
}

/* Divider */
.nav-pain-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    color: #fff;
    animation: bounceRight 2s ease-in-out infinite;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Headline */
.nav-pain-headline {
    text-align: center;
    margin-bottom: 56px;
}

.nav-pain-headline h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.nav-pain-headline .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-pain-headline p {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .nav-pain-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-pain-divider {
        transform: rotate(90deg);
    }

    .nav-pain-headline h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .navigation-pain {
        padding: 60px 0;
    }

    .nav-pain-headline {
        margin-bottom: 40px;
    }

    .nav-pain-content {
        gap: 24px;
    }

    .nav-pain-label {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }

    .nav-pain-visual {
        padding: 24px;
    }

    .nav-pain-headline h2 {
        font-size: 1.75rem;
    }

    .nav-pain-headline p {
        font-size: 1rem;
    }

    .nav-pain-journey {
        gap: 6px;
    }

    .journey-step {
        padding: 10px 14px;
        font-size: 0.875rem;
    }

    .journey-step.confused {
        font-size: 1rem;
    }

    .journey-arrow {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-text {
        font-size: 0.9375rem;
    }

    .mini-chat-bubble {
        font-size: 0.9375rem;
        padding: 12px 16px;
    }

    .divider-icon {
        width: 56px;
        height: 56px;
    }
}

/* ================================================
   Problems Section
   ================================================ */
.problems {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.problems-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.problems-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    animation: problemsZoom 20s ease-in-out infinite alternate;
}

@keyframes problemsZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.problems-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(248, 250, 252, 0.55) 0%,
        rgba(241, 245, 249, 0.5) 50%,
        rgba(248, 250, 252, 0.55) 100%);
}

.problems .container {
    position: relative;
    z-index: 1;
}

.problems .section-title {
    color: #1e293b;
}

.problems .section-subtitle {
    color: #64748b;
}

/* Decorative background elements */
.problems::before {
    content: '';
    position: absolute;
    top: 100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 8s ease-in-out infinite;
}

.problems::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBg 10s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.problems-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.problem-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInCard 0.6s ease forwards;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }
.problem-card:nth-child(4) { animation-delay: 0.4s; }
.problem-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInCard {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.problem-card:hover {
    border-color: #6366f1;
    background: #fff;
    transform: translateX(8px);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.15);
}

.problem-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 14px;
    color: #dc2626;
    position: relative;
    transition: all 0.4s ease;
}

.problem-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.3), rgba(99, 102, 241, 0.3)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover .problem-icon::after {
    opacity: 1;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #16a34a;
}

.problem-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    flex-wrap: wrap;
}

.problem-before {
    font-size: 0.9375rem;
    color: #64748b;
    min-width: 200px;
    position: relative;
    padding-left: 12px;
}

.problem-before::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #dc2626;
    border-radius: 50%;
    opacity: 0.6;
}

.problem-arrow {
    color: #6366f1;
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-arrow {
    transform: translateX(4px);
    color: #16a34a;
}

/* Animated arrow with multiple chevrons */
.problem-arrow::before,
.problem-arrow::after {
    content: '›';
    font-size: 1rem;
    opacity: 0;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

.problem-arrow::before {
    animation-delay: 0s;
}

.problem-arrow::after {
    animation-delay: 0.2s;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0; transform: translateX(-4px); }
    50% { opacity: 0.7; transform: translateX(0); }
}

.problem-after {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    position: relative;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: #166534;
}

@media (max-width: 768px) {
    .problems {
        padding: 60px 0;
    }

    .problems::before,
    .problems::after {
        display: none;
    }

    .problem-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        transform: translateY(20px);
        animation: slideUpCard 0.6s ease forwards;
    }

    @keyframes slideUpCard {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .problem-card:hover {
        transform: translateY(-4px);
    }

    .problem-content {
        flex-direction: column;
        gap: 12px;
    }

    .problem-before {
        min-width: auto;
        padding-left: 0;
    }

    .problem-before::before {
        display: none;
    }

    .problem-arrow {
        transform: rotate(90deg);
    }

    .problem-card:hover .problem-arrow {
        transform: rotate(90deg) translateX(4px);
    }
}

/* ================================================
   How it Works (Vertical Steps)
   ================================================ */
.steps-vertical {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.steps-vertical::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6);
}

.step-v {
    display: flex;
    gap: 24px;
    padding: 20px 0;
    position: relative;
}

.step-v-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #6366f1;
    color: #6366f1;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    z-index: 1;
}

.step-v-complete .step-v-number {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border-color: transparent;
}

.step-v-content {
    padding-top: 12px;
}

.step-v-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.step-v-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .steps-vertical::before {
        left: 23px;
    }

    .step-v-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .step-v {
        gap: 16px;
    }

    .step-v-title {
        font-size: 1rem;
    }
}

/* ================================================
   AI Insights Section
   ================================================ */
.insights {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    color: #fff;
}

.insights .section-title {
    color: #fff;
}

.insights .section-subtitle {
    color: #a5b4fc;
}

.insights-intro {
    text-align: center;
    margin-bottom: 60px;
}

.insights-lead {
    font-size: 1.125rem;
    color: #cbd5e1;
    line-height: 1.8;
}

.insights-lead strong {
    color: #fff;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.insight-card {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.insight-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-radius: 14px;
    color: #a5b4fc;
}

.insight-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.insight-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* Use Cases */
.use-cases {
    margin-top: 40px;
}

.use-cases-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.use-case {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.use-case-label {
    padding: 12px 20px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.use-case-content {
    padding: 20px;
}

.use-case-insight,
.use-case-action {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 12px;
}

.use-case-tag {
    flex-shrink: 0;
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a5b4fc;
}

.use-case-tag.action {
    background: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.use-case-result {
    padding: 10px 12px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #86efac;
    text-align: center;
}

@media (max-width: 1024px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .insights {
        padding: 60px 0;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .insight-card {
        padding: 24px 20px;
    }
}

/* ================================================
   Persona Section
   ================================================ */
.persona {
    padding: 100px 0;
    background: #f8fafc;
}

.persona-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.persona-demo {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.persona-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.persona-tab {
    flex: 1;
    padding: 14px 16px;
    background: none;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.persona-tab:hover {
    color: #1a1a2e;
    background: #f8fafc;
}

.persona-tab.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
    background: #fff;
}

.persona-examples {
    padding: 24px;
}

.persona-example {
    display: none;
}

.persona-example.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.persona-chat {
    margin-bottom: 20px;
}

.persona-q {
    padding: 12px 16px;
    background: #6366f1;
    color: #fff;
    border-radius: 16px 16px 4px 16px;
    font-size: 0.9375rem;
    margin-bottom: 12px;
    max-width: 80%;
    margin-left: auto;
}

.persona-a {
    padding: 12px 16px;
    background: #f1f5f9;
    color: #1a1a2e;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 90%;
}

.persona-pronoun {
    color: #6366f1;
    font-weight: 600;
}

.persona-info {
    display: flex;
    gap: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.persona-info-item {
    font-size: 0.875rem;
    color: #64748b;
}

.persona-info-item strong {
    color: #1a1a2e;
}

.persona-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.persona-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.persona-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-radius: 10px;
    color: #16a34a;
}

.persona-feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.persona-feature-text strong {
    font-size: 1rem;
    color: #1a1a2e;
}

.persona-feature-text span {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .persona-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .persona-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .persona-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .persona {
        padding: 60px 0;
    }

    .persona-tabs {
        flex-wrap: wrap;
    }

    .persona-tab {
        flex: 1 1 50%;
        padding: 12px 8px;
        font-size: 0.8125rem;
    }

    .persona-info {
        flex-direction: column;
        gap: 8px;
    }

    .persona-features {
        grid-template-columns: 1fr;
    }

    .persona-feature {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
}

/* ================================================
   Step Illustrations
   ================================================ */
.step-v-illustration {
    flex-shrink: 0;
    margin-left: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.step-v-illustration img {
    display: block;
}

.step-v:hover .step-v-illustration {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .step-v-illustration {
        display: none;
    }
}

/* Override steps width for illustrations */
.steps-vertical {
    max-width: 800px;
}

/* ================================================
   Navigation Pain Background Image
   ================================================ */
.navigation-pain {
    position: relative;
    overflow: hidden;
}

.nav-pain-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nav-pain-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    object-fit: cover;
    animation: navPainZoom 20s ease-in-out infinite alternate;
}

@keyframes navPainZoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.nav-pain-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(30, 27, 75, 0.9) 0%,
        rgba(49, 46, 129, 0.85) 50%,
        rgba(30, 27, 75, 0.9) 100%);
}

.navigation-pain .container {
    position: relative;
    z-index: 1;
}

