/* =====================================
   PORTFOLIO SECTION STYLES
   ===================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.portfolio-comparison {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.demo-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}

.before-demo {
    background: linear-gradient(135deg, #666 0%, #999 100%);
    color: white;
}

.after-demo {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.demo-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.demo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: white;
    z-index: 3;
    cursor: ew-resize;
}

.slider-handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    color: #1e40af;
    z-index: 1;
}

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: #22c55e;
    font-weight: 600;
}

/* =====================================
   COMPARISON TABLE STYLES
   ===================================== */

.comparison-table {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row:hover:not(.header) {
    background: #f8f9fa;
}

.comparison-row.header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.comparison-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.comparison-feature i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 0.5rem;
    color: #3b82f6;
}

.comparison-row.header .comparison-feature i {
    background: rgba(255,255,255,0.2);
    color: white;
}

.comparison-others, .comparison-us {
    text-align: center;
    font-size: 1.5rem;
}

.comparison-others .fa-times-circle {
    color: #ef4444;
}

.comparison-us .fa-check-circle {
    color: #22c55e;
}

.comparison-cta {
    text-align: center;
    margin-top: 3rem;
}

.comparison-cta h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* =====================================
   AI CHAT SECTION STYLES
   ===================================== */

.ai-chat-demo {
    max-width: 700px;
    margin: 0 auto;
}

.chat-window {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.chat-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-title {
    flex: 1;
}

.chat-title h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.chat-title p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.chat-status i {
    color: #22c55e;
    font-size: 0.625rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.chat-messages {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    line-height: 1.6;
}

.chat-message.bot .message-bubble {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 0.25rem;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.chat-actions {
    padding: 2rem;
    text-align: center;
    background: white;
}

/* =====================================
   LEAD MAGNET STYLES
   ===================================== */

.lead-magnet-card {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(30, 64, 175, 0.3);
}

.magnet-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.lead-magnet-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.lead-magnet-card p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.magnet-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.magnet-benefit {
    background: rgba(255,255,255,0.15);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    text-align: left;
}

.magnet-benefit i {
    color: #22c55e;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.magnet-form {
    max-width: 500px;
    margin: 3rem auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.magnet-form input {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.magnet-form input::placeholder {
    color: rgba(255,255,255,0.7);
}

.magnet-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.2);
}

.magnet-trust {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.magnet-trust i {
    margin-right: 0.5rem;
}

/* =====================================
   TRIPWIRE OFFER STYLES
   ===================================== */

.tripwire-card {
    background: white;
    border-radius: 2rem;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 3px solid #22c55e;
    position: relative;
}

.tripwire-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.tripwire-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.tripwire-subtitle {
    color: #22c55e;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.tripwire-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    text-align: left;
}

.tripwire-benefit {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.tripwire-benefit:hover {
    background: #e5e7eb;
    transform: translateX(5px);
}

.tripwire-benefit i {
    color: #22c55e;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tripwire-benefit strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: #1a1a1a;
}

.tripwire-benefit p {
    color: #666;
    font-size: 0.95rem;
}

.tripwire-cta {
    margin-top: 3rem;
}

.price-strike {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-current {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #22c55e;
    margin-bottom: 2rem;
}

.tripwire-guarantee {
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.tripwire-guarantee i {
    color: #22c55e;
    margin-right: 0.5rem;
}

/* =====================================
   GUARANTEE SECTION STYLES
   ===================================== */

.guarantee-card {
    background: white;
    border-radius: 2rem;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.guarantee-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
}

.guarantee-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.guarantee-subtitle {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.guarantee-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.guarantee-point {
    display: flex;
    gap: 1.5rem;
    text-align: left;
}

.point-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.point-content h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.point-content p {
    color: #666;
    line-height: 1.6;
}

.guarantee-cta {
    margin-top: 3rem;
}

/* =====================================
   FINAL CTA SECTION STYLES
   ===================================== */

.final-cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.final-trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.trust-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.trust-item span {
    font-weight: 600;
    color: #666;
}

/* =====================================
   RESPONSIVE STYLES
   ===================================== */

@media (max-width: 768px) {
    .comparison-row {
        grid-template-columns: 1.5fr 0.75fr 0.75fr;
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .comparison-feature {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .comparison-feature i {
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }
    
    .comparison-others, .comparison-us {
        font-size: 1.25rem;
    }
    
    .tripwire-benefits, .guarantee-points {
        grid-template-columns: 1fr;
    }
    
    .lead-magnet-card, .tripwire-card, .guarantee-card {
        padding: 3rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .portfolio-comparison {
        height: 300px;
    }
}
