/* Pro Features Page Styles */
.kdsamref-pro-features-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fafafa;
    min-height: 100vh;
}

/* Hero Section */
.kdsamref-hero-section {
    background: #111;
    border-radius: 16px;
    padding: 60px 40px;
    margin-bottom: 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.kdsamref-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.kdsamref-hero-content {
    position: relative;
    z-index: 1;
}

.kdsamref-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.kdsamref-badge-icon {
    font-size: 16px;
}

.kdsamref-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.kdsamref-hero-highlight {
    color: #3b82f6;
}

.kdsamref-hero-description {
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.kdsamref-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.kdsamref-cta-primary {
    background: #111;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.kdsamref-cta-primary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.kdsamref-cta-secondary {
    background: transparent;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.kdsamref-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Features Section */
.kdsamref-features-section {
    margin: 60px 0;
}

.kdsamref-features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Column - Feature Cards */
.kdsamref-features-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kdsamref-feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.kdsamref-feature-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kdsamref-feature-card-active {
    background: #f8fafc;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.kdsamref-feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.kdsamref-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.kdsamref-icon-workflow {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.kdsamref-icon-analytics {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.kdsamref-icon-realtime {
    background: linear-gradient(135deg, #10b981, #059669);
}

.kdsamref-icon-symbol {
    color: white;
}

.kdsamref-icon-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.kdsamref-feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kdsamref-feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin: 0;
    line-height: 1.3;
}

.kdsamref-feature-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.kdsamref-feature-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.kdsamref-feature-card-active .kdsamref-feature-arrow {
    color: #3b82f6;
    transform: translateY(-50%) translateX(4px);
}

/* Right Column - Feature Preview */
.kdsamref-feature-preview {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

.kdsamref-preview-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.kdsamref-preview-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.kdsamref-preview-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.kdsamref-preview-symbol {
    color: white;
}

.kdsamref-preview-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.5px;
}

.kdsamref-preview-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Workflow Preview */
.kdsamref-order-preview {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #e2e8f0;
}

.kdsamref-order-avatar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.kdsamref-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.kdsamref-order-info {
    flex: 1;
}

.kdsamref-order-name {
    font-weight: 600;
    color: #111;
    font-size: 16px;
    margin-bottom: 4px;
}

.kdsamref-order-email {
    font-size: 14px;
    color: #6b7280;
}

.kdsamref-order-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kdsamref-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.kdsamref-action-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.kdsamref-btn-icon {
    font-size: 16px;
}

.kdsamref-stage-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kdsamref-stage-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.kdsamref-stage-dropdown {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 12px;
    color: #374151;
}

/* Analytics Preview */
.kdsamref-chart-preview {
    width: 100%;
    max-width: 300px;
}

.kdsamref-chart-placeholder {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

.kdsamref-chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
}

.kdsamref-bar {
    flex: 1;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

.kdsamref-chart-info {
    text-align: center;
}

.kdsamref-chart-title {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.kdsamref-chart-value {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

/* Real-time Preview */
.kdsamref-realtime-preview {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.kdsamref-realtime-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #166534;
    font-weight: 500;
}

.kdsamref-pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.kdsamref-realtime-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kdsamref-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.kdsamref-stat-label {
    font-size: 14px;
    color: #6b7280;
}

.kdsamref-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

/* Comparison Section */
.kdsamref-comparison-section {
    margin-bottom: 60px;
}

.kdsamref-comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.kdsamref-comparison-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #111;
}

.kdsamref-comparison-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.kdsamref-comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.kdsamref-comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}

.kdsamref-comparison-row:last-child {
    border-bottom: none;
}

.kdsamref-comparison-header-row {
    background: #f8fafc;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.kdsamref-comparison-category {
    grid-column: 1 / -1;
    background: #f1f5f9;
    padding: 16px 24px;
    font-weight: 600;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.kdsamref-comparison-category h4 {
    margin: 0;
    font-size: 16px;
}

.kdsamref-comparison-feature {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kdsamref-feature-name {
    font-weight: 600;
    color: #111;
    font-size: 16px;
}

.kdsamref-feature-desc {
    font-size: 14px;
    color: #666;
}

.kdsamref-comparison-free,
.kdsamref-comparison-pro {
    text-align: center;
}

.kdsamref-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.kdsamref-plan-free {
    background: #f3f4f6;
    color: #374151;
}

.kdsamref-plan-pro {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.kdsamref-plan-icon {
    font-size: 16px;
}

.kdsamref-check {
    font-size: 20px;
    color: #10b981;
}

.kdsamref-lock {
    font-size: 20px;
    color: #9ca3af;
}

/* Advantages Section */
.kdsamref-advantages-section {
    margin-bottom: 60px;
}

.kdsamref-advantages-header {
    text-align: center;
    margin-bottom: 40px;
}

.kdsamref-advantages-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #111;
}

.kdsamref-advantages-header p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.kdsamref-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.kdsamref-advantage-card {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.kdsamref-advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.kdsamref-advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.kdsamref-advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #111;
}

.kdsamref-advantage-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.kdsamref-cta-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
}

.kdsamref-cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #111;
}

.kdsamref-cta-content p {
    font-size: 18px;
    color: #666;
    margin: 0 0 30px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.kdsamref-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kdsamref-pro-features-page {
        padding: 16px;
    }
    
    .kdsamref-hero-section {
        padding: 40px 20px;
    }
    
    .kdsamref-hero-title {
        font-size: 32px;
    }
    
    .kdsamref-hero-description {
        font-size: 18px;
    }
    
    .kdsamref-features-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .kdsamref-feature-card {
        padding: 20px;
    }
    
    .kdsamref-feature-icon {
        min-width: 60px;
    }
    
    .kdsamref-icon-bg {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .kdsamref-feature-content h3 {
        font-size: 16px;
    }
    
    .kdsamref-feature-content p {
        font-size: 13px;
    }
    
    .kdsamref-feature-preview {
        padding: 24px;
        min-height: 300px;
    }
    
    .kdsamref-preview-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .kdsamref-order-preview,
    .kdsamref-chart-preview,
    .kdsamref-realtime-preview {
        max-width: 100%;
    }
    
    .kdsamref-comparison-row {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .kdsamref-comparison-feature {
        text-align: center;
    }
    
    .kdsamref-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .kdsamref-cta-section {
        padding: 40px 20px;
    }
    
    .kdsamref-cta-content h2 {
        font-size: 28px;
    }
    
    .kdsamref-hero-actions,
    .kdsamref-cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .kdsamref-cta-primary,
    .kdsamref-cta-secondary {
        width: 100%;
        max-width: 300px;
    }
}
